Re: FairQ ALTQ for PF - Patch #2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Max Laier
Date: Sunday, April 6, 2008 - 6:54 pm

On Monday 07 April 2008 03:26:32 Matthew Dillon wrote:

Agreed.  The code in WFQ is historical when there was altqd and /dev/altq 
and the altq_classifier.  pf (or any firewall for that matter) really is 
the place to do the classification.


I think "reduced state tracking" and the fairq are orthogonal.  You can 
have either independent of each other.  If I were to do reduced states, 
I'd probably make it a "state-opt" (see pf.conf(5) BNF) so that it could 
be applied to any keep state rule with various effects.  This way you 
could even do modulate state or synproxy state as long as you see the 
initial SYN.  If not, you fall back to creating a reduced state.  This 
option would, of course, also have a setting where it would always just 
create a reduced state and be done with it.

As for the name ... maybe, 'extra-tcp-state' with a possible setting 
of 'on' (default), 'off' and 'force-off' or something like that.  This 
could also be a global setting similar to the timeouts which can also be 
set on a per-rule basis.

-- 
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: FairQ ALTQ for PF - Patch #2, Matthew Dillon, (Sun Apr 6, 6:26 pm)
Re: FairQ ALTQ for PF - Patch #2, Max Laier, (Sun Apr 6, 6:54 pm)