{"id":22683745,"url":"https://github.com/arogov-com/icmptunnel","last_synced_at":"2026-02-10T23:05:21.991Z","repository":{"id":211739683,"uuid":"728186018","full_name":"arogov-com/icmptunnel","owner":"arogov-com","description":"IPv4 over ICMP tunnel","archived":false,"fork":false,"pushed_at":"2024-11-19T09:47:08.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T18:44:41.586Z","etag":null,"topics":["encapsulation-protocol","icmp-tunnel","network-programming","tunnel","tunneling"],"latest_commit_sha":null,"homepage":"","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/arogov-com.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-12-06T12:13:37.000Z","updated_at":"2024-11-19T09:47:11.000Z","dependencies_parsed_at":"2024-05-11T13:38:04.085Z","dependency_job_id":"62738f68-0ffd-480b-acc1-b2610825d8af","html_url":"https://github.com/arogov-com/icmptunnel","commit_stats":null,"previous_names":["arogov-com/icmptunnel"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arogov-com/icmptunnel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arogov-com%2Ficmptunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arogov-com%2Ficmptunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arogov-com%2Ficmptunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arogov-com%2Ficmptunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arogov-com","download_url":"https://codeload.github.com/arogov-com/icmptunnel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arogov-com%2Ficmptunnel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29321276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["encapsulation-protocol","icmp-tunnel","network-programming","tunnel","tunneling"],"created_at":"2024-12-09T21:13:24.248Z","updated_at":"2026-02-10T23:05:21.939Z","avatar_url":"https://github.com/arogov-com.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# icmptunnel\nIPv4 over ICMP echo\n\n### Build\nmake\n\n### Arguments\n\u003ccode\u003e-s - run as server\n-c \u003cserver ip\u003e - run as client\n-i - outside interface\n-a \u003ctun ip\u003e - assign address to tunnel interface\n-z - compress packets with zlib\n-r - enable ping reply\n-d - enable debug prints. May be specified twice for full packet printing\u003c/code\u003e\n\n### Handled signals\nSIGUSR1 - Print statistic to stdout\n\nSIGUSR2 - Enable/increase debug level of running application\n\n### Run server\nIgnore replys for ICMP requests:\n\n`sudo echo 1 \u003e /proc/sys/net/ipv4/icmp_echo_ignore_all`\n\nAdd MASQUERADE rule to firewall. iface - output interface, network - tunnel network:\n\n`sudo iptables -t nat -A POSTROUTING -s \u003cnetwork\u003e -o \u003ciface\u003e -j MASQUERADE`\n\nEnable IP forwarding in kernel\n\n`sudo echo 1 \u003e /proc/sys/net/ipv4/ip_forward`\n\nRun server\n\n`sudo ./icmptunnel -s -i eth0 -a 10.20.30.1`\n\n### Run client\n`sudo ./icmptunnel -c \u003cserver ip\u003e -i eth0 -a 10.20.30.2`\n\n### Local test\nThe script will create 3 namespaces (client, gateway, server) and transfer traffic between the client's and server's namespaces\n\n`make test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farogov-com%2Ficmptunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farogov-com%2Ficmptunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farogov-com%2Ficmptunnel/lists"}