Displaying 20 results from an estimated 30000 matches similar to: "prio on fw and u32"
2002 Nov 28
2
fw and u32 together...
hello...
1.
Is it possible using u32 to filter marked packets? I have found only documents to fw filter to filter marked packets...
2.
If u32 cannot filter marked packets is it possible to use fw and u32 together? I wanted to filter packets marked by iptables by fw, and packets depended on ip destination, src and others by u32, but something goes wrong :(
the filters configuration is:
$TC
2004 Aug 16
0
PRIO + filter problem
PROBLEM: My filtering rules don''t seem to be working in the latest
incarnation of my shaping script. I''ve changed from using multiple HTB
classes to just one and a PRIO qdisc, and now my filters don''t seem to have
any effect.
OVERVIEW: What I used to have is pretty much the same as the htb wondershaper
script (with some tweaks), which worked fine, but I noticed that my
2004 Oct 20
1
LARTC problems with PRIO qdisc
Hi,
I have a router/firewall running Linux (like the most of you) and I
wanted to do some traffic control.
I''ve created an root PRIO qdisc like the example in paragraph 9.5.3.1
(http://www.lartc.org/howto/lartc.qdisc.classful.html#AEN903) with three
SFQ child-classes.
I wanted for interactive (ssh, telnet, ftp-control) and dns-traffic to
be placed in the first queue, http should go in
2004 Sep 20
1
PRIO not working?
Hello,
I am using a simple script, which is based on prio. The point is,
that it is not possible to use htb on wifi networks, so I thought that prio
will work fine, but it does almost nothing.
All I wanted was to make the important packets like icmp, games, VoIP,... to
go first, and to slow the things like FTP data transfer, etc.
When I use $TC -s qdisc show dev ${IFACE}, I see, that the
2006 Feb 05
1
htb prio ...
Hey, I have such a script:
tc qdisc add dev $DEV root handle 1:0 htb default 21 r2q 2
tc class add dev $DEV parent 1:0 classid 1:11 htb rate 100mbit
tc class add dev $DEV parent 1:11 classid 1:21 htb rate 512kbit ceil
512kbit
tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil
1024kbit
tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit
2004 Aug 18
0
HTB prio question
Hi all. I have a bridge running Linux 2.4.24 that I use as a
bandwidth manager on a broadband wireless network. I''m using HTB and
SFQ to prioritize that share bandwidth on a per-cell basis. My IP
tables rules divide the traffic based on IPand traffic type (using
layer-7 filter and ipp2p). My goal is to make sure that p2p traffic
on the network doesn''t sink all of the
2002 Aug 05
1
Question on FW and htb
Hi,
I''ve try to use htb to limit outgoing traffic but it
seems that it doesn''t work. I guess the probem is the
filter. Here is my script.
#!/bin/sh
echo "Add root qdisc, default traffic go to 1:30"
tc qdisc add dev eth1 root handle 1: htb default 30
tc class add dev eth1 parent 1: classid 1:1 htb rate
100mbit burst 15k
tc class add dev eth1 parent 1:1 classid 1:10
2003 Nov 18
7
why all goes to default!!
Hi,
I have config like this ,... but all traffic goes to the default class 1:4, WHY ?
What I'' doing wrong... filters are attached to the root !
tc qdisc add dev eth0 handle 1:0 root htb default 4
tc class add dev eth0 parent 1:0 classid 1:4 htb rate 55kbit ceil 55kbit prio 7 <--default class
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 20Mbit
tc qdisc add dev
2005 Feb 01
6
combining fw and u32
Is it possible to create 1 filter rule using fw selectors AND u32
selectors?
Richard.
--
___________________________________________________________________
Recursion: see recursion
+------------------------------------------------------------------+
| Richard Lucassen, Utrecht |
| Public key and email address: |
|
2004 May 08
2
PRIO qdisc with HTB
Hi,
I''m trying to use prio qdisc with htb, however not the "usual" way (like for
example FairNAT).
Here is my idea:
Root has HTB shaping traffic to link speed -> then goes PRIO queues -> each
prio queue has HTB with sublasses for each user, should look like this:
1: htb qdisc
|
1:1 htb class
2005 Sep 28
1
Does HTB consider PRIO or not?
Hello LARTC!!!!
There is a question that kills me everytime I think about it. I just love HTB and for one year since I started to work wih it I had no complains until one day. One client needs to allocate the shared bandwith , based on priorities. The HTB as everybody knows have the CEIL parameter and also PRIO which are supposed to solve the problem. Now the problem: I configure everything, rate
2005 Jul 08
5
HTB Rate and Prio
Hi,
I wanted to implement some QOS on my Linux Box with HTB, but after some time
spend
on the configuration and tests, I still don''t manage to have some correct
results. Here are the details :
-ROOT 2000 kbits
-HIGHPRIO SUBCLASS 50 kbits prio 0
-SUBCLASS1 750 kbits prio 1
-SERVICE1 250 kbits prio 1
2007 Jul 01
1
FW filter unused/unloaded ???
Hi all.
I''ve written a small htb script that uses U32 and FW (marked by IPTABLES) filters, but TC doesn''t seem to be using the "cls_fw.o" module !!!
I''m using redhat v9.0, kernel 2.4.8-20, iproute 2.4.7-7.
Here is my script:
==========================================================
#####################
#Interface definition
#####################
2003 Jul 16
1
Problen in cbq , fw
Hi,
In my LAN Iam trying to make following setup:
- All the traffic generated by 10.0.2.1 should go to 10.0.2.11,
If
the destination of this traffic is internet than it should be
placed on its interface eth1. Outgoing traffic on eth1 should be
shaped.For this I am using fw filters and cbq.
_______
10.0.2.1 -------> 10.0.2.11(eth0 )----| A
2004 Dec 23
5
What is wrong here (continued...)?
Hi all,
Here is a RRD graph ive just made of my packet shaping setup:
http://www.overclockers.com.au/~mwp/temp/tc-1hour.png
The app creating the P-25 traffic is bittorrent on the Linux box also doing the
shaping.
P-22 and P-23 is created by FTP transfers.
Starts with bittorrent running.
At 00:03, an FTP transfer is started on "cool.comp" (windows box).
At 00:09, bittorrent is
2003 Jan 05
1
U32 filter for IPSEC (ESP)
Hi all,
After reading a lot and searching on the INternet, I want to filter ASP
and/or AH traffic
According to /etc/protocols ESP and AH are IP protos 50 and 51
so this u32 filter should work ? (I can use fw filter because the
firewall/VPN can''t mark pakets :-(
tc filter add dev ethX parent X:0 protocol ip prio X u32 match ip protocol
50 0xff flowid X:XX ?
Can someone confirm this ?
2004 Oct 05
4
U32 Port Range
Hi all...
How do i set U32 to filter a port range, instead of a single port?
In normal use: source port 80 we use: "... match ip sport 80 0xffff ..."
- I know that is something about the 0xffff parameter....
I need to filter ports 1 ~ 1024 to a higher priority class... i tried with
IPTABLES MARK and TC FW, but it''s not working....
(...)
# iptables -t mangle -A PREROUTING -p
2002 Oct 08
1
how can i choose HTB''s prio
HTB and imq was used to control traffic.
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps burst 2k
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps
burst 2k prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps
burst 2k prio 2
$AC 1:2 classid 1:12 htb rate 50kbps ceil 100kbps
burst 2k
please tell me if i do not set prio, what is the
default prio? low delay class
2003 Feb 13
1
prio qdisc problem
Hello there,
I''m trying to do some prio qdisc, but it doesn''t seem to work.
Can anybody tell me why ???
here is my simple prio qdisc script:
OPTIONS="bandwidth 100mbit allot 1514 maxburst 20 prio 3 avpkt 1000"
IPTABLES="/usr/local/bin/iptables.static"
INTERNAL=eth0
EXTERNAL=eth1
tc qdisc del dev eth0 root 2>/dev/null
tc qdisc add dev eth0 root handle
2004 Dec 25
1
prio
Hi!
Could somebody tell me, what is difference between these two prio
parameters in http://lartc.org/lartc.html#AEN2241
1) tc class add dev $DEV parent 1:1 classid 1:10 htb rate ${UPLINK}kbit burst 6k prio 1
^^^^^^
AND
2) tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 match ip tos 0x10 0xff flowid 1:10