Vou fazer o teste na maquina aqui do hotel... daqui alguns instantes retorno uma resposta.
 
Sds
Ricardo

Henrique <[EMAIL PROTECTED]> escreveu:
segundo a documentação oficial atualizada, se o squidguard encontrar algum
erro, ele imediatamente entra  em "perna-aberta-mode" , deixando tudo
escancarado.
Não creio que seja a base de dados. Talvez a compilação pra uma db de versão
menor gerou os procedimentos corretos de permissões e configurações, ou seja,
um diagnóstico errado deu uma solução correta. Ou não. :D

======= http://www.maynidea.com/squidguard/faq-plus.html#noblock ======

When squidguard starts up, it tries to do the following things:
     1. Read the configuration file
     2. Read the database or text files with the lists of sites to block
     3. Write to its log file

If it fails to do any of these things, it goes into "emergency mode";
effectively this means that it doesn't do anything.
The following problems will cause either 1, 2, or 3 to fail:
  The configuration file is not in the place compiled into squidguard or
specified in squid.conf. Make sure squidguard is started with this line in
squid.conf:
   redirect_program <path to squidGuard binary>/squidGuard -c <path to
squidguard.conf>/squidguard.conf
  The database files are not in the place defined in squidguard.conf. Make
sure the following is one of the first lines in squidguard.conf:
    dbhome <path to blacklists>
  For instance, I use:
    dbhome /usr/local/squidguard/db/blacklists
  The ownership of the configuration file, logfiles, or blacklist files is not
correct. These files should be owned by the user and group under which the
squid program runs. Look for the following lines in squid.conf:
    cache_effective_user nobody
   http://cri.univ-tlse1.fr/documentations/cache/squidguard.html
  "nobody" may be different ("squid" is also common) depending on various
random factors. To make sure the ownership is correct, run the following
commands:
     chown nobody.nobody <path to squidguard.conf>
   chown -R nobody.nobody <path to blacklists>
    chown -R nobody.nobody <path to logfiles>
  The permissions of the configuration file, logfiles, or blacklist files is
not correct. Set the permissions as follows:
   chmod 644 <path to squidguard.conf>
chmod -R 640 <path to blacklists>
chmod -R 644 <path to logfiles>
find <path to blacklists> -type d -exec chmod 755 \{\} \; -print
chmod 755 <path to logfiles>
  There is a line-end before the "{" character in source or dest lists:
   ## bad
   src adults
     {
## good
   src adults {










Em Qua 22 Mar 2006 16:13, Alberto Souza escreveu:
> O meus está assim:
>
> SquidGuard: 1.2.0 Sleepycat Software: Berkeley DB 4.3.27: (September  9,
> 2005)
> Uso suse 10.1
>
> Alberto Souza
> =============
>
> Pedro Ricardo Oliveira escreveu:
> >Boa Noticias !!!
> >
> >Tem um Brother meu em Recife que estava com o mesmo
> >problema e sabem o que era ?
> >
> >A versão do db tem que ser a 2 não a 3 ou 4 !!!
> >
> >Ele compilou a seguinte versão:
> >
> >[EMAIL PROTECTED]:~# squidGuard -v
> >SquidGuard: 1.2.0 Sleepycat Software: Berkeley DB
> >2.7.7: (08/20/99)
> >
> >Ainda não fiz o teste aqui no meu servidor mas estou
> >adiantando pra vcs
> >
> >Sds
> >Ricardo
> >
> >
> >--- Henrique <[EMAIL PROTECTED]> escreveu:
> >
> >
> >---------------------------------
> >mto estranho mesmo, 3 em menos de 1 mês.
> >aparentemente as suas regras estão perfeitas.
> >Já experimentaram re-gerar as bases .db do squidguard
> >?
> >percebi que quando as bases são mto alteradas com os
> >.diff da vida, elas podem
> >se corromper, ai realmente, nada é filtrado, a menos
> >que se gere novamente
> >toda a base de dados. Já tive esse problema algumas
> >vezes.
> >Para re-gerar as bases, experimente:
> >
> >su - "usuario_do_proxy"  squidGuard -C all
> >
> >
> >Outros chutes que posso dar a respeito, mesmo não
> >sabendo como resolver, são:
> >
> >- a compilação (se vc compilou, lógico)
> >
> >- chamada no squid.conf (acho estranho indicar o
> >arquivo de configuração.
> >Nunca indico, caso precisasse indicar, colocaria o
> >arquivo de configuração no
> >lugar default.)
> >
> >- alguma regra problemática.
> >Experimente fazer com apenas 1 regra, 1 acl. Se der
> >certo, vá aumentando a
> >complexidade, a hora que não funcionar, vc saberá o
> >ponto exato em que
> >ocorreu o problema. Eu colocaria os horários por
> >último.
> >
> > [ ]s, Henry
> >
> >
> >Em Qua 22 Mar 2006 12:38, Welington Rodrigues Braga
> >
> >escreveu:
> >>Opá!
> >>
> >>Me junto a dupla. Agora somos um trio. Aqui eu já
> >
> >fiz de quase tudo, menos
> >
> >>fazer funcionar. O interessante é que os arquivos de
> >
> >regra são carregados
> >
> >>mas ele não filtra nada
> >>
> >>2006/3/21, Pedro Ricardo Oliveira
> >
> ><[EMAIL PROTECTED]>:
> >>>Ainda não consegui mas estou correndo atraz. Assim
> >
> >que tiver uma solução
> >
> >>>te aviso.
> >>>
> >>>Ricardo
> >>>
> >>>*Anderson Marcelo <[EMAIL PROTECTED]>*
> >
> >escreveu:
> >>>Olá Pedro tudo bem...
> >>>Estou com o mesmo dilema cara.
> >>>Espero que tenha conseguido.
> >>>Caso eu venha descobrir eu envio pra vc.
> >>>Ate mais
> >>>Anderson
> >>>
> >>>2006/3/10, Pedro Ricardo Oliveira
> >
> ><[EMAIL PROTECTED]>:
> >>>>Olá Grupo,
> >>>>
> >>>>Meu SquidGuard não filtra a blacklist. Garrega
> >>>>normalmente mas não filtra nada.
> >>>>
> >>>>Alguém pode me da uma luz ?
> >>>>
> >>>>Agradeço
> >>>>Ricardo
> >>>>
> >>>>
> >>>>--------- Meu squidGuard.conf
> >
> >----------------------
> >
> >>>>#
> >>>># SAMPLE CONFIG FILE FOR SQUIDGUARD
> >>>># (for further configuration options see the
> >>>># documentation and
> >
> >http://www.squidguard.org/)<http://www.squidguard.org/%29>
> >#
> >
> >>>>dbhome /var/db/squidGuard
> >>>>logdir /var/log
> >>>>
> >>>>#
> >>>># TIME RULES:
> >>>># abbrev for weekdays:
> >>>># s = sun, m = mon, t =tue, w = wed, h = thu, f
> >
> >= fri,
> >
> >>>>a = sat
> >>>>time horario_livre {
> >>>>     weekly * weekly * 00:00-08:00 18:00-24:00
> >>>>}
> >>>>
> >>>>#
> >>>># SOURCE ADDRESSES
> >>>>#
> >>>>source rede_hotel {
> >>>>     ip 10.10.10.0/24
> >>>>}
> >>>>source rede_cyber {
> >>>>     ip 192.168.100.0/24
> >>>>}
> >>>>
> >>>>#
> >>>># DESTINATION CLASSES
> >>>>#
> >>>>dest ads {
> >>>>        domainlist blacklists/ads/domains
> >>>>        urllist blacklists/ads/urls
> >>>>        expressionlist
> >
> >blacklists/ads/expressions
> >
> >>>>}
> >>>>dest adult {
> >>>>        domainlist blacklists/adult/domains
> >>>>        urllist blacklists/adult/urls
> >>>>}
> >>>>dest aggressive {
> >>>>        domainlist blacklists/aggressive/domains
> >>>>        urllist blacklists/aggressive/urls
> >>>>}
> >>>>dest antispyware {
> >>>>        domainlist
> >
> >blacklists/antispyware/domains
> >
> >>>>        urllist blacklists/antispyware/urls
> >>>>}
> >>>>dest hacking {
> >>>>        domainlist blacklists/hacking/domains
> >>>>        urllist blacklists/hacking/urls
> >>>>}
> >>>>dest naturism {
> >>>>        domainlist blacklists/naturism/domains
> >>>>        urllist blacklists/naturism/urls
> >>>>}
> >>>>porn {
> >>>>        domainlist blacklists/porn/domains
> >>>>        urllist blacklists/porn/urls
> >>>>        expressionlist
> >
> >blacklists/porn/expressions
> >
> >>>>}
> >>>>sexuality {
> >>>>        domainlist blacklists/sexuality/domains
> >>>>        urllist blacklists/sexuality/urls
> >>>>}
> >>>>spyware {
> >>>>        domainlist blacklists/spyware/domains
> >>>>}
> >>>>virusinfected {
> >>>>        domainlist
> >
> >blacklists/virusinfected/domains
> >
> >>>>        urllist blacklists/virusinfected/urls
> >>>>}
> >>>>
> >>>>acl {
> >>>>     rede_hotel within horario_livre {
> >>>>         pass all
> >>>>     else
> >>>>         pass !adult !aggressive !antispyware
> >
> >!hacking
> >
> >>>>!naturism !porn !sexuality !spyware
> >
> >!virusinfected all
> >
> >>>>     }
> >>>>
> >>>>     rede_cyber {
> >>>>         pass all
> >>>>     }
> >>>>
> >>>>     default {
> >>>>         pass none
> >>>>         redirect
> >
> >http://admin.foo.bar.no/cgi/blocked?clientaddr=%a+clientname=%n+clienti
> >
> >>dent=%i+srcclass=%s+targetclass=%t+ur<http://admin.foo.bar.no/cgi/blocke
> >>
> >>
> >>d?clientaddr=%25a+clientname=%25n+clientident=%25i+srcclass=%25s+targetc
> >>
> >>>>lass=%25t+ur> l=%u
> >>>>     }
> >>>>}
> >
> >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.
> >
> >
> >
> >
> >                  Yahoo! Grupos, um serviço oferecido
> >por:                    PUBLICIDADE
> >
> >
> >---------------------------------
> >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 Termos do Serviço do Yahoo!.
> >
> >
> >
> >Pedro Ricardo de Oliveira
> >  MSN: [EMAIL PROTECTED]
> >  Skype: prrecife
> >
> >
> >
> >
> >_______________________________________________________
> >Novo Yahoo! Messenger com voz: Instale agora e faça ligações de graça.
> >http://br.messenger.yahoo.com/
> >
> >
> >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



Pedro Ricardo de Oliveira
MSN: [EMAIL PROTECTED]
Skype: prrecife


Yahoo! doce lar. Faça do Yahoo! sua homepage.


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

Responder a