LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Limit Downloading + X_forwarded_for option in squid (https://www.linuxquestions.org/questions/linux-enterprise-47/limit-downloading-x_forwarded_for-option-in-squid-824514/)

tarik123 08-06-2010 02:16 AM

Limit Downloading + X_forwarded_for option in squid
 
Dear All

I m using squid 2.7 Stable 9 and Dansguardian 2.10.1.1, i have compiled both squid and dansguardian, i want use follow_x_forwarded_for in squid make clients IPs visible to squid, but this option is not working correctly, i have also set x_forwarded_for=on in dansguardian and my squid configurations for x_forwarded_for are as under
acl my_other_proxy srcdomain 172.29.13.211
follow_x_forwarded_for allow localhost
follow_x_forwarded_for allow my_other_proxy

the IP 172.29.13.211 is the ip which i set in dansguardian configuration file as proxy ip

Please also help if there is any option in dansguardian to put a limit on downloadable files suppose each user can download upto 10 MB if the file is bigger than 10 MB it will be denied.
also help me if there is any other technique in RedHat Linux to control bandwidth etc.

Thanks in advance

zerkill 09-04-2010 12:35 PM

squid
 
for limiting bandwidth u can use Delay Pools in squid.

zerkill 09-04-2010 12:37 PM

squid
 
You can also get some info here...
www.configure-instantly.blogspot.com


All times are GMT -5. The time now is 01:18 AM.