[U-co] squid

Hector Urrego inghectorurrego en gmail.com
Jue Mayo 28 13:12:59 UTC 2009


http_port 192.168.0.100:8080

#http_port 192.168.0.100:3128

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?

cache deny QUERY

acl apache rep_header Server ^Apache

cache_mem 16 MB

#maximum_object_si/spool/squid 10000 16 256 KB

#broken_vary_encodr allow apache

access_log /var/log/squid/store.log

cache_dir ufs /var/spool/squid 10000 16 256

visible_hostname prysanvelez

refresh_pattern ^ftp: 1440 20% 10080

refresh_pattern ^gopher: 1440 0% 1440

refresh_pattern . 0 20% 4320

#never_direct allow all

#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 mired src 192.168.0.0/255.255.255.0

http_access allow mired

acl to_localhost dst 127.0.0.0/8

acl SSL_ports port 443

acl Safe_ports port 80 # http

acl Safe_ports port 21 # ftp

acl Safe_ports port 443 # https

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 995 #gmail

acl Safe_ports port 465 #gmail

acl Safe_ports port 110 #smtp

acl Safe_ports port 25 #pop3

acl Safe_ports port 7778

acl sitios url_regex "/etc/squid/sitios.txt"

#acl sitios dstdomain "/etc/squid/sitios.txt"

http_access deny sitios

 acl msnmessenger req_mime_type -i ^application/x-msn-messenger$

http_access deny msnmessenger

acl msn_messenger req_mime_type -i ^application/x-msn-messenger$

http_access deny msn_messenger

acl contenido_prohibido url_regex "/etc/squid/contenido_prohibido.txt"

http_access deny contenido_prohibido

acl ips url_regex "/etc/squid/ips.txt"

http_access deny ips

#acl youtube dstdomain youtube.com

#http_access deny youtube

http_access allow mired

acl CONNECT method CONNECT

# Only allow cachemgr access from localhost

http_access allow manager localhost

http_access deny manager

# Deny requests to unknown ports

http_access deny !Safe_ports

# Deny CONNECT to other than SSL ports

http_access deny CONNECT !SSL_ports

#http_access allow our_networks

http_access allow localhost

# And finally deny all other access to this proxy

http_access deny all

#Allow ICP queries from everyone

icp_access allow all

# Leave coredumps in the first cache dir

#coredump_dir /var/cache/squid

#cache_effective_user sistemas

#cache_effective_group root



El 27 de mayo de 2009 18:27, Hollman Enciso R.
<hollman.enciso en gmail.com>escribió:

> 2009/5/27 Hector Urrego <inghectorurrego en gmail.com>:
> > Gracias por la ayuda pero  ya hice eso  y no me sirvio
>
> Ok, podríamos ver el squid.conf ?
>
> Y lo otro, revisa el log del squid y danos la salida para poder ver
> que esta sucediendo ...
>
>
>
> --
> Hollman Eduardo Enciso R.
> Administrador Ubuntu Colombia
> celular: 3012998761
>
> --
> Al escribir recuerde observar la etiqueta (normas) de esta lista:
> http://ur1.ca/0uf7
> Para cambiar su inscripción, vaya a "Cambio de opciones" en
> http://ur1.ca/0uf9
>



-- 


Hector Javier Urrego Reyes
Tecnólogo Ingenieria de Sistemas
3114739529



Más información sobre la lista de distribución Ubuntu-co