Question about QoS in 137 release

I have a bit torrent client running inside my network on port 51413, I have a firewall rule setup to port forward that traffic to the specific machine in my network that handles that service.

In my Qos setup, I have set the class 220 P2P so it has a Port rule if the destination is 51413 than it’s in this class.

However I get this error code out of the kernel when I restart the QoS system… even if I don’t have the above rule in place

Nov 13 19:47:02 ipfire charon: 04[KNL] interface imq0 activated
Nov 13 19:47:02 ipfire kernel: HTB: quantum of class 20001 is big. Consider r2q change.
Nov 13 19:47:02 ipfire kernel: HTB: quantum of class 20200 is big. Consider r2q change.
Nov 13 19:47:02 ipfire kernel: HTB: quantum of class 20203 is big. Consider r2q change.
Nov 13 19:47:02 ipfire kernel: HTB: quantum of class 20204 is big. Consider r2q change.
Nov 13 19:47:02 ipfire kernel: HTB: quantum of class 20210 is small. Consider r2q change.
Nov 13 19:47:02 ipfire kernel: HTB: quantum of class 20220 is small. Consider r2q change.
Nov 13 19:47:02 ipfire codel: Codel AQM could not be enabled on 'imq0'. Error code: 2

I’m running IPFire 2.23 (x86_64) - Core Update 137

I dug into the code and it looks like there was an error in tc command adding the interface:

I’ve gone in and deleted every single rule and I still can’t start the interface.

Hi,

this is fine, because imq0 has a htb scheduler when QoS is enabled. CoDel is coming in the classes.

There is an improved QoS coming with Core Update 137. Did you give that one a try?

I am running the Core Update 137, Where can I learn more about htb scheduler and what is expected?

Removing almost all the rules in QoS I see this in the logs when starting:

Nov 14 09:03:14 ipfire kernel: HTB: quantum of class 10101 is big. Consider r2q change.
Nov 14 09:03:14 ipfire kernel: HTB: quantum of class 10110 is small. Consider r2q change.
Nov 14 09:03:14 ipfire charon: 05[KNL] interface imq0 activated
Nov 14 09:03:14 ipfire kernel: u32 classifier
Nov 14 09:03:14 ipfire kernel:     Performance counters on
Nov 14 09:03:14 ipfire kernel:     input device check on
Nov 14 09:03:14 ipfire kernel:     Actions configured
Nov 14 09:03:14 ipfire kernel: Mirror/redirect action on
Nov 14 09:03:14 ipfire kernel: HTB: quantum of class 20001 is big. Consider r2q change.
Nov 14 09:03:14 ipfire kernel: HTB: quantum of class 20201 is small. Consider r2q change.
Nov 14 09:03:14 ipfire kernel: HTB: quantum of class 20202 is small. Consider r2q change.
Nov 14 09:03:14 ipfire kernel: HTB: quantum of class 20210 is small. Consider r2q change.
Nov 14 09:03:14 ipfire kernel: HTB: quantum of class 20211 is big. Consider r2q change.
Nov 14 09:03:14 ipfire codel: Codel AQM could not be enabled on 'imq0'. Error code: 2
Nov 14 09:03:14 ipfire codel: Codel AQM has been enabled on 'ifb0'.
Nov 14 09:03:14 ipfire codel: Codel AQM has been enabled on 'ifb1'.
Nov 14 09:03:15 ipfire ipfire: QoS started

Oh sorry, I missed that.

You can run qosctrl status which will show you the status of the qdiscs…

I still do not understand the problem here apart from that you are seeing this error message.

Could you try this?

https://git.ipfire.org/?p=people/ms/ipfire-2.x.git;a=commitdiff;h=9afeed60ed8d36ee74831b3c18a68b046db79d94

Looking for where the above script file lives in the file system…

You are correct I haven’t stated the problem very well. For example if i have all bittorrent traffic set to go on port 51413 and I have Class: 211P2P set with two port rules.

(tcp) Destination port 51413

(udp) Destination port 51413

I would think that all the traffic would go into this class except that I see it in the 210 Default class instead when looking at the graph.

Also i have a tcpdump of the data coming in to port 51413 so i know it’s there:

    194.223.39.156.57523 > 24.99.70.100.51413: Flags [.], cksum 0x549d (incorrect -> 0x4d7e), seq 8110544:8113424, ack 12810, win 1026, length 2880
    10:51:53.230873 IP (tos 0x20, ttl 114, id 36727, offset 0, flags [DF], proto TCP (6), length 1480)
    194.223.39.156.57523 > 24.99.70.100.51413: Flags [.], cksum 0x4e6a (correct), seq 8113424:8114864, ack 12810, win 1026, length 1440
    10:51:53.231021 IP (tos 0x0, ttl 62, id 61503, offset 0, flags [DF], proto TCP (6), length 40)
    24.99.70.100.51413 > 194.223.39.156.57523: Flags [.], cksum 0x62e9 (correct), ack 8113424, win 12341, length 0
    10:51:53.231652 IP (tos 0x20, ttl 114, id 36728, offset 0, flags [DF], proto TCP (6), length 2920)

If you have changed the rules, it will take a while until traffic moves into the correct class. Only new connections will be evaluated and existing connections will remain in the classes they are in.

Any luck after some time?

Could you please send the output of qosctrl status?

Oh i didn’t know it took time to take effect. I stopped and started the Qos service then stopped and started the torrent traffic…

output as requested

[root@ipfire ~]# qosctrl status
[qdisc]
qdisc htb 1: root refcnt 2 r2q 10 default 0x110 direct_packets_stat 0 direct_qlen 1000
 Sent 102399 bytes 562 pkt (dropped 0, overlimits 10 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 120: parent 1:120 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
 Sent 4378 bytes 13 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 626 drop_overlimit 0 new_flow_count 11 ecn_mark 0
  new_flows_len 1 old_flows_len 0
qdisc fq_codel 102: parent 1:102 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
 Sent 1046 bytes 11 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 125 drop_overlimit 0 new_flow_count 11 ecn_mark 0
  new_flows_len 1 old_flows_len 0
qdisc fq_codel 110: parent 1:110 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
 Sent 73430 bytes 195 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 4452 drop_overlimit 0 new_flow_count 96 ecn_mark 0
  new_flows_len 0 old_flows_len 2
qdisc fq_codel 101: parent 1:101 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
 Sent 22917 bytes 333 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 157 drop_overlimit 0 new_flow_count 173 ecn_mark 0
  new_flows_len 1 old_flows_len 5
qdisc fq_codel 103: parent 1:103 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
 Sent 628 bytes 10 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 158 drop_overlimit 0 new_flow_count 8 ecn_mark 0
  new_flows_len 1 old_flows_len 0
qdisc ingress ffff: parent ffff:fff1 ----------------
 Sent 164146 bytes 541 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc htb 2: root refcnt 2 r2q 10 default 0x210 direct_packets_stat 0 direct_qlen 32
 Sent 172568 bytes 541 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 201: parent 2:201 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 203: parent 2:203 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
 Sent 126 bytes 1 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 126 drop_overlimit 0 new_flow_count 1 ecn_mark 0
  new_flows_len 1 old_flows_len 0
qdisc fq_codel 211: parent 2:211 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
 Sent 18543 bytes 113 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 671 drop_overlimit 0 new_flow_count 31 ecn_mark 0
  new_flows_len 1 old_flows_len 3
qdisc fq_codel 202: parent 2:202 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
 Sent 1762 bytes 13 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 332 drop_overlimit 0 new_flow_count 6 ecn_mark 0
  new_flows_len 1 old_flows_len 0
qdisc fq_codel 204: parent 2:204 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
 Sent 122284 bytes 209 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 13158 drop_overlimit 0 new_flow_count 54 ecn_mark 0
  new_flows_len 1 old_flows_len 3
qdisc fq_codel 210: parent 2:210 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
 Sent 29853 bytes 205 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 1462 drop_overlimit 0 new_flow_count 146 ecn_mark 0
  new_flows_len 1 old_flows_len 19
[class]
class htb 1:110 parent 1:1 leaf 110: prio 6 rate 1Kbit ceil 42Mbit burst 1600b cburst 1596b
 Sent 73430 bytes 195 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 20 borrowed: 168 giants: 0
 tokens: -6540110 ctokens: 4285

class htb 1:101 parent 1:1 leaf 101: prio 1 rate 21Mbit ceil 42Mbit burst 1596b cburst 1596b
 Sent 22917 bytes 333 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 333 borrowed: 0 giants: 0
 tokens: 9122 ctokens: 4553

class htb 1:1 root rate 32Mbit ceil 32Mbit burst 1600b cburst 1600b
 Sent 102399 bytes 562 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 168 borrowed: 0 giants: 0
 tokens: 4492 ctokens: 4492

class htb 1:103 parent 1:1 leaf 103: prio 2 rate 21Mbit ceil 60Mbit burst 1596b cburst 1590b
 Sent 628 bytes 10 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 10 borrowed: 0 giants: 0
 tokens: 9259 ctokens: 3238

class htb 1:120 parent 1:1 leaf 120: prio 7 rate 1Kbit ceil 200Mbit burst 1600b cburst 1600b
 Sent 4378 bytes 13 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 13 borrowed: 0 giants: 0
 tokens: 50545860 ctokens: 718

class htb 1:102 parent 1:1 leaf 102: prio 2 rate 14Mbit ceil 42Mbit burst 1597b cburst 1596b
 Sent 1046 bytes 11 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 11 borrowed: 0 giants: 0
 tokens: 13477 ctokens: 4482

class fq_codel 120:201 parent 120:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1064 count 0 lastcount 0 ldelay 2us
class fq_codel 102:193 parent 102:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1424 count 0 lastcount 0 ldelay 1us
class fq_codel 110:69 parent 110:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1202 count 0 lastcount 0 ldelay 2us
class fq_codel 110:153 parent 110:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1400 count 0 lastcount 0 ldelay 1us
class fq_codel 101:24 parent 101:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1242 count 0 lastcount 0 ldelay 1us
class fq_codel 101:69 parent 101:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 2us
class fq_codel 101:153 parent 101:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 2us
class fq_codel 101:201 parent 101:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1374 count 0 lastcount 0 ldelay 1us
class fq_codel 101:286 parent 101:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 2us
class fq_codel 101:352 parent 101:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1460 count 0 lastcount 0 ldelay 2us
class fq_codel 103:268 parent 103:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1471 count 0 lastcount 0 ldelay 2us
class fq_codel 120:201 parent 120:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1064 count 0 lastcount 0 ldelay 2us
class fq_codel 102:193 parent 102:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1424 count 0 lastcount 0 ldelay 1us
class fq_codel 110:69 parent 110:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1202 count 0 lastcount 0 ldelay 2us
class fq_codel 110:153 parent 110:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1400 count 0 lastcount 0 ldelay 1us
class fq_codel 101:24 parent 101:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1242 count 0 lastcount 0 ldelay 1us
class fq_codel 101:69 parent 101:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 2us
class fq_codel 101:153 parent 101:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 2us
class fq_codel 101:201 parent 101:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1374 count 0 lastcount 0 ldelay 1us
class fq_codel 101:286 parent 101:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 2us
class fq_codel 101:352 parent 101:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1460 count 0 lastcount 0 ldelay 2us
class fq_codel 103:268 parent 103:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1471 count 0 lastcount 0 ldelay 2us
class htb 2:202 parent 2:1 leaf 202: prio 1 rate 1Kbit ceil 900Mbit burst 1600b cburst 1462b
 Sent 1762 bytes 13 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 13 borrowed: 0 giants: 0
 tokens: 154931100 ctokens: 208

class htb 2:203 parent 2:1 leaf 203: prio 4 rate 45Mbit ceil 900Mbit burst 1591b cburst 1462b
 Sent 126 bytes 1 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 1 borrowed: 0 giants: 0
 tokens: 4087 ctokens: 200

class htb 2:1 root rate 940Mbit ceil 940Mbit burst 1410b cburst 1410b
 Sent 172568 bytes 541 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 166 borrowed: 0 giants: 0
 tokens: 150 ctokens: 150

class htb 2:211 parent 2:1 leaf 211: prio 7 rate 250Mbit ceil 700Mbit burst 1562b cburst 1487b
 Sent 18543 bytes 113 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 113 borrowed: 0 giants: 0
 tokens: 598 ctokens: 210

class htb 2:201 parent 2:1 leaf 201: prio 1 rate 1Kbit ceil 900Mbit burst 1600b cburst 1462b
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 0 borrowed: 0 giants: 0
 tokens: 200000000 ctokens: 218

class htb 2:210 parent 2:1 leaf 210: prio 6 rate 1Kbit ceil 900Mbit burst 1600b cburst 1462b
 Sent 29853 bytes 205 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 41 borrowed: 164 giants: 0
 tokens: -139812510 ctokens: 207

class htb 2:204 parent 2:1 leaf 204: prio 4 rate 300Mbit ceil 900Mbit burst 1537b cburst 1462b
 Sent 122284 bytes 209 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 lended: 187 borrowed: 2 giants: 0
 tokens: 628 ctokens: 208

class fq_codel 203:17a parent 203:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1388 count 0 lastcount 0 ldelay 2us
class fq_codel 211:24 parent 211:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1248 count 0 lastcount 0 ldelay 2us
class fq_codel 211:16b parent 211:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1248 count 0 lastcount 0 ldelay 3us
class fq_codel 211:201 parent 211:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1052 count 0 lastcount 0 ldelay 1us
class fq_codel 211:302 parent 211:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1314 count 0 lastcount 0 ldelay 1us
class fq_codel 202:1d4 parent 202:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 2us
class fq_codel 204:f3 parent 204:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 2us
class fq_codel 204:1db parent 204:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 894 count 0 lastcount 0 ldelay 2us
class fq_codel 204:286 parent 204:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 2us
class fq_codel 204:381 parent 204:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 925 count 0 lastcount 0 ldelay 1us
class fq_codel 210:24 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1440 count 0 lastcount 0 ldelay 2us
class fq_codel 210:69 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1110 count 0 lastcount 0 ldelay 2us
class fq_codel 210:71 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 2us
class fq_codel 210:72 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1437 count 0 lastcount 0 ldelay 2us
class fq_codel 210:96 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1316 count 0 lastcount 0 ldelay 2us
class fq_codel 210:118 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1454 count 0 lastcount 0 ldelay 1us
class fq_codel 210:153 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1359 count 0 lastcount 0 ldelay 2us
class fq_codel 210:16b parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1440 count 0 lastcount 0 ldelay 2us
class fq_codel 210:18b parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 2us
class fq_codel 210:18e parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1424 count 0 lastcount 0 ldelay 2us
class fq_codel 210:193 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1408 count 0 lastcount 0 ldelay 2us
class fq_codel 210:1e2 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1437 count 0 lastcount 0 ldelay 2us
class fq_codel 210:201 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1440 count 0 lastcount 0 ldelay 2us
class fq_codel 210:241 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1437 count 0 lastcount 0 ldelay 2us
class fq_codel 210:302 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1440 count 0 lastcount 0 ldelay 2us
class fq_codel 210:352 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 2us
class fq_codel 210:381 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1426 count 0 lastcount 0 ldelay 3us
class fq_codel 210:3c3 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1426 count 0 lastcount 0 ldelay 2us
class fq_codel 210:3d1 parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1448 count 0 lastcount 0 ldelay 3us
class fq_codel 210:3dd parent 210:
 (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  deficit 1437 count 0 lastcount 0 ldelay 3us
[filter]
filter parent 1: protocol ip pref 49148 fw chain 0
filter parent 1: protocol ip pref 49148 fw chain 0 handle 0x78 classid 1:120
filter parent 1: protocol ip pref 49149 fw chain 0
filter parent 1: protocol ip pref 49149 fw chain 0 handle 0x6e classid 1:110
filter parent 1: protocol ip pref 49150 fw chain 0
filter parent 1: protocol ip pref 49150 fw chain 0 handle 0x67 classid 1:103
filter parent 1: protocol ip pref 49151 fw chain 0
filter parent 1: protocol ip pref 49151 fw chain 0 handle 0x66 classid 1:102
filter parent 1: protocol ip pref 49152 fw chain 0
filter parent 1: protocol ip pref 49152 fw chain 0 handle 0x65 classid 1:101
filter parent 2: protocol ip pref 49147 fw chain 0
filter parent 2: protocol ip pref 49147 fw chain 0 handle 0xd3 classid 2:211
filter parent 2: protocol ip pref 49148 fw chain 0
filter parent 2: protocol ip pref 49148 fw chain 0 handle 0xd2 classid 2:210
filter parent 2: protocol ip pref 49149 fw chain 0
filter parent 2: protocol ip pref 49149 fw chain 0 handle 0xcc classid 2:204
filter parent 2: protocol ip pref 49150 fw chain 0
filter parent 2: protocol ip pref 49150 fw chain 0 handle 0xcb classid 2:203
filter parent 2: protocol ip pref 49151 fw chain 0
filter parent 2: protocol ip pref 49151 fw chain 0 handle 0xca classid 2:202
filter parent 2: protocol ip pref 49152 fw chain 0
filter parent 2: protocol ip pref 49152 fw chain 0 handle 0xc9 classid 2:201
[iptables]
Chain QOS-OUT (3 references)
    pkts      bytes target     prot opt in     out     source               destination
       0        0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x32
     102     5880 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x06/0x02 MARK set 0x65
     102     5880 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x06/0x02
       0        0 MARK       icmp --  *      *       0.0.0.0/0            0.0.0.0/0            length 40:100 MARK set 0x65
       0        0 RETURN     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            length 40:100
       0        0 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x17/0x02 length 40:68 MARK set 0x65
       0        0 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x17/0x02 length 40:68
       0        0 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x12 length 40:68 MARK set 0x65
       0        0 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x12 length 40:68
     669    31980 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x10 length 40:100 MARK set 0x65
     669    31980 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x10 length 40:100
      66     2640 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x04 MARK set 0x65
      66     2640 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x04
       3      156 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x14 MARK set 0x65
       3      156 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x14
      87     3984 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x11 MARK set 0x65
      87     3984 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x11
      72    10125 MARK       icmp --  *      *       0.0.0.0/0            0.0.0.0/0            MARK set 0x65
      72    10125 RETURN     icmp --  *      *       0.0.0.0/0            0.0.0.0/0
       0        0 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:53 MARK set 0x66
       0        0 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:53
      33     2676 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:53 MARK set 0x66
      33     2676 RETURN     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:53
       0        0 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:9000 MARK set 0x66
       0        0 RETURN     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:9000
       0        0 MARK       esp  --  *      *       0.0.0.0/0            0.0.0.0/0            MARK set 0x67
       0        0 RETURN     esp  --  *      *       0.0.0.0/0            0.0.0.0/0
       0        0 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp spt:1194 MARK set 0x67
       0        0 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp spt:1194
       0        0 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:1194 MARK set 0x67
       0        0 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:1194
       0        0 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:1194 MARK set 0x67
       0        0 RETURN     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:1194
      30     1464 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:4500 dpt:4500 MARK set 0x67
      30     1464 RETURN     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:4500 dpt:4500
       0        0 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:500 dpt:500 MARK set 0x67
       0        0 RETURN     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:500 dpt:500
       0        0 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:1194 MARK set 0x67
       0        0 RETURN     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:1194
      12     6462 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:80 MARK set 0x68
      12     6462 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:80
      39    12588 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp spt:51413 MARK set 0x78
      39    12588 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp spt:51413
       0        0 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:51413 MARK set 0x78
       0        0 RETURN     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:51413
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto dns  MARK set 0x66
       0        0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto dns
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto rtp  MARK set 0x66
       0        0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto rtp
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto skypetoskype  MARK set 0x66
       0        0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto skypetoskype
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto rdp  MARK set 0x67
       0        0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto rdp
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto ssh  MARK set 0x67
       0        0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto ssh
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto http  MARK set 0x68
       0        0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto http
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto pop3  MARK set 0x68
       0        0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto pop3
     201   115077 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto ssl  MARK set 0x68
     201   115077 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto ssl
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto applejuice  MARK set 0x78
       0        0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto applejuice
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto bittorrent  MARK set 0x78
       0        0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           LAYER7 l7proto bittorrent
     115    29710 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 MARK set 0x6e
Chain QOS-INC (3 references)
    pkts      bytes target     prot opt in     out     source               destination
    1378   460177 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match ! 0x0
       0        0 MARK       icmp --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 MARK set 0xc8
       0        0 MARK       esp  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 MARK set 0xcb
       0        0 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 tcp spt:1194 MARK set 0xcb
       0        0 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 tcp dpt:1194 MARK set 0xcb
       0        0 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 udp spt:1194 MARK set 0xcb
       0        0 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 udp spt:4500 dpt:4500 MARK set 0xcb
       0        0 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 udp spt:500 dpt:500 MARK set 0xcb
       0        0 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 udp dpt:1194 MARK set 0xcb
       0        0 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 tcp spt:80 MARK set 0xcc
      25     1404 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 tcp dpt:51413 MARK set 0xd3
       2       96 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 udp dpt:51413 MARK set 0xd3
       0        0 MARK       udp  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0 udp dpt:51413 MARK set 0xdc
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0LAYER7 l7proto rtp  MARK set 0xc8
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0LAYER7 l7proto rdp  MARK set 0xcb
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0LAYER7 l7proto ssh  MARK set 0xcb
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0LAYER7 l7proto http  MARK set 0xcc
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0LAYER7 l7proto pop3  MARK set 0xcc
       7     7686 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0LAYER7 l7proto ssl  MARK set 0xcc
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0LAYER7 l7proto bittorrent  MARK set 0xd3
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0LAYER7 l7proto applejuice  MARK set 0xdc
       0        0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0LAYER7 l7proto bittorrent  MARK set 0xdc
       1       56 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0LAYER7 l7proto !unset  MARK set 0xd2
     152    25544 CONNMARK   all  --  *      *       0.0.0.0/0            0.0.0.0/0            CONNMARK save