root@OpenWrt:~# ubus call system board
{
"kernel": "6.6.73",
"hostname": "OpenWrt",
"system": "ARMv7 Processor rev 1 (v7l)",
"model": "Linksys WRT32X",
"board_name": "linksys,wrt32x",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "24.10.0",
"revision": "r28427-6df0e3d02a",
"target": "mvebu/cortexa9",
"description": "OpenWrt 24.10.0 r28427-6df0e3d02a",
"builddate": "1738624177"
}
}
root@OpenWrt:~# /etc/init.d/qosmate check_version
Backend versions:
Current version: 0.5.62
Latest version: 0.5.62
Frontend versions:
Current version: 1.0.25
Latest version: 1.0.25
QoSmate is up to date.
root@OpenWrt:~# /etc/init.d/qosmate status
==== qosmate Status ====
qosmate autostart is enabled.
qosmate service is enabled.
Traffic shaping is active on the egress interface (eth0).
Traffic shaping is active on the ingress interface (ifb-eth0).
==== Overall Status ====
qosmate is currently active and managing traffic shaping.
==== Current Settings ====
Upload rate: 100000 kbps
Download rate: 100000 kbps
Game traffic upload: 15400 kbps
Game traffic download: 15400 kbps
Queue discipline: CAKE (Root qdisc)
==== 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 cake 8007: dev eth0 root refcnt 9 bandwidth 100Mbit diffserv4 dual-srchost nat wash no-ack-filter split-gso rtt 100ms noatm overhead 38 mpu 84
Sent 4504960 bytes 6936 pkt (dropped 0, overlimits 8245 requeues 0)
backlog 0b 0p requeues 0
memory used: 33420b of 5000000b
capacity estimate: 100Mbit
min/max network layer size: 16 / 1500
min/max overhead-adjusted size: 84 / 1538
average network hdr offset: 22
Bulk Best Effort Video Voice
thresh 6250Kbit 100Mbit 50Mbit 25Mbit
target 5ms 5ms 5ms 5ms
interval 100ms 100ms 100ms 100ms
pk_delay 0us 21us 89us 0us
av_delay 0us 7us 17us 0us
sp_delay 0us 1us 2us 0us
backlog 0b 0b 0b 0b
pkts 0 5660 1276 0
bytes 0 3318582 1186378 0
way_inds 0 45 9 0
way_miss 0 142 58 0
way_cols 0 0 0 0
drops 0 0 0 0
marks 0 0 0 0
ack_drop 0 0 0 0
sp_flows 0 19 0 0
bk_flows 0 1 1 0
un_flows 0 0 0 0
max_len 0 18264 1514 0
quantum 300 1514 1514 762
qdisc ingress ffff: dev eth0 parent ffff:fff1 ----------------
Sent 4195557 bytes 6923 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan4 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan3 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan2 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan1 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev wan root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev AISVLAN root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev AISVLAN.10 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 fq_codel 0: dev pppoe-wan root refcnt 2 limit 10240p flows 1024 quantum 15 14 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 785960 bytes 7078 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 cake 8008: dev ifb-eth0 root refcnt 2 bandwidth 100Mbit diffserv4 dual-dst host nat wash ingress no-ack-filter split-gso rtt 100ms noatm overhead 38 mpu 84
Sent 4287949 bytes 6919 pkt (dropped 3, overlimits 9062 requeues 0)
backlog 0b 0p requeues 0
memory used: 856Kb of 5000000b
capacity estimate: 100Mbit
min/max network layer size: 50 / 1508
min/max overhead-adjusted size: 88 / 1546
average network hdr offset: 14
Bulk Best Effort Video Voice
thresh 6250Kbit 100Mbit 50Mbit 25Mbit
target 5ms 5ms 5ms 5ms
interval 100ms 100ms 100ms 100ms
pk_delay 0us 1.33ms 0us 0us
av_delay 0us 1.11ms 0us 0us
sp_delay 0us 3us 0us 0us
backlog 0b 0b 0b 0b
pkts 0 6922 0 0
bytes 0 4292411 0 0
way_inds 0 53 0 0
way_miss 0 207 0 0
way_cols 0 0 0 0
drops 0 3 0 0
marks 0 0 0 0
ack_drop 0 0 0 0
sp_flows 0 13 0 0
bk_flows 0 1 0 0
un_flows 0 0 0 0
max_len 0 1522 0 0
quantum 300 1514 1514 762
==== Nftables Ruleset (dscptag) ====
chain dscptag {
type filter hook forward priority filter; policy accept;
iif "lo" accept
meta l4proto udp ct original proto-src { 6881-6889, 51413 } coun ter packets 0 bytes 0 jump mark_cs1
meta l4proto udp ct original proto-dst { 6881-6889, 51413 } coun ter packets 0 bytes 0 jump mark_cs1
meta l4proto tcp ct original proto-dst { 6881-6889, 51413 } coun ter packets 0 bytes 0 jump mark_cs1
meta length < 100 tcp flags ack add @xfst4ack { ct id . ct direc tion limit rate over 500000/second burst 5 packets } counter packets 0 bytes 0 j ump drop995
meta length < 100 tcp flags ack add @fast4ack { ct id . ct direc tion limit rate over 50000/second burst 5 packets } counter packets 0 bytes 0 ju mp drop95
meta length < 100 tcp flags ack add @med4ack { ct id . ct direct ion limit rate over 5000/second burst 5 packets } counter packets 69 bytes 2896 jump drop50
meta length < 100 tcp flags ack add @slow4ack { ct id . ct direc tion limit rate over 5000/second burst 5 packets } counter packets 35 bytes 1468 jump drop50
meta l4proto udp ip dscp > cs2 add @udp_meter { ct id . ct direc tion limit rate over 450/second burst 5 packets } counter packets 0 bytes 0 ip d scp set cs0 counter packets 0 bytes 0
meta l4proto udp ip6 dscp > cs2 add @udp_meter { ct id . ct dire ction limit rate over 450/second burst 5 packets } counter packets 0 bytes 0 ip6 dscp set cs0 counter packets 0 bytes 0
meta l4proto tcp ct bytes < 6250000 jump mark_500ms
meta l4proto tcp ct bytes > 125000000 jump mark_10s
meta l4proto tcp ip dscp != cs1 add @slowtcp { ct id . ct direct ion limit rate 150/second burst 150 packets } ip dscp set af42 counter packets 1 405 bytes 670218
meta l4proto tcp ip6 dscp != cs1 add @slowtcp { ct id . ct direc tion limit rate 150/second burst 150 packets } ip6 dscp set af42 counter packets 1038 bytes 667070
ip saddr 192.168.8.219 udp dport != { 80, 443 } ip dscp set cs5 counter packets 0 bytes 0 comment "ipv4_Game_Console_Outbound"
meta priority set ip dscp map @priomap counter packets 2449 byte s 963844
meta priority set ip6 dscp map @priomap counter packets 3580 byt es 2975280
ct mark set ip dscp | 0x80 counter packets 2449 bytes 963844
ct mark set ip6 dscp | 0x80 counter packets 3580 bytes 2975280
}
}
==== Custom Rules Table Status ====
Custom rules table (qosmate_custom) is not active or doesn't exist.
root@OpenWrt:~# cat /etc/config/qosmate
config global 'global'
option enabled '1'
config settings 'settings'
option WAN 'eth0'
option ROOT_QDISC 'cake'
option DOWNRATE '100000'
option UPRATE '100000'
config advanced 'advanced'
option PRESERVE_CONFIG_FILES '1'
option WASHDSCPUP '1'
option WASHDSCPDOWN '1'
option BWMAXRATIO '20'
option UDP_RATE_LIMIT_ENABLED '1'
option TCP_UPGRADE_ENABLED '1'
option UDPBULKPORT '51413,6881-6889'
option TCPBULKPORT '51413,6881-6889'
option NFT_HOOK 'forward'
option NFT_PRIORITY '0'
config hfsc 'hfsc'
option LINKTYPE 'ethernet'
option OH '44'
option gameqdisc 'pfifo'
option nongameqdisc 'fq_codel'
option nongameqdiscoptions 'besteffort ack-filter'
option MAXDEL '24'
option PFIFOMIN '5'
option PACKETSIZE '450'
option netemdelayms '30'
option netemjitterms '7'
option netemdist 'normal'
option pktlossp 'none'
option netem_direction 'both'
config cake 'cake'
option COMMON_LINK_PRESETS 'ethernet'
option PRIORITY_QUEUE_INGRESS 'diffserv4'
option PRIORITY_QUEUE_EGRESS 'diffserv4'
option HOST_ISOLATION '1'
option NAT_INGRESS '1'
option NAT_EGRESS '1'
option ACK_FILTER_EGRESS 'auto'
option AUTORATE_INGRESS '0'
config custom_rules 'custom_rules'
config rule
option name 'Game_Console_Outbound'
option proto 'udp'
list dest_port '!=80'
list dest_port '!=443'
option class 'cs5'
option counter '1'
option enabled '1'
option trace '0'
list src_ip '192.168.8.219'
config rule
option name 'Game_Console_Inbound'
option proto 'udp'
option dest_ip '192.168.1.228'
list src_port '!=80'
list src_port '!=443'
option class 'cs5'
option counter '1'
option enabled '0'
root@OpenWrt:~# ifstatus wan | grep -e device
"l3_device": "pppoe-wan",
"device": "AISVLAN.10",
root@OpenWrt:~# cat /etc/init.d/qosmate | grep -A 3 "QOSMATE_BASE_URL="
here is what you have asked.
The problem is, my gaming packets haven't been classified as CS5
I had no proble mwith Flint 2 router at my house. On the other hand, i have problem with wrt32x at my wife house
I am trying to make packets get classified as CS5 again
Edit: i was not sure if it was somthing to do with Vlan10
It was the only different network envroinment between my wife house and my house
Mine have no vlan10 required.
my wife's, on the other hand, require vlan10