Pacote não oficial E2guardian para software pfsense® - Adeus squidguard :D
-
@marcelloc o proxy é transparente autenticado por IP.
-
@willian_wcg roda ele na console pra ver se está gerando algum erro.
e2guardian -Q
-
Estou conectado remotamente, não consigo acessar a console.
Qual o comando que preciso usar? aí posso fazer o teste em outro momento e postar o resultado. -
Consegui rodar o comando.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: e2guardian -Q
SB warning: Undefined list addheader used at line 32 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list override used at line 33 of /usr/local/etc/e2guardian /common.story
SB warning: Undefined list addheader used at line 73 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list override used at line 74 of /usr/local/etc/e2guardian /common.story
SB warning: Undefined list localexception used at line 85 of /usr/local/etc/e2gu ardian/common.story
SB warning: Undefined list localgrey used at line 86 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list localbanned used at line 87 of /usr/local/etc/e2guard ian/common.story
SB warning: Undefined list localexception used at line 105 of /usr/local/etc/e2g uardian/common.story
SB warning: Undefined list localbanned used at line 106 of /usr/local/etc/e2guar dian/common.story
SB warning: Undefined list localgrey used at line 120 of /usr/local/etc/e2guardi an/common.story
SB warning: Undefined list localbanned used at line 125 of /usr/local/etc/e2guar dian/common.story
SB warning: Undefined list localexception used at line 130 of /usr/local/etc/e2g uardian/common.story
SB warning: Undefined list exceptionuseragent used at line 137 of /usr/local/etc /e2guardian/common.story
SB warning: Undefined list exceptionuseragent used at line 144 of /usr/local/etc /e2guardian/common.story
SB warning: Undefined list localexception used at line 163 of /usr/local/etc/e2g uardian/common.story
SB warning: Undefined list addheader used at line 32 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list override used at line 33 of /usr/local/etc/e2guardian /common.story
SB warning: Undefined list addheader used at line 73 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list override used at line 74 of /usr/local/etc/e2guardian /common.story
SB warning: Undefined list localexception used at line 85 of /usr/local/etc/e2gu ardian/common.story
SB warning: Undefined list localgrey used at line 86 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list localbanned used at line 87 of /usr/local/etc/e2guard ian/common.story
SB warning: Undefined list localexception used at line 105 of /usr/local/etc/e2g uardian/common.story
SB warning: Undefined list localbanned used at line 106 of /usr/local/etc/e2guar dian/common.story
SB warning: Undefined list localgrey used at line 120 of /usr/local/etc/e2guardi an/common.story
SB warning: Undefined list localbanned used at line 125 of /usr/local/etc/e2guar dian/common.story
SB warning: Undefined list localexception used at line 130 of /usr/local/etc/e2g uardian/common.story
SB warning: Undefined list exceptionuseragent used at line 137 of /usr/local/etc /e2guardian/common.story
SB warning: Undefined list exceptionuseragent used at line 144 of /usr/local/etc /e2guardian/common.story
SB warning: Undefined list localexception used at line 163 of /usr/local/etc/e2g uardian/common.story
SB warning: Undefined list addheader used at line 32 of /usr/local/etc/e2guardia n/common.story
uma parte está aqui -
outra parte
SB warning: Undefined list override used at line 33 of /usr/local/etc/e2guardian /common.story
SB warning: Undefined list addheader used at line 73 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list override used at line 74 of /usr/local/etc/e2guardian /common.story
SB warning: Undefined list localexception used at line 85 of /usr/local/etc/e2gu ardian/common.story
SB warning: Undefined list localgrey used at line 86 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list localbanned used at line 87 of /usr/local/etc/e2guard ian/common.story
SB warning: Undefined list localexception used at line 105 of /usr/local/etc/e2g uardian/common.story
SB warning: Undefined list localbanned used at line 106 of /usr/local/etc/e2guar dian/common.story
SB warning: Undefined list localgrey used at line 120 of /usr/local/etc/e2guardi an/common.story
SB warning: Undefined list localbanned used at line 125 of /usr/local/etc/e2guar dian/common.story
SB warning: Undefined list localexception used at line 130 of /usr/local/etc/e2g uardian/common.story
SB warning: Undefined list exceptionuseragent used at line 137 of /usr/local/etc /e2guardian/common.story
SB warning: Undefined list exceptionuseragent used at line 144 of /usr/local/etc /e2guardian/common.story
SB warning: Undefined list localexception used at line 163 of /usr/local/etc/e2g uardian/common.story
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: [2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: e2guardian -Q
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root:: Too many arguments.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list addheader used at line 32 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list localgrey used at line 86 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list localbanned used at line 87 of /usr/local/etc/e2guard ian/common.story
SB warning: Undefined list localexception used at line 105 of /usr/local/etc/e2g uardian/common.story
SB warning: Undefined list localbanned used at line 106 of /usr/local/etc/e2guar dian/common.story
SB warning: Undefined list localgrey used at line 120 of /usr/local/etc/e2guardi an/common.story
SB warning: Undefined list localbanned used at line 125 of /usr/local/etc/e2guar dian/common.story
SB warning: Undefined list localexception used at line 130 of /usr/local/etc/e2g uardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list override used at line 33 of /usr/local/etc/e2guardian /common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list addheader used at line 73 of /usr/local/etc/e2guardia n/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list override used at line 74 of /usr/local/etc/e2guardian /common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localexception used at line 85 of /usr/local/etc/e2gu ardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localgrey used at line 86 of /usr/local/etc/e2guardia n/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localbanned used at line 87 of /usr/local/etc/e2guard ian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localexception used at line 105 of /usr/local/etc/e2g uardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localbanned used at line 106 of /usr/local/etc/e2guar dian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localgrey used at line 120 of /usr/local/etc/e2guardi an/common.story
SB warning: Undefined list exceptionuseragent used at line 137 of /usr/local/etc /e2guardian/common.story
SB warning: Undefined list exceptionuseragent used at line 144 of /usr/local/etc /e2guardian/common.story
SB warning: Undefined list localexception used at line 163 of /usr/local/etc/e2g uardian/common.story
SB: Command not found.
SB warning: Undefined list addheader used at line 32 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list override used at line 33 of /usr/local/etc/e2guardian /common.story
SB warning: Undefined list addheader used at line 73 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list override used at line 74 of /usr/local/etc/e2guardian /common.story
SB warning: Undefined list localexception used at line 85 of /usr/local/etc/e2gu ardian/common.story
SB warning: Undefined list localgrey used at line 86 of /usr/local/etc/e2guardia n/common.story
SB warning: Undefined list localbanned used at line 87 of /usr/local/etc/e2guard ian/common.story
SB warning: Undefined list localexception used at line 105 of /usr/local/etc/e2g uardian/common.story
SB warning: Undefined list localbanned used at line 106 of /usr/local/etc/e2guar dian/common.story
SB warning: Undefined list localgrey used at line 120 of /usr/local/etc/e2guardi [2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localbanned used at line 125 of /usr/local/etc/e2guar dian/common.story
an/common.story
SB warning: Undefined list localbanned used at line 125 of /usr/local/etc/e2guar SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localexception used at line 130 of /usr/local/etc/e2g uardian/common.story
dian/common.story
SB warning: Undefined list localexception used at line 130 of /usr/local/etc/e2g SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list exceptionuseragent used at line 137 of /usr/local/etc /e2guardian/common.story
uardian/common.story
SB warning: Undefined list exceptionuseragent used at line 137 of /usr/local/etc SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list exceptionuseragent used at line 144 of /usr/local/etc /e2guardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localexception used at line 163 of /usr/local/etc/e2g uardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list addheader used at line 32 of /usr/local/etc/e2guardia n/common.story
/e2guardian/common.story
SB warning: Undefined list exceptionuseragent used at line 144 of /usr/local/etc /e2guardian/common.story
SB warning: Undefined list localexception used at line 163 of /usr/local/etc/e2g uardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list override used at line 33 of /usr/local/etc/e2guardian /common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list addheader used at line 73 of /usr/local/etc/e2guardia n/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list override used at line 74 of /usr/local/etc/e2guardian /common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localexception used at line 85 of /usr/local/etc/e2gu ardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localgrey used at line 86 of /usr/local/etc/e2guardia n/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localbanned used at line 87 of /usr/local/etc/e2guard ian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localexception used at line 105 of /usr/local/etc/e2g uardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localbanned used at line 106 of /usr/local/etc/e2guar dian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localgrey used at line 120 of /usr/local/etc/e2guardi an/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localbanned used at line 125 of /usr/local/etc/e2guar dian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localexception used at line 130 of /usr/local/etc/e2g uardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list exceptionuseragent used at line 137 of /usr/local/etc /e2guardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list exceptionuseragent used at line 144 of /usr/local/etc /e2guardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localexception used at line 163 of /usr/local/etc/e2g uardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list addheader used at line 32 of /usr/local/etc/e2guardia n/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list override used at line 33 of /usr/local/etc/e2guardian /common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list addheader used at line 73 of /usr/local/etc/e2guardia n/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list override used at line 74 of /usr/local/etc/e2guardian /common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localexception used at line 85 of /usr/local/etc/e2gu ardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localgrey used at line 86 of /usr/local/etc/e2guardia n/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localbanned used at line 87 of /usr/local/etc/e2guard ian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localexception used at line 105 of /usr/local/etc/e2g uardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localbanned used at line 106 of /usr/local/etc/e2guar dian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localgrey used at line 120 of /usr/local/etc/e2guardi an/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localbanned used at line 125 of /usr/local/etc/e2guar dian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localexception used at line 130 of /usr/local/etc/e2g uardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list exceptionuseragent used at line 137 of /usr/local/etc /e2guardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list exceptionuseragent used at line 144 of /usr/local/etc /e2guardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: SB warning: Undefined list localexception used at line 163 of /usr/local/etc/e2g uardian/common.story
SB: Command not found.
[2.4.3-RELEASE][admin@pfSense.XXX.LOCAL]/root: -
Consegui resolver a parte do RealTime. Encontrei nos destination bypass o erro, removi os IPs e Hosts de lá e criei Aliases com eles a apontei o Alias no campo. Resolveu o problema do RealTime, já a Blacklist ainda persiste. Ela está funcionando as ACLs normalmente, só não está baixando.
-
@willian_wcg said in Pacote não oficial E2guardian para software pfsense - Adeus squidguard :D:
Ela está funcionando as ACLs normalmente, só não está baixando.
Dns está funcionando corretamente?
-
Sim, toda a navegação está operante.
Porém acabei de fazer um teste aqui.. da console tentei ping para o www.shallalist.de e deu 'no route to host'.
Mas como falei a navegação está OK, pois estou acessando a interface do Pfsense remotamente, alguma idéia de como resolver?
-
Tenta um traceroute pra lá, pode ser problema de roteamento do provedor ou seu ip tá bloqueado para acessar esse site.
-
@marcelloc cara... problemas simples mas as vezes se batemos tipo baratas tontas.. como o cliente mudou de provedor de internet, se manteve o gateway 'antigo' ativo, pois esse provedor novo entrou em outra interface, só desabilitei esse GW e defini o novo como 'default'.
tks..
-
@marcelloc estou com a versão 5 do e2guardian e fiz o bloqueio do facebook.com porém o site olx é liberado, ao entrar na pagina inicial do olx tudo corre normal porém quando se escolhe a região aparece nos logs que houve o bloqueio por conta do facebook
https://www.facebook.com 403 - Default NEGADO Sítio proibido: facebook.com
Dentro da pagina do olx quando se escolhe a região tem um script que acredito para quem quer se conectar usando a conta do facebook e por isso a pagina não carrega, sabe me dizer onde libero?
Segue o script
"<script>(function() {
var _fbq = window._fbq || (window._fbq = []);
if (!_fbq.loaded) {
var fbds = document.createElement('script');
fbds.async = true;
fbds.src = '//connect.facebook.net/en_US/fbds.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(fbds, s);
_fbq.loaded = true;
}
_fbq.push(['addPixelId', '592658194155317']);
})();
window._fbq = window._fbq || [];
window._fbq.push(['track', 'PixelInitialized', {}]);
</script>
<noscript><img height="1" width="1" border="0" alt="" style="display:none" src="https://www.facebook.com/tr?id=592658194155317&ev=NoScript" /></noscript>" -
Talvez fazendo uma exception pelo conteúdo da página no lugar de bloquear o dominio.
-
Boa tarde Marcello!
Configurei o E2guardian conforme seu tutorial e funcionou perfeitamente. Uma pergunta: tinha no siquid guard uma p´ção de voce definir "time" por exemplo os acessos definidos como bloqueio dentro de um horario especificado por exemplo das 08:00-12:00 e das 13:30-18:00 era bloqueado e fora desse horario era liberado esse função tem no e2guardian?
-
@rene_probst , tem sim, ela aparece dentro de cada acl que estiver configurando, e para facilitar nossa vida, você seleciona um time schedule do próprio pfSense.
-
@marcelloc Ok Mas onde especificamente vc pode informar. Eu verifiquei no menu ACLs e dentro de Site list, dentro deste menu nao vi nada relacionado a time.. Pode me ajudar?
-
@rene_probst said in Pacote não oficial E2guardian para software pfsense - Adeus squidguard :D:
@marcelloc Ok Mas onde especificamente vc pode informar. Eu verifiquei no menu ACLs e dentro de Site list, dentro deste menu nao vi nada relacionado a time.. Pode me ajudar?
-
Marcelloc,
Você poderia me ajudar com exemplos nesse e2guardian.php? -
@danilosv-03 said in Pacote não oficial E2guardian para software pfsense - Adeus squidguard :D:
Marcelloc,
Você poderia me ajudar com exemplos nesse e2guardian.php?Eu fiz esse e2gerror.php baseado no template html. Ele é bem simples. Já testou ele sem alteração?
-
@marcelloc Certo Marcello, conseguimos definir a schedule da seguinte forma. Nome de Comercial. e colando um range de horario nesta schedule: 08:00-12:00 e das 13:30-18:00. Pergunta. fora dessa range de horario definido na acl que crie os usuarios terao acessos aos sites que estavam bloqueado?
-
This post is deleted!