similar to: question about filter priorities and "tc -d filter show" output

Displaying 20 results from an estimated 6000 matches similar to: "question about filter priorities and "tc -d filter show" output"

2005 Oct 17
5
TC show filter command shows all u32 filters defined with different priority iin all priority.
Hi, I am currently working on the TC. I have seen some behaviour which seems to be odd. I know someone in the mailing list would have seen this problem or may have some fix for this problem. When I try to include u32 filters with different priority or pref, I could see the filters being set on all the priority''s irrespective of the priority number. See my sample script below and the
2007 Nov 20
3
Problem deleting tc rules
Hi all! :) I see that this is partially covered in the mailing list archive but at the moment I can''t find a straight & working answer. I have an imq device with dynamically attacched classes/qdiscs/filters. There is a hashing filter that maps the last octet of an user''s IP address to a class (and associated qdisc). The "empty" filter looks like this: filter
2003 Oct 31
2
tc filter oddities
I shape my upstream cable link with HTB from a script. My voip traffic (from the 192.168.0.14 host) gets priority over everything else to the near-starvation of other classes; the rest of the traffic is split up based on some priority rules (qos, empty ack packets, etc). eth1 is the uplink I''ve been using HTB and fw marking for the job until recently, when I changed the queue structure
2007 Feb 17
4
Order of ''tc filer''
Hi How can I control which filter a packet will meet first? I have tried changing the order of applying the tc filter scripts and switching flowid number, but ''protocol ip u32 match ip src <ip net> match ip src 0.0.0.0/0'' always kicks in first? >From my script -------------------- # All traffic - Priority: Low tc filter add dev eth0 parent 1:0 prio 2 protocol ip u32
2002 Dec 04
3
HTB/IMQ troubles (probably)
Hello, I use HTB with linux-2.4.20-ac1 and iptables-1.2.7a (pathced for IMQ). I configured one HTB qdisc on an IMQ device. This qdisc has some classes (about 5) and all of the classes has qdisc pfifo. I sometimes got out from my linux (while I was working) and I found in logs: Dec 4 11:49:27 core kernel: HTB init, kernel part version 3.7 Dec 4 11:49:28 core kernel: HTB: quantum of class
2007 Oct 28
3
tc filter question
Dear all, I have big question in my mind about "tc filter" sintax. If I give "tc -s -d filter sh dev eth0" command, then the output is like below : filter parent 1: protocol ip pref 1 u32 filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1 filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:2 (rule hit 21553629 success 37907)
2007 Jun 27
1
Deleting a tc filter rule
Hi, I am very new to tc. I added a filter using the following command: tc filter add dev eth0 V parent 20:0 protocol ip prio 1 handle ::128 u32 match ip tos 0x44 0xfc flowid 20:1 To check if the filter rule was indeed added, I run tc filter show dev eth0 parent 20: This gave me the following output: filter protocol ip
2006 Feb 10
14
[PATCH] TC: bug fixes to the "sample" clause
PATCH 1 ======= On my machine tc does not parse filter "sample" for the u32 filter. Eg: tc filter add dev eth2 parent 1:0 protocol ip prio 1 u32 ht 801: \ classid 1:3 \ sample ip protocol 1 0xff match ip protocol 1 0xff Illegal "sample" The reason is a missing memset. This patch fixes it. diff -Nur iproute-20051007.keep/tc/f_u32.c iproute-20051007/tc/f_u32.c
2005 Oct 28
0
Issues in setting up different priorities for the MAC match filter
Hi, I am currently using TC for setting up user MAC based filters,and I am seeing a problem when I try to assign different priorities to the MAC Match filter apart from the root qdisc and parent class. Here is my script. /*****************************************************/ First of all I create the qdisc and class based on priority 2 and also the Hash mask tc qdisc add dev eth1 root handle
2004 Jan 14
0
Problems while mixing protocols
Hello, I''m trying to shape traffic by IP addresses and by 802.1q vlans. But when I add 802.1q filter filters output looks strange. Maybe I''m missing some options to TC? Thanks, Mindaugas # ./bin/tc -s -d filter show dev eth0 filter parent 1: protocol ip pref 1 u32 filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1 filter parent 1: protocol ip pref 1 u32 fh
2004 Jun 22
5
htb filter
Hello, I have wrote some scripts to shape about 1000 workstations. My config: Pentium IV - 2GHz, 1Gb RAM, RedHat Enterprise Advanced Server 3, kernel 2.4.21-9.EL, iproute-2.4.7-11.30E.1 2 Gigabit Lan cards in bridge mode. I use htb. Everything work fine, but I have troubles with showing running configuration. # Init shaper root for dev eth0 tc qdisc add dev eth0 root handle 2: htb default 200
2005 Dec 09
0
error in TC FILTER documentation ???
I''ve done some tests with TC FILTER and his PRIO and think that is an error or OMISION on TC FILTER DOCUMENTATION from: http://lartc.org/howto/lartc.qdisc.filters.html#AEN1100 Let''s say we have a PRIO qdisc called ''10:'' which contains three classes, and we want to assign all traffic from and to port 22 to the highest priority band, the filters would be:
2005 Jun 01
2
TC Filtering Problems
Dear Admins and Hackers, maybe i am to stupid to use ''tc''. But i having logical Problems to understand the Filter Rules in tc. Common Config: There is a Linux Engine (Debian) with a 2.6.11.11 Kernel which act as Packetshaper. Two Interfaces eth0 and eth1 are installed. Interface ''eth0'' is the Firewall Side Net 195.185.185.0/24. Interface
2006 Apr 07
0
PRIO and u32 matching problem
Hi to everybody I''m trying to use PRIO qdisc to prioritize the traffic but i have strange problem maybe I''m missing sometging. First i add root qdisc like this tc qdisc add dev eth0 root handle 1: prio it''s fine after this i try to match traffic by tos field but i get error invalid match tc filter add dev eth0 parent 1:0 prio 1 protocol ip u32 \ match ip tos 0x10 0xff
2001 Dec 13
14
tc: u32 match in nexthdr not working?
Hello, it seems, that filtering on nexthdr (TCP/UDP) content, especially src or dst port, is not working. The following has no effect on 2.4.16 or older (even 2.2) kernels: # tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match tcp dst 3128 0xffff police rate 40kbit burst 10k drop flowid :1 Even if # tc filter ls dev eth0 parent ffff: filter protocol ip pref 50 u32 filter protocol
2004 Jun 26
0
Hash table
Sorry for all the questions I''m just trying to understand how it all works. Thank you for your time. Is the following configuration possible? where ht 800 links to 3: for the 3rd Octet in the IP and then 3: links to 4: for the fourth Octet? tc filter add dev eth0 parent 1:0 prio 10 handle 3: protocol ip u32 divisor 256 tc filter add dev eth0 protocol ip parent 1:0 prio 10 u32 ht 800::
2003 Feb 05
1
cbq.init for one port on a subnet
Sub:[LARTC] cbq init for one port on a subnet Hello, We use cbq.init to limit bandwidth. It works great on a per-user basis. Now I''d like to limit traffic from a netblock to the Internet on port 6699. Network is 192.168.0.160 mask 255.255.255.224 eth0 is the gateway eth1 connects the netblock in question Is this the proper syntax; DEVICE=eth0,10Mbit,1Mbit RATE=100Kbit
2004 Jul 20
3
Fw: HTB - Really Big problem
----- Original Message ----- From: MichaƂ Joachimiak To: lartc@mailman.ds9a.nl Sent: Tuesday, July 20, 2004 3:45 PM Subject: HTB - Really Big problem Hello everybody! Since week i dig lists and www and can''t find solution for my problem. I''m using HTB 3.13 kernel 2-4-25 smp iptables 1.2.9. I''ve got situation like this: LAN------Linux Box(routing only)------- Linux
2004 Nov 30
1
tc del filter
Hi, How can I delete an existing filter? Is it possible? I tried different combinations of tc commands but, while manage to delete an existing qdisc or class, I wasn''t able to find a way to delete an existing filter. The tc man page doesn''t even list the del command in the synopsis. tc filter [ add | change | replace ] \ dev DEV [ parent qdisc-id | root ] \
2006 Jun 27
0
tc filter problems, please help...
Hi Guys, I have a couple of problems that are driving me nuts. This is the script I am using to setup restirctions and bw limitations: #Adding root class. tc qdisc add dev eth0 root handle 1: htb default 10 &>/dev/null tc class add dev eth0 parent 1: classid 1:1 htb rate 100Mbit ceil 100Mbit burst 2k quantum 1536 tc qdisc add dev eth1 root handle 1: htb default 10 &>/dev/null tc