Squid |
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
maximum_object_size 10 MB
cache_replacement_policy heap LFUDA memory_replacement_policy heap GDSF
cache_dir diskd /var/spool/squid 4000 16 256
ftp_user Squid@uni.edu.ni
acl all src 0.0.0.0/0.0.0.0
############ Agregado ##############
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl localnet src 192.168.203.0/255.255.255.0
#####################################
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 Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
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
############ Agregado ##############
http_access allow localnet
http_access deny all
icp_access allow all
miss_access allow localnet
miss_access deny !localnet
proxy_auth_realm Squid webcache en red UNAN-Chontales
cache_mgr corc@corc.uni.edu.ni
visible_hostname webcache.bib.uni.edu.ni httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
cachemgr_passwd <password> all
acl local-domain dstdomain chontales.unan.edu.ni
acl local-ips dst 192.168.203.0/255.255.0.0
acl local-ips dst <IP público>
always_direct allow local-domain
always_direct allow local-ips
error_directory /usr/lib/squid/errors/Spanish snmp_port 3401
snmp_access allow localhost
Squid |