Hi Daniel,
Well, I know this is weird, I come from a linux environment myself,
but according to http://www.openbsd.org/faq/pf/queueing.html queue
designation should take place on another interface than the one where
queueing is applied :
"Note that queue designation can happen on an interface other than the
one defined in the altq on directive:
altq on fxp0 cbq bandwidth 2Mb queue { std, ftp }
queue std bandwidth 500Kb cbq(default)
queue ftp bandwidth 1.5Mb
pass in on dc0 from any to any port 21 queue ftp
Queueing is enabled on fxp0 but the designation takes place on dc0. If
packets matching the pass rule exit from interface fxp0, they will be
queued in the ftp queue. This type of queueing can be very useful on
routers. "
However, I did try to apply the queue designation on em1 interface
with the statement "pass out quick on em1 from 86.55.8.30 flags any
queue ftp" but got the same result. Nothing got matched. I'll paste
the outputs tomorrow because I don't have access to that particular
machine right now.
Thank you and regards.
On Mon, Nov 24, 2008 at 8:37 PM, LIVAI Daniel <[EMAIL PROTECTED]> wrote:
> 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
>
> --
> LEVAI Daniel
> PGP key ID = 0x4AC0A4B1
> Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1