Ol�!

Meu squid n�o est� funcionando direito... n�o est� bloqueando os sites que est�o no arquivo proibidos.txt e tb n�o est� autenticando usu�rios... Estou enviando o arquivo de configura��o para vcs darem uma olhada.

http_port 3128

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?

no_cache deny QUERY

cache_mem 32 MB

auth_param basic program /usr/lib/squid/ncsa_auth /etc/httpd/internet.senhas.antigo

auth_param basic children 5

auth_param basic realm squid

auth_param basic credentialsttl 2 hours

refresh_pattern ^ftp: 1440 20% 10080

refresh_pattern ^gopher: 1440 0% 1440

refresh_pattern . 0 20% 4320

acl admin src 192.168.0.10/255.255.255.255

acl admin src 192.168.0.5/255.255.255.255

acl admin src 192.168.0.3/255.255.255.255

acl admin src 192.168.0.4/255.255.255.255

acl admin src 192.168.0.1/255.255.255.255

acl admin src 192.168.0.201/255.255.255.255

acl admin src 192.168.0.202/255.255.255.255

acl admin src 192.168.0.203/255.255.255.255

acl admin src 192.168.0.204/255.255.255.255

acl admin src 192.168.0.205/255.255.255.255

acl admin src 192.168.0.206/255.255.255.255

acl admin src 192.168.0.207/255.255.255.255

acl admin src 192.168.0.208/255.255.255.255

acl admin src 192.168.0.209/255.255.255.255

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 553 563 1863

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 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 10000 # webmin

acl Safe_ports port 1234 # microsiga

acl Safe_ports port 5432 # postgresql

acl Safe_ports port 3306 # mysql

acl Safe_ports port 13 525 526 # servidor de horas

acl Safe_ports port 27000 # microsiga - funcionarios

acl Safe_ports port 8017 # sintegra

acl Safe_ports port 1863 # msn mesenger

acl Safe_ports port 8080 # proxy externo

acl CONNECT method CONNECT

acl all src 0.0.0.0/0.0.0.0

acl rede_mancini proxy_auth REQUIRED

acl proibidos url_regex -i "/etc/squid/proibidos.txt"

acl permitidos url_regex -i "/etc/squid/permitidos.txt"

http_access allow rede_mancini

http_access deny !rede_mancini

http_access allow permitidos

http_access deny proibidos

http_access allow manager localhost admin all

http_access allow manager localhost

http_access deny manager

http_access allow to_localhost

http_access allow localhost

http_reply_access allow all

visible_hostname all

httpd_accel_port 80

httpd_accel_host virtual

httpd_accel_with_proxy on

httpd_accel_uses_host_header on

cache_effective_user squid

cache_effective_group squid

no_cache deny admin localhost permitidos

coredump_dir /var/spool/squid

cache_dir ufs /var/spool/squid 100 64 64


Rafael.









---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a