{"id":17923710,"url":"https://github.com/coolsnowwolf/tcping","last_synced_at":"2025-09-07T02:10:48.081Z","repository":{"id":103780130,"uuid":"241583351","full_name":"coolsnowwolf/tcping","owner":"coolsnowwolf","description":"Ping look-alike that uses TCP SYN packets to get around firewalls and ICMP blackholes","archived":false,"fork":false,"pushed_at":"2020-02-19T09:41:06.000Z","size":17,"stargazers_count":20,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-18T09:35:55.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coolsnowwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-19T09:36:56.000Z","updated_at":"2024-10-20T09:27:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"609c8c26-0022-402e-be1a-9faaa1f2357d","html_url":"https://github.com/coolsnowwolf/tcping","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coolsnowwolf/tcping","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolsnowwolf%2Ftcping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolsnowwolf%2Ftcping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolsnowwolf%2Ftcping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolsnowwolf%2Ftcping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coolsnowwolf","download_url":"https://codeload.github.com/coolsnowwolf/tcping/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolsnowwolf%2Ftcping/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273986629,"owners_count":25202708,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-28T20:45:07.023Z","updated_at":"2025-09-07T02:10:48.048Z","avatar_url":"https://github.com/coolsnowwolf.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tcping\nPing look-alike that uses TCP SYN packets to get around firewalls and ICMP blackholes\n\n--- Overview ----------------------------------------------------------------\n\ntcpping is a quick utility designed to emulate standard 'ping' in nearly every\nmeaningful way and only diverge when necessary.  It sends out forged TCP SYN\npackets and listens for a SYN/ACK or RST from the server or intermediary.  It\ncounts and reports on these results using an interface that is nearly identical\nto standard UNIX ping.\n\n--- Why Use Instead of Ping -------------------------------------------------\n\nOn the global Internet, some routers or systems will firewall ICMP messages\nwhile allowing TCP packets.  Furthermore, some routers or hosts will\n'deprioritize' ICMP ping (echo) messages destined for itself or others -- when\nthe network gets busy, these get dropped.\n\nHowever, virtually all public servers and the majority of private systems have\nat least one TCP port open and will respond to requests on it quickly and\nreliably.  This provides greater accuracy (or any accuracy at all) for\ndetermining if a host is available.  It also yields more reliable timing for\nsensitive latency and loss measurements as deprioritized packets will not be a\ntrue measure of latency for normal traffic (better simulated by TCP packets).\n\nIt was originally written by Steven Kehlet (blog at kehlet.cx); it was taken\nover, bugfixed, and now maintained (with the original author's blessing) by Jim\nWyllie.\n\n--- Building ----------------------------------------------------------------\n\nBuilding tcpping requires that you have a stable build environment as well as\ndevelopment versions of libnet1 and pcap.  If you're on a Debian-based system\n(including Ubuntu) you can install those libraries with the following:\n\nsudo apt-get install build-essential\nsudo apt-get install libnet1-dev\nsudo apt-get install libpcap-dev\nsudo apt-get install xmltoman\n\nOr, alternatively, libnet1 is conveniently hosted on GitHub:\nhttp://github.com/sam-github/libnet\n\nWhile libpcap is hosted at http://www.tcpdump.org/\n\nBuild with the following:\n\nmake\n\n--- Setuid and tcpping ------------------------------------------------------\n\nIf you don't want to use root access to use it every time, you can setuid the\nprogram.  Keep in mind that any security vulnerabilities in tcpping could\nallow someone to execute arbitrary root-level code, so do this at your own\nrisk.\n\nsudo chown root:root tcpping\nsudo chmod a+s tcpping\n\n--- Compatibility Issues ----------------------------------------------------\n\nlibnet1 is a retooling of the old libnet hosted on SourceForge at\nhttp://packetfactory.net/ by Peter Wang.  The note from Sam at GitHub is that\nthe upstream maintainer is unresponsive and the project is unmaintained.  Older\nversions of libnet based on Peter Wang's implementation will no longer work.\nYou can find Sam's implementation at https://github.com/sam-github/libnet\n\n--- Related Tools -----------------------------------------------------------\n\nSome tools that have similar functionality that may suit your needs better:\n\nhping\nhttp://www.hping.org/  --  (officially) supports more operating systems.  Has\nmany more features and is more complicated.\n\nnmap\nhttp://nmap.org/ -- Full-service security standard compiled as a package with\nnearly all UNIX-like distributions.  \n\nmtr\nhttp://www.bitwizard.nl/mtr/ -- Traceroute combined with ping for full-route\nloss statistics.  Newer versions support TCP pings.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolsnowwolf%2Ftcping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoolsnowwolf%2Ftcping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolsnowwolf%2Ftcping/lists"}