[squid-users] external helper

From: hadi <almarzuki2011_at_hotmail.com>
Date: Thu, 21 Mar 2013 01:55:12 +0300

I'm trying to configure squid with my own external helper. But doesn't take
Im getting error msg

[root_at_host1 squid]# ./sbin/squid
2013/03/21 01:41:19| Can't use proxy auth because no authentication schemes
are fully configured.
FATAL: ERROR: Invalid ACL: acl test2 external test1

Squid Cache (Version 3.1.23): Terminated abnormally.
CPU Usage: 0.011 seconds = 0.006 user + 0.005 sys Maximum Resident Size: 0
KB Page faults with physical i/o: 0

My squid conf as flow

[root_at_host1 squid]# grep ^[A-Za-z] etc/squid.conf

external_acl_type test1 %LOGIN /root/squidauthentication/test1

acl test2 external test1

http_access allow test2

http_access deny all

acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network acl
localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged)
machines
acl lan src 192.168.0.0/24 # my lan
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow lan
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access allow localhost
http_access deny all
http_port 3128
cache_dir ufs /usr/local/squid/var/cache 1000 16 256 cache_mem 50 MB
coredump_dir /usr/local/squid/var/cache
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
visible_hostname host1.bigmama.com
cache_effective_user squid
cache_effective_group squid
Received on Wed Mar 20 2013 - 22:55:25 MDT

This archive was generated by hypermail 2.2.0 : Thu Mar 21 2013 - 12:00:04 MDT