Wondershaper does an explicit match on the tos field for ssh packets marked with the interactive bit. However it does not mask out the ECN bits when doing so, leading to putting simple ACKs (which lack the ECN bit) in a higher band than ACKs with data (ACK+PSH) in the same stream, that are marked with ECN.
This patch masks out the ECN bits in the ssh flow classifier so an ECN marked stream is treated consistently throughout its lifetime. --- net/wshaper/files/wshaper.htb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/wshaper/files/wshaper.htb b/net/wshaper/files/wshaper.htb index d8e35ad..1f40616 100755 --- a/net/wshaper/files/wshaper.htb +++ b/net/wshaper/files/wshaper.htb@@ -93,7 +93,7 @@ tc qdisc add dev $DEV parent 1:30 handle 30: sfq perturb 10
# TOS Minimum Delay (ssh, NOT scp) in 1:10: tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 \ - match ip tos 0x10 0xff flowid 1:10 + match ip tos 0x10 0xfc flowid 1:10 # ICMP (ip protocol 1) in the interactive class 1:10 so we # can do measurements & impress our friends: -- 1.7.5.4 -- Dave Täht
<<attachment: dave_taht.vcf>>
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel