flsan
(usa Outra)
Enviado em 03/09/2009 - 12:07h
Gostaria de desbloquear a porta para transmitir receitanet, meu squid foi configurado como mostro abaixo.
Diante deste cenário como libero esta porta?
Default:
# http_port 3128
http_port 80
#We recommend you to use at least the following line.
hierarchy_stoplist cgi-bin ?
#We recommend you to use the following two lines.
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
#Default:
#log_fqdn off
log_fqdn on
hosts_file /etc/hosts
auth_param basic program /usr/lib/squid/smb_auth -W SEDE -U 10.1.1.17
auth_param basic children 5
auth_param basic realm Autenticacao Informe usuario e senha
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
#Suggested default:
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0/0
acl AUTENTICADOS proxy_auth REQUIRED
acl manager proto cache_object
acl webserver src 10.0.0.1/255.255.255.255
acl liberados src "/etc/squid/liberados.txt"
acl download_video url_regex -i .avi$ .asf$ .mov$ .mpg$ .mpeg$ .flv$
acl download_executaveis url_regex -i .cmd$ .bat$ .vbs$ .scr$ .pps$ .ppt$
acl sites_indevidos url_regex -i "/etc/squid/bloquear.txt"
#acl rede_Empresa src 10.1.0.0/255.255.0.0
#acl rede_Empresa src 10.1.0.0/21
acl rede_Empresa src 10.1.0.0/16
#acl rede_Empresa src 10.1.8.0/26
#acl rede_Empresa src 10.1.9.0/26
#acl rede_Empresa src 10.1.10.0/26
#acl rede_Empresa src 10.1.11.0/26
http_access deny !rede_Empresa
#http_access deny !FILIAL1
#http_access deny !FILIAL2
#http_access deny !FILIAL3
#http_access deny !FILIAL4
http_access allow liberados
http_access deny download_executaveis
http_access deny download_video
http_access deny sites_indevidos
http_access allow all
http_access allow manager webserver
http_access deny manager
http_access deny all
#redirect child 20
# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid