However, assuming that there's some *regularity* to your need, you
might
be able to tell the kernel itself to adhere to it (e.g., for Linux, use
iptables to explicitly SNAT connections matching a pattern to a
specific
source IP). No more extra processes that can linger that way.
On Linux you can set the requested source IP in the routing table
per-destination; and, together with iptables, you can also correlate
routes with executables and users.
So you can have a range of UIDs use outgoing address 1, another
set use address 2, etc.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev