Linux Traffic-Shaper and other Products
Hi All,
Anyone know about commertail product for traffic shaping which does
shapping for 2 way flow? I want to limit a client (say 192.168.1.100) at 64kbps for both upload and download. So total traffic from and to this client 192.168.1.100 should not exceed more then 64kbps.
If there is any such solution then I'm sure we can get this happend in our
Linux too. I'd be please if someone write to me on ways to achieve this or whatever thought to implement this. "rshapper" seems a nice start in this direction? What about modularizing rshapper at the level of queue and scheduling and filter... Ya its what Standred Linux Traffic-Shaper do.
Thanks for taking time to write in.
--Sumit
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 11 lines · Sumit Pandya
Hi All,
Anyone know about commertail product for traffic shaping which does
shapping for 2 way flow? I want to limit a client (say 192.168.1.100) at 64kbps for both upload and download. So total traffic from and to this client 192.168.1.100 should not exceed more then 64kbps.
If there is any such solution then I'm sure we can get this happend in our
Linux too. I'd be please if someone write to me on ways to achieve this or whatever thought to implement this. "rshapper" seems a nice start in this direction? What about modularizing rshapper at the level of queue and scheduling and filter... Ya its what Standred Linux Traffic-Shaper do.
Take a look at www.allot.com. They have boxes that can shape traffic (these boxes run linux with a web-interface and use CBQ to do the traffic shaping). They cost about 15.000 USD and they do a poor job.
On the other hand, I can write you some scripts, you take an old PC with 2 NIC's and you pay ma as much as you would paid Allot :-)
What you want to do is so easy that you can do it by yourself. Just take a look at the howto, try some things out and post it to this mailing list. We will be happy to help you if you encounter a problem.
Stef
Signature · 8 lines
[email protected] More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
-- Stef Write :
Quoted 1 line
Quoted 1 line
Take a look at www.allot.com. They have boxes that can shape traffic
(these boxes run linux with a web-interface and use CBQ to do the traffic shaping). They cost about 15.000 USD and they do a poor job. On the other hand, I can write you some scripts, you take an old PC with 2 NIC's and you pay ma as much as you would paid Allot :-)
Its wonderful, It means we can also shape traffic "from and to" in our
favorite Linux Box. But sadly on our list I didn't found any clue to implement this. Infact what I found is impossibility of this solution. My quoriocity to know if there is existing solution, was against possibility of solution, not to buy solution ;-).
Quoted 1 line
Quoted 1 line
What you want to do is so easy that you can do it by yourself. Just take
a look at the howto, try some things out and post it to this mailing list. We will be happy to help you if you encounter a problem.
Hey just a min. HOWTO is documented for limiting one-way traffic. Once
again I want to clear here that total traffic mean "from and to" a computer must be limited to certain limit. Okay then help me, and many list members too ;-), and write the way or script to limiting total-traffic of a computer. Or otherwise lets go ahead to beat system like allot and coordinate for solution for this.
Thanks for taking time to write in.
-- Sumit
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 16 lines · Sumit Pandya
-- Stef Write :
Quoted 1 line
Quoted 1 line
Take a look at www.allot.com. They have boxes that can shape traffic
(these boxes run linux with a web-interface and use CBQ to do the traffic shaping). They cost about 15.000 USD and they do a poor job. On the other hand, I can write you some scripts, you take an old PC with 2 NIC's and you pay ma as much as you would paid Allot :-)
Its wonderful, It means we can also shape traffic "from and to" in our
favorite Linux Box. But sadly on our list I didn't found any clue to implement this. Infact what I found is impossibility of this solution. My quoriocity to know if there is existing solution, was against possibility of solution, not to buy solution ;-).Quoted 2 lines
Quoted 2 lines
What you want to do is so easy that you can do it by yourself. Just take
Quoted 9 lines
a look at the howto, try some things out and post it to this mailing list. We will be happy to help you if you encounter a problem.
Hey just a min. HOWTO is documented for limiting one-way traffic. Once
again I want to clear here that total traffic mean "from and to" a computer must be limited to certain limit. Okay then help me, and many list members too ;-), and write the way or script to limiting total-traffic of a computer. Or otherwise lets go ahead to beat system like allot and coordinate for solution for this.
Thanks for taking time to write in.
It's very easy. If yoy want to shape traffic from and to a computer, you need a dedicated linux box that you can put in front of that computer and that will act as a gateway. 1 NIC connected to that box and 1 NIC connected to the rest of the network. You really needs this because you can only shape traffic that leaves the NIC. When you have a dedicated box, you can shape on both NIC's and so can shape in both directions.
So we only speak from shaping in one direction, but with 2 NIC's, you can shape in both directions. Allot is doing the same thing.
Stef
Signature · 8 lines
[email protected] More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 5 lines
Hey just a min. HOWTO is documented for limiting one-way traffic. Once
again I want to clear here that total traffic mean "from and to" a computer must be limited to certain limit.
once again, some advertisement for my bytelimit patch ... :-) you can use it to limit the traffic going thru an iptable rule. so, if this rule is checked by input and output traffic, it will limit both, using the same quota. the patch is available at
http://etudiant.univ-mlv.fr/~jpetazzo/bytelimit.tgz
(that must be at least the 4th or 5th time I post about my patch, but it looks like it could be helpful to a lot of people ;-))
Jerome Petazzoni <skaya at enix dot org>
--
Windle shook his head sadly. Five exclamation marks, the sure sign of an insane mind.
(Reaper Man)
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 3 lines
once again, some advertisement for my bytelimit patch ... :-) you can use it to limit the traffic going thru an iptable rule.
Well, then I'll advertise my rshaper, available from
ftp://ar.linux.it/pub/rshaper
and also registered in freshmeat. It does one-way and two-way shaping, for 2.4 and (with patch to network driver) for 2.2/2.0. No patch required for 2.4, just insmod and rshapercfg.
/alessandro
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 3 lines
once again, some advertisement for my bytelimit patch ... :-) you can use it to limit the traffic going thru an iptable rule.
Well, then I'll advertise my rshaper, available from
ftp://ar.linux.it/pub/rshaper
and also registered in freshmeat. It does one-way and two-way shaping, for 2.4 and (with patch to network driver) for 2.2/2.0. No patch required for 2.4, just insmod and rshapercfg.
/alessandro
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 9 lines · Alessandro Rubini
Quoted 3 lines
once again, some advertisement for my bytelimit patch ... :-) you can use it to limit the traffic going thru an iptable rule.
Well, then I'll advertise my rshaper, available from
ftp://ar.linux.it/pub/rshaper
and also registered in freshmeat. It does one-way and two-way shaping, for 2.4 and (with patch to network driver) for 2.2/2.0. No patch required for 2.4, just insmod and rshapercfg.
Alessandro,
I looked at rshaper but I wonder what it can do in 2.4 what it can't do natively. It looks a lot like the ingress shaper to me, on all interfaces.
I grant that configuration is simpler. I want to add a chapter on rshaper, can you give me some arguments why people should use it under 2.4?
Thanks!
Regards,
bert
Signature · 8 lines
http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/