On Wed, 28 May 2014, Marko Cupać wrote:

> Hi,
> 
> I have a number of 5.4 firewalls which rely on ALTQ with HFSC for
> packet queueing. I'd like to upgrade to 5.5, but I'm confused with new
> queueing mechanism. If I understand well, in 5.5 order of queues has
> nothing to do with priority, only with bandwidth allocation (as opposed
> to ALTQ + HFSC on 5.4 where higher queue has higher prioritiy). If I
> want to change priority from default 3, on 5.5 I need to specify it on
> each filter rule, and there is no way to do it "centrally"?

I use match for that.
My pass or block rules are "queue clean" and apply queue and pio this
way (just an example):

match out on $gw_if all set (queue(q_def, q_pri), prio (3, 7))
match out on $gw_if inet proto { tcp, udp } from $torrent_client to any set 
(queue(q_dow, q_dow), prio (1, 1))

Hope that helps.

Cheers,

-- 
Paco Esteban.
GnuPG key: 0x0E1192A4

Reply via email to