Olá,
Vi que muitos estao com problemas em fazer o HAVP funcionar junto com o squid, entao pesquisei e resolvi o problema.
O problema vem junto com a versao 2.3 do endian que nao criou 2 arquivos simples para funcionamento do havp, que sao eles: whitelist e blacklist, por isso quando o dansguardian tenta subir, da um erro e toda navegação será rejeitada com ” access denied ” e ” conection resey by peer”
Para corrugir, acesse o seu endian por SSH ( habilite o servico primeiro no meu sistema ) depois digite as seguintes linhas:
touch /etc/havp/whitelist
touch /etc/havp/blacklist
Com esses dois arquivos o havp ja irá subir tranquilo.
Para voce nao precisar reiniciar o seu endian ( que por sinal demora bastante ) voce so precisa executar o seguinte comando:
restartsquid.py
E voce verá a seguinte mensagem:
2010-03-08 20:36:51,943 – restartsquid.py[11647] – INFO – Reading squid settings …
2010-03-08 20:36:51,965 – restartsquid.py[11647] – INFO – Writing squid configur ation…
/usr/lib/python2.4/site-packages/Cheetah/Compiler.py:1578: UserWarning: You supp lied an empty string for the source!
2010-03-08 20:36:52,614 – restartsquid.py[11647] – INFO – Reloading Authenticati on…
dnsmasq (pid 2789) is running…
2010-03-08 20:36:53,573 – restartsquid.py[11647] – INFO – Reloading squid…
PURPLE: tap0
2010-03-08 20:36:54,833 – restarthavp.py[11696] – INFO – Reading HAVP settings.. .
clamd (pid 10591) is running…
2010-03-08 20:36:55,343 – restarthavp.py[11696] – INFO – Writing havp configurat ion…
2010-03-08 20:36:55,399 – restarthavp.py[11696] – INFO – Stopping havp…
havp (pid 11646 11645 11644 11643 11642 11641 11640 11639 11638 11637 11636 1163 5 11634 11633 11632 11631 11630 11629 11628 11627 11626 11625 11624 11623 11622 11621 11620 11619 11618 11617 11616 11615 11614 11613 11612 11611 11610 11609 11 608 11607 11604) is running…
Shutting down HTTP virus scanner (havp): [ OK ]
havp is stopped
2010-03-08 20:36:55,612 – restarthavp.py[11696] – INFO – Starting havp…
Starting HTTP virus scanner (havp): [ OK ]
2010-03-08 20:36:56,040 – restartdansguardian.py[11786] – INFO – Writing dansgua rdian configuration…
2010-03-08 20:36:56,144 – restartdansguardian.py[11786] – INFO – Stopping dansgu ardian…
Pronto! Pode ir no menu ” ESTADO ” e voce verá o serviço “Antivírus para HTTP (havp)” RODANDO.
Espero ter ajudado.