- liberando acesso
+ Responder ao Tópico
-
liberando acesso
Galera,
O q pode estar acontecendo qdo um proxy que tem uma lista de palavras negadas começa a permitir acesso a esta palavras; por exemplo: eu naum permito que usuarios acessem pagina contendo a palavra sexo....e mesmo com tudo configurado o usuario consegue acessar?
-
liberando acesso
Meu caro,
A ordem das suas acl's podem estar erradas.
Verifique isso.
Abraço,
Abutre
-
liberando acesso
Este aki é o meu script..... nele naum funciona as palavras rejeitadas e o outlook express, vcs podem me ajudar??
http_port 8080
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
icp_port 0
snmp_port 0
cache_mem 500 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 8000 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 4000 KB
cache_dir ufs /var/cache/squid 3000 32 128
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_swap_log /var/log/squid/swap.log
debug_options ALL,2
request_body_max_size 4000 KB
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl rede src 192.168.0.0/24
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 to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
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 CONNECT method CONNECT
acl whitelist url_regex "/etc/squid/whitelist"
acl blacklist url_regex "/etc/squid/blacklist"
acl mp3 url_regex -i.*\.mp3$
acl avi url_regex -i.*\.avi$
acl exe url_regex -i.*\.exe$
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny to_localhost
http_access allow whitelist
http_access deny blacklist
http_access deny mp3
http_access deny avi
http_access deny exe
http_access allow rede
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr [email protected]
cache_effective_user squid
cache_effective_group squid
visible_hostname localhost
coredump_dir /var/cache/squid
httpd_accel_with_proxy off