Nmap Development mailing list archives

Re: Nmap not sending UDP broadcasts


From: "Luis MartinGarcia." <luis.mgarc () gmail com>
Date: Sat, 18 Sep 2010 20:39:45 +0200

Hi, David.

Thanks for the report. I've just added a to-do item for this. I guess
making a setsockopt() call for the SO_BROADCAST option will fix it.
Hopefully, next week I'll have some free time to fix this and the
nsi_delete() problem. 

Regards,

Luis MartinGarcia.

On 09/18/2010 06:46 PM, David Fifield wrote:
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/

  

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


Current thread: