Zainstalowałem z repo Squid3. Skonfigurowałem /etc/squid3/squid.conf. Przy próbie zbudowania bazy dla cache'a squida wywala mi taki oto błąd:
Kod: Zaznacz cały
eldorado:~# /usr/sbin/squid3 -z
2008/04/14 22:30:23| aclParseAccessLine: ACL name 'all' not found.
2008/04/14 22:30:23| storeDirWriteCleanLogs: Starting...
Naruszenie ochrony pamięci
No i squid.conf na wszelki wypadek:
Kod: Zaznacz cały
http_port 10.0.0.1:8080 transparent
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
cache_mem 16 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 64 KB
ipcache_size 12000
ipcache_low 90
ipcache_high 95
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
cache_dir ufs /var/spool/squid3 1000 16 256
access_log /var/log/squid3/access.log
cache_log /var/log/squid3/cache.log
debug_options ALL,1
acl LAN src 10.0.0.2/255.0.0.0
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 443
http_access allow LAN
http_access allow localhost
http_access deny all
http_access allow manager localhost
http_access deny manager
http_reply_access allow all
forwarded_for off
log_icp_queries off
buffered_logs on
coredump_dir /var/spool/squid3