?
Solved

Delay pool not working after quota exceeded

Posted on 2009-02-19
1
Medium Priority
?
924 Views
Last Modified: 2013-12-16
I have configure delay pool in squid to restrict download speed for particular file extension like .exe, .iso etc... I have restrict download speed by using the LDAP user name.  Delay pool is working fine. The problem is when the squish quota exceeds the delay pool is not working. Users can able to download files at full speed. If the quota not execeeds means delay pool working fine.

Kindly see my squid code

acl ldapauth proxy_auth REQUIRED
acl SQUISHLOC dst adminlinux
 acl SQUISHED1 proxy_auth -i "/etc/squid/squished"
# acl SQUISHED2 ident    "/etc/squid/squished"
acl SQUISHED3 src        "/etc/squid/squished"
# Error info that says you're squished
#deny_info ERR_QUOTA_EXCEEDED SQUISHED1
deny_info http://192.168.1.14/squish/?squished& SQUISHED1
# deny_info http://adminlinux/squish/?squished& SQUISHED2
#deny_info ERR_QUOTA_EXCEEDED SQUISHED3
deny_info http://192.168.1.14/squish/?squished& SQUISHED3
# HTTP access controls for squish
http_access allow SQUISHLOC
 http_access deny SQUISHED1
# http_access deny SQUISHED2
http_access deny SQUISHED3

delay_pools 1
delay_class 1 1
delay_parameters 1 1000/1000
acl our_networks src 192.168.1.0/24  
acl DelayDownload url_regex -i "/etc/delaydownload"
delay_access 1 allow DelayDownload
http_access allow ldapauth !SQUISHED1
0
Comment
Question by:rajasekarramasamy
1 Comment
 
LVL 27

Accepted Solution

by:
Nopius earned 375 total points
ID: 23690979
to figure out what's going wrong, enable quid ACL debug in squid.conf:

debug_options ALL,1 33,2

or more detailed:
debug_options ALL,1 33,2 28,9


then restart squid and see what happens and what rule allows access to users with overlimits.
Read here for more info: http://wiki.squid-cache.org/SquidFaq/SquidAcl#head-57ab8844e9060937c4a654e1aa7568f87cb25aef
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month16 days, 13 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question