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@xxxxxxxxxxx