Project

General

Profile

Actions

Bug #3536

closed

Using CBQ in the shaper wizard creates an invalid ruleset no matter which options are given

Added by Jim Pingle over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Traffic Shaper (ALTQ)
Target version:
Start date:
03/20/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:
All

Description

Using the primary traffic shaper wizard (traffic_shaper_wizard.xml) I am unable to create a valid ruleset with any combination of options using CBQ

I have tried activating each individual screen and some combinations but no matter what, when choosing CBQ the rules are rejected:

: pfctl -f /tmp/rules.debug
pfctl: DIOCADDALTQ: Invalid argument

Removing the shaper, or switching to PRIQ or HFSC with identical settings results in a working ruleset.

Here is the section of rules.debug declaring the CBQ queues:

    59   altq on  em1 cbq queue {  qACK,  qDefault,  qVoIP,  qLink,  qInternet  } 
    60  queue qACK on em1 bandwidth 18% priority 6 cbq (  ecn ,  borrow  )  
    61  queue qDefault on em1 bandwidth 9% priority 3 cbq (  ecn  , default ,  borrow  )  
    62  queue qVoIP on em1 bandwidth 100Kb priority 7 cbq (  ecn ,  borrow  )  
    63  queue qLink on em1 bandwidth 20% priority 2 qlimit 500 cbq (  ecn  , default ,  borrow  )  
    64  queue qInternet on em1 bandwidth 1024Kb cbq (  ecn  )  {  qACK,  qVoIP  } 
    65  queue qACK on em1 bandwidth 18% priority 6 cbq (  ecn ,  borrow  )  
    66  queue qVoIP on em1 bandwidth 100Kb priority 7 cbq (  ecn ,  borrow  ) 

Actions #1

Updated by Jim Pingle over 10 years ago

This apparently can happen if you select "LAN" as the "WAN" using this wizard since "LAN" is assumed to be LAN, so it creates overlapping queues.

So user error but maybe something we should detect/warn against.

Actions #2

Updated by Jim Pingle over 10 years ago

  • Status changed from New to Closed

Since the base problem is the same as #3535, this can be closed in favor of the other ticket.

Actions

Also available in: Atom PDF