Skip to contentSkip to conversation

Traffic shaping with transparent proxy

LARTC Sebastian 'spax' Pape 3 participants 5 messages Apr 14, 2003

lore
Share & tools
lore
#0 lore raw

hi!

Is there any other way than ingress-shaping if I'm running a transparent proxy on my firewall/router and want to limit http downloads? I think it is not very clever to shape the outgoing bandwidth, because I don't want to throttle bandwidth if the pages are allready cached and squid propably won't care how fast it can deliver when getting the pages from the net. Or is there any possibility to mark those packets with squid? e.g. different marks for cached/non-cached content or something like that.

best regards

Sebastian

Signature · 7 lines
Sebastian 'spax' Pape          | Better to remain silent and be thought a fool
mailto: [email protected]   | than to speak and remove all doubt.
gpg: http://p-a-p-e.de/gpg.asc |
         --- Do you want to know more? http://www.p-a-p-e.de/ ---
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw

hi!

Quoted 3 lines

If you are using Transparent cache ( Squid)
better you use delay pools, it works greate like large downloads to be controled

I'm not really up to date with delay pools, but as far as I remember they only shape the traffic of squid among all squid-users and don't know anything about the available bandwidth. So the problem to allocate bandwidth to squid (vs. other traffic like, ssh, ftp, smtp, ...) still remains or am I getting something wrong here?

best regards

Sebastian

Signature · 7 lines
Sebastian 'spax' Pape          | Better to remain silent and be thought a fool
mailto: [email protected]   | than to speak and remove all doubt.
gpg: http://p-a-p-e.de/gpg.asc |
         --- Do you want to know more? http://www.p-a-p-e.de/ ---
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Sebastian 'spax' Pape

Hi

If you are using Transparent cache ( Squid)
better you use delay pools, it works greate like large downloads to be controled

hare
----- Original Message -----
From: "Sebastian 'spax' Pape" <[email protected]>
To: <[email protected]>
Sent: Monday, April 14, 2003 7:29 PM
Subject: [LARTC] Traffic shaping with transparent proxy

Quoted 10 lines

hi!

Is there any other way than ingress-shaping if I'm running a transparent proxy on my firewall/router and want to limit http downloads? I think it is not very clever to shape the outgoing bandwidth, because I don't want to throttle bandwidth if the pages are allready cached and squid propably won't care how fast it can deliver when getting the pages from the net. Or is there any possibility to mark those packets with squid? e.g. different marks for cached/non-cached content or something like that.

Quoted 6 lines

best regards

Sebastian

--
Sebastian 'spax' Pape | Better to remain silent and be thought a

fool

Quoted 7 lines

mailto: [email protected] | than to speak and remove all doubt.
gpg: http://p-a-p-e.de/gpg.asc |

         --- Do you want to know more? http://www.p-a-p-e.de/ ---

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Sebastian 'spax' Pape

Hi

If that is the case, iam also working on same
some recomendation given in this list is

htb and imq, iam still working, hope it make help you this hint to work

hare
----- Original Message -----
From: "Sebastian 'spax' Pape" <[email protected]>
To: "hare ram" <[email protected]>
Cc: <[email protected]>
Sent: Monday, April 14, 2003 7:51 PM
Subject: Re: [LARTC] Traffic shaping with transparent proxy

Quoted 12 lines

hi!

Quoted 3 lines

If you are using Transparent cache ( Squid)
better you use delay pools, it works greate like large downloads to be controled

I'm not really up to date with delay pools, but as far as I remember they only shape the traffic of squid among all squid-users and don't know anything about the available bandwidth. So the problem to allocate bandwidth to squid (vs. other traffic like, ssh, ftp, smtp, ...) still remains or am I getting something wrong here?

Quoted 6 lines

best regards

Sebastian

--
Sebastian 'spax' Pape | Better to remain silent and be thought a

fool

Quoted 4 lines

mailto: [email protected] | than to speak and remove all doubt.
gpg: http://p-a-p-e.de/gpg.asc |

         --- Do you want to know more? http://www.p-a-p-e.de/ ---

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#4 lore raw
In reply to Sebastian 'spax' Pape
Quoted 9 lines · Sebastian 'spax' Pape

hi!

Is there any other way than ingress-shaping if I'm running a transparent proxy on my firewall/router and want to limit http downloads? I think it is not very clever to shape the outgoing bandwidth, because I don't want to throttle bandwidth if the pages are allready cached and squid propably won't care how fast it can deliver when getting the pages from the net. Or is there any possibility to mark those packets with squid? e.g. different marks for cached/non-cached content or something like that.

You can try to enable the delay pools in squid. This allows you to shape bandwidth within squid. And you can shape on the size of the fetched objects. Very handy. Big downloads are slow, small downloads are very fast.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/