So I am proposing a simple altq use case in npf: Potential Design for altq in npf: More ideas and critiques are welcome. In npf.conf …………………………….. queue “mail” { bandwidth X priority Y qdisc } Should be extensible to: If there are child classes queue “mail” { bandwidth X priority Y qdisc { child_class1, child_class2 } } // another direct queue config for the child_classes queue “child_class1” { bandwidth X% qdisc (borrow if there be need) } // same for child_class2 group “external” on $ext_if { pass …. Whatever rule…. \ apply “mail" pass ……..for child_class1…. \ apply “child_class1" } …………………….. Please let me know what you guys think of this.
Emmanuel |