demasiado Squid
Colisteros, tengo un problema con squid y apesar de buscar
no encuentro la punta del ovillo,
Configure squid (creo) como normalmete lo hago, el problema
es que cachea las paginas, pero al darle un [actualizar] o F5, si se realizo
en la pagina algun cambio no se actualiza, lo cual es un problema para
muchas paginas.
paso el squid.conf
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 20 MB
cache_mgr lord.epzylon@gmail.com
maximum_object_size 40096 KB
minimum_object_size 1 KB
maximum_object_size_in_memory 50 KB
cache_dir ufs /var/spool/squid 40000 16 256
cache_access_log none
cache_log none
cache_store_log none
emulate_httpd_log on
hosts_file /etc/hosts
visible_hostname 192.168.1.200
#redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
########################################################################
cache_swap_high 95%
cache_swap_low 80%
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
#Recommended minimum configuration:
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 to_localhost dst 127.0.0.0/8
acl SSL_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 Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
acl clientes src 192.168.1.0/255.255.255.0
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
httpd_accel_single_host off
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow clientes
http_reply_access allow all
icp_access deny all
#header_access X-Forwarded-For deny all
#header_replace X-Forwarded-For 10.10.10.10
#header_access Via deny all
#header_access User-Agent deny all
#header_replace User-Agent Firefox/1.5
##header_acces Accept-Language deny all
#header_replace Accept-Language es,en
#header_access User-Agent deny all
#header_replace User-Agent Nutscrape/1.0 (CP/M; 8-bit)
logfile_rotate 7
# memory_pools_limit 5 MB
error_directory /usr/share/squid/errors/Spanish
offline_mode on
coredump_dir /var/spool/squid
--
---------------------------------------
- El conocimiento es poder -
- y el saber nos hace libres. -
---------------------------------------
Larga vida al ping!
echo "254" > /proc/sys/net/ipv4/ip_default_ttl
Linux User #405757
Machine Linux #310536
Reply to: