Re: [LARTC] shaping by packet count rather than bytes ?

2007-10-05 Thread Jens Thiele
On 5 Okt 2007, [EMAIL PROTECTED] wrote: In wireless networks it can be handy to shape by packet rate rather than bytes/s (because capacity is packet-rate-limited). Has anyone done any work on packet-rate shaping ? Don't know any wireless details. But I guess in the end it is very similar to

Re: [LARTC] shaping by packet count rather than bytes ?

2007-10-05 Thread Peter V. Saveliev
skip / Has anyone done any work on packet-rate shaping ? iptables: limit, hashlimit, dstlimit work on pps basis. -- Peter V. Saveliev ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Re: [LARTC] shaping by packet count rather than bytes ?

2007-10-05 Thread David Boreham
Peter V. Saveliev wrote: skip / Has anyone done any work on packet-rate shaping ? iptables: limit, hashlimit, dstlimit work on pps basis. doh ! yes, I'd thought about that stuff but somehow discounted it as 'not worthy' for traffic shaping. Thanks.

Re: [LARTC] shaping by packet count rather than bytes ?

2007-10-05 Thread David Boreham
David Boreham wrote: iptables: limit, hashlimit, dstlimit work on pps basis. doh ! yes, I'd thought about that stuff but somehow discounted it as 'not worthy' for traffic shaping. Actually, I remember now why iptables doesn't work : All it does is drop the excess packets over the limit.

Re: [LARTC] shaping by packet count rather than bytes ?

2007-10-05 Thread Peter V. Saveliev
В сообщении от Saturday 06 October 2007 05:16:38 David Boreham написал(а): David Boreham wrote: iptables: limit, hashlimit, dstlimit work on pps basis. doh ! yes, I'd thought about that stuff but somehow discounted it as 'not worthy' for traffic shaping. Actually, I remember now why

Re: [LARTC] shaping by packet count rather than bytes ?

2007-10-05 Thread David Boreham
Peter V. Saveliev wrote: skip / Simple packet drop works for ordinary tcp congestion algorithms as a channel overload, and tcp decreases speed. So works RED policing filters and so on. Well...red isn't exactly 'simple' packet drop :) In fact, if I could combine packet-rate-limit with red

Re: [LARTC] shaping using source IP after NAT

2007-06-14 Thread Marco Aurelio
I think it is better to use an IFB device and shape the upload traffic using source IP before the NAT http://linux-net.osdl.org/index.php/IFB On 6/13/07, VladSun [EMAIL PROTECTED] wrote: Ethy H. Brito написа: On Mon, 11 Jun 2007 22:02:31 +0300 VladSun [EMAIL PROTECTED] wrote: TC is

Re: [LARTC] shaping using source IP after NAT

2007-06-14 Thread Ethy H. Brito
PLEASE disregard this. My MUA gone crazy and resent a lot of my emails today. Forgive me. Ethy On Wed, 13 Jun 2007 15:18:28 -0300 Ethy H. Brito [EMAIL PROTECTED] wrote: On Mon, 11 Jun 2007 22:02:31 +0300 VladSun [EMAIL PROTECTED] wrote: TC is performed after POSTROUTING, so you can

Re: [LARTC] shaping using source IP after NAT

2007-06-14 Thread Ethy H. Brito
On Thu, 14 Jun 2007 16:25:14 -0300 Marco Aurelio [EMAIL PROTECTED] wrote: I think it is better to use an IFB device and shape the upload traffic using source IP before the NAT http://linux-net.osdl.org/index.php/IFB Before NAT?!?! Where does IFB hook netfilter tables?? Before mangle

Re: [LARTC] shaping using source IP after NAT

2007-06-13 Thread Ethy H. Brito
On Mon, 11 Jun 2007 22:02:31 +0300 VladSun [EMAIL PROTECTED] wrote: TC is performed after POSTROUTING, so you can not do any IP related TC filtering. You can use CPU friendly patches for iptables like IPMARK or IPCLASSIFY. Take a look at them. Ok. Can someone point me the right direction

Re: [LARTC] shaping using source IP after NAT

2007-06-13 Thread VladSun
Ethy H. Brito написа: On Mon, 11 Jun 2007 22:02:31 +0300 VladSun [EMAIL PROTECTED] wrote: TC is performed after POSTROUTING, so you can not do any IP related TC filtering. You can use CPU friendly patches for iptables like IPMARK or IPCLASSIFY. Take a look at them. Ok. Can someone

Re: [LARTC] shaping using source IP after NAT

2007-06-11 Thread Marco Aurelio
Use IFB which seems to be already on kernel 2.6 On 6/11/07, VladSun [EMAIL PROTECTED] wrote: Ethy H. Brito написа: Hi all I am using a pass trhu router and I need to QoS some clients output by its IP address. The problem is that QoS is due after NATing. Is there some clever way of doing

Re: [LARTC] Shaping incoming VoIP traffic fails

2006-11-16 Thread Larry Brigman
On 11/15/06, Daniel Musketa [EMAIL PROTECTED] wrote: On Wednesday 15 November 2006 12:07, Daniel Musketa wrote: Could I setup HTB better than below? Should I reduce eth1's queue length (now 1000)? If yes, how? The txqueuelen can be changed by ip link set eth1 txqlen len I tried values

Re: [LARTC] Shaping incoming VoIP traffic fails

2006-11-16 Thread Daniel Musketa
Am Donnerstag, 16. November 2006 17:37 schrieb Larry Brigman: On 11/15/06, Daniel Musketa [EMAIL PROTECTED] wrote: I can watch traffic coming in on ppp0 with `iftop` and it never exeeds 900kbit. Why could a 2000kbit headroom be not enough for clean receiving of 80kbit VoIP data? Because

Re: [LARTC] Shaping incoming VoIP traffic fails

2006-11-15 Thread Daniel Musketa
On Wednesday 15 November 2006 12:07, Daniel Musketa wrote: Could I setup HTB better than below? Should I reduce eth1's queue length (now 1000)? If yes, how? The txqueuelen can be changed by ip link set eth1 txqlen len I tried values of 100 and 3 but can't hear an improvement. I can watch

Re: [LARTC] Shaping of pppoe clients

2006-06-01 Thread Andy Furniss
Georgi Alexandrov wrote: Kenneth Kalmer wrote: The keyword here is better, and that was my argument for using a bridge in the first place. It would appear to be easier to shape filter away from the messy scripts of pppd radius servers, but this raises the next issue. For the bridge, is the

Re: [LARTC] Shaping of pppoe clients

2006-05-24 Thread Georgi Alexandrov
Kenneth Kalmer wrote: The keyword here is better, and that was my argument for using a bridge in the first place. It would appear to be easier to shape filter away from the messy scripts of pppd radius servers, but this raises the next issue. For the bridge, is the pppoe sessions

Re: [LARTC] Shaping of pppoe clients

2006-05-23 Thread Georgi Alexandrov
Kenneth Kalmer wrote: Guys After reading through the archives I found some insightful ways to be able to shape traffic to pppoe clients from the server. I have two questions on the topic of setting up a pppoe server however... 1. The clients will all be connected to each other using a

Re: [LARTC] Shaping of pppoe clients

2006-05-23 Thread Kenneth Kalmer
On 5/23/06, Georgi Alexandrov [EMAIL PROTECTED] wrote: Kenneth Kalmer wrote: Guys 1. The clients will all be connected to each other using a normal ethernet network, the segments connected with managed switches. The capacity is roughly 500 nodes. Will these pppoe sessions interfere with

Re: [LARTC] Shaping per IP in PPPoE borrowing or sharing Uplink or Downlink

2006-04-15 Thread Anton Glinkov
If they are all on the same ethernet device, you can match them with: tc filter add dev ${DEVICE} parent 1: protocol all u32 \ match u16 0x8864 0x at -2 flowid 1:${ID} 8864 is the PPP session ethernet protocol you can play around with u32 if you want to match tos or ports and stuff.. helo

Re: [LARTC] Shaping per IP in PPPoE borrowing or sharing Uplink or Downlink

2006-04-14 Thread Martin A. Brown
Hello again Rani, : helo again. I think this question i am asking is worth: : : we know that pppoe-server creates a pppX device on each : connection done to it. So, when i have to shape, i have to shape : each pppX connection device on itself alone. What i know is that : the borrowing

Re: [LARTC] Shaping per IP in PPPoE

2006-04-11 Thread Martin A. Brown
Hello Rani, : i am currently now serving PPPoE in my area. i had a script : generated from tcng that worked perfectly before i started : serving PPPoE. the issue is not in the script it self BUT in that : tc code is not shaping on the ethernet anymore BUT INSTEAD on : the pppX devices.

RE: [LARTC] Shaping per IP in PPPoE

2006-04-11 Thread Roberto Scattini
hi, i use the roaringpenguin pppoe-server and limit the bandwidth per interface with this script: (im using freeradius plugins too, thats the reason of the /var/run/radattr.pppx file) (/etc/ppp/ip-up.d/0pppx_up) #!/bin/sh DOWN=`cat /var/run/radattr.$1 | grep 'RP-Downstream-Speed-Limit' |

Re: [LARTC] Shaping by IP's

2006-02-25 Thread Andy Furniss
Laimis wrote: If in one time 3 IP adresses using internet. TC script: DEV=eth0 # LAN SERVER_IP=192.168.1.2 # eth0 ip address tc qdisc add dev $DEV root handle 1: htb default 255 tc class add dev $DEV parent 1: classid 1:1 htb rate 384Kbit quantum 1500 tc class add dev $DEV parent 1:1 classid

Re: [LARTC] Shaping traffic bound for the NAT'ed networks whithoutimq

2006-01-11 Thread Flemming Frandsen
Yes (depending on exact setup/requirements) - it's just gone in the latest net tree it's called ifb. http://www.mail-archive.com/netdev%40vger.kernel.org/msg05208.html Hmm, this sounds interesting, although it would mean upgrading the kernel to 2.6 on a router that's hard to get to physically

Re: [LARTC] Shaping traffic bound for the NAT'ed networks whithout imq

2006-01-10 Thread Andy Furniss
Flemming Frandsen wrote: I'm trying to set up a shaper that can shape the inbound traffic to around 40 subnets, that hang on 3 different interfaces of the router. As Linux can't do ingress shaping I'm left with having to set up 3 seperate shapers, one for each internal interface. This is not

Re: [LARTC] shaping small rates

2005-12-07 Thread Sophana Kok
What do you call few seconds delay? What is your link speed, and rates? Damian Jakubowski wrote: What traffic shaper must I use to shape small rates (~1kBps) without significant latency? I have experience with htb and i now that htb is not very good solution in this case. With so low rates it

Re: [LARTC] Shaping per machine

2005-12-05 Thread Kajetan Staszkiewicz
Dnia poniedziałek, 5 grudnia 2005 13:58, Dave Weis napisał(a): That's because you are putting all /24 network into one single HTB. You have to make one HTB (SFQ for every user helps a lot too) for each computer in the network: tc qdisc del root dev eth1 tc qdisc add root dev eth1

Re: [LARTC] Shaping per machine

2005-12-04 Thread Kajetan Staszkiewicz
Dnia niedziela, 4 grudnia 2005 23:11, Dave Weis napisał(a): I'm trying to shape each machine on an interface to 256k each, but I'm getting stuck and only able to shape an entire interface to 256k. What should I be doing differently here? tc qdisc del dev eth0 root tc qdisc add dev eth0

Re: [LARTC] Shaping per machine

2005-12-04 Thread Andreas Klauer
On Sunday 04 December 2005 23:11, Dave Weis wrote: What should I be doing differently here? tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid 1:1 htb rate 100MBit ceil 100MBit tc qdisc add dev eth0 parent 1:10 handle

Re: [LARTC] shaping outboaud email

2005-11-26 Thread Nelson Castillo
I thought sending email went out on port 25? When I look with ethereal, outbound email transfers were on port 58020. The destination port is 25. The source port is chosen by the kernel. -- Homepage : http://geocities.com/arhuaco The first principle is that you must not fool yourself and you

Re: [LARTC] Shaping and forward

2005-02-08 Thread Andy Furniss
Kenneth Kalmer wrote: Lartc readers I have a peculiar problem with shaping and firewalling. My tc rules work great, below is a smaller version: #Root tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 100 #Root Class tc class add dev eth0 parent 1: classid 1:1 htb rate

Re: [LARTC] Shaping traffic with high priority hosts

2005-01-23 Thread Tóth Nándor
Hi! George Spiliotis wrote: Dear all My current setup is the following: Normal Hosts + eth0 eth1 |+--+ +--| F/W box |--- Internet |+--+ High priority hosts--+ Your questions are very typical. It

Re: [LARTC] Shaping the sum of incoming and outgoing traffic

2005-01-06 Thread Andy Furniss
Jan Rovner wrote: Hello, does anyone have a working solution for the shaping both incoming and outgoing traffic in such way, that for a given client the *sum* of incoming and outgoing traffic is somehow defined? My ISP does the same thing, it gives me just a line of a defined rate, no matter the

Re: [LARTC] Shaping the sum of incoming and outgoing traffic

2005-01-06 Thread Catalin(ux aka Dino) BOIE
Hello, Hello! See also http://www.docum.org/docum.org/faq/cache/69.html I cannot found one example on the new but maybe you have time to figure out how it works. --- Catalin(ux aka Dino) BOIE catab at deuroconsult.ro http://kernel.umbrella.ro/ ___

Re: [LARTC] Shaping traffic on heavily oversubscribed links?

2005-01-01 Thread Andy Furniss
Dimitris Kotsonis wrote: Justin Schoeman wrote: Hi all, I am having some fun with traffic shaping, and have run into an interesting situation. Here is South Africa, most internet links are heavily oversubscribed, which means that in most cases the local link is _not_ the bottleneck, and

Re: [LARTC] shaping on tcp ports

2004-12-31 Thread Paras pradhan
On Wednesday 29 December 2004 13:50, Paras pradhan wrote: hi all: the following scipt is wokring perfectly with limiting ...on limimitng per ip basis.. eth0=public static ip eth2= private ip ( 192.168.2.1) -- iptables -t mangle -A POSTROUTING -s ! 192.168.0.0/32 -d

Re: [LARTC] shaping on tcp ports

2004-12-31 Thread Stef Coene
On Friday 31 December 2004 12:44, Paras pradhan wrote: how do we mark in single iptables line using for ex: --dport 21 and -d 192.168.3.88 or have to do seperatly. I'm not sure if you can do it in 1 command. Just try it out. Stef ___ LARTC mailing

Re: [LARTC] shaping on tcp ports

2004-12-30 Thread Stef Coene
On Wednesday 29 December 2004 13:50, Paras pradhan wrote: hi all: the following scipt is wokring perfectly with limiting ...on limimitng per ip basis.. eth0=public static ip eth2= private ip ( 192.168.2.1) -- iptables -t mangle -A POSTROUTING -s ! 192.168.0.0/32 -d 192.168.2.101/32

Re: [LARTC] Shaping over multiple outgoing interfaces

2004-12-22 Thread Stef Coene
On Monday 20 December 2004 23:21, Miguel Sanz wrote: Hi, I've a router configuration with a dsl connection and two ethernet NICs. How can I control the traffic of the dsl connection when then destination of the traffic can go out of the router using two diferent interfaces? ppp -- router

Re: [LARTC] Shaping traffic on heavily oversubscribed links?

2004-12-19 Thread Jason Boxman
On Thursday 25 November 2004 13:01, Chris Bennett wrote: Quick answer is: you can't. You need to know the bandwidth so that you can control the queue. Indeed. I suffer from the same problem with my PPPoATM link, where my shaping configuration assumes I'm operating over an Ethernet link when

Re: [LARTC] Shaping with htb and VLAN

2004-12-19 Thread Stef Coene
On Friday 26 November 2004 00:59, [EMAIL PROTECTED] wrote: Hello At first I must tell you that I´m a real newbie with Linux (and english as well...) I´m using 2 vlans and shaping works quite well without vlan Now I want to do load balancing at these vlans. Any vlan should get the same

Re: [LARTC] Shaping traffic on heavily oversubscribed links?

2004-12-19 Thread Dimitris Kotsonis
Justin Schoeman wrote: Hi all, I am having some fun with traffic shaping, and have run into an interesting situation. Here is South Africa, most internet links are heavily oversubscribed, which means that in most cases the local link is _not_ the bottleneck, and shaping on the local link does

Re: [LARTC] Shaping traffic on heavily oversubscribed links?

2004-11-26 Thread Justin Schoeman
Thanks everybody for your advice... This is going to be an interesting one to try and solve ;-). -justin Justin Schoeman wrote: Hi all, I am having some fun with traffic shaping, and have run into an interesting situation. Here is South Africa, most internet links are heavily oversubscribed,

Re: [LARTC] Shaping traffic on heavily oversubscribed links?

2004-11-25 Thread Rick Marshall
it's worse than that. we faced the same problems in china. an oversubscribed adsl system. in fact there is more than one problem with the public internet in these scenarios. the first as you have identified is the lack of capacity. then you can't control the downstream routing - eg traffic

Re: [LARTC] shaping without delay

2004-11-02 Thread Stef Coene
On Sunday 31 October 2004 18:51, you wrote: Where can I get some tricks to minimize the delay or latency? Actually, I have tried some configurations but I still get too big delay or latency. The prio parameter of htb classes can help. Remember, you can not remove the delay. You can only give

Re: [LARTC] shaping without delay

2004-10-31 Thread Stef Coene
On Saturday 30 October 2004 23:13, Avidianto Widodo wrote: Hi, How can I configure shaping bandwidth on htb/cbq without delay or latency? Please give some example. You can not shape without delay or latency. You can only try to minimize the delay or latency for certain connections. Stef --

Re: [LARTC] shaping without delay

2004-10-31 Thread Tiago Bruno Espírito Santo Silva
Minimize having a good CPU...every thing that travels lost some time...even in the wire or in the air :) or in the vacum the comunications with the MARS have biig delays :) Stef Coene wrote: On Saturday 30 October 2004 23:13, Avidianto Widodo wrote: Hi, How can I configure shaping

Re: [LARTC] Shaping on Ports, multiple IP Address's, and SFQ

2004-10-14 Thread Andreas Klauer
Dave Scott wrote: Another question, I was also thinking of limiting everyone's bandwidth to like say 500K each, so no connection can get more then 500k, then it would take about 6 people using full connections to max the line. And then what? If the line is maxed, then it's maxed, wether that's

Re: [LARTC] shaping outbound ftp traffic

2004-10-11 Thread Ow Mun Heng
On Fri, 2004-10-08 at 23:46, [EMAIL PROTECTED] wrote: Yes, inbound is affected even though outbound transfers are suspended. The inbound in shaped to 39K. This is what totally confuses me. I thought with my script that only traffic leaving source ports 5-51000 65437 should be

Re: [LARTC] shaping outbound ftp traffic

2004-10-11 Thread Ow Mun Heng
On Fri, 2004-10-08 at 23:46, [EMAIL PROTECTED] wrote: Yes, inbound is affected even though outbound transfers are suspended. The inbound in shaped to 39K. This is what totally confuses me. I thought with my script that only traffic leaving source ports 5-51000 65437 should be

Re: [LARTC] shaping outbound ftp traffic on 1 nic not working properly

2004-10-08 Thread chris
Is the inbound rate affected even if there are no outbound transfers? Is the speed actually being limited to a certain speed, or are you just noticing that the inbound/upload traffic is slower than it should be. The reason I ask is because you're tagging all outbound ftp-data traffic (ports

Re: [LARTC] Shaping not working

2004-09-30 Thread Cow
Try this link, might help: http://omg.wp.gg/wshaper-howto/ - Original Message - From: Stephan M. Ott To: [EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 8:57 AM Subject: [LARTC] Shaping not working Hi folks, I’m trying to shape two clients in

Re: [LARTC] shaping fails when using p2p apps?

2004-09-23 Thread Damjan
We're running a small ISP and all the users are shaped to 384/512/768k both ways (whichever package they choose). The router is a linux (debian sarge), the kernel is 2.4.25 right now. All users are getting 10.1.1.* ip addresses (eth1) and eth0 connects to the isp using ethernet (via a media

Re: [LARTC] Shaping weirdness

2004-08-13 Thread sandr8_NOSPAM_
what's your MTU size? Scrive micah milano [EMAIL PROTECTED]: I've been following the HOWTO, and reading mailing list discussions about throttling bandwidth, and have had some success, but I just want to tie off some loose ends. Essentially what I am wanting to do is to keep our bandwidth

Re: [LARTC] shaping marked packets

2004-07-27 Thread George Alexandru Dragoi
tc qdisc del dev ethx root tc qdisc add dev ethx root handle 1: htb tc class add dev ethx parent 1: classid 1:1 htb rate 30kbps tc filter add dev ethx parent 1: prio 0 protocol ip handle 1 fw flowid 1:1 On Tue, 27 Jul 2004 20:07:37 -0400, nix4me [EMAIL PROTECTED] wrote: Hi, I am trying to

Re: [LARTC] shaping passive ftp traffic

2004-07-21 Thread mjoachimiak
I coud possibly help but I'm using tc + htb and dont know anything about wondershaper. If you want a script I could do it for you. - Original Message - From: nix4me [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 2:42 AM Subject: [LARTC] shaping passive ftp traffic

RE: [LARTC] shaping passive ftp traffic

2004-07-21 Thread Piszcz, Justin Michael
Have you tried limiting the maximum outgoing bandwidth in proftpd itself? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 10:25 AM To: lartc; nix4me Subject: Re: [LARTC] shaping passive ftp traffic I coud

Re: [LARTC] shaping passive ftp traffic

2004-07-21 Thread mjoachimiak
:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 10:25 AM To: lartc; nix4me Subject: Re: [LARTC] shaping passive ftp traffic I coud possibly help but I'm using tc + htb and dont know anything about wondershaper. If you want a script I could do it for you

Re: [LARTC] shaping a ciber cafe

2004-06-18 Thread Rio Martin
On Friday 18 June 2004 20:18, ThE LinuX_KiD wrote: Hi, I'm looking for a script in order to do traffic control on a ciber cafe LAN, with linux router. Ciber has about 40 hosts, and I haven't much bandwidth (512kbit). Also, I've a squid cache and it works very good! I've found Jim QoS

Re: [LARTC] shaping

2004-06-01 Thread Abraham van der Merwe
Hi Mike @2004.05.31_15:17:21_+0200 I have thought of that, but that is not ideal for a couple of reasons, the two most important being: (a) You can't add 1 leaf node at a time with HTB or CBQ which makes it rather messy to add large numbers of

RE: [LARTC] shaping

2004-05-31 Thread Mike
Not the answer you're looking for, but why not just specify your total bandwidth being much larger than your interface actually is and then subdividing into your groups? Mike. -Original Message- From: Abraham van der Merwe [mailto:[EMAIL PROTECTED] Sent: Monday, May 31, 2004 8:58 AM

Re: [LARTC] shaping domain names(www.xyz.com)

2004-05-09 Thread Michael Renzmann
Hi. Stef Coene wrote: But tc sees the fwmark value that iptables has attached to a packet, right? Hence the idea to accomplish the destination host distinction with iptables-rules, setting fwmark accordingly and let tc decide on the different fwmark values. But when do you see the hostname? In

Re: [LARTC] shaping domain names(www.xyz.com)

2004-05-08 Thread Stef Coene
On Saturday 08 May 2004 09:08, Michael Renzmann wrote: Hi. Stef Coene wrote: You could achieve this by using different firewall marks for the different traffic classes, and shape upon that marks. IIRC there is an iptables-extension available that allows to match strings, so you could try to

Re: [LARTC] shaping domain names(www.xyz.com)

2004-05-07 Thread Michael Renzmann
Hi. jayesh rathod wrote: Is there any way by which we can shape domain name(not by IP address) Eg : suppose i want to shape tarrif to a particular domain www.xyz.com which has multiple ips and i am not aware of there ips You could achieve this by using different firewall marks for the

Re: [LARTC] shaping domain names(www.xyz.com)

2004-05-07 Thread Stef Coene
On Friday 07 May 2004 15:37, Michael Renzmann wrote: Hi. jayesh rathod wrote: Is there any way by which we can shape domain name(not by IP address) Eg : suppose i want to shape tarrif to a particular domain www.xyz.com which has multiple ips and i am not aware of there ips You could

Re: [LARTC] shaping bursty www-traffic

2004-02-23 Thread Dmitry Labutcky
Hello, Possible solution is make smaller burst parameters: tc class add dev $DEV parent 1:0 classid 1:122 htb rate 12kbit ceil 16kbit burst 1500 prio 3 In this case pages whith size more than 1500 bytes will limit outgoing speed. Good evening, everybody! I have a simple question about

Re: [LARTC] Shaping Device Aliases

2004-01-28 Thread Martin A. Brown
Gordan, I've noticed that you are trying to use aliased IP addresses and traffic control together, and you are a bit frustrated that tc doesn't handle aliased interface names. : I understand that device aliases (e.g. eth2:3) are not shapeable. : Does anybody know if this functionality is

Re: [LARTC] Shaping inbound ok, outbound wrong

2004-01-19 Thread Stef Coene
On Monday 19 January 2004 18:08, Gastón wrote: Hi, I´m shaping traffic using htb on both interfaces, I noticed that shaping download traffic is workinggreat but shaping upload traffic is not working at all (no sent packets, no dropped, no overlimits) If you don't have dropped packets, you are

Re: [LARTC] Shaping inbound ok, outbound wrong

2004-01-19 Thread gaston
PROTECTED], [EMAIL PROTECTED] Date: Mon, 19 Jan 2004 19:22:53 +0100 Subject: Re: [LARTC] Shaping inbound ok, outbound wrong On Monday 19 January 2004 18:08, Gastón wrote: Hi, I´m shaping traffic using htb on both interfaces, I noticed that shaping download traffic is workinggreat but shaping

Re: [LARTC] Shaping inbound ok, outbound wrong

2004-01-19 Thread Damion de Soto
Yes, I think my problem is on the filters. Actually I`m quite confused. If I have eth0 facing the link and eth1 facing the LAN. I should shape download in eth1 and upload in eth0, right? Correct. So, for example I should use this filter for shapìng upload tc filter add dev eth0 parent 1:0

Re: [LARTC] Shaping Device Aliases

2004-01-15 Thread Damion de Soto
Gordan Bobic wrote: I understand that device aliases (e.g. eth2:3) are not shapeable. Does anybody know if this functionality is planned in the future? None of the new(er) networking tools recognise device aliases, because on all recent linux releases, aliases don't exist. the ethX:X notation is

Re: [LARTC] Shaping services and users (2nd time)

2003-10-09 Thread Phill
Oh, I am sorry, I knew that, it's jsut that I was playing with the numbers and I didn't check the sums. I know how to shape traffic coming from different users, ..protocol ip dst IP...etc, And I know how to shape traffic from each service. I just don't know how to glue them together. So what

Re: [LARTC] shaping incoming with ingress

2003-07-31 Thread Stef Coene
On Thursday 31 July 2003 05:00, Martin A. Brown wrote: Good questions Damion, : I've noticed as of late, everyone saying 'you can't shape incoming : traffic' but the best solution is to use the imq device. Well(you'll love this) the reason everyone is saying you can't shape incoming

Re: [LARTC] shaping incoming with ingress

2003-07-31 Thread Stef Coene
On Thursday 31 July 2003 05:55, Rio Martin. wrote: On Thursday 31 July 2003 10:00, Martin A. Brown wrote: Well(you'll love this) the reason everyone is saying you can't shape incoming traffic is because you can't shape incoming traffic (without IMQ). Well, i shape incoming traffic

Re: [LARTC] shaping incoming with ingress

2003-07-31 Thread Stef Coene
On Thursday 31 July 2003 12:00, Rio Martin. wrote: On Thursday 31 July 2003 16:46, you wrote: If I understand correctly, you have 1 router with 2 nics. So you shape incoming traffic on nic1 by shaping outgoing traffic on nic2. This is fine for your setup, but if you 3 nic's and you are

Re: [LARTC] shaping incoming with ingress

2003-07-30 Thread Rio Martin.
On Thursday 31 July 2003 10:00, Martin A. Brown wrote: Well(you'll love this) the reason everyone is saying you can't shape incoming traffic is because you can't shape incoming traffic (without IMQ). Well, i shape incoming traffic without IMQ (: I made my bandwidth.manager is on top of

Re: [LARTC] Shaping (But not on Linux)

2003-06-17 Thread Nickola Kolev
On Tue, 17 Jun 2003 19:14:11 +0200 Daniel Ortiz [EMAIL PROTECTED] wrote: : Anyone has experience on a FreeBSD Bridge with ipfw shaping? : I configured the bridge and apparently works correctly but connections : hangs without any error. : : I know that this list it's about Linux TC, sorry.

Re: [LARTC] Shaping traffic over a linux bridge

2003-05-30 Thread Hugh Buchanan
I have since fixed my problem. I am not sure if it's useful to anyone, but I'll briefly describe what I did to get it working. In the end, I am not using the 'iptables' program at all. I am using ebtables to mangle the packets on eth1 as they come in. What I was doing before with ebtables

Re: [LARTC] Shaping traffic over a linux bridge

2003-05-27 Thread Hugh Buchanan
I should add some additional comments. I have gone through most of the LARTC archives dealing with tc.. it seems a lot of people have attempted this, but no one ever posts solutions to these things. There are a bunch of archive posts I found somewhat helpful.

Re: [LARTC] Shaping traffic over multiple interfaces

2003-03-27 Thread Liu Zhiyong
How to use red qdisc? can anyone give me an example? ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Re: [LARTC] Shaping incoming traffic

2003-02-11 Thread Stef Coene
On Tuesday 11 February 2003 18:03, Andreas Wright wrote: Hello , I would like to know if it is possible to do the following ? To give priority to incoming IP packets from a specific source (IP address).For example I have packets coming in through an interface eth1 going to higher layer

Re: [LARTC] Shaping non linear protocol

2002-11-20 Thread Stef Coene
On Tuesday 19 November 2002 16:25, Eric Leblond wrote: Hi, I can't find a solution to the problem of shaping efficiently non linear protocol as passive ftp, H323. Is there a way to use netfilter conntrack to class packet ? For ftp, you can use iptables. There is a helper function that can

Re: [LARTC] shaping marked packets

2002-10-26 Thread Stef Coene
On Saturday 26 October 2002 00:25, Axel Loewe wrote: hi, i want to decrease the upload-bandwith used by a user with the uid xyz (only one programm running under this user), so i mark the packets with iptables by adding the following rule: iptables -A OUTPUT -t mangle -m owner --uid-owner xxx

Re: [LARTC] Shaping outgoing traffic over multiple devices

2002-10-16 Thread Stef Coene
On Wednesday 16 October 2002 15:11, raptor wrote: |Yes, the imq device. This is a virtual device (you can have more then | one) and you can add a qdisc to it. You can redirect packets to it with | iptables and this can be done on each interface and for in and outgoin | packets. In your case

Re: [LARTC] Shaping outgoing traffic over multiple devices

2002-10-15 Thread Stef Coene
On Tuesday 15 October 2002 22:05, Sebastian 'spax' Pape wrote: hi! I searched the archives and found this question a few times, but I didn't find any answer :o Also I didn't find any hint at the howto. I want to shape outgoing traffic over multiple devices (let's say eth0 and eth1). If I

Re: [LARTC] Shaping outgoing traffic over multiple devices

2002-10-15 Thread raptor
|Yes, the imq device. This is a virtual device (you can have more then one) |and you can add a qdisc to it. You can redirect packets to it with iptables |and this can be done on each interface and for in and outgoin packets. |In your case you have to create 1 imq device and redirect all

Re: [LARTC] Shaping known application traffic

2002-09-20 Thread Stef Coene
On Friday 20 September 2002 11:37, Sumit Pandya wrote: Hi, Many of traffic shaper products provide shaping based on certain application type. How can we implement shaping of recognized application types? Like FTP can take only 64Kbps irrelevant of weather FTP Server is running on port

Re: [LARTC] Shaping per type/size of connection

2002-07-12 Thread John Bäckstrand
Hi! Currently I'm controlling 4 Mbit Connection based on the source and destination ports, so that ftp traffic doesn't clog the line and udp packets and other time critical things (ssh, irc, etc...) get priority. Normally that works just fine, but two problems remain: - How do I recognize

Re: [LARTC] Shaping and accounting

2002-05-31 Thread Tobias Geiger
Hi. yes afaik you're right: the ipac (for 2.2) and ipac-ng (vor 2.4) just insert iptables-rules in INPUT/OUTPUT/FORWARD, and so they don't see the droped/delayed-because-of-shaping packets.. the only solution i know is ugly and/or unpractiable: read the interface-stats from /proc/net/dev. but

Re: [LARTC] Shaping

2002-04-22 Thread Stef Coene
On Monday 22 April 2002 20:57, Isak Badenhorst wrote: Hi all I am trying to shape the e-mail going out on my network. When i send some outgoing mail it just eats up all bandwidth available. I would appreciate some help. I have a 128kbit link to my provider. tc qdisc add dev eth0 root