Nmap Development mailing list archives

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


From: David Fifield <david () bamsoftware com>
Date: Mon, 10 Dec 2012 17:33:28 -0800

On Mon, Dec 10, 2012 at 04:34:41PM -0500, Ben Lentz wrote:
Did you also try this patch without the second change? I think it's
wrong not to assign sndd_8022_nddname. It is probably also wrong not to
assign e->device, but I don't think that would actually have an effect.

The only other thing I can think of is that maybe the payload needs to
be padded to 60 bytes, as reported here:
        http://seclists.org/nmap-dev/2012/q1/96
You could try setting the --data-length option to test if this is the
case. I think it is unlikely, though, as the earlier report had EMSGSIZE
for this error. I think it's more likely that you need to restore the
assignment to sndd_8022_nddname.

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
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: