Different behavior of ping'ing INADDR_BROADCAST?

gnn at freebsd.org gnn at freebsd.org
Sat Jan 13 06:56:27 PST 2007


At Thu, 11 Jan 2007 08:37:51 +0000,
Bruce M. Simpson wrote:
> I'm personally not in favour of sending a single broadcast packet to
> multiple interfaces as it has potential for denial of service, and
> doesn't seem to be consistent with the behaviour of other systems,
> or the most common use-case for undirected broadcast, which is early
> boot and/or DHCP.  Applications such as ISC DHCP work around the
> traditional BSD behaviour by using BPF to inject and receive IP
> broadcasts.
> 

Just on this quick point, I too think copying broadcasts to all
interfaces is a bad idea and should be avoided.

Best,
George


More information about the freebsd-net mailing list