Metasploit mailing list archives

sending UDP to broadcast address


From: dninja at gmail.com (Robin Wood)
Date: Mon, 13 Jul 2009 13:37:57 +0100

2009/7/12 HD Moore <hdm at metasploit.com>:
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.

Did you find anything on this?

Robin


Current thread: