Limit Downloading + X_forwarded_for option in squid


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Limit Downloading + X_forwarded_for option in squid
# 1  
Old 08-06-2010
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

SFTP with limit(l) option

Hi, I have sftp installed in some of my corporate servers (test and production). However, I notice that it does not have the limit(l) option for bandwidth limit option. Why is this? Is it because sftp was not installed with other necessary packages? How do I make sftp available with the... (4 Replies)
Discussion started by: anaigini45
4 Replies

2. Solaris

Unrecognized option: sparc-sun-Solaris2.10/bin/as: unrecognized option `-m32'

Hi, I installed some packages required by an app built with python. But when I try python setup.py install, I get the following error: /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32' Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies

3. Solaris

Limit: stacksize: Can't remove limit

Hi all, I'm using to Solaris machine. When I run a simple script this messenger come out:"limit: stacksize: Can't remove limit". Any one know the way to resolve this problem without reboot the machine? Thanks in advance. (3 Replies)
Discussion started by: Diabolist9
3 Replies

4. IP Networking

Squid vs iptables = no Squid access.log?

Hello, I have a pretty useless satellite link at home (far from any civilization), so I wanted to set up caching in order to speed things up. My Squid 2.6 runs "3128 transparent" and is set up quite well on a separate machine. I also have my dd-wrt router to move all port 80 traffic through... (0 Replies)
Discussion started by: theWojtek
0 Replies

5. UNIX and Linux Applications

SQUID proxy : How do I limit internet connectivity to X hrs/day

Hi Everyone! A friend of mine is looking for a way to limit time his kids spent on the internet. I told him he should try out Squid proxy server. He now tries to find a way to limit total time spend on the internet to "X" hours a day, at any time during the day. I remember there are built-in... (3 Replies)
Discussion started by: togr
3 Replies

6. Red Hat

reply_body_max_size to limit download size in squid

Hi All I m using squid 2.7 Stable 9 and Dansguardian 2.10.1.1, i have compiled both squid and dansguardian, i have enabled follow_x_forwarded_for in squid to make clients IPs visible to squid, i have also set x_forwarded_for=on in dansguardian, this is working fine and clients ips are visible to... (1 Reply)
Discussion started by: surfer24
1 Replies

7. Shell Programming and Scripting

recently introduced to the newer option for find...does an older option exist?

To find all the files in your home directory that have been edited in some way since the last tar file, use this command: find . -newer backup.tar.gz Is anyone familiar with an older solution? looking to identify files older then 15mins across several directories. thanks, manny (2 Replies)
Discussion started by: mr_manny
2 Replies

8. Linux

Download Limit with Linux Squid

hi dears 1) i am using squid proxy for internet sharing .. how can i allow users to download files of specific size say only 5 Mb how allow through squid.. 2) i want to trace all the user with system ip and system id (name) what are sites they are visited and how much MB they are user ... (2 Replies)
Discussion started by: surfer24
2 Replies

9. Shell Programming and Scripting

option followed by : taking next option if argument missing with getopts

Hi all, I am parsing command line options using getopts. The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument. Below is the script: while getopts :hd:t:s:l:p:f: opt do case "$opt" in -h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies

10. UNIX for Dummies Questions & Answers

Downloading

Kindly help us... Is there a way in linux how we'll be able to check which workstation is downloading files from the internet and what file is it? Please put into consideration that our linux has a firewall. Thanks (1 Reply)
Discussion started by: eric_hing
1 Replies
Login or Register to Ask a Question
squid_unix_group(8)					      System Manager's Manual					       squid_unix_group(8)

NAME
squid_unix_group - Squid UNIX Group external_acl helper SYNOPSIS
squid_unix_group [-g groupname] [-g groupname...] [-p] DESCRIPTION
This helper allows Squid to base access controls on users memberships in UNIX groups. -g groupname Specifies a group name to match. -p Also match the users primary group from /etc/passwd EXAMPLES
This squid.conf example defines two Squid acls. usergroup1 matches users in group1, and usergroup2 matches users in group2 or group3 external_acl_type unix_group %LOGIN /usr/local/squid/libexec/squid_unix_group -p acl usergroup1 external unix_group group1 acl usergroup2 external unix_group group2 group3 NOTES
By default up to 11 groups can be matched in one acl (including commandline specified groups). This limit is defined by MAX_GROUPS in the source code. AUTHOR
This manual page was written by Henrik Nordstrom <hno@squid-cache.org> squid_unix_group is written by Rodrigo Campos <rodrigo@geekbunker.org> KNOWN ISSUES
Does not understand gid aliased groups sometimes used to work around groups size limitations. If you are using gid aliased groups then you must specify each alias by name. QUESTIONS
Any questions on usage can be sent to Squid Users <squid-users@squid-cache.org> REPORTING BUGS
Report bugs or bug-fixes to Rodrigo Campos <rodrigo@geekbunker.org> or Squid Developers <squid-dev@squid-cache.org> SEE ALSO
group(5),passwd(5) Squid UNIX Group helper 12 August 2002 squid_unix_group(8)