galera, estou rodando um script no squid que puxa um arquivo chamado regras_de_url, porem os sites estao abrindo normalmente, vou postar aqui pra saber o que esta faltando, pois os bloquei nao esta funcionando.
Obrigado.
### Configuracoes squid ####
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 81 # http
acl Safe_ports port 88 # http
acl Safe_ports port 89 # Speedy
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 809 # SPTRANS
acl Safe_ports port 403 # Avast
acl Safe_ports port 631 # Cups
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_port 3128 transparent
#### DNS Google Gigadns.com.br Speedy ####
dns_nameservers 8.8.8.8
dns_nameservers 8.8.8.4
dns_nameservers 189.38.95.96
dns_nameservers 189.38.95.95
cache_mgr alguem@algo.com.br #### Seu email (aparece nas paginas de erro)
#### Paginas de erro e arquivo de log
error_directory /usr/share/squid3/errors/pt-br
access_log /var/log/squid3/access.log squid
### Configurações de memoria e cache ########################################
cache_mem 512 MB
cache_swap_low 90
cache_swap_high 95
memory_pools on
memory_pools_limit 64 MB
log_fqdn on
maximum_object_size_in_memory 128 KB
maximum_object_size 300 MB
minimum_object_size 1 KB
quick_abort_min -1
## Politicas de cache
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
half_closed_clients on
### Configuracoes de tamanho de cache ####
cache_dir AUFS /var/spool/squid 4000 64 256
cache_dir AUFS /var/spool/squid 4000 64 256
cache_dir AUFS /var/spool/squid 4000 64 256
cache_dir AUFS /var/spool/squid 4000 64 256
cache_dir AUFS /var/spool/squid 4000 64 256
cache_dir AUFS /var/spool/squid 4000 64 256
cache_dir AUFS /var/spool/squid 4000 64 256
cache_dir AUFS /var/spool/squid 4000 64 256
cache_dir AUFS /var/spool/squid 4000 64 256
cache_dir AUFS /var/spool/squid 4000 64 256
cache_dir AUFS /var/spool/squid 4000 64 256
cache_dir AUFS /var/spool/squid 4000 64 256
##### Cache do Windows Update #####
refresh_pattern msgruser.dlservice.microsoft.com/.*\.(cab|exe|msi|dll|psf) 10080 100% 43200 reload-into-ims
refresh_pattern update.microsoft.com/.*\.(cab|exe|dll|msi|psf) 10080 100% 43200 reload-into-ims
refresh_pattern windowsupdate.com/.*\.(cab|exe|dll|msi|psf) 10080 100% 43200 reload-into-ims
refresh_pattern download.microsoft.com/.*\.(cab|exe|dll|msi|psf) 10080 100% 43200 reload-into-ims
refresh_pattern
www.microsoft.com/.*\.(cab|exe|dll|msi|psf) 10080 100% 43200 reload-into-ims
refresh_pattern au.download.windowsupdate.com/.*\.(cab|exe|dll|msi|psf) 10080 100% 43200 reload-into-ims
hierarchy_stoplist cgi-bin ?
coredump_dir /var/spool/squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
## Sites Bloqueados ####
acl regraurl dstdomain"/etc/squid/regras_de_url"
http_access allow liberado
http_access deny regrapalavra
http_access deny regraconteudo
http_access deny regraurl
#acl bloqueados url_regex -i "/etc/squid/regras_de_url"
#http_access deny bloqueados
### Sites sem cache
#acl semcache dstdomain terra.com.br
#cache deny semcache
########### Cache Audio e Videos ###########
refresh_pattern -i \.(mp3|mp4|m4a|ogg|mov|avi|wmv|flv)$ 10080 90% 999999 ignore-no-cache override-expire ignore-private
### Regras de bloqueio/Acesso
### Acesso sem bloqueios ######
#acl acesso_full arp "/etc/squid/acesso_full"
#http_access allow acesso_full
#
### Acesso a todos sites sem regras correspondentes
http_access allow all
################################ Fim ######################################