ALTQ and services

2008-08-19 Thread Zbigniew Szalbot

Hello,

I am trying to find out how to specify services in the below scenario:

ext_if=kue0

altq on $­ext_if priq bandwidth 1024Kb queue { q_pri, q_def }
queue q_pri priority 7
queue q_def priority 1 priq(default)

pass out on $­ext_if proto tcp from $­ext_if to any flags S/SA
 keep state queue (q_def, q_pri)

pass in  on $­ext_if proto tcp from any to $­ext_if flags S/SA
 keep state queue (q_def, q_pri)


I grabbed this example off a web page but would anyone help me
understand how I can define queue priority for ssh, smtp, httpd and ftp?

I understand that q_pri has a priority over q_def, but where do I define
what's inside them? Many, many thanks!

--
Zbigniew Szalbot
www.LCWords.com




smime.p7s
Description: S/MIME Cryptographic Signature


Re: ALTQ and services

2008-08-19 Thread Riaan Kruger
2008/8/19 Zbigniew Szalbot [EMAIL PROTECTED]

 Hello,

 I am trying to find out how to specify services in the below scenario:

 ext_if=kue0

 altq on $­ext_if priq bandwidth 1024Kb queue { q_pri, q_def }
 queue q_pri priority 7
 queue q_def priority 1 priq(default)

 pass out on $­ext_if proto tcp from $­ext_if to any flags S/SA
 keep state queue (q_def, q_pri)

 pass in  on $­ext_if proto tcp from any to $­ext_if flags S/SA
 keep state queue (q_def, q_pri)


 I grabbed this example off a web page but would anyone help me
 understand how I can define queue priority for ssh, smtp, httpd and ftp?

 I understand that q_pri has a priority over q_def, but where do I define
 what's inside them? Many, many thanks!

 --
 Zbigniew Szalbot
 www.LCWords.com

See http://www.openbsd.org/faq/pf/queueing.html or
http://home.nuug.no/~peter/pf/en/altqintro.html

Hope it helps

Riaan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]