But then a file download will be still posiable,
Try to do it by controlling it from the router, if your router supports
QoS.
> -----Original Message-----
> From: Tristan Linnenbank [mailto:tristan@hyves.nl]
> Sent: Monday, June 12, 2006 11:41 AM
> To: cable linux
> Cc: squid-users@squid-cache.org; khankhn2@yahoo.com
> Subject: Re: [squid-users] Download Limit
>
> Maybe you could write a daemon that parses the access.log and
> counts the bytes used per ip-address. Once the bytes used per
> ip-address exceeds the limit set by you, you could add the
> ip-address to a kind of 'black list'.
>
> Write a redirector that checks the blacklist. If the
> source-ip address is in the blacklist, redirect the user to a
> page showing 'bandwidth exceeded'. If the user is not in the
> blacklist, don't redirect the URL.
>
> Or skip the redirector and use ACL's using the external black
> list file.
>
> I'm just a newbie to squid so this might be bad practice...
>
> cable linux wrote:
> > Dear All Folks,
> >
> > I want to ask one question which is that, is there a way to
> set 150MB
> > to per ip address. lets suppose
> >
> > i have below ip address i want to assign 150MB per day though squid.
> >
> >
> > 192.168.3.11
> > 192.168.3.12
> > 192.168.3.13
> > 192.168.3.14
> > 192.168.3.15
> > 192.168.3.16
> >
> > i have below ip address i want to assign 450MB per day
> >
> > though squid.
> >
> > 192.168.3.200
> > 192.168.3.201
> >
> > Is there way to do this thing with or squid or any other software
> > requires for that purpose.
> >
> > Waiting for Quick Response.
> >
> > Regards
> > Cablez
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
>
> --
> Tristan Linnenbank
> Hyves / Startphone Ltd
> Herengracht 252
> 1016 BV Amsterdam
> tel. 06-10810969
> msn. tristanlinnenbank@hotmail.com
>
Received on Mon Jun 12 2006 - 06:07:27 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:01 MDT