{"id":39818009,"url":"https://github.com/nmaguiar/netutils","last_synced_at":"2026-01-18T12:53:08.669Z","repository":{"id":249589241,"uuid":"831932622","full_name":"nmaguiar/netutils","owner":"nmaguiar","description":"Alpine \u0026 Debian based images with tools for network connectivity debugging among other troubleshooting utilities.","archived":false,"fork":false,"pushed_at":"2026-01-12T07:21:47.000Z","size":26194,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T17:32:56.896Z","etag":null,"topics":["containers","debug","kubernetes","network"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nmaguiar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-22T02:33:29.000Z","updated_at":"2026-01-12T07:21:48.000Z","dependencies_parsed_at":"2024-08-03T08:28:00.699Z","dependency_job_id":"4ce7f18c-65e8-4425-ac09-e7be33483998","html_url":"https://github.com/nmaguiar/netutils","commit_stats":null,"previous_names":["nmaguiar/netutils"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/nmaguiar/netutils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmaguiar%2Fnetutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmaguiar%2Fnetutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmaguiar%2Fnetutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmaguiar%2Fnetutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nmaguiar","download_url":"https://codeload.github.com/nmaguiar/netutils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmaguiar%2Fnetutils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28536555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"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":["containers","debug","kubernetes","network"],"created_at":"2026-01-18T12:53:08.505Z","updated_at":"2026-01-18T12:53:08.647Z","avatar_url":"https://github.com/nmaguiar.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NetUtils\n\nImage (\"nmaguiar/netutils\") with tools for network connectivity debugging (with the right permissions) among other troubleshooting utilities. The image is provided in two versions: Debian-based (nmaguiar/netutils:based) and Alpine-based (nmaguiar/netutils:lite). This is because some tools might not be available in the Alpine version.\n\nSome of the included tools:\n\n- mitmproxy\n- termshark\n- openaf\n- iotop\n- iperf\n- tcpdump\n- nmap\n- iftop\n- drill\n- socat\n- websocat\n- posting\n- strace\n\n## Image security scans\n\n[![.github/sec-build.svg](.github/sec-build.svg)](.github/sec-build.md)\u003cbr\u003e\n[![.github/sec-build-lite.svg](.github/sec-build-lite.svg)](.github/sec-build-lite.md)\u003cbr\u003e\n[![.github/sec-lite.svg](.github/sec-lite.svg)](.github/sec-lite.md)\u003cbr\u003e\n[![.github/sec-latest.svg](.github/sec-latest.svg)](.github/sec-latest.md)\u003cbr\u003e\n\n## Usage\n\n### 🐳 Deploy using docker\n\n```bash\ndocker run --rm -ti nmaguiar/netutils /bin/bash\n```\n\nHost network:\n\n```bash\ndocker run --rm -ti --net host -v /var/run/docker.sock:/var/run/docker.sock nmaguiar/netutils /bin/bash\n```\n\nContainer network:\n\n```bash\nCONTAINER=some_other_container \u0026\u0026 docker run --rm -ti --net container:$CONTAINER --pid container:$CONTAINER -v /var/run/docker.sock:/var/run/docker.sock --volumes-from=$CONTAINER nmaguiar/netutils /bin/bash\n```\n\nWith permissions for termshark:\n\n```bash\nCONTAINER=some_other_container \u0026\u0026 docker run --rm -ti --cap-add=NET_ADMIN --cap-add=NET_RAW -v /var/run/docker.sock:/var/run/docker.sock --volumes-from=$CONTAINER --net container:$CONTAINER --pid container:$CONTAINER  nmaguiar/netutils /bin/bash\n```\n\n### ⚙️  Deploy using kubectl\n\n```bash\nkubectl run netutils --rm -it --image nmaguiar/netutils -- /bin/bash\n```\n\nAttach to a container to debug:\n\n```bash\nkubectl debug pod-to-debug -it --image nmaguiar/netutils --target=container-to-debug --profile='netadmin' -- /bin/bash\n```\n\nStart in a specific node:\n\n```bash\nNODENAME=node-server-0 NAME=netutils NS=kube-system  /bin/sh -c 'kubectl run -n $NS $NAME --rm -ti --image=nmaguiar/netutils  --overrides=\"{\\\"apiVersion\\\":\\\"v1\\\",\\\"spec\\\":{\\\"nodeName\\\":\\\"$NODENAME\\\",\\\"containers\\\":[{\\\"name\\\":\\\"$NAME\\\",\\\"image\\\":\\\"nmaguiar/netutils\\\",\\\"stdin\\\":true,\\\"stdinOnce\\\":true,\\\"tty\\\":true,\\\"args\\\":[\\\"/bin/bash\\\"]}]}}\" -- /bin/bash'\n```\n\nHost network:\n\n```bash\nNODENAME=node-server-0 NAME=netutils NS=kube-system  /bin/sh -c 'kubectl run -n $NS $NAME --rm -ti --image=nmaguiar/netutils  --overrides=\"{\\\"apiVersion\\\":\\\"v1\\\",\\\"spec\\\":{\\\"hostNetwork\\\":true,\\\"nodeName\\\":\\\"$NODENAME\\\",\\\"containers\\\":[{\\\"name\\\":\\\"$NAME\\\",\\\"image\\\":\\\"nmaguiar/netutils\\\",\\\"stdin\\\":true,\\\"stdinOnce\\\":true,\\\"tty\\\":true,\\\"args\\\":[\\\"/bin/bash\\\"]}]}}\" -- /bin/bash'\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmaguiar%2Fnetutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnmaguiar%2Fnetutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmaguiar%2Fnetutils/lists"}