john_master12
(usa Ubuntu)
Enviado em 04/10/2010 - 09:17h
Bom dia pessoal... to com problema no squid ele fiz o squid bloquear as palavras em um arquivo chamado bloqued
so que ele tah bloquando o site da receita federal...
o mais engraçado que não coloquei nenhuma referencia no arquivo bloqued para bloquear o site da
http://www.receita.fazenda.gov.br
segue abaixo a configuração do squid conf
Squid.conf
#/etc/squid/squid.conf _________________ Arquivo de Diretorio_
#_____________________Configuracao Squid__________________
#_____________________Por Jonathan Rodrigues______________
#_____________________john_master12@hotmail.com___________
#_____________________(15)9769-9850_______________________
http_port 192.168.0.253:3140 transparent
visible_hostname proxycoesa
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache_mem 1024 MB
#____________Otimizacao do sistema_________________
maximum_object_size 1024 MB
minimum_object_size 0 KB
cache_swap_low 50
cache_swap_high 90
cache_access_log /var/log/squid/access.log
cache_dir ufs /var/spool/squid 2048 16 256
#_______________ACLS Normais________________________
acl all src 192.168.0.0/255.255.255.0
acl bloqued url_regex -i "/etc/squid/bloqued"
delay_pools 1
delay_class 1 2
delay_parameters 1 114688/114688 32768/32768
delay_access 1 allow all
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl SSL_ports port 873
acl Safe_ports port 110
acl Safe_ports port 25
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 631
acl Safe_ports port 873
acl Safe_ports port 901
acl purge method PURGE
acl CONNECT method CONNECT
no_cache deny QUERY
#_________________________Aplicacao da ACL______________
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow purge localhost
http_access deny purge
acl CONNECT method CONNECT
no_cache deny QUERY
#_________________________Aplicacao da ACL______________
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow purge localhost
http_access deny purge
http_access allow localhost
http_access deny bloqued
http_access allow all
http_reply_access allow all
#______________________Fim______________________________
mais abaixo o arquivo bloqued
# Palavras Bloqueadas
game
games
games
jogos
jogo
xhamster
[*****]
[*****]
Playboy
Sexo
Sexy
sex
xxx
orgasmo
orgasm
virgem
virgn
Pornografia
[*****]
amador
anal
asian
bisexuals
[*****]
chupetinha
[*****]
orkut
[*****]