Nmap Development mailing list archives

No space for further MAC prefixes


From: sgarcia <sgarcia () citefa gov ar>
Date: Thu, 2 Nov 2006 11:37:16 -0300

-----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.

I know that using --datadir and some nmap4.11 specific directory everything 
should work, but that seems to be too much work just for 49 bytes in that 
mac-table.

Perhaps it´s better to get the file length before reading it, so we can use 
different nmap versions with the same data files?

Cheers


sebas
- -- 
Ing. Sebastián García
SI6 - DINFO - CITEFA
San Juan B. de La Salle 4397
B1603ALO Villa Martelli - Pcia. Bs. As.
Tel: (54-11) 4709-8285
e-mail: sgarcia () citefa gov ar - www.citefa.gov.ar/si6/
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x4305E810
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFSgKh/TXddkMF6BARAjiLAJ4l1ZMzCeNuSAnipZXJFMgnjp5JegCfeLpT
VgeGWs3VhKzuVPCsvVXMWI8=
=byiZ
-----END PGP SIGNATURE-----

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


Current thread: