Program to determine the source routing ip for an external ip address
.dockerignore | ||
.drone.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.golangci.yml | ||
.markdownlint.yaml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
Makefile | ||
manifest.tmpl | ||
README.md | ||
renovate.json |
getpsrc
getpsrc
is a small programme to determine the src routing ip for an external ip.
getpsrc
serves as an alternative to ip route get <ip> | awk ...
because ip route get
can return different output depending on the environment and
therefore the construct is unsafe.
getpsrc
is also as container image available: docker.io/volkerraschek/getpsrc
.