Possivel BUG SquidGuard - PfSense 2.3.1



  • Olá pessoal, estou implementando um Squid+SquidGuard e apareceu um problema que acredito ser um BUG.

    Ao criar mais que 2 Target categories, toda vez que entro em Groups ACL e tento editar algum grupo, aparece um Warning e não lista as Target categories para eu selecionar e dar permissão (ALLOW ou DENNY).

    Segue a mensagem do warning:

    Warning: gettext(): msgid passed too long in /usr/local/www/classes/Form/Input.class.php on line 250 Call Stack: 0.0001 229960 1. {main}() /usr/local/www/pkg_edit.php:0 0.0381 1774544 2. Form->__toString() /usr/local/www/pkg_edit.php:1526 0.0381 1774920 3. implode() /usr/local/www/classes/Form.class.php:102 0.0381 1775056 4. Form_Section->__toString() /usr/local/www/classes/Form.class.php:102 0.0381 1775456 5. implode() /usr/local/www/classes/Form/Section.class.php:96 0.0389 1781880 6. Form_Group->__toString() /usr/local/www/classes/Form/Section.class.php:96 0.0390 1784008 7. implode() /usr/local/www/classes/Form/Group.class.php:142 0.0390 1784008 8. Form_Input->__toString() /usr/local/www/classes/Form/Group.class.php:142 0.0390 1784296 9. gettext() /usr/local/www/classes/Form/Input.class.php:250

    E após essa msg, quando volto para tela inicial do PfSense aparece um aviso de CRASH:

    pfSense has detected a crash report or programming bug. Click here for more information

    Ao clicar para mais informação:

    Crash report begins.  Anonymous machine information:

    amd64
    10.3-RELEASE
    FreeBSD 10.3-RELEASE #6 05adf0a(RELENG_2_3_0): Mon Apr 11 18:52:07 CDT 2016    root@ce23-amd64-builder:/builder/pfsense-230/tmp/obj/builder/pfsense-230/tmp/FreeBSD-src/sys/pfSense

    Crash report details:

    PHP Errors:
    [17-May-2016 14:34:13 America/Sao_Paulo] PHP Stack trace:
    [17-May-2016 14:34:13 America/Sao_Paulo] PHP  1. {main}() /usr/local/www/pkg_edit.php:0
    [17-May-2016 14:34:13 America/Sao_Paulo] PHP  2. Form->__toString() /usr/local/www/pkg_edit.php:1526
    [17-May-2016 14:34:13 America/Sao_Paulo] PHP  3. implode() /usr/local/www/classes/Form.class.php:102
    [17-May-2016 14:34:13 America/Sao_Paulo] PHP  4. Form_Section->__toString() /usr/local/www/classes/Form.class.php:102
    [17-May-2016 14:34:13 America/Sao_Paulo] PHP  5. implode() /usr/local/www/classes/Form/Section.class.php:96
    [17-May-2016 14:34:13 America/Sao_Paulo] PHP  6. Form_Group->__toString() /usr/local/www/classes/Form/Section.class.php:96
    [17-May-2016 14:34:13 America/Sao_Paulo] PHP  7. implode() /usr/local/www/classes/Form/Group.class.php:142
    [17-May-2016 14:34:13 America/Sao_Paulo] PHP  8. Form_Input->__toString() /usr/local/www/classes/Form/Group.class.php:142
    [17-May-2016 14:34:13 America/Sao_Paulo] PHP  9. gettext() /usr/local/www/classes/Form/Input.class.php:250
    [17-May-2016 14:37:50 America/Sao_Paulo] PHP Stack trace:
    [17-May-2016 14:37:50 America/Sao_Paulo] PHP  1. {main}() /usr/local/www/pkg_edit.php:0
    [17-May-2016 14:37:50 America/Sao_Paulo] PHP  2. Form->__toString() /usr/local/www/pkg_edit.php:1526
    [17-May-2016 14:37:50 America/Sao_Paulo] PHP  3. implode() /usr/local/www/classes/Form.class.php:102
    [17-May-2016 14:37:50 America/Sao_Paulo] PHP  4. Form_Section->__toString() /usr/local/www/classes/Form.class.php:102
    [17-May-2016 14:37:50 America/Sao_Paulo] PHP  5. implode() /usr/local/www/classes/Form/Section.class.php:96
    [17-May-2016 14:37:50 America/Sao_Paulo] PHP  6. Form_Group->__toString() /usr/local/www/classes/Form/Section.class.php:96
    [17-May-2016 14:37:50 America/Sao_Paulo] PHP  7. implode() /usr/local/www/classes/Form/Group.class.php:142
    [17-May-2016 14:37:50 America/Sao_Paulo] PHP  8. Form_Input->__toString() /usr/local/www/classes/Form/Group.class.php:142
    [17-May-2016 14:37:50 America/Sao_Paulo] PHP  9. gettext() /usr/local/www/classes/Form/Input.class.php:250
    [17-May-2016 14:44:37 America/Sao_Paulo] PHP Stack trace:
    [17-May-2016 14:44:37 America/Sao_Paulo] PHP  1. {main}() /usr/local/www/pkg_edit.php:0
    [17-May-2016 14:44:37 America/Sao_Paulo] PHP  2. Form->__toString() /usr/local/www/pkg_edit.php:1526
    [17-May-2016 14:44:37 America/Sao_Paulo] PHP  3. implode() /usr/local/www/classes/Form.class.php:102
    [17-May-2016 14:44:37 America/Sao_Paulo] PHP  4. Form_Section->__toString() /usr/local/www/classes/Form.class.php:102
    [17-May-2016 14:44:37 America/Sao_Paulo] PHP  5. implode() /usr/local/www/classes/Form/Section.class.php:96
    [17-May-2016 14:44:37 America/Sao_Paulo] PHP  6. Form_Group->__toString() /usr/local/www/classes/Form/Section.class.php:96
    [17-May-2016 14:44:37 America/Sao_Paulo] PHP  7. implode() /usr/local/www/classes/Form/Group.class.php:142
    [17-May-2016 14:44:37 America/Sao_Paulo] PHP  8. Form_Input->__toString() /usr/local/www/classes/Form/Group.class.php:142
    [17-May-2016 14:44:37 America/Sao_Paulo] PHP  9. gettext() /usr/local/www/classes/Form/Input.class.php:250

    Aparece a opção de enviar para a equipe de desenvolvimento. E assim eu o fiz.

    Bem pessoa, nos teste que eu fiz, se eu excluir qualquer uma das Target categories ficando somente a quantidade 2, tudo volta a funcionar.

    Não estou usando blacklist e também já reiniciei o servidor.

    Gratos e se alguém estiver alguma solução nos ajude.

    Valeu.



  • Ae pessoal já achei a solução no forum americano:

    Solução: https://forum.pfsense.org/index.php?topic=110088.0

    Deu certo. Valeu ai.


Log in to reply