Displaying 20 results from an estimated 1000 matches similar to: "tc u32 match !port"
2007 Mar 22
8
Shape own router
On 2/19/07, Salatiel Filho <salatiel.filho@gmail.com> wrote:
> Well , thanks to imq all my client machines are now shaped and
> everything is great ...
> But now i have a doubt , is there a way to shape the traffic that goes
> to the route [doing a wget from the router for example ]?
>
>
> I have a PREROUTING IMQ0 and a POSTROUTING IMQ1 , everything is
> working like
2007 Feb 04
4
tc ingress + iptables mark problem
Hi guys , i am starting to "play" with qos in linux. Well , i am
trying to setup an ingress filter but i do not know why it is not
working.
tc add qdisc dev eth0 ingress
tc filter add dev eth0 parent ffff: protocol ip prio 1 handle 1 fw
police rate 160kbit burst 256kbit drop flowid :1
After that :
iptables -A PREROUTING -t mangle --sport 80 -j MARK --set-mark 1
So , i think this
2007 Sep 16
5
doubt about bridge qdisc
Hi guys, i have a little doubt ;
I have eth0 ethernet and eth1 wireless , and they are bridged in br0
Is there any difference in the behavior between do
tc qdisc add dev br0 root sfq
OR
tc qdisc add dev eth0 root sfq && tc qdisc add dev eth1 root sfq
--
[]''s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o
2007 May 07
2
IMQ KERNEL PANIC 2.6.17.14 AND 2.6.21.1 No chain/target/match by that name
After starting to shape local traffic now i am getting a lot of kernel
panics in tcp_retransmit, so i decided to update my kernel from
2.6.17.14 to 2.6.21.1 , the problem is that after that i get:
# iptables -t mangle -A POSTROUTING -o eth0 -j IMQ --todev 0
iptables: No chain/target/match by that name
so i can not redirect ttraffic to IMQ device.
and modules are loaded.
-
# lsmod
Module
2010 Jan 23
1
Help to fix the remaining problems when migration from windows to a linux print server
Hi, i am trying to migrate my print servers from windows to linux ,
everything is getting really nice but i still face a few problems ,
and since i don't know if i need help from cups or samba guys i will
post to both lists, so maybe someone can give me some help.
Well, i have now cups and samba working just fine, i can authenticate
my users in cups from Active Directory using winbind and
2010 Apr 22
1
PRIO qdisc + iptables TOS target
i am trying to do some traffic classification using the PRIO qdisc and
i am having a few problems.
I have a root htb class:
tc qdisc add dev imq0 root handle 1: htb default 255 r2q 1
tc class add dev imq0 parent 1: classid 1:1 htb rate 768kbit
and a child PRIO
tc class add dev imq0 parent 1:1 classid 1:99 htb rate 96kbit ceil
600kbit prio 0
tc qdisc add dev imq0 parent 1:99 prio
tc filter
2007 May 16
5
statistics and calc bandwidth traffic using tc -s qdisc show
2007 Jun 08
5
CBQ + Layer7 x Emule
Hi All ,
My first message and I have a little problem with my FC6 box trying to block
emule traffic using layer7 .
Here my network :
Internet --------- ADSL Router ------------------- FC6 Box
-------------------- Emule Box
external ADSL : Dynamic
Internal ADSL : 192.168.254.1
external FC6 : 192.168.254.3
internal FC6 : 192.168.253.1
Emule Box : 192.168.253.3
I guess that everything
2007 Dec 07
1
how RED should work ?
Hi , i am trying to understand how RED queue discipline works but i am
having a few troubles.
The parameters are MIN , MAX , LIMIT , BURST
I put LIMIT = 64Kb, so if i am not wrong it should PDROP anything over
this value , right ?
i put MIN = 8Kb , so no drops at all below this value, right ?
i put MAX = 16Kb, starts to early drop anything above this using probability P.
I put probability at
2007 Dec 17
1
doubt about esfq
In esfq README i have:
Depth sets the number of slots. If the number of active flows is greater
than the number of slots, flows will end up sharing slots and ESFQ will no
longer be fair. If you anticipate more than 128 concurrently active flows,
you should use a larger depth and probably a larger divisor (see below).
If you expect there to be far fewer than 128 concurrent flows, you
2012 Mar 12
3
--delete not working
Hi guys , i need some help. I am trying to make a full sync of two of
my servers. But i noticed a very odd thing.
If i create a directory , for example
/usr/include/SOME_FOLDER/some_file on server2
when i do :
root at server1 #$ rsync -avhH --exclude proc/ --exclude sys/ --exclude
dev/ / root at server2:/
after the whole sync, the
/usr/include/SOME_FOLDER/some_file will still be in
2007 May 19
1
Re: LARTC Digest, Vol 27, Issue 26
Hi folks...!!!
I need to generate qdisc statistics to show my 4 class (10, 20, 30, 40),
i`ve all working with HTB and so on, but i need to graph this results
e.gwith RRDTOOL.
I found a script made in perl, that can to graph my 4 class, but i need to
know which IP address on my LAN are using the bandwidth too, in other hand i
need to classify the traffic by IP to show.
This is an out of my
2007 Oct 05
2
Limit Rates in more scalable and efficient way
Hello
I''m looking for a more efficient way to limit rates to different clients.
Right now as I understand it, I have to make a class for every customer/ip-address I''d like to limit bandwidth.
This means lots of configuration if i had many customers to setup traffic shaping for.
I can filter for ip-ranges, but then all ip''s of that range share the set bandwidth of the
2006 May 27
14
HTB shaping & borrowing info
Hello to everybody,
We want integrate in a router/firewall (Debian Based, 2.6 Kernel), an HTB
shaper.
The goal is to divide the traffic for classes of workstations, at example in
three classes,
let say A, B and C.
Example:
A 70 Mb/s
B 20 Mb/s
C 10 Mb/s
If B don''t make traffic, 7/8 of 20Mb/s must be assigned to A and all the
rest at B
We have used CBQ and HTB, with poor succes.
Anybody
2007 Dec 06
3
How does one increase the output buffer size?
In 2.4 kernels, there was a [bp]fifo that could be implemented with ''tc
add'', but in 2.6 kernels, I find no way to create either of these
fifos. I am able to increase txqueuelen.
What I desire is a larger number of backlogged packetes before drops
occur.
How can the output buffer size be increased for HTB?
--
gypsy
2007 Jun 20
3
Prio class HTB
Hello everyone,
We are working on HTB with TC and would like some clarifications from
your part.
Our example is as follows. We have one HTB root class and two HTB
classes attached to it, as in this figure :
1: HTB
|
|
|
2007 Mar 28
7
(no subject)
Hi all,
I''m having a hell of a time getting my IFB to work. I know I''ve done
this before, so I''m missing something stupid. Can anybody tell me what
it might be?
Configs as follows:
--------
#!/bin/sh
modprobe ifb numifbs=1000
modprobe act_mirred
modprobe 8021q
brctl addbr br0
brctl setfd br0 0
brctl stp br0 off
brctl addif br0 eth1
brctl addif br0 eth2
ifconfig eth1
2007 Aug 26
4
HTB doesn''t give me the promised rate: cpufreq?
Hi all :)
I''ve been using a tc setup for almost two years, but at some point
(probably when I switched to kernel 2.6.x, but I''m not sure) it has
started making something very weird.
For a certain class, the rate is 125000bit and the ceil is
270000bit, but the fastest rate I get is about 75-80000bit, instead of
the "promised" 125000, *with no other traffic in
2006 Jul 27
12
Weird HTB behaviour in 2.6.17
Hello,
I''ve just compiled the kernel 2.6.17 and noticed an odd HTB behaviour.
For instance:
tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit ceil
750Kbit burst 15k
tc filter add dev eth0 parent 1:0 protocol ip prio 15 u32 match ip dst
192.168.5.1 classid 1:30
The filter works ok and the traffic to 192.168.5.1 flows through the
class 1:30, but the rate gets much higher than
2005 May 24
6
Problem with marking packets...
Hello everyone...
I have a little trouble and need some help :P
How can I check on which interface the packet is going (eth0, eth1; I
have two ISP and on eth3 little LAN), using to check it TC and IMQ? (HTB
script)
I tried to mark packets, but on chain POSTROUTING this does not work...
Maybe because packets fall on IMQ before signing.
I tried marking it on FORWARD but packets also