Nmap Development mailing list archives

Another --iflist bug


From: "Mike pattrick" <mpattrick () rhinovirus org>
Date: Tue, 3 Jun 2008 14:10:21 -0400

Hey everyone,

Another day another commit.

David was nice enough to tell me about a bug where --iflist wouldn't
report the correct values on windows if the user had set up interface
aliases. Here is an example of the buggy output:

************************INTERFACES************************
DEV  (SHORT) IP/MASK          TYPE     UP MAC
eth0 (eth0)  192.168.1.178/24 ethernet up 00:15:E9:72:DB:8C
eth1 (eth1)  192.168.0.197/24 ethernet up 00:00:39:04:C1:F0
eth1 (eth1)  192.168.3.101/24 ethernet up 00:00:39:04:C1:F0
lo0  (lo0)   127.0.0.1/8      loopback up

DEV  WINDEVICE
eth1 \Device\NPF_{43939745-59EC-4539-AA18-FA1950DEABD7}
eth1 \Device\NPF_{2E9F517C-BB63-4CDC-88DC-9EE3BC9F8270}
lo0  \Device\NPF_GenericDialupAdapter

Notice how the second list has eth1 listed twice but no eth0? This bug
has now been fixed :)

Cheers,
Michael

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


Current thread: