Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Who is testing the new Nmap IPv6 support
From: Brandon Enright <bmenrigh () ucsd edu>
Date: Mon, 13 Jun 2011 19:55:48 +0000

Hash: SHA1

On Mon, 13 Jun 2011 12:46:14 -0700
David Fifield <david () bamsoftware com> wrote:

Can you tell if Nmap is using the correct source address and
interface? Does it work if you force it with -S and -e?

I ran into a bug with the interface determination code in
route_dst_netlink() somehow leaking file handles and running the box out.

In short:

$ sudo ./nmap --datadir . 
Starting Nmap 5.52.IPv6.Beta2 ( http://nmap.org ) at 2011-06-13 19:49 UTC
route_dst_netlink: cannot create AF_NETLINK socket: Too many open files

But using a /24 works just fine.  To get around this I have to specify
the interface with -e.

Interestingly, I only run into the issue when I use certain netblocks.
For example, this works:

sudo ./nmap --datadir .

This might have something to do with my route table having some of
132.239 in it:

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface U     0      0        0 eth6     U     0      0        0 eth2     U     0      0        0 eth3     U     0      0        0 eth4     U     0      0        0 eth5     U     0      0        0 eth7       U     0      0        0 lo         UG    0      0        0 eth6

I haven't had a chance to track the issue down though.

I will try some basic IPv6 tests as soon as I can make time.


Version: GnuPG v2.0.17 (GNU/Linux)

Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]