Bug 128543
Summary: | cls_u32 doesn't work with iproute2 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nathan G. Grennan <redhat-bugzilla> |
Component: | kernel | Assignee: | Arjan van de Ven <arjanv> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | rhbugzilla, riel, shiva, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-08-20 05:20:16 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 123268 |
Description
Nathan G. Grennan
2004-07-24 21:48:45 UTC
Commands from wondershaper: tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 match ip tos 0x10 0xff flowid 1:10 tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 match ip protocol 1 0xff flowid 1:10 tc filter add dev $DEV parent 1: protocol ip prio 10 u32 match ip protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2 match u8 0x10 0xff at 33 flowid 1:10 Here is where I found the latest version of iproute2, but it doesn't help with the errors above. http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.8-ss040730.tar.gz The kernel 2.6.7-1.494.2.2 RPMS built on August 3rd, 2004 as updates for FC2 send out this syslog message, too: kernel: Please upgrade your iproute2 tools or compile proper options in! It happens when I try to do things like: tc filter add dev tun0 parent 1:0 protocol ip prio 2 u32 \ match ip sport 22 0xffff flowid 1:10 If I try to add ingress filtering (tc qdisc add dev tun0 handle ffff: ingress), I get a *LOT* of these syslog messages: kernel: ing_filter: fixed tun0 out tun0 The kernel 2.6.7-1.494.2.2 RPMS built on August 3rd, 2004 as updates for FC2 send out this syslog message, too: kernel: Please upgrade your iproute2 tools or compile proper options in! It happens when I try to load cbq rules: DEVICE=eth0,100Mbit,10Mbit RATE=30Kbit WEIGHT=3Kbit PRIO=4 RULE=****my_real_ip****:25, This is not a new rule, I already use it about six month thanks This seems to be fixed in the development kernel (kernel-2.6.7-1.509). It isn't completely fixed, but is much better. The last command in wshaper still doesn't work. tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1 RTNETLINK answers: Invalid argument See also bug 129185. The problem with the last command in wondershaper seems to be the police modules being disabled. kernel-2.6.8-i686.config:# CONFIG_NET_CLS_POLICE is not set kernel-2.6.8-i686.config:# CONFIG_NET_ACT_POLICE is not set Arjan, could you please enable those config options ? ingress filtering is a critical part of wshaper and people's QoS scripts (including mine ;)) will stop working if they can't use ingress filtering... I have confirmed that enabled the POLICE options makes wondershaper work completely again. Fixed in the latest kernels wondershaper works without error again. :) |