Categorygithub.com/feliux/netdbg
modulepackage
0.0.0-20240525220914-dbea4ab9bb82
Repository: https://github.com/feliux/netdbg.git
Documentation: pkg.go.dev

# README

Under Construction

Gopher netdbg

Netdbg is a powerfull command line tool for debugging connectivity issues in enviroments where you do not have tools like ping, curl, netcat, dig, nslookp, etc, etc. So netdbg is the swiss knife that brings all of them together in one place.

Why?

Think in a distroless container deployed in Kubernetes. How do you test connectivity issues from that container if the image just have the necessary binaries for be able to run your application. So... Maybe your application can no connect to other pod... Maybe you do not know about the subnet where the cluster is deployed... Maybe there are firewalls blocking your application... Maybe you do not set the correct proxy endpoint... etc etc. With netdbg you can execute ping, netcat and that all stuff necessary to check out why your application is failing.

# Packages

Package cmd root.go is a Cobra cli entrypoint.
Package netcat server.go builds a TCP server.
Package revdns for reverse DNS lookups.