modred
(usa Debian)
Enviado em 03/02/2014 - 13:58h
Dae pessoal estou com o mesmo problema com o site da techtudo, por enquanto foi so esse estou com squid autenticando no win 2008 - aonde tem os sites básicos, intermediários e avançado, o site da techtudo esta no intermediário so que aparece todo desconfigurado, ja dei um tail -f e liberei a maioria dos sites para teste mesmo assim nao vai segue o squid.conf
http_port 3128
cache_effective_user proxy
cache_effective_group proxy
cache_log /var/log/squid/cache.log
cache_dir ufs /var/log/squid/ 1024 16 256
cache_access_log /var/log/squid/access.log
error_directory /etc/squid/errors/
cache_store_log /var/log/squid/store.log
maximum_object_size 2 MB
ie_refresh on
ignore_expect_100 on
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
auth_param ntlm program /usr/bin/ntlm_auth DOMINIO/SERVIDOR --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 10
auth_param basic program /usr/bin/ntlm_auth DOMINIO/SERVIDOR --helper-protocol=squid-2.5-basic
auth_param basic children 5
auth_param basic realm Digite Seu Login para acessar a Internet
auth_param basic credentialsttl 30 minutes
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/32
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 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 Safe_ports port 1080
acl Safe_ports port 1863
acl Safe_ports port 8443 # https
acl Safe_ports port 5222 # gTalk
acl Safe_ports port 5223 # gTalk
acl Safe_ports port 47057 # torrent
acl Safe_ports port 1000 # CLINIPAM
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
acl manager proto cache_object
external_acl_type NT_global_group children=20 %LOGIN /usr/lib/squid/wbinfo_group.pl
acl Proxy proxy_auth REQUIRED
acl WEBBasico external NT_global_group WEB_Basico
acl WEBIntermediario external NT_global_group WEB_Intermediario
acl WEBAvancado external NT_global_group WEB_Avancado
acl SEM_REST src "/etc/squid/config/sem_restricao"
acl Sites_Basico url_regex -i "/etc/squid/config/sites_basico"
acl Sites_Intermediario dstdom_regex -i "/etc/squid/config/sites_intermediario"
acl Sites_Avancado url_regex -i "/etc/squid/config/sites_avancado"
acl Sites_Bloqueados url_regex -i "/etc/squid/config/sites_bloqueados"
acl Dominios_Liberados dstdomain -i "/etc/squid/config/dominios_liberados"
acl Palavras_bloqueadas url_regex -i "/etc/squid/config/palavras_bloqueadas"
acl ACESSO_DIRETO dstdom_regex -i "/etc/squid/config/sites_acesso_direto"
acl DOWNLOADS_LIBERADOS dstdom_regex -i "/etc/squid/config/downloads_liberados"
acl MIME_BLOQUEADOS urlpath_regex -i "/etc/squid/config/mime_bloqueados"
http_access allow SEM_REST
http_access allow ACESSO_DIRETO
always_direct allow ACESSO_DIRETO
http_access deny Palavras_bloqueadas
http_access deny Sites_Bloqueados
http_access deny MIME_BLOQUEADOS !DOWNLOADS_LIBERADOS !Sites_Avancado
http_access allow Dominios_Liberados
http_access deny Proxy !WEBBasico !WEBIntermediario !WEBAvancado
http_access deny WEBBasico !Sites_Basico
http_access allow Sites_Basico
http_access deny WEBIntermediario !Sites_Intermediario
http_access allow Sites_Intermediario
http_access deny WEBAvancado !Sites_Avancado !DOWNLOADS_LIBERADOS
http_access allow Sites_Avancado
http_access allow DOWNLOADS_LIBERADOS
http_access deny Proxy
http_access deny all
http_reply_access allow all
icp_access allow all
miss_access allow all
visible_hostname proxyCSCTESTE
coredump_dir /var/spool/squid/cache