RANDOM_IP_ID sysctl?

Andre Oppermann andre at freebsd.org
Tue Jun 29 11:04:18 PDT 2004


Max Laier wrote:
> 
> On Tuesday 29 June 2004 15:40, Xin LI wrote:
> > On Tue, Jun 29, 2004 at 02:13:38PM +0100, David Malone wrote:
> > > It seems to me that RANDOM_IP_ID might be better as a sysctl rather
> > > than a kernel option. Would anyone mind if I changed this?
> 
> I personally think that RANDOM_IP_ID is something that should be tweakable on
> a per-interface basis (at least). I usually want randomized IDs on my uplink
> interface while it could harm my GigE internal network due to faster ID reuse
> cycles.

ip_id is only an issue when you have packet fragmentation going on. Which
I doubt for your internal GigE network.

> FYI, pf(4) can set randomized IDs on a per interface (and even on a per
> connection) basis.
> 
> David, I'd appreciate to review your patches in order to avoid breakage of pf,
> thanks.

How could random ip_id break pf?

-- 
Andre


More information about the freebsd-net mailing list