removido
(usa Nenhuma)
Enviado em 17/03/2010 - 11:47h
Eu estou começando a trabalhar com Proxy agora então não conheço muito bem...
Por isso to colocando aqui meu arquivo do squid.conf, onde eu poderia inserir essas regaras?!
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
access_log /var/log/squid/access.log squid
hosts_file /etc/hosts
auth_param basic children 5
auth_param basic realm WLLM - Internet
auth_param basic credentialsttl 2 hours
auth_param basic program /usr/lib/squid/smb_auth -W wllm
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl PASSWORD proxy_auth REQUIRED
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 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
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 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl Safe_ports port 1024 #Skype Voice
acl Safe_ports port 4649 #Skype
acl Safe_ports port 80 #web_server
acl Safe_ports port 81 #web_server
acl Safe_ports port 82 #web_server
acl Safe_ports port 83 #web_Server
acl Safe_ports port 84 #web_server
acl Safe_ports port 85 #web_server
acl Safe_ports port 86 #web_server
acl Safe_ports port 87 #web_server
acl Safe_ports port 8080 #portal_voip
acl Safe_ports port 809 #http_sptrans
acl Safe_ports port 1863 #msn
acl Safe_ports port 4156 #AVG antivirus
acl SSL_ports port 7071 #Zimbra_Lauro
acl SSL_ports port 1863 #msn_segura
acl SSL_ports port 20000 #cacique
acl SSL_ports port 20001 #cacique
acl SSL_ports port 20002 #cacique
acl SSL_ports port 25777 #sistema_cobranca
acl Safe_ports port 89 #sinaliza teste
acl purge method PURGE
acl CONNECT method CONNECT
acl PAGINAS_LIBERADAS url_regex "/etc/squid/liberados"
acl bloqueia_msn url_regex "/etc/squid/bloqueia_msn"
acl sites_bloqueados url_regex "/etc/squid/sites_bloqueados"
acl sites_liberados url_regex "/etc/squid/sites_liberados"
acl arq_bloqueados url_regex "/etc/squid/arq_bloqueados"
acl arq_liberados url_regex "/etc/squid/arq_liberados"
acl site_hotmail url_regex "/etc/squid/site_hotmail"
acl site_apontador url_regex "/etc/squid/site_apontador"
acl acesso_apontador proxy_auth "/etc/squid/acesso_apontador"
acl acesso_hotmail proxy_auth "/etc/squid/acesso_hotmail"
acl administradores proxy_auth "/etc/squid/administradores"
acl call_center proxy_auth "/etc/squid/call_center"
acl acesso_msn proxy_auth "/etc/squid/acesso_msn"
acl libera_ti url_regex "/etc/squid/libera_ti"
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 libera_ti all
http_access allow call_center sites_liberados
http_access allow acesso_apontador site_apontador
http_access allow acesso_hotmail site_hotmail
http_access deny call_center all
http_access allow sites_bloqueados administradores
http_access allow arq_bloqueados administradores
http_access deny sites_bloqueados !sites_liberados all
http_access deny arq_bloqueados !arq_liberados all
http_access deny bloqueia_msn !acesso_msn !administradores all
http_access allow PAGINAS_LIBERADAS all
http_access allow PASSWORD
http_access allow all
http_access deny all
http_reply_access allow all
icp_access allow all
cache_effective_group proxy
visible_hostname wllm02
error_directory /usr/share/squid/errors/Portuguese
strip_query_terms off
coredump_dir /var/spool/squid