If -s is not given do a dummy connect to get outgoing ip,
authorflorian <florian@openbsd.org>
Fri, 18 Apr 2014 16:19:11 +0000 (16:19 +0000)
committerflorian <florian@openbsd.org>
Fri, 18 Apr 2014 16:19:11 +0000 (16:19 +0000)
commitedee9900a7684ad11d1bf3a196f941b84e70bf74
treeaae449cb59a4b02de36979694b8cafcc92140dd7
parent8b94eab45c59aa5aa3280e7e57177e2d09f140b1
If -s is not given do a dummy connect to get outgoing ip,
unconditionally try to bind to this ip and get a source port for udp
this way, like traceroute6 is doing.  This means you can no longer
traceroute from IPs not present on the system. (There are probably
better tools if you want to send traffic from spoofed IPs.)
OK benno@
usr.sbin/traceroute/traceroute.8
usr.sbin/traceroute/traceroute.c