What's new

FlexQoS FlexQoS 1.0 - Flexible QoS Enhancement Script for Adaptive QoS

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Interesting result, as there are flexqos lines in the log wouldn't this suggest qos got restarted? Maybe I should do it again with syslog level lowered to collect more detailled information... Will try it in a moment.

If it's relevant, I'm using a RT-AC68U with following values in wan-event script:

DSL (eth0):
nvram set qos_ibw=81920
nvram set qos_obw=15360

LTE (usb0):
nvram set qos_ibw=8192
nvram set qos_obw=1024

Edit: qos and firewall both get restarted in a failover event

Edit2: qos def. gets restarted because the "debug file" is missing shortly after each failover and then reinstalled with value 1. I immediately set it to 2 so this time the log includes really everything :)
I don’t see Adaptive QoS restarting completely until “Jul 30 13:30:40 kernel: DBG[parse_qos_conf:929] Parsing QoS conf...”. FlexQoS will restart whenever the firewall restarts, but you need Adaptive QoS to restart after or during the failover to apply the new rates. I would expect to see many log entries around Jul 30 13:26:30 showing class 1:10 through 1:17, like at 13:30.
 
Ah, I see what you mean. So only then it's really working, interesting...
But what are all these lines used for where the correct nvram bandwidth value of 8/1 Mbps used for usb0 get's set?
Code:
Jul 30 13:26:30 kernel: DBG[add_htb_class:1527] class add dev eth0 parent 10:1 classid 10:3 htb prio 3 rate 16000bit ceil 1024000bit burst 3200 cburst 3200 quantum 200
Jul 30 13:26:30 kernel: DBG[add_htb_class:1537] qdisc add dev eth0 parent 10:3 handle 1003: sfq
Jul 30 13:26:30 kernel: DBG[add_htb_filter:1481] filter add dev eth0 parent 10: protocol all prio 130 u32 match mark 0x40800000 0xffc00000 flowid 10:3
Jul 30 13:26:30 kernel: DBG[add_htb_class:1527] class add dev br0 parent 10:1 classid 10:3 htb prio 3 rate 16000bit ceil 8192000bit burst 3200 cburst 9600 quantum 200
Jul 30 13:26:30 kernel: DBG[add_htb_class:1537] qdisc add dev br0 parent 10:3 handle 1003: sfq
Jul 30 13:26:30 kernel: DBG[add_htb_filter:1481] filter add dev br0 parent 10: protocol all prio 130 u32 match mark 0x80800000 0xffc00000 flowid 10:3
...
 
Ah, I see what you mean. So only then it's really working, interesting...
But what are all these lines used for where the correct nvram bandwidth value of 8/1 Mbps used for usb0 get's set?
Code:
Jul 30 13:26:30 kernel: DBG[add_htb_class:1527] class add dev eth0 parent 10:1 classid 10:3 htb prio 3 rate 16000bit ceil 1024000bit burst 3200 cburst 3200 quantum 200
Jul 30 13:26:30 kernel: DBG[add_htb_class:1537] qdisc add dev eth0 parent 10:3 handle 1003: sfq
Jul 30 13:26:30 kernel: DBG[add_htb_filter:1481] filter add dev eth0 parent 10: protocol all prio 130 u32 match mark 0x40800000 0xffc00000 flowid 10:3
Jul 30 13:26:30 kernel: DBG[add_htb_class:1527] class add dev br0 parent 10:1 classid 10:3 htb prio 3 rate 16000bit ceil 8192000bit burst 3200 cburst 9600 quantum 200
Jul 30 13:26:30 kernel: DBG[add_htb_class:1537] qdisc add dev br0 parent 10:3 handle 1003: sfq
Jul 30 13:26:30 kernel: DBG[add_htb_filter:1481] filter add dev br0 parent 10: protocol all prio 130 u32 match mark 0x80800000 0xffc00000 flowid 10:3
...
It’s hard for me to say, but maybe they’re only updating the qos leaf classes during a failover. tc -d class show dev eth0 in both scenarios might be useful. The script doesn’t bother with these leaf classes, so I haven’t looked at them much.
 
When I look at the debug output (option 3), I noticed there's something at the bottom of that huge dump:

[/CODE][/SPOILER]

Isn't that something we use in forum posts? is that supposed to be there?
 
When I look at the debug output (option 3), I noticed there's something at the bottom of that huge dump:

[/CODE][/SPOILER]

Isn't that something we use in forum posts? is that supposed to be there?
this are closing elements for formatting for easier pasting to the forum - on the start of the dump are opening elements
 
this are closing elements for formatting for easier pasting to the forum - on the start of the dump are opening elements

AAH ok. I didn't realize there were opening elements at the start of the dump. I just saw the ending elements and thought, "Hey, does Dave write code right on this forum and then paste into the router?"
:p
 
AAH ok. I didn't realize there were opening elements at the start of the dump. I just saw the ending elements and thought, "Hey, does Dave write code right on this forum and then paste into the router?"
:p
Yeah, the problem is that the debug output is too darn long right now and so the beginning scrolls off the top and you can't see the whole thing at once. I have to clean that up a bit.
 
Hey @dave14305 On the FlexQoS page is it possible to name the ports as local and remote ports as apposed to just "Port"? Wouldn't this help people make there own rules easier? Or am I way out to lunch here my friend?
 
Hey @dave14305 On the FlexQoS page is it possible to name the ports as local and remote ports as apposed to just "Port"? Wouldn't this help people make there own rules easier? Or am I way out to lunch here my friend?
I like to assume people will be observant enough to associate the port after the Local IP as the local Port and the one after the Remote IP as the remote port. Plus the width of the whole mess is very sensitive to changes, so I prefer not to mess with it too much.
 
Version 0.9.6
  • NEW: Added experimental option to flush conntrack table after applying iptables rules (enable with flexqos flushct or disable with flexqos noflushct)

What is the use case for one to benefit from the above feature?
 
Hi Dave,

Success classifying Youtube running in Chrome Browser. I started off using IP blocks as we have discussed in the past and kept finding more and more. Stared at it for a long time and discovered what is in common in all blocks. Came up with the two line rule listed in my included IP table that is boxed in orange. Above that rule are all the blocks I discovered. I put 1.1.1.1 in the local IP to comment them out.

Two suggestions:
1) Add a comment field to the tables.
2) Add an on/off switch to for each rule.

You had indicated that your wife used Chrome and when she ran Youtube that you had seen the classification issue as well. Try out my two line rule. It should work. My rule may be a bit broad, I don't see a way with what we have to make it more exact. Based on my using mark and Asus already providing that classification I feel the rules are reasonably limiting. Your thoughts. You are free to include my work in the defaults or advertise them in the notes.

Morris
 

Attachments

  • Youtube in Chrome Browser.jpg
    Youtube in Chrome Browser.jpg
    50 KB · Views: 158
Two suggestions:
1) Add a comment field to the tables.
2) Add an on/off switch to for each rule.
From a UI perspective I don’t know where to squeeze more fields into the table without bloating things beyond the original Asus style. This is why we don’t have custom rule names today.

I can’t read the details of your screenshot, specifically the mark used on the 443/tcp rule. You might learn to capture just a portion of the screen so it remains readable when posted on the forum. I’m glad it’s working for you.
 
Hello @dave14305
im having some strange classifications on a fresh installed router. Ac68u running 384.18 and latest flexqos release. I haven’t customized anything on the scrip so far.
Some Apple and all netflix is being categorized as game transferring .

here is my debug and some screenshots. i have already run the -check flag on the script as well.

A5942CE8-1058-4660-904F-D6314001EBA6.png
1248EF72-934D-4DAD-B42A-5C9E0FCA80A9.png
C3FE133D-B272-4D32-9006-819994FF05BC.png

YouTube as well
031B3EED-7D7C-498B-8504-99077F36995D.png

Code:
FlexQoS v0.9.6 released 2020-07-28

Debug:

Log date: 2020-08-01 01:08:54-0400
Router Model: RT-AC68U
Firmware Ver: 384.18_0
tc WAN iface: eth0
Undf Prio: 2
Undf FlowID: 1:15
Classes Present: 8
Down Band: 120832
Up Band  : 5120
***********
Net Control = 1:10
Work-From-Home = 1:17
Gaming = 1:16
Others = 1:15
Web Surfing = 1:12
Streaming = 1:11
Downloads = 1:14
Defaults = 1:13
***********
Downrates -- 6041, 36249, 12083, 6041, 6041, 12083, 18124, 24166
Downceils -- 120832, 120832, 120832, 120832, 120832, 120832, 120832, 120832
Downbursts -- 6397b, 28790b, 14396b, 6397b, 4798b, 3197b, 3196b, 3195b
DownCbursts -- 150345b, 150345b, 150345b, 150345b, 150345b, 150345b, 150345b, 150345b
DownQuantums -- default, 453112, default, default, default, default, 226550, 302075
***********
Uprates -- 256, 512, 512, 256, 256, 1536, 768, 1024
Upceils -- 5120, 5120, 5120, 5120, 5120, 5120, 5120, 5120
Upbursts -- 3200b, 3200b, 3200b, 3200b, 3200b, 3198b, 3198b, 3198b
UpCbursts -- 6400b, 6400b, 6400b, 6400b, 6400b, 6400b, 6400b, 6400b
UpQuantums -- default, default, default, default, default, default, default, default
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7
iptables -D POSTROUTING -t mangle -o br0   -p udp  -m multiport  --sports 500,4500  -j MARK --set-mark 0x80060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p udp  -m multiport  --sports 500,4500  -j MARK --set-mark 0x80060001
iptables -D POSTROUTING -t mangle -o eth0   -p udp  -m multiport  --dports 500,4500  -j MARK --set-mark 0x40060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth0   -p udp  -m multiport  --dports 500,4500  -j MARK --set-mark 0x40060001
iptables -D POSTROUTING -t mangle -o br0   -p udp  --dport 16384:16415   -j MARK --set-mark 0x80060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p udp  --dport 16384:16415   -j MARK --set-mark 0x80060001
iptables -D POSTROUTING -t mangle -o eth0   -p udp  --sport 16384:16415   -j MARK --set-mark 0x40060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth0   -p udp  --sport 16384:16415   -j MARK --set-mark 0x40060001
iptables -D POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 119,563  -j MARK --set-mark 0x80030001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 119,563  -j MARK --set-mark 0x80030001
iptables -D POSTROUTING -t mangle -o eth0   -p tcp  -m multiport  --dports 119,563  -j MARK --set-mark 0x40030001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth0   -p tcp  -m multiport  --dports 119,563  -j MARK --set-mark 0x40030001
iptables -D POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803f0001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803f0001
iptables -D POSTROUTING -t mangle -o eth0   -p tcp  -m multiport  --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403f0001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth0   -p tcp  -m multiport  --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403f0001
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<1A****>5
realtc filter change dev br0 prio 2 protocol all handle 827::800 u32 flowid 1:15
realtc filter change dev eth0 prio 2 protocol all handle 827::800 u32 flowid 1:15
realtc filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:15
realtc filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:15
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:14
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:14
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:14
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:14
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:14
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:14
realtc filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:12
realtc filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:12
realtc filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:12
realtc filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:12
realtc filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:12
realtc filter change dev eth0 prio 23 protocol all handle 804::800 u32 flowid 1:12
realtc filter change dev br0 prio 2 protocol all handle 827::802 u32 flowid 1:14
realtc filter change dev eth0 prio 2 protocol all handle 827::802 u32 flowid 1:14
realtc class change dev br0 parent 1:1 classid 1:10 htb overhead 18 linklayer ethernet prio 0 rate 6041Kbit ceil 120832Kbit burst 6397b cburst 150345b
realtc class change dev br0 parent 1:1 classid 1:11 htb overhead 18 linklayer ethernet prio 1 rate 36249Kbit ceil 120832Kbit burst 28790b cburst 150345b quantum 453112
realtc class change dev br0 parent 1:1 classid 1:12 htb overhead 18 linklayer ethernet prio 2 rate 12083Kbit ceil 120832Kbit burst 14396b cburst 150345b
realtc class change dev br0 parent 1:1 classid 1:13 htb overhead 18 linklayer ethernet prio 3 rate 6041Kbit ceil 120832Kbit burst 6397b cburst 150345b
realtc class change dev br0 parent 1:1 classid 1:14 htb overhead 18 linklayer ethernet prio 4 rate 6041Kbit ceil 120832Kbit burst 4798b cburst 150345b
realtc class change dev br0 parent 1:1 classid 1:15 htb overhead 18 linklayer ethernet prio 5 rate 12083Kbit ceil 120832Kbit burst 3197b cburst 150345b
realtc class change dev br0 parent 1:1 classid 1:16 htb overhead 18 linklayer ethernet prio 6 rate 18124Kbit ceil 120832Kbit burst 3196b cburst 150345b quantum 226550
realtc class change dev br0 parent 1:1 classid 1:17 htb overhead 18 linklayer ethernet prio 7 rate 24166Kbit ceil 120832Kbit burst 3195b cburst 150345b quantum 302075
realtc class change dev eth0 parent 1:1 classid 1:10 htb overhead 18 linklayer ethernet prio 0 rate 256Kbit ceil 5120Kbit burst 3200b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:11 htb overhead 18 linklayer ethernet prio 1 rate 512Kbit ceil 5120Kbit burst 3200b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:12 htb overhead 18 linklayer ethernet prio 2 rate 512Kbit ceil 5120Kbit burst 3200b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:13 htb overhead 18 linklayer ethernet prio 3 rate 256Kbit ceil 5120Kbit burst 3200b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:14 htb overhead 18 linklayer ethernet prio 4 rate 256Kbit ceil 5120Kbit burst 3200b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:15 htb overhead 18 linklayer ethernet prio 5 rate 1536Kbit ceil 5120Kbit burst 3198b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:16 htb overhead 18 linklayer ethernet prio 6 rate 768Kbit ceil 5120Kbit burst 3198b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:17 htb overhead 18 linklayer ethernet prio 7 rate 1024Kbit ceil 5120Kbit burst 3198b cburst 6400b
 
Last edited:
Hello @dave14305
im having some strange classifications on a fresh installed router. Ac68u running 384.18 and latest flexqos release. I haven’t customized anything on the scrip so far.
Some Apple and all netflix is being categorized as game transferring .

here is my debug and some screenshots. i have already run the -check flag on the script as well.

View attachment 25035
View attachment 25036
View attachment 25037

YouTube as well
View attachment 25038

Code:
FlexQoS v0.9.6 released 2020-07-28

Debug:

Log date: 2020-08-01 01:08:54-0400
Router Model: RT-AC68U
Firmware Ver: 384.18_0
tc WAN iface: eth0
Undf Prio: 2
Undf FlowID: 1:15
Classes Present: 8
Down Band: 120832
Up Band  : 5120
***********
Net Control = 1:10
Work-From-Home = 1:17
Gaming = 1:16
Others = 1:15
Web Surfing = 1:12
Streaming = 1:11
Downloads = 1:14
Defaults = 1:13
***********
Downrates -- 6041, 36249, 12083, 6041, 6041, 12083, 18124, 24166
Downceils -- 120832, 120832, 120832, 120832, 120832, 120832, 120832, 120832
Downbursts -- 6397b, 28790b, 14396b, 6397b, 4798b, 3197b, 3196b, 3195b
DownCbursts -- 150345b, 150345b, 150345b, 150345b, 150345b, 150345b, 150345b, 150345b
DownQuantums -- default, 453112, default, default, default, default, 226550, 302075
***********
Uprates -- 256, 512, 512, 256, 256, 1536, 768, 1024
Upceils -- 5120, 5120, 5120, 5120, 5120, 5120, 5120, 5120
Upbursts -- 3200b, 3200b, 3200b, 3200b, 3200b, 3198b, 3198b, 3198b
UpCbursts -- 6400b, 6400b, 6400b, 6400b, 6400b, 6400b, 6400b, 6400b
UpQuantums -- default, default, default, default, default, default, default, default
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7
iptables -D POSTROUTING -t mangle -o br0   -p udp  -m multiport  --sports 500,4500  -j MARK --set-mark 0x80060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p udp  -m multiport  --sports 500,4500  -j MARK --set-mark 0x80060001
iptables -D POSTROUTING -t mangle -o eth0   -p udp  -m multiport  --dports 500,4500  -j MARK --set-mark 0x40060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth0   -p udp  -m multiport  --dports 500,4500  -j MARK --set-mark 0x40060001
iptables -D POSTROUTING -t mangle -o br0   -p udp  --dport 16384:16415   -j MARK --set-mark 0x80060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p udp  --dport 16384:16415   -j MARK --set-mark 0x80060001
iptables -D POSTROUTING -t mangle -o eth0   -p udp  --sport 16384:16415   -j MARK --set-mark 0x40060001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth0   -p udp  --sport 16384:16415   -j MARK --set-mark 0x40060001
iptables -D POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 119,563  -j MARK --set-mark 0x80030001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 119,563  -j MARK --set-mark 0x80030001
iptables -D POSTROUTING -t mangle -o eth0   -p tcp  -m multiport  --dports 119,563  -j MARK --set-mark 0x40030001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth0   -p tcp  -m multiport  --dports 119,563  -j MARK --set-mark 0x40030001
iptables -D POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803f0001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o br0   -p tcp  -m multiport  --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803f0001
iptables -D POSTROUTING -t mangle -o eth0   -p tcp  -m multiport  --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403f0001 >/dev/null 2>&1
iptables -A POSTROUTING -t mangle -o eth0   -p tcp  -m multiport  --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403f0001
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<1A****>5
realtc filter change dev br0 prio 2 protocol all handle 827::800 u32 flowid 1:15
realtc filter change dev eth0 prio 2 protocol all handle 827::800 u32 flowid 1:15
realtc filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:15
realtc filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:15
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:14
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:14
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:14
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:14
realtc filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:14
realtc filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:14
realtc filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:12
realtc filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:12
realtc filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:12
realtc filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:12
realtc filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:12
realtc filter change dev eth0 prio 23 protocol all handle 804::800 u32 flowid 1:12
realtc filter change dev br0 prio 2 protocol all handle 827::802 u32 flowid 1:14
realtc filter change dev eth0 prio 2 protocol all handle 827::802 u32 flowid 1:14
realtc class change dev br0 parent 1:1 classid 1:10 htb overhead 18 linklayer ethernet prio 0 rate 6041Kbit ceil 120832Kbit burst 6397b cburst 150345b
realtc class change dev br0 parent 1:1 classid 1:11 htb overhead 18 linklayer ethernet prio 1 rate 36249Kbit ceil 120832Kbit burst 28790b cburst 150345b quantum 453112
realtc class change dev br0 parent 1:1 classid 1:12 htb overhead 18 linklayer ethernet prio 2 rate 12083Kbit ceil 120832Kbit burst 14396b cburst 150345b
realtc class change dev br0 parent 1:1 classid 1:13 htb overhead 18 linklayer ethernet prio 3 rate 6041Kbit ceil 120832Kbit burst 6397b cburst 150345b
realtc class change dev br0 parent 1:1 classid 1:14 htb overhead 18 linklayer ethernet prio 4 rate 6041Kbit ceil 120832Kbit burst 4798b cburst 150345b
realtc class change dev br0 parent 1:1 classid 1:15 htb overhead 18 linklayer ethernet prio 5 rate 12083Kbit ceil 120832Kbit burst 3197b cburst 150345b
realtc class change dev br0 parent 1:1 classid 1:16 htb overhead 18 linklayer ethernet prio 6 rate 18124Kbit ceil 120832Kbit burst 3196b cburst 150345b quantum 226550
realtc class change dev br0 parent 1:1 classid 1:17 htb overhead 18 linklayer ethernet prio 7 rate 24166Kbit ceil 120832Kbit burst 3195b cburst 150345b quantum 302075
realtc class change dev eth0 parent 1:1 classid 1:10 htb overhead 18 linklayer ethernet prio 0 rate 256Kbit ceil 5120Kbit burst 3200b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:11 htb overhead 18 linklayer ethernet prio 1 rate 512Kbit ceil 5120Kbit burst 3200b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:12 htb overhead 18 linklayer ethernet prio 2 rate 512Kbit ceil 5120Kbit burst 3200b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:13 htb overhead 18 linklayer ethernet prio 3 rate 256Kbit ceil 5120Kbit burst 3200b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:14 htb overhead 18 linklayer ethernet prio 4 rate 256Kbit ceil 5120Kbit burst 3200b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:15 htb overhead 18 linklayer ethernet prio 5 rate 1536Kbit ceil 5120Kbit burst 3198b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:16 htb overhead 18 linklayer ethernet prio 6 rate 768Kbit ceil 5120Kbit burst 3198b cburst 6400b
realtc class change dev eth0 parent 1:1 classid 1:17 htb overhead 18 linklayer ethernet prio 7 rate 1024Kbit ceil 5120Kbit burst 3198b cburst 6400b
Learn-From-Home has to be lower priority than Streaming for things to work properly, since they both act on category 04 marks. When Learn-From-Home is first, it confuses the script logic.
 
From a UI perspective I don’t know where to squeeze more fields into the table without bloating things beyond the original Asus style. This is why we don’t have custom rule names today.

I can’t read the details of your screenshot, specifically the mark used on the 443/tcp rule. You might learn to capture just a portion of the screen so it remains readable when posted on the forum. I’m glad it’s working for you.

The two rules are:

1) Protocol=TCP
Remote Port=443
Mark=130053
Class-Streaming

2) Protocol=UDP
Remote Port=443
Mark=000000
Class-Streaming
 
The two rules are:

1) Protocol=TCP
Remote Port=443
Mark=130053
Class-Streaming

2) Protocol=UDP
Remote Port=443
Mark=000000
Class-Streaming

The GUI issue is the small box Asus provides. 2 lines per rule would allow for more. A check box for details is another option.
 
Learn-From-Home has to be lower priority than Streaming for things to work properly, since they both act on category 04 marks. When Learn-From-Home is first, it confuses the script logic.
I’m an idiot. I confused it with work at home.
thanks for showing me my error
 
The two rules are:

1) Protocol=TCP
Remote Port=443
Mark=130053
Class-Streaming

2) Protocol=UDP
Remote Port=443
Mark=000000
Class-Streaming
130053 is “iasd”, which I’ve never heard of. How often does this show up in the list of connections?
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top