Dear All,
I just tried to use Squid 3 S6. This is my first installation as I used
Squid 2 so far.
I found warning message :
2008/05/21 10:07:08| WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of
'0.0.0.0/0.0.0.0'
2008/05/21 10:07:08| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored
to keep splay tree searching predictable
2008/05/21 10:07:08| WARNING: You should probably remove '0.0.0.0/0.0.0.0'
from the ACL named 'all'
Here is the squid.conf :
http_port 192.168.1.1:8080 transparent
hierarchy_stoplist cgi-bin ?
hierarchy_stoplist hotmail.com
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
#acl apache rep_header Server ^Apache
#broken_vary_encoding allow apache
cache_mem 8 MB
cache_dir aufs /cache/objects/ 10000 16 256
cache_access_log /cache/logs/access.log
cache_log /cache/logs/cache.log
cache_store_log /cache/logs/store.log
pid_filename /var/run/squid.pid
url_rewrite_program /usr/local/bin/squidGuard -c
/usr/local/squidGuard/squidGuard.conf
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
half_closed_clients off
shutdown_lifetime 5 seconds
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
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 manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl our_networks src 192.168.1.0/24
http_access allow our_networks
http_reply_access allow our_networks
icp_access allow our_networks
#acl hotmail_domains dstdomain .hotmail.msn.com
#acl ie6 browser MSIE[[:space:]]6
#header_access Accept-Encoding deny ie6 hotmail_domains
http_access deny all
http_reply_access deny all
icp_access deny all
cache_mgr Proxy@xxxxxxxxxxxx
visible_hostname Cybergate
logfile_rotate 7
acl passthrough dstdomain .hotmail.com .msn.com
always_direct allow passthrough
coredump_dir /cache/logs
ie_refresh on
Squid is running as normal as older version. But I need advise, is it
normal? What parameter did I miss?
Thx & Rgds,
Wong