Nmap Development mailing list archives

"dnet: Failed to open device" errors on AIX, as root


From: Ben Lentz <ben.lentz () gmail com>
Date: Fri, 15 Feb 2013 15:43:12 -0500


    Adding --data-length doesn't seem to make a difference.

    $ sudo /opt/local/nmap/bin/nmap -sT --data-length 60 10.0.17.1

    Starting Nmap 6.01 ( http://nmap.org ) at 2012-12-10 16:33 EST
    WARNING:  eth_send of ARP packet returned -1 rather than expected 42
    (errno=19: No such device)
    WARNING:  eth_send of ARP packet returned -1 rather than expected 42
    (errno=19: No such device)
    Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
    Nmap done: 1 IP address (0 hosts up) scanned in 0.46 seconds

--data-length doesn't seem to be having an effect here. Try applying the
very last hunk of http://seclists.org/nmap-dev/2011/q4/att-353/aix.patch.

David Fifield

Sorry for the late reply. I applied the last hunk of patch
http://seclists.org/nmap-dev/2011/q4/att-353/aix.patch

--- libdnet-stripped/src/eth-ndd.c      (revision 27119)
+++ libdnet-stripped/src/eth-ndd.c      (working copy)

now I get:

$ sudo ./nmap -sS optaixnim01

Starting Nmap 6.01 ( http://nmap.org ) at 2013-02-15 15:37 EST
WARNING:  eth_send of ARP packet returned -1 rather than expected 42
(errno=19: No such device)
WARNING:  eth_send of ARP packet returned -1 rather than expected 42
(errno=19: No such device)
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 0.48 seconds

--send-ip still works fine.
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: