Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squidguard - Erro ao editar mensagem de erro (Proxy Denied Error)

    Scheduled Pinned Locked Moved Portuguese
    4 Posts 3 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marcosjostM Offline
      marcosjost
      last edited by

      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> 
      
      1 Reply Last reply Reply Quote 0
      • Z Offline
        zilmar
        last edited by

        Tem algum acento nessa mensagem personalizada?

        1 Reply Last reply Reply Quote 0
        • marcellocM Offline
          marcelloc
          last edited by

          Se tiver troque os carecteres com acento por códigos html (Ã, &Ctilde, etc)

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • marcosjostM Offline
            marcosjost
            last edited by

            Não lembro se tinha palavras acentuadas…vou fazer o teste novamente.... :)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.