{"id":28370338,"url":"https://github.com/vozlt/check-protocol","last_synced_at":"2025-07-20T13:32:59.495Z","repository":{"id":18716264,"uuid":"21927173","full_name":"vozlt/check-protocol","owner":"vozlt","description":"TCP/IP based applicaction protocol checker","archived":false,"fork":false,"pushed_at":"2016-04-27T02:09:24.000Z","size":29,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T21:37:22.498Z","etag":null,"topics":["applicaction-protocol-checker","c","example-code","icmp","smtp-protocol","tcp","tftp-protocol"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vozlt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-17T03:25:58.000Z","updated_at":"2022-12-23T12:13:56.000Z","dependencies_parsed_at":"2022-09-24T14:01:11.785Z","dependency_job_id":null,"html_url":"https://github.com/vozlt/check-protocol","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vozlt/check-protocol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vozlt%2Fcheck-protocol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vozlt%2Fcheck-protocol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vozlt%2Fcheck-protocol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vozlt%2Fcheck-protocol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vozlt","download_url":"https://codeload.github.com/vozlt/check-protocol/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vozlt%2Fcheck-protocol/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266135013,"owners_count":23881774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["applicaction-protocol-checker","c","example-code","icmp","smtp-protocol","tcp","tftp-protocol"],"created_at":"2025-05-29T06:09:05.639Z","updated_at":"2025-07-20T13:32:59.490Z","avatar_url":"https://github.com/vozlt.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"TCP/IP based applicaction protocol checker\n==========\n\n[![License](http://img.shields.io/badge/license-BSD3-brightgreen.svg)](https://tldrlegal.com/license/bsd-3-clause-license-%28revised%29)\n\nThis checker has some simple sources to check the TCP/IP based application protocols. \n\n## Dependencies\n* gcc\n\n## Installation\n\n```\nshell\u003e make\n```\n\n```\ncc -Wall -O2    icmp_status.c   -o icmp_status\ncc -Wall -O2    icmp_traceroute.c   -o icmp_traceroute\ncc -Wall -O2    smtp_status.c   -o smtp_status\ncc -Wall -O2    sntp_status.c   -o sntp_status\ncc -Wall -O2    tftp_status.c   -o tftp_status\n```\n\n## Running\n\n##### ICMP:PING\n\n```\nshell\u003e ./icmp_status google-public-dns-a.google.com\n```\n\n```\nreply to   : 8.8.8.8\nicmp_type  : 0x8\nicmp_code  : 0x0\nicmp_cksum : 0x8ca6\nicmp_id    : 0x7342\nicmp_seq   : 0xf\nsend packet: 08 00 a6 8c 42 73 0f 00 00 00 00 00 00 00 00 00 00\n00 00 00 00 00 00 00 00 00 00 00\n\nreply from : 8.8.8.8\nicmp_type  : 0x0\nicmp_code  : 0x0\nicmp_cksum : 0x8cae\nicmp_id    : 0x7342\nicmp_seq   : 0xf\nicmp_data  :\nicmp packet: 00 00 ae 8c 42 73 0f 00 00 00 00 00 00 00 00 00 00\n00 00 00 00 00 00 00 00 00 00 00\nrecv packet: 45 00 00 30 00 00 00 00 31 01 02 16 08 08 08 08 80\nc7 f6 e0 00 00 ae 8c 42 73 0f 00 00 00 00 00 00 00 00 00 00 00\n00 00 00 00 00 00 00 00 00 00\n\n\nICMP SERVER STATUS : OK\n```\n\n##### ICMP:TRACEROUTE\n\n```\nshell\u003e ./icmp_traceroute google-public-dns-a.google.com\n```\n\n```\ntraceroute to (8.8.8.8), 30 hops max\n\n 1 128.199.191.253\n 2 103.253.144.241\n 3 103.253.144.250\n 4 80.239.133.57\n 5 62.115.13.238\n 6 209.85.243.158\n 7 64.233.174.109\n 8 * * *\n 9 8.8.8.8\n\nTRACEROUTE TO 8.8.8.8: OK\n```\n\n##### SMTP\n\n```\nshell\u003e ./smtp_status mx1.hotmail.com sender@smtp.localhost receiver@hotmail.com\n```\n\n```\n\u003c\u003c\u003c 220 SNT0-MC3-F19.Snt0.hotmail.com Sending unsolicited commercial or\nbulk e-mail to Microsoft's computer network is prohibited.\n\n\u003e\u003e\u003e HELO mx1.hotmail.com\n\n\u003c\u003c\u003c 250 SNT0-MC3-F19.Snt0.hotmail.com (3.19.0.77) Hello [61.72.251.55]\n\n\u003e\u003e\u003e MAIL FROM: sender@smtp.localhost\n\n\u003c\u003c\u003c 250 sender@smtp.localhost....Sender OK\n\n\u003e\u003e\u003e RCPT TO: receiver@hotmail.com\n\n\u003c\u003c\u003c 250 receiver@hotmail.com\n\n\u003e\u003e\u003e DATA\n\n\u003c\u003c\u003c 354 Start mail input; end with \u003cCRLF\u003e.\u003cCRLF\u003e\n\n\u003e\u003e\u003e Subject: SMTP PROTOCOL TESTING\nDATA SECTION\n.\n\n\u003c\u003c\u003c 250 \u003cSNT0-MC3-F1964xSNUX00142e45@SNT0-MC3-F19.Snt0.hotmail.com\u003e\nQueued mail for delivery\n\n\u003e\u003e\u003e QUIT\n\n\u003c\u003c\u003c 221 SNT0-MC3-F19.Snt0.hotmail.com Service closing transmission channel\n\nSMTP SERVER STATUS : OK\n```\n\n##### SNTP\n\n```\nshell\u003e ./sntp_status pool.ntp.org\n```\n\n```\nserver               : pool.ntp.org\nserver port          : 123\nmy bind port         : 40846\n\nsend packet size     : 48\nsend packet          : e3 00 04 00 00 00 00 00 00 00 00 00 37 00 00 00 00\n00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n00 00 00 00 00 00 00\nli_vn_mode           : 227 / LI: 3, VN: 4, MODE : 3\nStratum              : 00\nPoll                 : 04\nPrecision            : 00\nRoot Delay           : 00\nRoot Dispersion      : 00\nReference Identifier : 37\nReference Timestamp  : 00\nOriginate Timestamp  : 00\nReceive Timestamp    : 00\nTransmit Timestamp   : 00\nReference Time       : 2036/02/07 15:28:16\nOriginate Time       : 2036/02/07 15:28:16\nReceive Time         : 2036/02/07 15:28:16\nTransmit Time        : 2036/02/07 15:28:16\n\nrecv packet size     : 48\nrecv packet          : 24 02 04 ec 00 00 27 00 00 00 05 6c cc 7b 02 05 d7\n71 bc 67 f9 f3 61 60 00 00 00 00 00 00 00 00 d7 71 bd 40 de 13 5d 04 d7\n71 bd 40 de 13 e3 00\nli_vn_mode           : 36 / LI: 0, VN: 4, MODE : 4\nStratum              : 02\nPoll                 : 04\nPrecision            : -20\nRoot Delay           : 270000\nRoot Dispersion      : 6c050000\nReference Identifier : 5027bcc\nReference Timestamp  : 6061f3f967bc71d7\nOriginate Timestamp  : 00\nReceive Timestamp    : 45d13de40bd71d7\nTransmit Timestamp   : e313de40bd71d7\nReference Time       : 2014/07/17 12:07:19\nOriginate Time       : 2036/02/07 15:28:16\nReceive Time         : 2014/07/17 12:10:56\nTransmit Time        : 2014/07/17 12:10:56\n\nsend packet size     : 48\nsend packet          : e3 00 04 fa 00 01 00 00 00 01 00 00 cc 7b 02 05 d7\n71 bd 40 de 13 e3 00 d7 71 bd 40 de 13 e3 00 d7 71 bd 40 de 13 5d 04 d7\n71 bd 40 de 13 e3 00\nli_vn_mode           : 227 / LI: 3, VN: 4, MODE : 3\nStratum              : 00\nPoll                 : 04\nPrecision            : -6\nRoot Delay           : 100\nRoot Dispersion      : 100\nReference Identifier : 5027bcc\nReference Timestamp  : e313de40bd71d7\nOriginate Timestamp  : e313de40bd71d7\nReceive Timestamp    : 45d13de40bd71d7\nTransmit Timestamp   : e313de40bd71d7\nReference Time       : 2014/07/17 12:10:56\nOriginate Time       : 2014/07/17 12:10:56\nReceive Time         : 2014/07/17 12:10:56\nTransmit Time        : 2014/07/17 12:10:56\n\nrecv packet size     : 48\nrecv packet          : 24 02 04 ec 00 00 27 00 00 00 05 6c cc 7b 02 05 d7\n71 bc 67 f9 f3 61 60 d7 71 bd 40 de 13 e3 00 d7 71 bd 40 de 6d 74 ad d7\n71 bd 40 de 6d fd 20\nli_vn_mode           : 36 / LI: 0, VN: 4, MODE : 4\nStratum              : 02\nPoll                 : 04\nPrecision            : -20\nRoot Delay           : 270000\nRoot Dispersion      : 6c050000\nReference Identifier : 5027bcc\nReference Timestamp  : 6061f3f967bc71d7\nOriginate Timestamp  : e313de40bd71d7\nReceive Timestamp    : ad746dde40bd71d7\nTransmit Timestamp   : 20fd6dde40bd71d7\nReference Time       : 2014/07/17 12:07:19\nOriginate Time       : 2014/07/17 12:10:56\nReceive Time         : 2014/07/17 12:10:56\nTransmit Time        : 2014/07/17 12:10:56\n\nNTPD SERVER STATUS  : OK\n```\n\n##### TFTP\n\n```\nshell\u003e ./tftp_status tftp.localhost\n```\n\n```\nserver           : tftp.localhost\nserver port      : 69\nmy bind port     : 33451\nsend packet size : 17\nsend packet      : 00 01 76 30 7a 6c 74 00 6e 65 74 61 73 63 69 69 00\n                   00 01 v  0  z  l  t  00 n  e  t  a  s  c  i  i  00\nrecv packet size : 19\nrecv packet      : 00 05 00 01 46 69 6c 65 20 6e 6f 74 20 66 6f 75 6e 64 00\n                   00 05 00 01 F  i  l  e     n  o  t     f  o  u  n  d  00\nth_opcode        : 5\nth_block         : 1\nth_data          : File not found\nTFTPD SERVER STATUS : OK\n```\n\n## Author\nYoungJoo.Kim(김영주) [\u003cvozltx@gmail.com\u003e]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvozlt%2Fcheck-protocol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvozlt%2Fcheck-protocol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvozlt%2Fcheck-protocol/lists"}