Actions
Bug #3535
closedSelecting "LAN" as "WAN" in Multi-WAN Traffic Shaper wizard breaks the ruleset
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Traffic Shaper (ALTQ)
Target version:
Start date:
03/20/2014
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:
All
Description
Using the traffic shaper wizard with PRIQ, if you choose to give a protocol lower priority on the "Raise or Lower Other Applications" step of the wizard, it generates an invalid ruleset.
: pfctl -f /tmp/rules.debug pfctl: qDefault and qOthersLow have the same priority /tmp/rules.debug:66: errors in queue definition pfctl: Syntax error in config file: pf rules not loaded
As you can see in the rules, it has given both a priority of 3:
59 altq on em1 priq queue { qACK, qDefault, qP2P, qVoIP, qGames, qOthersHigh, qOthersLow, qLink } 60 queue qACK on em1 priority 6 priq ( ecn ) 61 queue qDefault on em1 priority 3 priq ( ecn , default ) 62 queue qP2P on em1 priority 1 priq ( ecn ) 63 queue qVoIP on em1 priority 7 priq ( ecn ) 64 queue qGames on em1 priority 5 priq ( ecn ) 65 queue qOthersHigh on em1 priority 4 priq ( ecn ) 66 queue qOthersLow on em1 priority 3 priq ( ecn ) 67 queue qLink on em1 priority 2 qlimit 500 priq ( ecn , default )
PRIQ can use priorities from 0-15 so it would make sense to shift the other priorities higher in the PRIQ case. CBQ and HFSC can only use 1-7.
Actions