Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: iflist broken on OSX 10.4.11
From: MadHat Unspecific <madhat () unspecific com>
Date: Tue, 27 Nov 2007 20:09:22 -0600

oops, sudo... nmap should check for root access before checking so the 
error does not appear.

$ sudo nmap --iflist
Password:

Starting Nmap 4.23RC3 ( http://insecure.org ) at 2007-11-27 20:07 CST
************************INTERFACES************************
DEV (SHORT) IP/MASK          TYPE     UP MAC
lo0 (lo0)   127.0.0.1/8      loopback up
en1 (en1)   192.168.1.189/24 ethernet up 00:1E:52:70:E2:65

**************************ROUTES**************************
DST/MASK           DEV GATEWAY
216.155.193.162/32 en1 192.168.1.254
64.12.28.78/32     en1 192.168.1.254
64.12.201.42/32    en1 192.168.1.254
64.233.167.99/32   en1 192.168.1.254
66.94.226.22/32    en1 192.168.1.254
69.89.31.129/32    en1 192.168.1.254
209.144.21.106/32  en1 192.168.1.254
216.87.144.2/32    en1 192.168.1.254
127.0.0.1/32       lo0 127.0.0.1
192.168.1.189/32   lo0 127.0.0.1
192.168.244.1/32   en1 192.168.1.254
204.19.248.36/32   en1 192.168.1.254
205.217.153.60/32  en1 192.168.1.254
209.85.163.125/32  en1 192.168.1.254
127.0.0.0/0        lo0 127.0.0.1
0.0.0.0/0          en1 192.168.1.254


Lee Heath wrote:
same on 10.5.1 intel based...

$ nmap --iflist

Starting Nmap 4.23RC3 ( http://insecure.org ) at 2007-11-27 20:02 CST
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.1.254

WARNING: Unable to find appropriate interface for system route to 
192.168.1.254

WARNING: Unable to find appropriate interface for system route to 
192.168.1.254

WARNING: Unable to find appropriate interface for system route to 
192.168.1.254

WARNING: Unable to find appropriate interface for system route to 
192.168.1.254

WARNING: Unable to find appropriate interface for system route to 
192.168.1.254

WARNING: Unable to find appropriate interface for system route to 
192.168.1.254

WARNING: Unable to find appropriate interface for system route to 
192.168.1.254

WARNING: Unable to find appropriate interface for system route to 
192.168.1.254

WARNING: Unable to find appropriate interface for system route to 
192.168.1.254

**************************ROUTES**************************
DST/MASK         DEV GATEWAY
127.0.0.1/32     lo0 127.0.0.1
192.168.1.189/32 lo0 127.0.0.1
127.0.0.0/0      lo0 127.0.0.1


Matt Selsky wrote:
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,



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


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


  By Date           By Thread  

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