Nmap Development mailing list archives

Re: nmap not working properly...showing ports as filtered, but ncat banner grab works


From: 'David Fifield' <david () bamsoftware com>
Date: Fri, 20 Jan 2012 17:18:39 -0800

On Mon, Jan 16, 2012 at 04:32:51PM -0500, Joseph McCray wrote:
Like I said, I think that I was unclear in my previous post. I don't think
nmap is broken, I believe that I have a misconfiguration somewhere.

I just attempted to build from svn.

Now I keep getting the following error:

route_dst_netlink: can't find interface "venet0"

Googling the error helped me find some people with similar proplems:

http://zitstif.no-ip.org/?p=581
http://old.nabble.com/Re%3A-ARP-scan-%28-%29-bug-in-Nmap-5.59BETA1-p32390886
.html

Most similar to my issue:
http://talk.maemo.org/archive/index.php/t-48673.html

A generic scan with no options will run as a regular user, but not as root.

# ./nmap --iflist

Starting Nmap 5.61TEST4 ( http://nmap.org ) at 2012-01-16 16:30 EST
INTERFACES: NONE FOUND(!)
ROUTES: NONE FOUND(!)
root@shrek:/toolz/nmap-source# su j0e

$ ./nmap --iflist

Starting Nmap 5.61TEST4 ( http://nmap.org ) at 2012-01-16 16:31 EST
INTERFACES: NONE FOUND(!)
ROUTES: NONE FOUND(!)

Thanks for doing these tests. This must be a configuration that isn't
accounted for yet.

The proximate cause is a switch from using an Nmap-specific interface
loop based on SIOCGIFCONF to using libdnet on all platforms. libdnet
prefers to read /proc/net/dev if present.

So can you show us the contents of your /proc/net/dev?

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


Current thread: