Metasploit mailing list archives

sending UDP to broadcast address


From: hdm at metasploit.com (HD Moore)
Date: Sat, 11 Jul 2009 20:23:55 -0500

On Sat, 11 Jul 2009 18:34:27 -0500, Robin Wood <dninja at gmail.com> wrote:

I've tried <broadcast> and still can't get anything. I've dug through
the socket and udp libraries and can't work out what I'm doing wrong.
If I put a unicast IP or a hostname as the sendto parameter the code
works.

What am I doing wrong?

Must be a regression - at one point we caught the error message, set the  
SO_BROADCAST option, and resent. Looking into it now.

-HD



Current thread: