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:55:20 -0600

Fyodor wrote:
On Tue, Nov 27, 2007 at 08:09:22PM -0600, MadHat Unspecific wrote:
  
oops, sudo... nmap should check for root access before checking so the 
error does not appear.

$ sudo nmap --iflist
Password:
    

Hm, I'm not sure why this information should require root access.  I
can do --iflist as an unprivileged user on my Linux box.  Can you try
as an unprivileged user with Nmap 4.23RC2 and (if 4.23RC2 also shows
the error) 4.20 on the same OS X box and see what happens?  That will
tell us whether this is a new error or has long existed.
  

$ ./nmap --iflist

Starting Nmap 4.20 ( http://insecure.org ) at 2007-11-27 20:54 CST
getinterfaces: Failed to open ethernet interface (en1). A possible cause 
on BSD operating systems is running out of BPF devices (see 
http://seclists.org/lists/nmap-dev/2006/Jan-Mar/0014.html).
QUITTING!



$ sudo ./nmap --iflist
Password:

Starting Nmap 4.20 ( http://insecure.org ) at 2007-11-27 20:55 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

...

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


Current thread: