machadocm
(usa RedHat)
Enviado em 13/12/2007 - 16:06h
http_port 3128
icp_port 3130
cache_mem 1500 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 9216 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
cache_replacement_policy lru
memory_replacement_policy lru
cache_dir ufs /cache 25000 16 100
cache_access_log /cache/logs/access.log
cache_store_log none
emulate_httpd_log on
mime_table /usr/local/squid/etc/mime.conf
pid_filename /usr/local/squid/var/logs/squid.pid
ftp_user user@kadu.com.br
ftp_passive on
unlinkd_program /usr/local/squid/libexec/unlinkd
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563 9141
acl Safe_ports port 80 # http
acl Safe_ports port 81
acl Safe_ports port 82
acl Safe_ports port 443
acl Safe_ports port 85
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 CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow all
http_access allow manager localhost
#http_access deny all
icp_access allow all
cache_effective_user nobody
cache_effective_group nobody
visible_hostname proxy
unique_hostname proxy
append_domain .kadu.com.br
acl local-servers dstdomain kadu.com.br
acl local-serverspr dstdomain kadu.com.br
always_direct allow local-servers
always_direct allow local-serverspr
error_directory /usr/local/squid/share/errors/Portuguese
Segue o squid.conf... sinta-se à vontade para sugestões de melhoria.. (estou começando... deve ter coisa errada ai no meio..)