* [LARTC] rate limit HTTP
@ 2001-10-08 20:59 ewan
2001-10-08 22:16 ` Omar Armas Aleman
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ewan @ 2001-10-08 20:59 UTC (permalink / raw)
To: lartc
I cant figure out this traffic control malarky! how can i put a simple
bandwidh limitation on traffic to or from a given port?
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] rate limit HTTP
2001-10-08 20:59 [LARTC] rate limit HTTP ewan
@ 2001-10-08 22:16 ` Omar Armas Aleman
2001-10-08 22:22 ` Andreas Gietl
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Omar Armas Aleman @ 2001-10-08 22:16 UTC (permalink / raw)
To: lartc
> I cant figure out this traffic control malarky! how can i put a simple
> bandwidh limitation on traffic to or from a given port?
I'm new to iproute2, but what I'd do is to put a transparent proxy and use
delay pools in squid to limit bandwidth to http.
At http://www.squid-cache.org/Doc/FAQ/FAQ-19.html#ss19.8 you'll find an
example.
Of course, I'd love to see the solution with iproute2.
Omar
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] rate limit HTTP
2001-10-08 20:59 [LARTC] rate limit HTTP ewan
2001-10-08 22:16 ` Omar Armas Aleman
@ 2001-10-08 22:22 ` Andreas Gietl
2001-10-09 20:32 ` ewan
2001-10-12 6:51 ` Stef Coene
3 siblings, 0 replies; 5+ messages in thread
From: Andreas Gietl @ 2001-10-08 22:22 UTC (permalink / raw)
To: lartc
On Tuesday 09 October 2001 00:16, Omar Armas Aleman wrote:
simply mark the matching packets with ipchains/iptables and then you can
easily shape the packets with tc that have the mark set.
> > I cant figure out this traffic control malarky! how can i put a simple
> > bandwidh limitation on traffic to or from a given port?
>
> I'm new to iproute2, but what I'd do is to put a transparent proxy and use
> delay pools in squid to limit bandwidth to http.
> At http://www.squid-cache.org/Doc/FAQ/FAQ-19.html#ss19.8 you'll find an
> example.
>
> Of course, I'd love to see the solution with iproute2.
>
> Omar
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
> http://ds9a.nl/2.4Routing/
--
e-admin internet gmbh
Andreas Gietl
Roter-Brach-Weg 124a
tel +49 941 3810884
fax +49 941 3810891
mobil +49 171 6070008
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] rate limit HTTP
2001-10-08 20:59 [LARTC] rate limit HTTP ewan
2001-10-08 22:16 ` Omar Armas Aleman
2001-10-08 22:22 ` Andreas Gietl
@ 2001-10-09 20:32 ` ewan
2001-10-12 6:51 ` Stef Coene
3 siblings, 0 replies; 5+ messages in thread
From: ewan @ 2001-10-09 20:32 UTC (permalink / raw)
To: lartc
> simply mark the matching packets with ipchains/iptables and then you can
> easily shape the packets with tc that have the mark set.
heh I love this 'simply' and 'easily shape' care to elaborate? Ive read the
advanced routing howto and searched the internet for other iproute2 and tc
documentation. But I need more HELP!! :) Ive tried copying the tc example
where traffic is bandwidth limited from differnt subnets but to be honest I
wasnt sure if it worked or not. Can anyone give me an example of
ratelimiting say incoming from port 80? Lets say (for the sake of the
example) you have a 500Kb/s ADSL download stream on a static IP (eth0) and a
10.x.x.x sub net on eth1. You want to limit all traffic with source port 80
out of eth1 to half that, 250Kb/s
I know its annoying when newbies ask questions, but there seems to be a lack
of information out there. A good book recomendation would also be welcome :)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] rate limit HTTP
2001-10-08 20:59 [LARTC] rate limit HTTP ewan
` (2 preceding siblings ...)
2001-10-09 20:32 ` ewan
@ 2001-10-12 6:51 ` Stef Coene
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2001-10-12 6:51 UTC (permalink / raw)
To: lartc
On Tuesday 09 October 2001 22:32, ewan wrote:
> > simply mark the matching packets with ipchains/iptables and then you can
> > easily shape the packets with tc that have the mark set.
>
> heh I love this 'simply' and 'easily shape' care to elaborate? Ive read the
> advanced routing howto and searched the internet for other iproute2 and tc
> documentation. But I need more HELP!! :) Ive tried copying the tc example
> where traffic is bandwidth limited from differnt subnets but to be honest I
> wasnt sure if it worked or not. Can anyone give me an example of
> ratelimiting say incoming from port 80? Lets say (for the sake of the
> example) you have a 500Kb/s ADSL download stream on a static IP (eth0) and
> a 10.x.x.x sub net on eth1. You want to limit all traffic with source port
> 80 out of eth1 to half that, 250Kb/s
>
>
> I know its annoying when newbies ask questions, but there seems to be a
> lack of information out there. A good book recomendation would also be
> welcome :)
take a look at docum.org.
Stef
--
stef.coene@docum.org stef.coene@belgacom.net
More QOS info : http://docum.org/
Title : "Using Linux as bandwidth manager"
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-10-12 6:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-08 20:59 [LARTC] rate limit HTTP ewan
2001-10-08 22:16 ` Omar Armas Aleman
2001-10-08 22:22 ` Andreas Gietl
2001-10-09 20:32 ` ewan
2001-10-12 6:51 ` Stef Coene
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.