On Fri, Jan 12, 2007 at 03:23:15PM +0100, [EMAIL PROTECTED] wrote:
> I try to use HFSC on a gateway to queue packets.
> SSH packets never go to the right queue, always in the default queue.
> 
> I test with this little pf.conf on a single interface machine and face the
> same problem. http packets go to the right queue ssh always to the default
> queue !! Any idea ?

> pass in on $ext_if proto tcp to ($ext_if) port ssh keep state queue
> (sshbulkext sshinteractext)
> pass in on $ext_if proto tcp to ($ext_if) port 80 keep state queue
> (httpExtInObsd ExtInAck)
> 
> pass out on $ext_if keep state

pf(4) will work with the *last* matching rule, not the first. (Add
'quick' to your rules, or reverse the order of the rules.)

This is actually very useful, but can be confusing the first (couple of)
time(s).

                Joachim

Reply via email to