[FS#834] QoS uses ip6tables even on filter rules targeted to IPv4 addresses
LEDE Bugs
lede-bugs at lists.infradead.org
Fri Jun 9 08:56:29 PDT 2017
A new Flyspray task has been opened. Details are below.
User who did this - juanriccio (juanriccio)
Attached to Project - LEDE Project
Summary - QoS uses ip6tables even on filter rules targeted to IPv4 addresses
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - 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
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=834
More information about the lede-bugs
mailing list