Nmap Development mailing list archives

Re: No space for further MAC prefixes


From: Fyodor <fyodor () insecure org>
Date: Thu, 2 Nov 2006 12:05:54 -0800

On Thu, Nov 02, 2006 at 11:37:16AM -0300, sgarcia wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everyone!

Using nmap4.11 (under Linux) with /usr/local/share/nmap/nmap-mac-prefixes from 
nmap-4.20ALPHA7 distribution leads to nmap reporting this error:
"No space for further MAC prefixes from nmap-mac-prefixes.  Increase 
MacTable.table_capacity"

This is due to nmap4.11 MACLookup.cc file containing:
      "MacTable.table_capacity = 9521"
And nmap-4.20ALPHA7's nmap-mac-prefixes file being 9570 lines long.

If I increase MacTable.table_capacity to 9570 everything goes fine.

Good point.  With the recent ALPHA versions, it is set to 19037.
Since it grows by about a thousand per year, that ought to last us
quite some time.  I've also added a warning to the code to tell us
next time we exceed 80% of the capacity.

Cheers,
-F

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


Current thread: