Nmap Development mailing list archives

Nmap not sending UDP broadcasts


From: David Fifield <david () bamsoftware com>
Date: Sat, 18 Sep 2010 09:46:52 -0700

I tried to send broadcasts with Nping:

# nping --udp 192.168.0.255 -p 67

Starting Nping 0.5.35DC18 ( http://nmap.org/nping ) at 2010-09-18 09:45 PDT
sendto in send_ip_packet_sd: sendto(3, packet, 28, 0, 192.168.0.255, 16) => Permission denied
Offending packet: UDP 192.168.0.21:53 > 192.168.0.255:67 ttl=64 id=47101 iplen=28
SENT (0.0310s) UDP 192.168.0.21:53 > 192.168.0.255:67 ttl=64 id=47101 iplen=28

It works in hping2:

# hping2 --udp 255.255.255.255 -p 67

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: