LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Squid (https://www.linuxquestions.org/questions/linux-newbie-8/squid-446361/)

karankeryrai 05-19-2006 05:28 AM

Squid
 
Hello Friends,

I am looking for a solution.
In my organization we are using Squid Proxy Server.
Now I want to implement restriction for user downloads.
So that except some users, others can not be able to download data more that 20MB.
And I want to monitor Bandwidth utilization for which I tried SARG but I want a tool which can provide more detailed information by means of GRAPHS and Reports.

Please suggest me.

Thanks and Regards,
Karan Rai

prozac 05-19-2006 05:37 AM

### To Block downloading ###
Code:

acl extndeny url_regex -i "/etc/squid/extndeny" #make a extndeny regular file and fill it with extensions
acl download method GET

http_access allow USER_NAME extndeny #allow USER_NAME to download
http_access deny extndeny download
http_access deny extndeny

Use MRTG if you want graphs and all that fancy stuff.

SkyEye 05-21-2006 04:37 PM

Please see your documentation on configuring Squid. You'll have to use groups though. And you might want to use SquidGuard along with it. It makes things easier.

There are quite a lot of tools for Squid logs. Some are Windows only commercial while most are Open Source. Try a Google search and a search in FreshMeat.net. I know both the methods would work.


All times are GMT -5. The time now is 09:29 PM.