Having problems with limited broadcast
Bruce M. Simpson
bms at FreeBSD.org
Thu Jan 8 15:29:56 PST 2009
Peter Steele wrote:
> ...
> It's really a matter of time. We didn't anticipate limited broadcast
> being broken in FreeBSD and we're scrambling to come up with a solution.
> To be quite frank I haven't done anything with IPv6 before so it would
> be more research to get up to speed on this option. It seems our best
> option is scapy, which unfortunately I also haven't used before...
>
It's not broken -- it has always been this way in all BSD derived
networking stacks.
Limited broadcast addresses just don't contain any information about
where the datagram should go, and this is the case in all other
implementations. They are similar to multicast addresses in that regard.
Linux has a knob SO_BINDTODEVICE which is partly there to workaround
this problem, however it isn't the ideal semantic fit.
The folk who point out that link-local addresses could be used, have an
interesting suggestion which might work for you.
thanks
BMS
More information about the freebsd-net
mailing list