| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|_____|| |||||___||| |____|
|| W I R E L E S S F R E E D O M
OpenWrt 24.10.0, r28427-6df0e3d02a
root@OpenWrt:~# /etc/init.d/qosmate status
==== qosmate Status ====
qosmate autostart is enabled.
qosmate service is enabled.
Traffic shaping (HFSC) is active on the egress interface (lan0).
Traffic shaping is active on the ingress interface (ifb-lan0).
==== Overall Status ====
qosmate is currently active and managing traffic shaping.
==== Current Settings ====
Upload rate: 96732 kbps
Download rate: 163062 kbps
Game traffic upload: 14909 kbps
Game traffic download: 24859 kbps
Queue discipline: pfifo (for game traffic in HFSC)
==== Package Status ====
All required packages are installed.
==== Detailed Technical Information ====
Traffic Control (tc) Queues:
qdisc noqueue 0: dev lo root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev lan3 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
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 hfsc 1: dev lan0 root refcnt 2 default 13
Sent 96103666 bytes 386028 pkt (dropped 2, overlimits 15284 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 8074: dev lan0 parent 1:13 limit 10240p flows 1024 quantum 3000 target 4ms interval 100ms memory_limit 2418300b ecn drop_batch 64
Sent 95828045 bytes 383390 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 1554 drop_overlimit 0 new_flow_count 26015 ecn_mark 0
new_flows_len 1 old_flows_len 3
qdisc fq_codel 8076: dev lan0 parent 1:15 limit 10240p flows 1024 quantum 3000 target 4ms interval 100ms memory_limit 2418300b ecn drop_batch 64
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 pfifo 10: dev lan0 parent 1:11 limit 649p
Sent 198743 bytes 1898 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 8075: dev lan0 parent 1:14 limit 10240p flows 1024 quantum 3000 target 4ms interval 100ms memory_limit 2418300b ecn drop_batch 64
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 8073: dev lan0 parent 1:12 limit 10240p flows 1024 quantum 3000 target 4ms interval 100ms memory_limit 2418300b ecn drop_batch 64
Sent 76878 bytes 740 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 1490 drop_overlimit 0 new_flow_count 457 ecn_mark 0
new_flows_len 1 old_flows_len 0
qdisc ingress ffff: dev lan0 parent ffff:fff1 ----------------
Sent 546874591 bytes 497935 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev lan1 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 251145741 bytes 209336 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 17054 drop_overlimit 0 new_flow_count 39 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev lan2 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 3354980407 bytes 3048412 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 1446 drop_overlimit 0 new_flow_count 9 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-gamer root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-lan root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc hfsc 1: dev ifb-lan0 root refcnt 2 default 13
Sent 573650733 bytes 497859 pkt (dropped 74, overlimits 543592 requeues 0)
backlog 0b 0p requeues 0
qdisc pfifo 10: dev ifb-lan0 parent 1:11 limit 1092p
Sent 374 bytes 1 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 807a: dev ifb-lan0 parent 1:15 limit 10240p flows 1024 quantum 3000 target 4ms interval 100ms memory_limit 3981Kb ecn drop_batch 64
Sent 1985 bytes 17 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 170 drop_overlimit 0 new_flow_count 17 ecn_mark 0
new_flows_len 1 old_flows_len 0
qdisc fq_codel 8078: dev ifb-lan0 parent 1:13 limit 10240p flows 1024 quantum 3000 target 4ms interval 100ms memory_limit 3981Kb ecn drop_batch 64
Sent 573646577 bytes 497833 pkt (dropped 74, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 1554 drop_overlimit 0 new_flow_count 22386 ecn_mark 0
new_flows_len 1 old_flows_len 3
qdisc fq_codel 8077: dev ifb-lan0 parent 1:12 limit 10240p flows 1024 quantum 3000 target 4ms interval 100ms memory_limit 3981Kb ecn drop_batch 64
Sent 528 bytes 4 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 186 drop_overlimit 0 new_flow_count 3 ecn_mark 0
new_flows_len 1 old_flows_len 0
qdisc fq_codel 8079: dev ifb-lan0 parent 1:14 limit 10240p flows 1024 quantum 3000 target 4ms interval 100ms memory_limit 3981Kb ecn drop_batch 64
Sent 218 bytes 2 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 114 drop_overlimit 0 new_flow_count 2 ecn_mark 0
new_flows_len 1 old_flows_len 0
==== Nftables Ruleset (dscptag) ====
chain dscptag {
type filter hook forward priority filter; policy accept;
meta l4proto udp ct original proto-src { 6881-6889, 51413 } counter packets 0 bytes 0 jump mark_cs1
meta l4proto udp ct original proto-dst { 6881-6889, 51413 } counter packets 1 bytes 88 jump mark_cs1
meta l4proto tcp ct original proto-dst { 6881-6889, 51413 } counter packets 0 bytes 0 jump mark_cs1
meta length < 100 tcp flags ack add @xfst4ack { ct id . ct direction limit rate over 483600/second burst 5 packets } counter packets 0 bytes 0 jump drop995
meta length < 100 tcp flags ack add @fast4ack { ct id . ct direction limit rate over 48360/second burst 5 packets } counter packets 0 bytes 0 jump drop95
meta length < 100 tcp flags ack add @med4ack { ct id . ct direction limit rate over 4836/second burst 5 packets } counter packets 104 bytes 4791 jump drop50
meta length < 100 tcp flags ack add @slow4ack { ct id . ct direction limit rate over 4836/second burst 5 packets } counter packets 53 bytes 2530 jump drop50
meta l4proto tcp ct bytes < 10191375 jump mark_500ms
meta l4proto tcp ct bytes > 203827500 jump mark_10s
meta l4proto tcp ip dscp != cs1 add @slowtcp { ct id . ct direction limit rate 150/second burst 150 packets } ip dscp set af42 counter packets 30525 bytes 25138131
meta l4proto tcp ip6 dscp != cs1 add @slowtcp { ct id . ct direction limit rate 150/second burst 150 packets } ip6 dscp set af42 counter packets 17644 bytes 13473270
ip saddr 192.168.10.2 udp dport != { 80, 443 } ip dscp set cs5 counter packets 294 bytes 18414 comment "Game_Console_Outbound"
udp sport != { 80, 443 } ip daddr 192.168.10.2 ip dscp set cs5 counter packets 299723 bytes 305850648 comment "Game_Console_Inbound"
ip saddr 192.168.10.2 udp sport 3074 udp dport 30000-65535 ip dscp set cs5 counter packets 0 bytes 0 comment "cod1"
ip daddr 192.168.10.2 udp dport 3074 ip dscp set cs5 counter packets 0 bytes 0 comment "cod2"
ip saddr 192.168.10.2 udp dport 56418 ip dscp set cs5 counter packets 0 bytes 0 comment "xbox"
udp sport 56418 ip daddr 192.168.10.2 ip dscp set cs5 counter packets 0 bytes 0 comment "xbox"
meta l4proto { tcp, udp } ip saddr 192.168.10.2 ip dscp set ef counter packets 1919 bytes 97091 comment "console"
meta l4proto { tcp, udp } ip daddr 192.168.10.2 ip dscp set ef counter packets 369807 bytes 395986158 comment "cosole"
ip saddr 192.168.10.2 udp sport 56418 udp dport 50000-65535 ip dscp set cs5 counter packets 0 bytes 0 comment "xbox"
ip saddr 192.168.10.2 udp sport 50000-65535 udp dport 56418 ip dscp set cs5 counter packets 0 bytes 0 comment "xbox"
udp sport 56418 ip daddr 192.168.10.2 udp dport 50000-65535 ip dscp set cs5 counter packets 0 bytes 0 comment "xbox"
udp sport 50000-65535 ip daddr 192.168.10.2 udp dport 56418 ip dscp set cs5 counter packets 0 bytes 0 comment "xbox"
meta priority set ip dscp map @priomap counter packets 378201 bytes 400194485
meta priority set ip6 dscp map @priomap counter packets 123227 bytes 146067485
ct mark set ip dscp | 0x80 counter packets 378202 bytes 400194521
ct mark set ip6 dscp | 0x80 counter packets 123227 bytes 146067485
}