LIVAI Daniel escreveu:
On Monday 24 November 2008 17.24.04 you wrote:
Hi,
I'm trying to set up a simple packet queueing policy on openbsd 4.4.
These are the PF rules I set up :
~# grep -v \# /etc/pf.conf | grep -v ^$
altq on em1 cbq bandwidth 100Mb queue { ftp,other }
queue ftp on em1 bandwidth 1Mb priority 0 cbq(ecn)
queue other on em1 bandwidth 99Mb priority 1 cbq(ecn,default)
nat on em0 from 192.168.110.2 -> 192.168.100.233
pass in quick on em0 from 86.55.8.30 flags any queue ftp
pass all
You specified the queue for em1, and you created the rule for em0.
Daniel
Not necessarily an error, since you can assign packets from one
interface to queue of others interfaces. We need more info to help, like
your interfaces configuration.
My regards,
--
Giancarlo Razzolini
http://lock.razzolini.adm.br
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Verify:https://www.redhat.com/certification/rhce/current/
Moleque Sem Conteudo Numero #002
OpenBSD Stable
Ubuntu 8.04 Hardy Heron
4386 2A6F FFD4 4D5F 5842 6EA0 7ABE BBAB 9C0E 6B85