From: "Sudhir Barwal" <sudhir@guj.nic.in>
To: linux-newbie@vger.kernel.org
Subject: Re: Limiting download with Squid
Date: Fri, 14 May 2004 12:36:33 +0530 [thread overview]
Message-ID: <00a401c43982$01c4e870$0532a8c0@sudhir> (raw)
In-Reply-To: 5.1.0.14.1.20040511071352.01f93e00@celine
Hi everybody,
Thanks to Ray andWilliams. I'm little bit busy at the moment and will try
this and respond to the list.
Thanks.
Sudhir
----- Original Message -----
From: "Ray Olszewski" <ray@comarre.com>
To: <linux-newbie@vger.kernel.org>
Sent: Tuesday, May 11, 2004 7:52 PM
Subject: Re: Limiting download with Squid
> At 03:16 PM 5/11/2004 +0530, Sudhir Barwal wrote:
> >Hi everybody,
> >I have the following config :
> >Linux : RedHat 8.0
> >Squid : 2.5STABLE1
> >The above system is working as a proxy server for all the local LAN
clients.
> >The problem :
> >
> >My ISP is allowing the total download say 1GB per month. If the download
is
> >exceded that limit they are charging extra money for that.
> >
> >My Question :
> >
> >Is there a way so that I can restrict the client to say
> >10 Mb for 1 group
> >50 Mb for another group
> >and so on..
> >I want this restriction on IP basis( e.g. say for 192.168.50.1 to
> >192.168.50.50 should be allowed to download 10Mb and after that they
should
> >get the message ...something like ..."your download limit is over for the
> >current month" or simply they should not be allowed to download anything
> >beyond that limit, the same is true for other clients also and for
> >192.168.50.55 to 192.168.50.90 permissible limit should be 50Mb)
> >
> >I have looked into the "Delay pool" option of Squid but that will be
> >applicable to all the users.(Since there are some executives for whom I
have
> >to allow unlimited download, I know that they are not downloading much,
and
> >just surfing the net for 1-2 hours etc.)
> >
> >Please guide me to the right pointers.
>
> You appear to be looking in the right place.
>
> I have not actually done this myself, but as I read the docs, it is
> possible to set up multiple delay pools and apply them to different users
> (that is, IP addresses or address ranges). See
> http://quark.humbug.org.au/publications/squid/aclsquid.html for an intro
to
> this approach ... the page indicates that the issue is an important one in
> Australia. The spec includes providing for a delay pool with unlimited
> access, which would seem to be what you want for your VIP users.
>
> Delay pools themselves do not do *quite* what you want overall, but their
> function may be close enough to serve your actual needs.
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2004-05-14 7:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-11 9:46 Limiting download with Squid Sudhir Barwal
2004-05-11 14:22 ` Ray Olszewski
2004-05-14 7:06 ` Sudhir Barwal [this message]
2004-05-11 15:59 ` John T. Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00a401c43982$01c4e870$0532a8c0@sudhir' \
--to=sudhir@guj.nic.in \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox