similar to: Maximum filter rule in tc

Displaying 20 results from an estimated 100000 matches similar to: "Maximum filter rule in tc"

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
2005 Apr 25
7
TC
Thanks for the very prompt reply. I''ve been googling already for a few days now trying to understand how bandwidth management works. I came to understand that TC is a utility that I can use to shape up my local network bandwidth consumption. Im hoping I will be guided here through. Here are my questions: 1. Is TC works on an interface of a physical device only? 2. My objective is to
2005 Mar 11
1
tc filter rules matching source IP and route?
Hi, I''m trying to set up a tc filter rule matching the following conditons: source ip is 192.168.0.68 and only packets shall be matched going out on the internet connection. My first try was "protocol ip u32 match ip src 192.168.0.68 ! match ip dst 192.168.0.0/24" but obviously tc doesn''t like the NOT ... ;-) I also tried the route classifier, but it cannot be
2007 Sep 03
1
Can we use 2 tc filter rules with the same prio
Hi ALL, I am using below script for DOWNLOADING. it is only for HTTP and HTTPS. I have given the same prio for both. (i.e prio 1). pls see my script given below. (last 2 lines of the script where I have highlighted in BOLD letters) Can I have 2 tc filter rules with the same prio? What is the proper method to write? MY SCRIPT IS BELOW #traffic shaping on eth1 (Downloading) INTERFAZ_LAN=eth1
2004 Jan 07
1
TC rule numbering
Hello list, I''m developing an application that needs to number the TC rule (and keep it in a internal array table) to be possibly deleted later if its needed. I didn''t find a easy way to do that and will be thankful if somebody can help me. Sorry if the question has a simple answer ... I''m a beginner in TC ... :-) Happy 2004 ...
2007 Apr 30
1
Maximum number of tc handles?
Hi all, Can anybody tell me what the maximum number of handles are that I can use when setting up qdiscs and classes in tc? Regards, Leigh Leigh Sharpe Network Systems Engineer Pacific Wireless Ph +61 3 9584 8966 Mob 0408 009 502 Helpdesk 1300 300 616 email lsharpe@pacificwireless.com.au web www.pacificwireless.com.au _______________________________________________ LARTC
2005 Jun 09
2
tc filter priority
hi all friends has tc filter an priority of rules , like iptables, let me explain it : with iptables, when the packet find a rule to go, it doesnt see the rest of rules, and how is the behavior of tc filter ?? see it : one packet from 10.10.10.1:2421 going to 11.11.11.1:110 what rule above it will be shaped ?? 1 ) tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src
2005 Jun 08
2
tc filter and ip match
hi all people, I''m using tc and htb to create classes and do some QoS , but i would like to know if i can do it: after to create the classes I need to create the rules using tc filter : tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dst 10.0.0.0/8 flowid 1:10 ok, this rule works with all packets going to 10.0.0.0/8, but how can i write a rule using "!"
2002 Dec 02
1
tc filter and fwmark
Suppose: ipchains -A forward -s inside_net -d 0/0 -j MASQ -m 100 (similar setup with iptables: iptables -A PREROUTING -t nat -s inside_net -d 0/0 -j SNAT iptables -A PREROUTING -t nat -s inside_net -d 0/0 -j MARK --set_mark 100) eth0 = outside iface eth1 = inside iface now: tc filter add dev eth0 ... handle 100 fw should catch packets marked by the above rule in ipchains (iptables). Ok. When
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)
2005 Dec 17
0
Fw: tc filter match u8 problem??
On Sat, 17 Dec 2005, Andy Furniss wrote: > The u8 test works OK for me as does the one below. My mistake. I cleaned the rules and removed the ones that collided with the u8 one. There is no error on this. (see explanation bellow). > > When playing with tc filters I always tc qdisc del dev eth0 root and enter > the whole lot again between tests. I always took that as mandatory.
2001 Dec 08
0
tc filter u32 nexthdr, chained filters?
Hi. Is there anyone who has understood of how u32 nexthdr addressing is supposed to work? (including the "tcp/icmp/.." matches who implicitly uses nexthdr) From reading the kernel code it apparently is using the location set by "offset at", but this seems to only be evaluated on hash parents, and only for it''s children.. I.e. the logic for u32 filter rule
2007 Sep 07
1
tc filter syntax (and general noobness)
Ok, After much research and e-mails to the list, I''m finally to the point where I have filtering setup properly. Now, I''m trying to figure out tc filter so that I can classify packets on both eth0 and eth1. So, lets take for example Samba traffic. I want to be sure that its being sent with relative speed so that my shares don''t get lagged. And what the heck, its
2003 Oct 16
5
tc filter problem with 2.4.22
Hi, I have a problem with ''tc filter'' on a 2.4.22 kernel from Slackware 9.1 distribution. The tc command binary is from htb3.6-020525.tgz (http://luxik.cdi.cz/~devik/qos/htb) I''m trying the following command sequence: tc qdisc add dev eth0 root handle 1: htb default 1 r2q 1 tc class add dev eth0 parent 1: classid 1:1 htb rate 1200kbit ceil 1200kbit tc class add dev
2005 Jul 22
2
tc filter matching anything
Hey, I have a problem adding a filter matching anything, here is my setup: ############### tc qdisc add dev eth0 handle 1: root prio tc qdisc add dev eth0 parent 1:1 handle 10: pfifo tc qdisc add dev eth0 parent 1:2 handle 20: tbf latency 50ms rate \ 128kbit burst 256kbit tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 666 fw \ flowid 1:2 tc filter add dev eth0 protocol ip parent
2005 Jan 27
1
question about filter priorities and "tc -d filter show" output
The interface is setup like this: # tc qdisc del dev eth0 root # tc qdisc add dev eth0 root handle 1: htb default 2 # tc class add dev eth0 parent 1: classid 1:2 htb rate 20mbit ceil 20mbit If I add a second class and a filter to send traffic to it like this: # tc class add dev eth0 parent 1: classid 1:130 htb rate 1Mbit ceil 1Mbit # tc filter add dev eth0 protocol ip parent 1:0 prio 130 u32
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:
2006 May 25
0
TC and IPv6 filters
Hi, The LARTC states that it is not possible to create filters with TC for IPv6 packets. Is this situation still unchanged? I''m in need for it for an implementation of a modified version of the TIA-1039, http://www.packet.cc/TIA1039ID.htm. I''m not sure if this is the correct mailing list. If not I apologize and hope that someone can point me in the right direction :-) Cheer,
2006 Sep 10
1
HTB and tc filter
Help me  ... I try use the tc filter, but seems he doesn''t work, I already reconfigured my kernel ( 2.4.32 ) with all options related a QOS enabled ( like modules ) and nothing happens. I get the tc tool from HTB source package, well  this is my set : eth0 is my internal NIC. tc qdisc add dev eth0 root handle 1: htb default 12 tc class add dev eth0 parent 1: classid 1:1 htb rate
2006 Aug 21
1
tc filter don''t match packets
Hi, I have problem with this simple script: #!/bin/bash if [ "$1" == "del" ]; then tc qdisc del dev eth0 root handle 1: htb default 10 exit fi tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid 1:1 htb rate 800kbit ceil 900kbit tc class add dev eth0 parent 1:1 classid 1:10 htb rate 300kbit ceil 600kbit tc class add dev eth0 parent 1:1