Nmap Development mailing list archives

Re: 'nmap -S <src_addr>' does not use 'iproute2' alternate routing table


From: starlight.2012q3 () binnacle cx
Date: Mon, 10 Sep 2012 17:16:46 -0400

It seems to me, without having actually
dug into the code, that 'libdnet' has
no concept of multiple routing tables
per the design of 'iproute2'.
(Read the man page for 'ip(8)' and Google
"iproute2" for lots of material on how
it works and is configured.)

So fixing it the "right" way implies
an extensive effort to enhance 'libdnet'
and it's APIs, and then modifying
'nmap' code as well.

That would be a LOT of work.

Adding a command line option to force
the gateway will do the job for rare
topology like the one here and is
probably a day or two to code and test.



At 02:11 PM 9/10/2012 -0700, David Fifield wrote:
On Mon, Sep 10, 2012 at 05:05:39PM -0400, 
starlight.2012q3 () binnacle cx wrote:
My earlier suggestion for a command-line
option that forces the gateway applies
regardless.

I would like to avoid this idea if possible, and rather fix 
whatever
underlying bugs may exist.

David Fifield

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


Current thread: