Here is my pf.conf setrup basic traffic shapping for the first time ..

now my question how does pf inderstand what smtp or www protocole is ? how can 
i include custom protocoles ? like yahoo messenger, 5001 or msn messenger 1863 ?

regards





ext_if="fxp0"
int_if="epic0"
extad="192.168.0.6"
altq on $int_if priq bandwidth 500Kb queue{smtp, www, ftp}
queue smtp priority 15
queue ftp priority 14
queue www priority 7 priq(default)
pass in on $int_if proto tcp from 10.0.0.0/16 to any port smtp queue smtp
pass in on $int_if proto tcp from 10.0.0.0/16 to any port www queue www
pass in on $int_if proto tcp from 10.0.0.0/16 to any port ftp queue ftp
pass out on $int_if inet proto udp from any to 10.0.0.0/16 port smtp queue smtp
pass out on $int_if inet proto udp from any to 10.0.0.0/16 port ssh queue www
pass out on $int_if inet proto udp from any to 10.0.0.0/16 port ftp queue ftp
~

 
 *B:B$., B8B8,.B$B:*B(B(B(*B$ Stingray *B:B$., B8B8,.B$B:*B(B(*B$

Reply via email to