Displaying 20 results from an estimated 400 matches similar to: "tc filter question"
2007 Oct 29
6
Fair que between 255 users
Hello guys
I have a subnet with 255 users, which need to share 1 single slow internet
connection, so i would like to implement a kind of *fair queuing *on the
UPLOAD between them, which means that they all share the connection
equally..
The tools that i have available is: A linux box with IPROUTE2,HTB and TC..
I have looked at some examples, and my first idea was to make 255 entries in
2007 Jun 26
2
classification of incoming traffic with tc
Hi all,
Another requirement we have is that traffic entering the DS domain be
classified then subsequently assigned a (different?) DSCP based upon its
classification.
For illustrative purposes only let''s say (for traffic entering the DS domain
on dev eth0):
- WWW traffic would be marked BE
- traffic destined for 10.10.10.10 would be marked AF11
- VoIP traffic from 20.20.20.20 would
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
2007 Sep 19
2
bittorrent traffic...
Hi,
Thanks for the reply.
Mohan Sundaram wrote :
> mark in iptables and use tc to classify using mark.
Mark like this ?
iptables -A INPUT -m layer7 --l7proto bittorrent -j MARK --set-mark 3
and then..
tc filter add dev eth0 protocol ip parent 1:0 1 handle 3 fw flowid 1:10
and lets say we have a flowid 1:3 declared to use at 60kbit ceil 60kbit
Is that proper ?
If so then it
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
2007 Sep 23
0
Add U32 Filter with libnl
Hello,
I try to add a U32 source port filter with libnl. My filter can be
succesfully added with the library (no error occured) but the filter is not
active.
If I run "tc filter show dev eth0" I get:
filter parent 1: protocol ip pref 100 u32 filter parent 1: protocol ip pref
100 u32 fh 800: ht divisor 1 filter parent 1: protocol ip pref 100 u32 fh
800::800 order 2048 key ht 800 bkt 0
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 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
2007 Apr 10
4
how to install asterisk on redhat ?
Hi....asterisk users...
how to install asterisk on redhat ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070410/0e647e89/attachment-0001.htm
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
2017 Nov 17
2
Blank console but X11 works on MCP79 - old regression since 3.8
Hello,
I've just been hit by this old bug which is still present in 4.14:
https://bugs.freedesktop.org/show_bug.cgi?id=80675
On MCP79 (ION), when stolen memory is set to 32MB in BIOS, console is blank
but X11 works. When the stolen memory is increased to 64MB, console works
fine.
Bisected it to this:
4f6029da58ba9204c98e33f4f3737fe085c87a6f is the first bad commit
commit
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 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
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
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
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
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 ] \
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 24
3
tc filter change/replace
I am wondering whether the commands ''tc filter change'' and ''tc filter replace''
are working. Googling around revealed a few emails on the LARTC stating that
unfoirtunately they do not work. A quick check showed that they are still not
implemented (properly).
Some propose a solution to build a second tree of filters and apply the 2nd
one when a need for it
2004 Jan 08
14
Strange behavior deleting filters
Hi list, I''m playing with tc and found a strange behavior when I try to
delete filters. For example, this simple scenario:
tc qdisc add dev eth1 root handle 1: htb default 100
tc class add dev eth1 parent 1: classid 1:1 htb rate 128Kbit
tc class add dev eth1 parent 1: classid 1:2 htb rate 258Kbit
tc class add dev eth1 parent 1: classid 1:100 htb rate 32Kbit
tc filter add dev eth1 parent