Re: [squid-users] Limiting the bandwidth of certain fyles

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 28 Apr 2004 09:36:04 +0200 (CEST)

On Tue, 27 Apr 2004, Xavier Baez wrote:

> Should I recompile the linux kernel and patch it with Netfilter?

Won't do what you are looking for as netfilter only knows packets, not
HTTP or URLs.

But in theory it could be possible to combine the string match, connmark
and tc to shape certain types of http requests using netfilter/iptables +
tc.

> Or should I try to configure Squid so that it will limit the bandwidth
> rate of the users downloading files from my site?

More than just configuration is needed for this unless you can accept a
single global limit for all users together.

> The main problem that I have, is that when we release a popular file
> (say an EXE file), there are so many people downloading the file (mostly
> with Internet Explorer and Windows XP) than it's broken randomly. And
> users have to redownload the file again. Many times, they download an
> incomplete file, and when they try to install it, they receive an
> "Invalid data" warning.

This is some other error.

Regards
Henrik
Received on Wed Apr 28 2004 - 01:36:10 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:03 MDT