Enviado em 31/05/2016 - 02:04h
Alguém poderia converter para o squid3 por favor
Já tentei de tudo quanto foi jeito, porem sem sucesso...
Já tentei de tudo quanto foi jeito, porem sem sucesso...
# Squid Proxy Transparent
# ultima rev. [29.02.2016]
# Testado Squid 2.7.STABLE9
hierarchy_stoplist cgi-bin ?
cache_mem 32 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 8192 KB
cache_access_log /var/log/squid/access.log
error_directory /usr/share/squid/errors/pt-br/
ftp_user Squid@
http_port 3128 transparent
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
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 SSL_ports port 563
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 563 # snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 25 # smtp
acl Safe_ports port 53 # domain
acl Safe_ports port 11 # pop
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 3030 # cftv (acesso)
acl Safe_ports port 9000 # cftv (autenticacao)
acl purge method PURGE
acl CONNECT method CONNECT
# URLS Liberadas
acl urls_liberadas dstdomain "/etc/squid/urls_liberadas.txt"
http_access allow all urls_liberadas
# Extensoes Bloqueadas
acl extensoes url_regex "/etc/squid/extensoes.txt"
http_access deny all extensoes
# URLS Bloqueadas
acl urls_bloqueadas url_regex "/etc/squid/urls_bloqueadas.txt"
http_access deny all urls_bloqueadas
# Palavras Bloqueadas
acl palavras dstdom_regex "/etc/squid/palavras.txt"
http_access deny all palavras
acl ips_bloqueados src "etc/squid/ips_bloqueados.txt"
http_access deny ips_bloqueados
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
visible_hostname sbandeirantes
http_access allow all
# ultima rev. [29.02.2016]
# Testado Squid 2.7.STABLE9
hierarchy_stoplist cgi-bin ?
cache_mem 32 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 8192 KB
cache_access_log /var/log/squid/access.log
error_directory /usr/share/squid/errors/pt-br/
ftp_user Squid@
http_port 3128 transparent
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
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 SSL_ports port 563
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 563 # snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 25 # smtp
acl Safe_ports port 53 # domain
acl Safe_ports port 11 # pop
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 3030 # cftv (acesso)
acl Safe_ports port 9000 # cftv (autenticacao)
acl purge method PURGE
acl CONNECT method CONNECT
# URLS Liberadas
acl urls_liberadas dstdomain "/etc/squid/urls_liberadas.txt"
http_access allow all urls_liberadas
# Extensoes Bloqueadas
acl extensoes url_regex "/etc/squid/extensoes.txt"
http_access deny all extensoes
# URLS Bloqueadas
acl urls_bloqueadas url_regex "/etc/squid/urls_bloqueadas.txt"
http_access deny all urls_bloqueadas
# Palavras Bloqueadas
acl palavras dstdom_regex "/etc/squid/palavras.txt"
http_access deny all palavras
acl ips_bloqueados src "etc/squid/ips_bloqueados.txt"
http_access deny ips_bloqueados
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
visible_hostname sbandeirantes
http_access allow all