Squidguard - Erro ao editar mensagem de erro (Proxy Denied Error)
-
Ola, tenho um Pfsense 2-1, 32 Bits com Squid ( 2.7.9 pkg v.4.3.3 ) e Squidguard (1.4_4 pkg v.1.9.5). Ja tenho blacklists, grupos de acessos..etc…. tudo certo.
Hoje fui editar o campo:
Proxy Denied Error na aba Commom acl do squidguard, para substituir a mensagem: Request denied by pfSense proxy: 403 Forbidden
por uma personalizada.
Edito e quando salvo ele apaga, vendo os logs vi que ele restaura o backup
o log de erro:Oct 18 08:52:39 php: /pkg_edit.php: New alert found: pfSense is restoring the configuration /cf/conf/backup/config-1382097060.xml Oct 18 08:52:39 php: /pkg_edit.php: pfSense is restoring the configuration /cf/conf/backup/config-1382097060.xml Oct 18 08:52:39 php: /pkg_edit.php: XML error: Undeclared entity error at line 4876 in /conf/config.xml
E o trecho do config.xml onde ele acusa erro: ( na coluna da esquerda o numero da linha)
4873 <squidguarddefault>4874 <config>4875 <dest>LIBERADOS !BLOQUEADOS !blk_BL_adv !blk_BL_aggressive !blk_BL_chat !blk_BL_dating !blk_BL_hacking !blk_BL_porn !blk_BL_radi otv !blk_BL_shopping !blk_BL_socialnet !blk_BL_spyware !blk_BL_warez !blk_BL_webmail !blk_BL_webphone !blk_BL_webradio !blk_BL_webtv all</dest> 4876 <notallowingip>4877 <deniedmessage>4878 <redirect_mode>rmod_int</redirect_mode> 4879 <redirect>4880 <safesearch>4881 <rewrite>4882 <enablelog>on</enablelog> 4883</rewrite></safesearch></redirect></deniedmessage></notallowingip></config> 4884</squidguarddefault> 4885 <tinydns>4886 <config>4887</config></tinydns>
-
Tem algum acento nessa mensagem personalizada?
-
Se tiver troque os carecteres com acento por códigos html (Ã, &Ctilde, etc)
-
Não lembro se tinha palavras acentuadas…vou fazer o teste novamente.... :)
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.