Project

General

Profile

Bug #5325

Traffic shaping wizard creates an unloadable rule-set if using HFSC on a LAN interface that is not up when the rules are loaded.

Added by Steve Wheeler about 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Traffic Shaper (ALTQ)
Target version:
-
Start date:
10/20/2015
Due date:
% Done:

0%

Estimated time:
Affected Version:
All
Affected Architecture:

Description

If you choose HFSC in the wizard (multiwan/multilan) on a LAN interface that is not connected when the wizard completes or is later disconnected when the rules-set is loaded it will fail to load. The filter reload that is triggered after the wizard reports done but if you manually re-load the rules you will see the error:
$ pfctl -f /tmp/rules.debug
bandwidth for qInternet higher than interface
/tmp/rules.debug:63: errors in queue definition
Where the bad line is in the disconnected interface.
This appears to be beacause the reported bandwidth of that inbterface is 0 when down.

Setting the bandwidth of the root queue on that interface to, say, 1Gbps worksaround this.

See attached files for an example.

shaper_config.txt (6.88 KB) shaper_config.txt Steve Wheeler, 10/20/2015 11:39 AM
ezshaper_config.txt (2.15 KB) ezshaper_config.txt Steve Wheeler, 10/20/2015 11:39 AM
altq_rules.txt (2.03 KB) altq_rules.txt Steve Wheeler, 10/20/2015 11:39 AM
errors.txt (612 Bytes) errors.txt Steve Wheeler, 10/20/2015 11:39 AM

History

#1 Updated by Luiz Souza over 3 years ago

  • Assignee set to Luiz Souza

Also available in: Atom PDF