Nmap Development mailing list archives
Re: ncat broadcast support?
From: Luis MartinGarcia <luis.mgarc () gmail com>
Date: Fri, 14 May 2010 19:15:17 +0200
Hi Daniel, I've done a quick test on Windows using and old version of Nping to generate UDP packets to addresses like 192.255.255.255 and I can confirm it works fine. Note that the version I'm using is old and does no SO_BROADCAST setsockopt at all. So yes, it looks like windows does allow targeting broadcast addresses even if you don't set SO_BROADCAST on the socket. Luis MartinGarcia. PS: MSDN documentation talks about SO_BROADCAST ("SO_BROADCAST, BOOL, Enables transmission and receipt of broadcast messages on the socket.") but does not mention whether it is set by default or not. <http://msdn.microsoft.com/en-us/library/ms740476%28VS.85%29.aspx> On Fri, May 14, 2010 at 6:52 PM, Daniel Miller <bonsaiviking () gmail com> wrote:
Oddly, though, I had success sending broadcast messages both with and without the new --broadcast flag on Windows! Can anyone confirm with an unpatched build that this works? Maybe Windows sockets don't need SO_BROADCAST set? I just don't know enough about it. Dan
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: ncat broadcast support?, (continued)
- Re: ncat broadcast support? Ron (May 11)
- Re: ncat broadcast support? Daniel Miller (May 12)
- Re: ncat broadcast support? Ron (May 12)
- Re: ncat broadcast support? Daniel Miller (May 12)
- Re: ncat broadcast support? Daniel Miller (May 12)
- Re: ncat broadcast support? Fyodor (May 12)
- Re: ncat broadcast support? Daniel Miller (May 13)
- Re: ncat broadcast support? Daniel Miller (May 13)
- Re: ncat broadcast support? Norris Carden (May 14)
- Re: ncat broadcast support? Daniel Miller (May 14)
- Re: ncat broadcast support? Luis MartinGarcia (May 14)
- Re: ncat broadcast support? David Fifield (May 18)
- Re: ncat broadcast support? David Fifield (May 18)
- Re: ncat broadcast support? David Fifield (May 20)
- Re: ncat broadcast support? Daniel Miller (May 12)
- Re: ncat broadcast support? Ron (May 11)