similar to: Monitoring tc filters

Displaying 20 results from an estimated 60000 matches similar to: "Monitoring tc filters"

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 Jan 26
0
Profiling hotspots in my tc filter ruleset
Hi, after I saw that my machine was having problems to forward more than 200 Mbit/s, I decided to profile the kernel and find out the hotspots. This is what I found: [...] 1028 bridge.ko __br_forward 1033 bridge.ko br_nf_forward_finish 1074 bridge.ko ip_sabotage_in 1119 ebtable_filter.ko ebt_hook 1177 sky2.ko
2006 Jul 14
1
I need help with tc filters!!!!!
Hi Everybody! I need help! I''m doing a tc script with tc filters that have match the Type of Service field in the IP header. This is the script I am using to setup the filters. tc filter add dev $DEV parent 1: protocol ip prio $PRIO_CONTROL u32 match ip protocol 6 0xff \ match u32 00190000 00ff0000 at 0 flowid 1:10 tc filter add dev $DEV protocol ip parent 1: prio $PRIO_VIDEO
2004 Nov 21
0
tc is broken for "protocol arp" filters
I have tested Devik''s tc (103592 bytes) and 2.6.8 which I compiled. Both return "RTNETLINK answers: Invalid argument". Stephen Hemminger should be sent a patch that fixes this. An example that returns the above error message is: tc filter add dev eth1 parent 1: protocol arp prio 5 u32 \ match u16 0x0806 0xffff at -2 flowid 1:50 I''m using this because it works:
2002 Jun 12
3
Why this stupid ingress tc does not work ?
Hi ! I wanted to shape my analog modem connection so I took these two lines from the ''wondershaper'' script: tc qdisc add dev $DEV handle ffff: ingress #tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip \ src 0.0.0.0/0 police rate ${DOWNLINK} burst 10k drop flowid :1 with DEV=ppp0 and DOWNLINK=24kbit. But, when I activate it, nothing comes back from the
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
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 Feb 09
4
need help with tc filters
Hi, I am attempting to set up some simple outbound shaping following the LARTC HOWTO. The HTB qdisc seems to work as the documentation says, but my filters don''t seem to be working. All of the packets go to the default queue regardless of what filters I set, it seems. (according to tc -s qdisc show) I am trying to get this working on my openwrt box (whiterussian rc6), but when
2007 Oct 31
0
tc filter AP device
Hi, trying to set packet classifying on wireless AP device for transfer between two wireless clients without success. It seems that packet allways going thru default class. Marking packets success only with ebtables+madwifi patch, but appropriate filter doesn''t react on it. (examined by counter stats of ebtables and tc) u32 match with ip dst match of one client, and even 0.0.0.0/0
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,
2004 Nov 16
2
tc rules for Internet Radio
I am currently using the ultimate-tc script from http://lartc.org/howto/lartc.cookbook.ultimate-tc.html and I want to make sure that internet radio packets (mp3 streaming audio) will always get through no matter what. I have added some iptables commands like this: iptables -A OUTPUT -t mangle -p tcp --dport 8000 -j TOS --set-tos Minimize-Delay iptables -A OUTPUT -t mangle -p tcp --sport 8000 -j
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 ] \
2007 Jun 24
2
selectors for tc filters
Hi. I can''t find any documentation on the specific selectors for tc-filters -- what documentation I have says they are in Polish in a file called selectors.html -- is there anything around in English to see those? Thanks. -- Your life is like a penny. You''re going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
2004 Sep 30
7
tc monitoring
I have managed to dynamically parse the output of commands: tc qdisc ls dev eth0 and tc -s class show dev eth0 Save statistics in an rrd database and display it via a php script. see http://143.233.4.215/graph.php and dload scripts from http://143.233.4.210/qos/ My next step in developing this monitoring software is to somehow manage to create a tree out of tc and then use it to greatly
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
2003 Jan 10
4
Question on TC filter
Hi, I want work out a GUI interface for htb and now here comes to the part about adding and removing classes and filters. Here is an example script. TC="tc" DEV="dev eth1" echo "Add root qdisc, default traffic go to 1:30" $TC qdisc add $DEV root handle 1: htb default 30 echo "Divide the traffic into different classes and levels" # -------- level 1
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.
2004 Jan 31
5
tc filter protocol arp question
Hello, I try to shape dhcp requests, but filter rule don''t work. My script is: # Init Shaper for dev eth1 tc qdisc del dev eth1 root # Init shaper root for dev eth1 tc qdisc add dev eth1 root handle 2: htb default 200 # Default shaper for dev eth1 tc class add dev eth1 parent 2:0 classid 2:200 htb rate 10Mbit prio 10 tc qdisc add dev eth1 parent 2:200 sfq perturb 10 # Init DHCPD
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