Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2001 17:42:32 +0200 (CEST)
From:      Luigi Rizzo <luigi@info.iet.unipi.it>
To:        Jonathan Chen <jon@FreeBSD.ORG>
Cc:        net@FreeBSD.ORG
Subject:   Re: forwarding broadcast
Message-ID:  <200108091542.RAA06984@info.iet.unipi.it>
In-Reply-To: <20010809113638.A9519@enterprise.spock.org> from Jonathan Chen at "Aug 9, 2001 11:36:38 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> On FreeBSD -CURRENT and -STABLE, packets to broadcast addresses are not 
> forwarded.  For instance, if I have a FreeBSD router with interfaces 

I think it is correct NOT to forward local or subnet broadcasts --
it would be evil to let let an external node flood a subnet
with broadcast traffic.
Plus, a node has no good way (other than guessing) to know what
netmask is used on an external subnet.

	cheers
	luigi

> 192.168.1.1 and 192.168.2.1, and I send packets from 192.168.1.2 to 
> 192.168.2.255, the packets are dropped to the floor.  IMO, this is wrong... 
> but I haven't consulted all the RFC's so I'm not sure if some standard out 
> there calls for it.  In any case, the following patch creates a sysctl knob 
> to turn on or off this feature (since it can be considered a security risk 
> by some).  I just want to ask around in case I turned out to be doing 
> something incredibly evil.  Comments?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108091542.RAA06984>