similar to: Troubles with tc/iptables - per TCP session tc

Displaying 20 results from an estimated 3000 matches similar to: "Troubles with tc/iptables - per TCP session tc"

2004 Dec 02
1
FW: differing rate and ceil values
Hello all, when running tc -s -d class show dev eth, the parent class rate and ceil are different to the configuration? his is the first time I have used HTB so I may have made some basic mistakes. Thanks in advance Shaun Output as follows: class htb 1:1 root rate 760Mbit ceil 760Mbit burst 997641b/8 mpu 0b cburst 997641b/8 mpu 0b level 7 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
2006 Feb 15
1
[Bug 450] New: connbytes not working
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=450 Summary: connbytes not working Product: iptables Version: 1.3.5 Platform: i386 OS/Version: All Status: NEW Severity: normal Priority: P2 Component: iptables AssignedTo: laforge@netfilter.org ReportedBy: vselico@vselico.sk When
2002 May 23
3
ConnBytes iptables match
Hi, as I promised in LARTC list I created patch for new connbytes match. It matches packets which bellongs to connection which transfered given range of bytes. For those interested it is at http://luxik.cdi.cz/~devik/connbytes/ It was originaly meant to be used with HTB or other qdisc to reclassify long download streams to lower prio class. devik
2006 Mar 01
0
new to TC need help
Hello, I am new to TC and need some help with something that I need to do I have the following setup which works just fine but with a little problem. I need the user 172.16.1.100 in the case that it is using both classes never to exceed 256kbit now it goes up to 512kbit because both classes offer 256 each. How can I finally restrict this user to only 256kbit no matter what.
2005 Dec 15
3
tc strange behaviour
hi all, I''m trying to do the following: tc qdisc add dev eth0 root handle 1: htb default 15 tc class add dev eth0 parent 1:0 classid 1:1 htb rate 1mbit tc class add dev eth0 parent 1:1 classid 1:15 htb rate 512kbit ceil 1mbit what I expect: limit outgoing traffic to 1mbit, start rate is 512kbit and let it grow up to 1mbit (correct me if i''m wrong here) so, here is the problem
2005 Jan 19
3
tc limit
Hi I have been playing with tc. I''m using htb and sfq. I tried to setup shaping of every ip address within a /20. I found that there must be an upper limit of about 2096 on the number of rules (classes, qdiscs or filters). I was testing a /20 which gives 4096 classes, qdiscs and filters. I''m using hashkey to optimize processing of frames. When executing the script below - it
2004 Dec 28
1
Newb question: tc shedulers on 2 interfaces
Hi all! I''m new to this list, and hope for some clarity in this matter: I have a home-gateway with linux-2.6.9 and iproute2 (ver:2.6.9). My following tc syntaxes. # eth0 internet scheduleing are: tc qdisc add dev eth0 root handle 1: htb default 20 tc class add dev eth0 parent 1: classid 1:1 htb rate 512kbit burst 6k tc class add dev eth0 parent 1:1 classid 1:10 htb rate 512kbit burst
2005 Sep 27
2
QoS-iptables-iproute-tc (doesn''t work together:S)
Hello i''m having some issues trying to match packets using iptables mark, iproute filter and tc filter.- i mean, when i do iptables -t mangle -A INPUT -p tcp --dport 80 -j MARK --set-mark 20 iptables -t mangle -A PREROUTING -p tcp --dport 25 -j MARK --set-mark 10 iptables -t mangle -A FORWARD -p tcp -i eth0 -o eth1 --dport 25 -j MARK --set-mark 10 $TC qdisc del dev $INET_IFACE root $TC
2004 Jul 07
1
connmark+connbytes
Hello! Maybe someone needs connmark and connbytes working together? See attached file compatible with pom-ng-20040621 (I called it connmarkbytes :)). Kind Regards, Tomasz Chilinski
2007 Jan 18
0
[Bug 533] New: PANIC: divide by zero in xt_connbytes
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=533 Summary: PANIC: divide by zero in xt_connbytes Product: netfilter/iptables Version: linux-2.6.x Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: ip_tables (kernel) AssignedTo: laforge@netfilter.org
2005 Nov 22
0
tc filter: match tcp src vs. match ip sport
Hi all :)) This matches what I want: tc filter add dev eth0 protocol ip parent 1:0 prio 9 u32\ match ip sport 0x3000 0xf000 flowid 1:22 and traffic goes to 1:22, but this one doesn''t match: tc filter add dev eth0 protocol ip parent 1:0 prio 9 u32\ match tcp src 0x3000 0xf000 flowid 1:22 I don''t understand why the first one matches and the
2005 Nov 25
0
[RESEND] tc filter: match tcp src vs. match ip sport
Hi all :)) Sorry for asking again, but got no answers and google doesn''t give useful information (seems like "nexthdr" doesn''t work right, but I don''t know why...). I really want to know what am I doing wrong... This filter matches what I want: tc filter add dev eth0 protocol ip parent 1:0 prio 9 u32\ match ip sport 0x3000 0xf000
2005 May 08
1
tc/htb QoS script
hello folks, this is my first post to that list. so I hope I am not completely OT here :-) reading the (excellent!) lartc and then writing my own qos-script I have still some open questions which I will try to formulate now: - "Now we can optionally attach queuing disciplines to the leaf classes. If none is specified the default is pfifo." - I can''t find info about Pfifo.
2007 Jun 14
0
tc: Trying to understand what I have done
Hi list, Up front: A bit sorry this post turned out a wee bit long I work as a system administrator for the Atlas College in the Netherlands. We are what is called a merger school consisting of 5 separate (more or less) locations and one central administration. The network is a class A network (10.0.0.0/8) in which all locations have there own subnet (i.e. 10.9.0.0/16 for the central
2004 Jan 31
5
tc filter protocol arp question
Hello, I try to shape dhcp requests, but filter rule don''t work. My script is: # Init Shaper for dev eth1 tc qdisc del dev eth1 root # Init shaper root for dev eth1 tc qdisc add dev eth1 root handle 2: htb default 200 # Default shaper for dev eth1 tc class add dev eth1 parent 2:0 classid 2:200 htb rate 10Mbit prio 10 tc qdisc add dev eth1 parent 2:200 sfq perturb 10 # Init DHCPD
2007 Nov 28
5
tc doesn''t shape correct
Hi All, I''m configuring my natting-firewall to do some tc shaping. Some traffic has to be shaped on 30mbit, some on 10mbit all the others are unlimited. The configuring and filtering works correctly. The traffic that is shaped at 30mbit is correct, but the traffic that is shapped at 10mbit only gets to 100KB/sec. It is on a device configured with bonding (both in and out interface).
2005 Dec 16
1
tc strange behaviour (some discoveries)
hi All, seems like a kernel problem when I do the following on kernel 2.6.12.5 tc qdisc add dev lo root handle 1: htb default 1 tc class add dev lo parent 1: classid 1:1 htb rate 512kbit ceil 1mbit all works as expected (traffic is limited to 1mbit), but this doesn''t work the same way on kernel 2.6.14.3, and actually only ceil has effect (in my previous message I mentioned
2006 Dec 06
0
Configuring a QoS Box + Cliente Bandwidth Control
Hello all, I am trying to configure a linux box to make some QoS into my netowork and, at the same box, control my clients bandwidth. I have this classes created: ---------------------------------------------------------------- UP="eth0" # wan infocontabil DL01="eth2" # lan clientes $TC qdisc del dev $DL01 root 2> /dev/null >
2006 Jun 27
0
tc filter problems, please help...
Hi Guys, I have a couple of problems that are driving me nuts. This is the script I am using to setup restirctions and bw limitations: #Adding root class. tc qdisc add dev eth0 root handle 1: htb default 10 &>/dev/null tc class add dev eth0 parent 1: classid 1:1 htb rate 100Mbit ceil 100Mbit burst 2k quantum 1536 tc qdisc add dev eth1 root handle 1: htb default 10 &>/dev/null tc
2002 Jan 09
0
Re: iptables mark & iproute]
hi all At last i got sucess !.. but am confused y it didnt work earlier..the difference today was that i reinstalled RH7.2 & complied kernel 2.4.16(not 17).. rest was same..... & the bandwidth too is under control!.. is it normal for to get more than said bandwidth--i mean i restricted a network with 8Kbit(with same script as below) but still was able to get a download(ftp) of