I had squid running on my FBSD box, but after restarting after a
power-failure, squid doesn't allow clients to connect any more.  Here's the
cache.log after starting squid:

2003/12/18 13:51:50| Starting Squid Cache version 2.4.STABLE7 for
2003/12/18 13:51:50| Process ID 16350
2003/12/18 13:51:50| With 4528 file descriptors available
2003/12/18 13:51:50| Performing DNS Tests...
2003/12/18 13:51:50| Successful DNS name lookup tests...
2003/12/18 13:51:50| DNS Socket created on FD 4
2003/12/18 13:51:50| Adding nameserver from /etc/resolv.conf
2003/12/18 13:51:50| Adding nameserver from /etc/resolv.conf

My squid.conf file is:


hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 16 MB
cache_dir ufs /usr/local/squid/cache 200 16 256

maximum_object_size 10240 KB

cache_replacement_policy GDSF

cache_access_log /usr/local/squid/logs/access.log
cache_log /usr/local/squid/logs/cache.log
cache_store_log /usr/local/squid/logs/store.log
emulate_httpd_log on

# mime_table /usr/local/etc/squid/mime.conf
# log_mime_hdrs off
# ftp_passive on

acl localhost src
acl localclient src
acl manager proto cache_object
acl SSL_ports port 443 563
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
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 all src

http_access allow manager localhost
http_access allow localhost localclient

http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#http_access deny all

visible_hostname mail.theempire.co.za
unique_hostname mail.theempire.co.za

buffered_logs on

never_direct deny localclient
never_direct allow all

cache_effective_user nobody
cache_effective_group nogroup

--end of squid.conf-

I don't get any error when squid starts, it just doesn't work.  Any help
anybody can offer?



[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to