Nmap Development mailing list archives

Re: Nmap not sending UDP broadcasts


From: "Luis MartinGarcia." <luis.mgarc () gmail com>
Date: Tue, 21 Sep 2010 19:46:48 +0200

On 09/18/2010 09:28 PM, David Fifield wrote:
On Sat, Sep 18, 2010 at 08:39:45PM +0200, Luis MartinGarcia. wrote:
  
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. 
    
I think you can use nsp_setbroadcast.

  

Hi,

I've been looking into this but I haven't been able to find the problem.
Using nsp_setbroadcast(nsp, 1) does not help. I've seen that this only
happens for broadcast addresses for your current subnet (in my case
fails for 192.168.1.255 but works for any other .255). Also, I've found
that sending the packets at the raw ethernet level works fine (option
--send-eth).

Any ideas?

Luis.


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


Current thread: