Nmap Development mailing list archives

Re: lingering problem: route_dst_netlink: can't find interface


From: starlight.2012q3 () binnacle cx
Date: Wed, 22 Aug 2012 20:20:10 -0400

Perhaps I should mention a particular
interest in the new/revised routing
table support.

Have a system where 'iproute2' is used
to create an alternate routing table
for the source address of one interface
on a Linux router.  For the one interface
the default route points in a different
direction then the normal default route.

Would like for 'nmap' to be able to
correctly use the alternate routing
table when the -S <src addr> option
is applied.  Reason is that this interface
connects directly to the Internet
where other interfaces route through
a Cisco firewall.

   ping -i <src_addr> <dst_addr>

and

   traceroute -s <src_addr> <dst_addr>

both work correctly here, but 'nmap'
5.51.6 does not see the alternate
routing table and fails.

Seems like the new 'nmap' routing
logic would be intended to handle
IPv6 and esoteric 'iproute2' setups.
But rather than assume this it seems
better to mention it before the logic
is modified, in case this scenario has
not been considered.  No easy way to
tell since the 'route_dst_netlink'
problem prevents getting that far.

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: