Displaying 20 results from an estimated 7000 matches similar to: "tc filter using MASKs in mark"
2006 Aug 08
4
Info about IFB
Hi, I''m looking for info about IFB devices and how I can use it to
incomming traffic shapping.
Has IFB any web about it?
Do any body known where I can find more info about it?
I found this:
http://linux-net.osdl.org/index.php/IFB
But I can''t stand fine how to use it to allow many ifb''s devices or how
to use it with "tc actions".
Any help?
Thanks
--
2007 Jan 12
2
Example on using fwmark with masks. Please help!!
Hi,
could anyone provides any example about the use of ip route command to
force the use of one route using masks in the mark?
The configuration is:
1 LAN (zlan0) iface
N WAN (wan0 ... wanN) ifaces with static IPs and load balanced.
iptables 1.3.7
kernel 2.6.19.2
iproute 2.6.19
I''m yet setting marks into packets for QoS and its working, I now want to
set some bits (OR)
2007 Apr 18
1
[Bridge] Multilink + bridge + nat problem
Hi, I have a suspicious problem with multiple uplinks configuration.
First of all my configuration:
1) kernel 2.6.20.3
2) iptables 1.3.7
3) last iproute (for masked marks)
All wan interfaces are bridged (stp disabled) in only one interface
(wan0), all lan interfaces are bridged (stp enabled) in only one interface
(zlan0).
The wan0 bridge is to allow UPnP works.
To allow related
2004 Jan 13
2
Bridge + leased line + tc
Hi,
I can''t get traffic shaping working.
This is my situation:
-------- ------
Net1 ----- |router| -------------------- | TC | ----------- Net2
-------- leased line ------
eth1 eth0
We use the leased line for normal traffic but also for synchronisation
between 2 servers. The leased line is 2mbit. The synchronisation
2007 Jul 30
17
tc n00b
Hi everyone,
I''m new to tc but I need to use it to set up shaping on a new NAT box.
In short:
Each user must have their upload limited to 128kbit and downlink limited
to 256kbit.
Global bandwidth to be limited to 100Mbit
Interactive packets to have higher priority
200+ users, so need to match packets fast
So far I have managed to get the download limits working. However I need
to
2005 Dec 22
2
strange tc filter behavior
Hi All
I am fighting this for 3 days and could not find any reason it is not working
the way I want to (or I the way think it should).
Internet output interface = eth2 (htb qdisc)
Internet input interface = imq0 (eth2 attached - htb qdisc)
main class = imq0 1:1
sub1 = 1:ffff (default)
sub2 = 1:10 (src ports 1433/tcp or 1434/tcp or 81/tcp or 82/tcp)
sub3 = 1:11 (src and dst port 25/tcp )
2007 Sep 03
3
Classes do not receive any traffic ?
Hello everyone.
CONFIGURATION DESCRIPTION:
I have a linux box doing masquerade for two lan''s. Here is a piece of
mine network config:
eth0 : ISP , one public ip address (DSL modem)
eth1 : lan , private network address fe: 192.168.4.0/24
eth2 : wlan access point performing as lan2wlan bridge , private network
addes fe. 192.168.67.0/24
This box use 2.6.20 kernel with iptables-1.3.8
2006 Dec 11
21
iptables 1.3.7, kernel 2.6.19, ROUTE and Layer7 issues
Hi, I''m having problems with this configuration:
iptables 1.3.7 (vanilla or repackaged for fc5)
kernel 2.6.19 (vanilla)
ROUTE 1.11 (last pom-ng)
layer7-filter 2.6 (last in sf.net)
connlimit (last pom-ng)
When I try to use -j ROUTE in any chain in mangle table I have this error:
[root@myhost ~]# iptables -v -t mangle -A POSTROUTING -p tcp --dport msnp
-j ROUTE --gw
2005 Jun 02
8
How many (htb) tc classes and qdiscs are too many?
We have a Linux box that is acting as the gateway to the internet for about
400 people, typically there are not more then 50 of them using the internet
at any given time. We would like to provide different levels of access to
different users. For example 128kbps to some users and 256kbps to others.
We have considered creating a class and qdisc for each user (using htb)
however we don''t
2005 Apr 04
8
Help please with tc and iptables mark
Hello list members,
Finaly I''m here after a week of trying to subscribe to this list... pfew...
Anyway... I have a rather strange problem with tc. I am trying to police the
ingress traffic into my network using the iptables MARK feature (in mangle
table, PREROUTING) but it seems that tc filters ignore this marks and they
don''t work at all for me. Let me explain a bit more in
2007 Mar 02
8
DNAT and Load Balancing
Hi all!
After that good thread "DGD patch not detecting dead gateway" I was
able to set up a Load Balancing with ping based DGD (without Julian
Anastasov patch). But now I''m facing a new problem and tried some
options, with only partial solutions.
I made a script based on
http://www.mail-archive.com/lartc@mailman.ds9a.nl/msg16257.html (Thank
you Manish Kathuria),
2008 Aug 04
2
[LLVMdev] Ideas for representing vector gather/scatter and masks in LLVM IR
On Aug 4, 2008, at 2:02 PM, David Greene wrote:
> On Saturday 02 August 2008 16:47, Dan Gohman wrote:
>
>> * Vector Gather/Scatter
>> This would complicate analyses that look at load and store addresses,
>> but if we really want to do gather/scatter without messes, this
>> might be
>> an acceptable tradeoff.
>
> By "complicate" do you mean
2008 Aug 04
0
[LLVMdev] Ideas for representing vector gather/scatter and masks in LLVM IR
On Saturday 02 August 2008 16:47, Dan Gohman wrote:
> * Vector Gather/Scatter
>
> One way to do gather/scatter would be to extend vector types to
> support pointer element types, and extend load, store, and getelementptr
> to operate on vectors of pointers.
>
> A typical gather sequence would then look like this:
>
> %vi = load <2 x i64>* %indices ;
2008 Aug 05
0
[LLVMdev] Ideas for representing vector gather/scatter and masks in LLVM IR
On Monday 04 August 2008 17:56, Dan Gohman wrote:
> > By "complicate" do you mean "need to look at multiple addresses from a
> > single instruction?" Or is there more than that? I'm trying to
> > understand
> > all the implications.
>
> I mean just that -- we have a fair amount of code built around looking
> at the addresses of load and
2008 Aug 02
8
[LLVMdev] Ideas for representing vector gather/scatter and masks in LLVM IR
Here are some ideas that came out of brainstorming during and after
the dev meeting. Disclaimer: they're just ideas :-).
* Vector Gather/Scatter
One way to do gather/scatter would be to extend vector types to
support pointer element types, and extend load, store, and getelementptr
to operate on vectors of pointers.
A typical gather sequence would then look like this:
%vi = load <2 x
2006 Feb 06
2
p2p marking, again
Hey, one more question for ipp2p
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK
--restore-mark
iptables -t mangle -A DSL-IN -p tcp -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j MARK --set-mark 7
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --save-mark
iptables -t mangle -A DSL-IN -p udp -m ipp2p --ipp2p -j MARK
2008 Aug 05
2
[LLVMdev] Ideas for representing vector gather/scatter and masks in LLVM IR
On Tue, August 5, 2008 8:32 am, David Greene wrote:
> On Monday 04 August 2008 17:56, Dan Gohman wrote:
>> The applymask approach leverages use-def information rather than
>> what can be thought of as duplicating a subset of it, making the IR
>
> I don't understand what you mean by "duplicating" here.
If you look just at the case where every instruction in a
2007 Apr 26
1
HTB+SFQ
Hi folks,
I`ve a problem to use HTB and SFQ.
The first script, below, to show a simple configuration, does work
fine...!!!
But, in the second example, does not work, becouse i put more code to
clasify the traffic by protocol, http and ftp in this case.
Somebody can tell me the errors?
Thx, in advance.-
NOTICE: IMQ device is to asociate with ETH1 my external iface.
SCRIPT que funciona:
2002 Aug 07
11
pb with ingress policy
Hi !
I have a single host which is connected via an 512kbit ADSL link to the n=
et. I quite often use some realaudio application that uses some bandwidth =
and I want to avoid other traffic to scale that bandwidth down. So I used =
some classes (with htb) on imq0 device and applied some filters and it see=
ms to work in most cases. However, there are some sites with which downloa=
d is
2007 Feb 27
2
Creating a contended section of bandwidth with HTB and IMQ
Hi All,
I''m trying to create a contended section of bandwidth using IMQ. I have the
imq0 device up and running, with traffic passing through it.
Firstly, I need to throttle the entire device imq0 to 2mbit/s.
I would then like to add throttle rules for individual IP addresses, allowing
them to pass up to 512kbit/s each, as long as imq0 has not reached its
2mbit/s.
The configuration