[squid-users] delay_access and external_acl

From: Sergey Shepshelevich <sergey@dont-contact.us>
Date: Tue, 29 Mar 2005 14:08:36 +0400

 
 Squid Cache: Version 2.5.STABLE9
 configure options: --bindir=/usr/local/sbin --sysconfdir=/usr/local/etc/squid
 --datadir=/usr/local/etc/squid --libexecdir=/usr/local/libexec/squid
 --localstatedir=/usr/local/squid '--enable-removal-policies=lru heap'
 --enable-truncate --enable-time-hack '--enable-auth=basic ntlm digest'
 '--enable-basic-auth-helpers=NCSA PAM MSNT SMB winbind LDAP YP'
 --enable-digest-auth-helpers=password '--enable-external-acl-helpers=ip_user
 unix_group wbinfo_group winbind_group ldap_group' '--enable-ntlm-auth-helpers=SMB winbind'
 '--enable-storeio=ufs diskd null' --enable-delay-pools --enable-snmp --enable-htcp
  --enable-forw-via-db --enable-cache-digests --disable-wccp --enable-underscores
  --disable-http-violations --enable-useragent-log --enable-arp-acl --enable-follow-x-forwarded-for
  --enable-stacktraces '--enable-err-languages=Russian-1251 English Russian-koi8-r'
  --enable-default-err-language=Russian-1251 --prefix=/usr/local i386-portbld-freebsd5.3
 
 
The configuration

===
 external_acl_type quota_aclext ttl=15 negative_ttl=15 children=1 cache=16 %LOGIN %SRC %DST /usr/local/libexec/squid/quota.pl
 acl users_quota external quota_aclext
 http_access allow ulstu_proxy_auth !users_quota
 http_access deny users_quota
 http_access deny all
 deny_info ULSTU_QUOTA users_quota
 deny_info ULSTU_CACHE_ACCESS_DENIED ulstu_proxy_auth
===

 works fine. But configuration

===
  http_access allow ulstu_proxy_auth
  http_access deny all

  pipeline_prefetch off
  delay_pools 1
  delay_class 1 1
  delay_parameters 1 100/100
  delay_access 1 allow users_quota
  delay_access 1 deny all
===
  does not work.

 I have many strings in cache.log when used "debug_options 82,9 src/doc/debug-sections.txt" in squid.conf.

  2005/03/29 13:58:40| aclMatchExternal: quota_aclext("sergey 62.76.34.18 www.yms.com.ua") = lookup needed
  2005/03/29 13:58:40| aclMatchExternal: acl="quota_aclext"
  2005/03/29 13:58:40| aclMatchExternal: quota_aclext("sergey 62.76.34.18 www.yms.com.ua") = lookup needed
  2005/03/29 13:58:40| aclMatchExternal: acl="quota_aclext"
  2005/03/29 13:58:40| aclMatchExternal: quota_aclext("sergey 62.76.34.18 www.yms.com.ua") = lookup needed

  
  http://www.yms.com.ua/doc/squid-2.5.STABLE4/ChangeLog

-- 
Sergey Shepshelevich
Ulyanovsk State Technical University
NOC, System administrator
Received on Tue Mar 29 2005 - 03:09:16 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:03 MST