Displaying 20 results from an estimated 9000 matches similar to: "Strange behavior deleting filters"
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
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
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
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
2006 Apr 10
1
Where is the documentation for IFB ?
Hi all,
Can you tell me where is the documentation for the new IFB (implemented
in kernels > 2.6.16).
Thanks in advance!
Nikolay
2007 Sep 01
9
complete linux and shaping newbie needs help
Hi there good people,
I''m a newbie in what concerns running Linux on machines other than
desktops, so I need help from all you gurus out there :-)
I have Linux installed on an old computer (Winchip C6, Pentium clone),
acting as a router/firewall for two other computers. Both these
machines are connected to the firewall via a dedicated ethernet card
each, on different subnets,
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
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
2006 Sep 08
8
htb traffic shaping problem
Hello.
I have a linux server connected to a gigabit lan, and though that lan to a
768kbps/768kbps DSL modem.
I''m trying to shape my webserver running on port 80/443 down to 512kbps,
while leaving all other ports alone. The current configuration script that
I''m using is as follows:
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 99
tc class add dev
2004 Jan 23
2
htbinit and redhat-9.0
dear All,
I'm a new student and my job is too shapping bandwith for our campus faculty network.
I want to implement htb with Redhat-9.0 distro.
does this distro kernel support htb and tc good ? or i should apply some patch or upgrade kernel ?
regards
reza
2005 Oct 11
3
Inaccurate results without natting the traffic.
Hi folks.
For quite a while, I tried to use linux (cbq and htb) to control
bandwidth in order to replace a cisco equipment used to play this role
on our network.
After trying here and there, with a bunch of different distros,
different versions, different compilations, ... the closest I could
get was as follows:
(using htb.init and cbq.init)
Desired BW ==> Achieved BW
128k ==> 404.78
2007 Jun 09
7
vlan interfaces and tc
Hello
I have few questions regarding tc functionality (qdiscs, classes, etc.) when
vlans are in use. For example, consider interface eth0, for which I create
and extra vlan with vconfig, let''s say eth0.11. Then using tc I can add
usual things - qdiscs, filters, ... - to both eth0 and eth0.11. The
questions are:
- on which interface - virtual or real, should I actually use tc ? Or
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 ] \
2005 Oct 16
2
Lost packets and strange "behaviour" of my TC rules
Hi all.
I''m going on my 3rd week trying to get a simple traffic shapping to work the right way :( !!
My goal it to shape the traffic coming from one machine (pc1) to another machine (pc2) throught the "eth0" interface. My test configuration is as follows:
PC1
IP: 192.168.105.237
Mask: 255.255.255.0
OS: Red Hat Linux Kernel 2.4.20-8
Rules:
2007 Aug 24
3
traffic shaping stranges
Hello list,
I discover strange behaviour of shaping traffic that i setup from
Shorewall-4.0.2.
I know that this is not Shorewall problem but may be somebody from list
can help me
or explain this situation.
I have follow interfaces in 'tcdevices' files:
#INTERFACE IN-BANDWITH OUT-BANDWIDTH
#
$EXT_IF 500kbit 248kbit
$INT1_IF 500mbit
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
2005 Dec 16
2
tc filter match u8 problem??
Hi All
Can someone tell me what am I doing wrong?
These was suposed to catch icmp type 8. Why ''match u8'' does not work?
# tc filter add dev eth0 protocol ip parent 1: prio 2 \
u32 \
match u16 0x0800 0xffff at -2 \
match u8 8 0xff at 20 \
flowid 1:5
Illegal "match"
#
# tc filter add dev eth0 protocol ip parent 1: prio 2 \
u32 \
match
2004 Oct 11
6
NAT+mangle+tc
Hi All,
I wonder can I do NAT+mangle+tc on same maschine? I want to shape
outgoing traffic per IP on my gateway computer.
Regards
Emil Terziev
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2004 Sep 08
3
Help! VLAN tagged traffic not shaping :-(
Hello,
I have a linux box sitting between (and bridging/firewalling) 2 LAN segments.
I''m using Bridge/Netfilter/IMQ/tc(htb) to control (shape) mail/web traffic that
traverses the 2 networks.
The networks also have some VLAN tagged traffic flying around. My linux box
behaves OK with VLAN traffic except that the shaping doesn''t seem to work.
Normal http shapes alright but as soon
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