david
f55171a088
Add metric to struct route_entry.
...
Actually getting a nonzero value for the metric is supported only on
Linux and Windows.
2013-02-01 05:01:56 +00:00
david
98aa8fbe80
Set intf_name in route-linux.c.
2012-09-30 00:01:12 +00:00
david
5bbe36af7a
Add intf_name to the route_entry struct.
...
This is set to an empty string in all functions yielding routes,
particularly route_loop. The code to get the interface pertaining to a
route is different on different platforms, so must be added one by one.
The code setting the intf_name to an empty string is only tested on
Linux.
2012-09-30 00:01:10 +00:00
david
bfea61a51e
Put the sscanf count check right after the call to sscanf.
2012-09-27 03:10:28 +00:00
david
06dcb1c138
Check ipv6 route flags and sscanf count as well.
2012-09-27 03:06:22 +00:00
david
95b634d28c
We are reading 11, not 10, fields from /proc/net/route.
2012-09-27 02:58:27 +00:00
david
645e0d213f
We can only read n - 1 bytes of interface name; sscanf doesn't include
...
the terminator.
Noticed by Djalal.
2012-09-27 02:58:26 +00:00
david
4aa4a154f9
Merge from /nmap-exp/david/nmap-ipv6.
...
This is raw IPv6 packet support for most port and ping scans, Neighbor
Discovery, and traceroute.
2011-06-08 01:24:48 +00:00
kris
d23556c513
Upgrading shipped libdnet to 1.12
2008-09-19 06:12:25 +00:00
fyodor
4d2beed7c3
libdnet stripped and integrated, ARP ping scan starting to work pretty well
2005-04-30 05:12:29 +00:00