Latest SVN trunk on OSX 10.4.11 (PPC)...
$ ./nmap --iflist
Starting Nmap 4.23RC3 ( http://insecure.org ) at 2007-11-27 20:54 EST
Warning: Unable to open interface en1 -- skipping it.
************************INTERFACES************************
DEV (SHORT) IP/MASK TYPE UP MAC
lo0 (lo0) 127.0.0.1/8 loopback up
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
WARNING: Unable to find appropriate interface for system route to 192.168.0.1
**************************ROUTES**************************
DST/MASK DEV GATEWAY
127.0.0.1/32 lo0 127.0.0.1
192.168.0.2/32 lo0 127.0.0.1
127.0.0.0/8 lo0 127.0.0.1
en0 is my wired interface (currently unplugged) and en1 is my wireless
interace (in use) that is connected to my cable modem.
If it helps, my IPv4 routing table looks like this:
$ netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.0.1 UGSc 20 4 en1
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 10 224166 lo0
169.254 link#5 UCS 0 0 en1
192.168.0 link#5 UCS 1 0 en1
192.168.0.1 0:9:5b:d8:f4:10 UHLW 19 17 en1 404
192.168.0.2 127.0.0.1 UHS 0 1 lo0
Cheers,
--
Matt
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Nov 27 2007