Nmap Development mailing list archives

Re: getinterfaces on NetBSD


From: Fredrik Pettai <pettai () nordu net>
Date: Tue, 30 Mar 2010 23:25:30 +0200

On Mar 26, 2010, at 11:12 PM, David Fifield wrote:
On Thu, Mar 25, 2010 at 03:03:04PM -0600, David Fifield wrote:
On Tue, Mar 23, 2010 at 06:22:26PM +0100, Fredrik Pettai wrote:
bash-4.0# nmap --iflist

Starting Nmap 5.21 ( http://nmap.org ) at 2010-03-23 18:03 CET
INTERFACES: NONE FOUND(!)
WARNING: Unable to find appropriate interface for system route to
193.10.5.1
WARNING: Unable to find appropriate interface for system route to
127.0.0.1
WARNING: Unable to find appropriate interface for system route to
127.0.0.1
ROUTES: NONE FOUND(!)

I would commit this patch right away, except that the current code seems
to have been working fine on FreeBSD. Depending on how SIOCGIFCONF is
implemented on FreeBSD, this patch may break it. So I would appreciate
someone first testing --iflist with the attached patch on FreeBSD.

I've been learning how to use QEMU in the last few days, so I was able
to test the patch on FreeBSD. It works, so I've committed it.

Great! We can throw away patch-ad now :-)

Thx,
/P
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: