Certain queues are not acceptable destinations for layer7
-
I've just updated this ticket with this info, but I'll post it here also for anyone else's benefit. I've tested layer7 a bit more today, and am seeing some strange behaviour. I've added some Layer7 rules, and am then watching the System log. Look down for some lines from the log. Currently, my layer7 is configured with NO block rules, only queue rules. However, it appears that only some of my queues are acceptable destinations. Specifically, 4 of my queues (I've tested multiple times) result in the log output saying "rule altq" and all the rest of my queues result in the log saying "rule action block". That sounds like a problem… unless I'm reading into this log too much. I've attached my shaper config to the ticket, for anyone that's interested.
May 26 07:46:52 ipfw-classifyd: Loaded Protocol: xboxlive (rule altq)
May 26 07:46:52 ipfw-classifyd: Loaded Protocol: teamfortress2 (rule altq)
May 26 07:46:52 ipfw-classifyd: Loaded Protocol: tar (rule action block)
May 26 07:46:52 ipfw-classifyd: Loaded Protocol: subspace (rule altq)
May 26 07:46:52 ipfw-classifyd: Loaded Protocol: stun (rule action block)
May 26 07:46:52 ipfw-classifyd: Loaded Protocol: radmin (rule action block)
May 26 07:46:52 ipfw-classifyd: Loaded Protocol: quicktime (rule action block)
May 26 07:46:52 ipfw-classifyd: Loaded Protocol: postscript (rule action block)
May 26 07:46:52 ipfw-classifyd: Loaded Protocol: nntp (rule action block) -
Just a note that this problem is still present in RC3. It's pretty bizarre. Here's my log, and below is the shaper config. There's a bug open, but I can't update it right now, as Redmine seems to be botched again.
Jun 24 04:44:38 ipfw-classifyd: Loaded Protocol: biff (rule altq)
Jun 24 04:44:38 ipfw-classifyd: Loaded Protocol: battlefield1942 (rule action block)
Jun 24 04:44:38 ipfw-classifyd: Loaded Protocol: aim (rule altq)
Jun 24 04:44:38 ipfw-classifyd: Loaded Protocol: 100bao (rule action block)<l7shaper><container><name>test</name>
<enabled>on</enabled>
<description><divert_port>41744</divert_port>
<l7rules><protocol>100bao</protocol>
<structure>queue</structure>
<behaviour>qP2P</behaviour></l7rules>
<l7rules><protocol>aim</protocol>
<structure>queue</structure>
<behaviour>qVoIP</behaviour></l7rules>
<l7rules><protocol>battlefield1942</protocol>
<structure>queue</structure>
<behaviour>qOthersHigh</behaviour></l7rules>
<l7rules><protocol>biff</protocol>
<structure>queue</structure>
<behaviour>qOthersLow</behaviour></l7rules></description></container></l7shaper>