2021-06-14 07:53:26 +00:00
|
|
|
# getpsrc
|
|
|
|
|
2024-04-08 14:51:24 +00:00
|
|
|
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/getpsrc/status.svg)](https://drone.cryptic.systems/volker.raschek/getpsrc)
|
|
|
|
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/getpsrc)](https://hub.docker.com/r/volkerraschek/getpsrc)
|
|
|
|
|
2021-06-14 07:53:26 +00:00
|
|
|
`getpsrc` is a small programme to determine the src routing ip for an external ip.
|
|
|
|
|
2024-04-08 14:51:24 +00:00
|
|
|
`getpsrc` serves as an alternative to `ip route get <ip> | awk ...` because `ip
|
2021-06-14 07:53:26 +00:00
|
|
|
route get` can return different output depending on the environment and
|
|
|
|
therefore the construct is unsafe.
|
2024-04-08 14:51:24 +00:00
|
|
|
|
|
|
|
`getpsrc` is also as container image available: `docker.io/volkerraschek/getpsrc`.
|