There's also some good stuff here:
http://www.muine.org/~hoang/openpf.html#qos

-J.

On Tue, 2002-11-19 at 08:37, Philipp Buehler wrote:
> On 19/11/2002, Stefan Sonnenberg-Carstens <[EMAIL PROTECTED]> wrote To 
>[EMAIL PROTECTED]:
> > Can some of you hackers show us some examples of the syntax style ?
> 
> look into latest pf.conf.5 on CVS, just committed the BNF
> more 'talk' in cvs soon
> 
> example:
> ext_if = "lo0"
> 
> altq on $ext_if scheduler cbq bandwidth 10Mb queue { deflt, http, ssh, mail }
> queue deflt             bandwidth 10% priority 0 cbq(default ecn)
> queue http              bandwidth 50% priority 5 cbq(red, ecn) \
>         queue { http_vhosts, http_cust1 }
> queue  http_vhosts      bandwidth 40%
> queue  http_cust1       bandwidth 1Mb
> queue mail              bandwidth 10% priority 1
> queue ssh               bandwidth 100Kb priority 7 cbq(borrow)
> 
> pass in  on $ext_if inet proto tcp from any to $web port 80 keep state queue http
> pass in  on $ext_if inet proto tcp from any to $webvhost port 80 keep state queue 
>http_vhosts
> pass in  on $ext_if inet proto tcp from any to $webcust port 80 keep state queue 
>http_cust1
> pass out on $ext_if inet proto tcp from any to any port 22 keep state queue ssh
> pass in  on $ext_if inet proto tcp from any to any port 25 keep state queue mail
> 
> 
> 


Reply via email to