Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#834 - QoS uses ip6tables even on filter rules targeted to IPv4 addresses #5790

Open
openwrt-bot opened this issue Jun 9, 2017 · 0 comments
Open
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Jun 9, 2017

juanriccio:

LEDE SNAPSHOT r4357-acc5ab6 / LuCI branch (git-17.152.82962-a9e8376)

I specified 2 QoS rules to put all traffic from/to a certain LAN host in the Bulk class. The LAN is IPv4, but the generated script contained commands for ip6tablesbesides the appropriate commands for iptables.

$ /etc/init.d/qos restart ip6tables v1.6.1: host/network `192.168.1.161' not found Try `ip6tables -h' or 'ip6tables --help' for more information. ip6tables v1.6.1: host/network `192.168.1.161' not found Try `ip6tables -h' or 'ip6tables --help' for more information.

Here's a part of the output from /usr/lib/qos/generate.sh all

+ ip6tables -w -t mangle -A qos_Default_ct -m mark --mark 0/0x0f -d 192.168.1.161 -m comment --comment TMP-delete -j MARK --set-mark 68/0xff ip6tables v1.6.1: host/network `192.168.1.161' not found Try `ip6tables -h' or 'ip6tables --help' for more information. + ip6tables -w -t mangle -A qos_Default_ct -m mark --mark 0/0x0f -s 192.168.1.161 -m comment --comment TMP-delete -j MARK --set-mark 68/0xff ip6tables v1.6.1: host/network `192.168.1.161' not found Try `ip6tables -h' or 'ip6tables --help' for more information.

(...)

  • iptables -w -t mangle -A qos_Default_ct -m mark --mark 0/0x0f -d 192.168.1.161 -m comment --comment TMP-delete -j MARK --set-mark 68/0xff
  • iptables -w -t mangle -A qos_Default_ct -m mark --mark 0/0x0f -s 192.168.1.161 -m comment --comment TMP-delete -j MARK --set-mark 68/0xff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant