On 2008-11-24, 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.
Not necessarily a problem. But it could be.
Lots of missing information here. Where's the ftp server? Which side
initiates the connection (this will vary depending on active/passive)?
Etc.
Looking through and working out what information people might need
to answer the question, will probably suggest why the state gets created
for the "pass all" rule rather than the "pass in ... from ..." rule.