nmap/libnetutil
david fd259a2422 Use getsockname to get source addresses.
This was previously gotten by setting the source address to be the same
of the interface address of the matching route. However this can be
wrong; when making a normal socket connection the source address is
chosen differently. We create a SOCK_DGRAM socket, connect it, and read
the local address with getsockname.
2011-06-27 18:05:39 +00:00
..
libnetutil.vcxproj Upgrade the Windows build files using the Visual C++ 2010 Express conversion 2010-11-04 18:16:40 +00:00
Makefile.in Revert r24116 and r24117; the addrset functions need to go in a C 2011-06-18 23:52:25 +00:00
netutil.cc Use getsockname to get source addresses. 2011-06-27 18:05:39 +00:00
netutil.h Add ipv6_get_data_any and ip_get_data_any. 2011-06-17 05:47:33 +00:00