Thiago e demais, Bom Dia! Estou anexando o meu squid.conf para analise e sugestões. Esta em anexo. Obrigado. Gabriel
Thiago Silveira wrote: >Olá Gabriel, eu utilizo aqui na empresa o NCSA_AUTH sem problemas funciona >bem, mas minha distro eh DEBIAN e precisei somente copiar o arquivo >NCSA_AUTH pra outro diretório q funcionou..... > >Poste seu squid.conf pra eu analisar e te dizer oq realmente precisa fazer. > >Abraços > >Thiago > > > > >----- Original Message ----- >From: "Gabriel Silva Campos" <[EMAIL PROTECTED]> >To: <[email protected]> >Sent: Friday, January 20, 2006 1:03 PM >Subject: [squid-br] Proxy Com Autenticação. > > > > >>Pessoal, >>Uso o Squid 2.5.STABLE11 no Fedora Core 4 e esta tudo rodando certinho >>(proxy Transparente). >>Só que foi me solicitado reconfigurá-lo com autenticação. >>A minha rede é bem pequena, não preciso de algo muito complexo. >>Estive pesquisando e vi que tem varias formas de fazer a autenticação. >>Pelo que entendi, nas minhas leituras, um meio bastante simples é >>através do NCSA_AUTH e resolvi arriscar na configuração usando o >>Tutorial do Squid Ninja. Só que fui infeliz, quando fui carregar >>novamente o squid deu a mensagem [FALHOU] e nada mais ... de forma que a >>minha pouca experiencia não me permitiu identificar o erro. >>Alguem pode dar uma dica ou indicar um outro tutorial? >>Se necessario posto meu squid.conf. >>Agradeço! >>Gabriel Silva Campos >> >> >>Enviar mensagem: [email protected] >>Assinar: [EMAIL PROTECTED] >>Cancelar assinatura: [EMAIL PROTECTED] >>Proprietário da lista: [EMAIL PROTECTED] >> >>http://www.penguintech.com.br Penguin Tech - Solucoes LINUX. >> >> >>Links do Yahoo! Grupos >> >> >> >> >> >> >> >> >> >> > > > >Enviar mensagem: [email protected] >Assinar: [EMAIL PROTECTED] >Cancelar assinatura: [EMAIL PROTECTED] >Proprietário da lista: [EMAIL PROTECTED] > >http://www.penguintech.com.br Penguin Tech - Solucoes LINUX. > > >Links do Yahoo! Grupos > > > > > > > > > > > Enviar mensagem: [email protected] Assinar: [EMAIL PROTECTED] Cancelar assinatura: [EMAIL PROTECTED] Proprietário da lista: [EMAIL PROTECTED] http://www.penguintech.com.br Penguin Tech - Solucoes LINUX. Links do Yahoo! Grupos <*> Para visitar o site do seu grupo na web, acesse: http://br.groups.yahoo.com/group/squid-br/ <*> Para sair deste grupo, envie um e-mail para: [EMAIL PROTECTED] <*> O uso que você faz do Yahoo! Grupos está sujeito aos: http://br.yahoo.com/info/utos.html
http_port 3128 cache_mem 60 MB hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/ auth_param basic children 5 auth_param basic realm Digite seu Login auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours auth_param basic casesensitive off refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 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 # 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 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 CONNECT method CONNECT acl liberados src "/etc/squid/regras/liberados.txt" http_access allow liberados http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localhost acl negapalavra url_regex "/etc/squid/regras/block.txt" acl liberapalavra url_regex "/etc/squid/regras/unblock.txt" http_access allow liberapalavra all http_access deny negapalavra all acl redelocal src 192.168.1.0/24 acl rede_interna proxy_auth REQUIRED http_access allow redelocal http_access deny all http_reply_access allow all icp_access allow all coredump_dir /var/spool/squid visible_hostname urano error_directory /etc/squid/erros
