#16960: qos-scripts broken on TP-Link WDR3600 (r41391)
-------------------------+-------------------------------------
Reporter: eswanson@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Barrier Breaker (trunk)
Component: packages | Version: Trunk
Keywords: qos-scripts |
-------------------------+-------------------------------------
Hardware: TP-Link WDR3600
OpenWrt BARRIER BREAKER (Bleeding Edge, r41391)
qos-scripts aren't working for me on this router. Everything is working on
another router, running BARRIER BREAKER (Bleeding Edge, r38999).
{{{
root@OpenWrt:~# /etc/init.d/qos start
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
}}}
With a bit more detail, I found the following:
{{{
root@OpenWrt:~# iptables -t mangle -F qos_Default
root@OpenWrt:~# iptables -t mangle -F qos_Default_ct
root@OpenWrt:~# iptables -t mangle -D FORWARD -o eth0.2 -j qos_Default
iptables: No chain/target/match by that name.
root@OpenWrt:~# iptables -t mangle -D OUTPUT -o eth0.2 -j qos_Default
iptables: No chain/target/match by that name.
root@OpenWrt:~# iptables -t mangle -X qos_Default
root@OpenWrt:~# iptables -t mangle -X qos_Default_ct
root@OpenWrt:~# insmod ipt_multiport
Failed to find ipt_multiport. Maybe it is a built in module ?
root@OpenWrt:~# insmod ipt_CONNMARK
Failed to find ipt_CONNMARK. Maybe it is a built in module ?
root@OpenWrt:~# insmod xt_comment
kmod: module is already loaded - xt_comment
root@OpenWrt:~# insmod ipt_length
Failed to find ipt_length. Maybe it is a built in module ?
root@OpenWrt:~# iptables -t mangle -N qos_Default >&- 2>&-
root@OpenWrt:~# iptables -t mangle -N qos_Default_ct >&- 2>&-
root@OpenWrt:~# iptables -t mangle -A qos_Default_ct -m mark --mark 0/0xff
-m tcp -p tcp -m multiport --ports 3192,22,53 -m comment --comment
'ssh4realz, ssh, dns' -j MARK --set-mark 1/0xff
root@OpenWrt:~# iptables -t mangle -A qos_Default_ct -m mark --mark 0/0xff
-p udp -m udp -m multiport --ports 3192,22,53 -m comment --comment
'ssh4realz, ssh, dns' -j MARK --set-mark 1/0xff
root@OpenWrt:~# iptables -t mangle -A qos_Default_ct -m mark --mark 0/0xff
-p tcp -m tcp -m multiport --ports 20,21,25,80,110,443,993,995 -m comment
--comment 'ftp, smtp, http(s), imap' -j MARK --set-mark 3/0xff
root@OpenWrt:~# iptables -t mangle -A qos_Default_ct -m mark --mark 0/0xff
-m tcp -p tcp -m multiport --ports 5190 -m comment --comment 'AOL, iChat,
ICQ' -j MARK --set-mark 2/0xff
root@OpenWrt:~# iptables -t mangle -A qos_Default_ct -m mark --mark 0/0xff
-p udp -m udp -m multiport --ports 5190 -m comment --comment 'AOL, iChat,
ICQ' -j MARK --set-mark 2/0xff
root@OpenWrt:~# iptables -t mangle -A qos_Default_ct -j CONNMARK --save-
mark --mask 0xff
iptables: No chain/target/match by that name.
root@OpenWrt:~# iptables -t mangle -A qos_Default -j CONNMARK --restore-
mark --mask 0xff
iptables: No chain/target/match by that name.
root@OpenWrt:~# iptables -t mangle -A qos_Default -m mark --mark 0/0xff -j
qos_Default_ct
root@OpenWrt:~# iptables -t mangle -A qos_Default -m mark --mark 1/0xff -m
length --length 400: -j MARK --set-mark 0/0xff
iptables: No chain/target/match by that name.
root@OpenWrt:~# iptables -t mangle -A qos_Default -m mark --mark 2/0xff -m
length --length 800: -j MARK --set-mark 0/0xff
iptables: No chain/target/match by that name.
root@OpenWrt:~# iptables -t mangle -A qos_Default -m mark --mark 0/0xff -p
udp -m length --length :500 -j MARK --set-mark 2/0xff
iptables: No chain/target/match by that name.
root@OpenWrt:~# iptables -t mangle -A qos_Default -p icmp -j MARK --set-
mark 1/0xff
root@OpenWrt:~# iptables -t mangle -A qos_Default -m mark --mark 0/0xff -m
tcp -p tcp --sport 1024:65535 --dport 1024:65535 -j MARK --set-mark 4/0xff
root@OpenWrt:~# iptables -t mangle -A qos_Default -m mark --mark 0/0xff -p
udp -m udp --sport 1024:65535 --dport 1024:65535 -j MARK --set-mark 4/0xff
root@OpenWrt:~# iptables -t mangle -A qos_Default -p tcp -m length
--length :128 -m mark ! --mark 4/0xff -m tcp --tcp-flags ALL SYN -j MARK
--set-mark 1/0xff
iptables: No chain/target/match by that name.
root@OpenWrt:~# iptables -t mangle -A qos_Default -p tcp -m length
--length :128 -m mark ! --mark 4/0xff -m tcp --tcp-flags ALL ACK -j MARK
--set-mark 1/0xff
iptables: No chain/target/match by that name.
root@OpenWrt:~# iptables -t mangle -A OUTPUT -o eth0.2 -j qos_Default
root@OpenWrt:~# iptables -t mangle -A FORWARD -o eth0.2 -j qos_Default
}}}
There doesn't appear to be anything interesting in dmesg. Also, these are
not just harmless errors - QoS does not appear to work correctly.
A selection of installed packages:
{{{
qos-scripts - 1.2.1-6
kmod-ip6tables - 3.10.44-1
kmod-ipt-conntrack - 3.10.44-1
kmod-ipt-conntrack-extra - 3.10.44-1
kmod-ipt-core - 3.10.44-1
kmod-ipt-filter - 3.10.44-1
kmod-ipt-ipopt - 3.10.44-1
kmod-ipt-nat - 3.10.44-1
kmod-ipt-nathelper - 3.10.44-1
kmod-ipv6 - 3.10.44-1
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/16960>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets