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

    2.4.4-RC - SquidGuard issue - Blacklist

    Scheduled Pinned Locked Moved Cache/Proxy
    22 Posts 8 Posters 2.9k 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.
    • fabricioguzzyF
      fabricioguzzy
      last edited by

      @Carlos-Renato-Monteiro
      You can find the codes under Github:

      https://github.com/pfsense/FreeBSD-ports/tree/RELENG_2_4_4/www/pfSense-pkg-squidGuard

      1 Reply Last reply Reply Quote 0
      • C
        Carlos Renato Monteiro
        last edited by

        In my case the Target Rules field is filled out. The problem is with the Target Rules List. I tested the variable $ upt_val, which should contain the value of the rule, but it comes empty. In summary, the rules seem to be read from the file, but there is some problem filling in the variables passed to or in make_grid_controls. I'm having some difficulty because php is not the "my native language".

        1 Reply Last reply Reply Quote 0
        • C
          Carlos Renato Monteiro
          last edited by

          I found and fixed the problem:

          in the /usr/local/pkg/squidguard.inc file
          on line 558
          change: if (!empty ($val) && is_array ($val)) {
          to: if (!empty ($val)) {

          fabricioguzzyF 1 Reply Last reply Reply Quote 0
          • fabricioguzzyF
            fabricioguzzy
            last edited by

            @Carlos-Renato-Monteiro
            Sounds good. I will test it here Renato.

            1 Reply Last reply Reply Quote 0
            • C
              Carlos Renato Monteiro
              last edited by Carlos Renato Monteiro

              Save a backup of the file before editing it.

              As a bonus, I changed the grid to show the rule name before the description, because I think it's better:

              Line 799: $tbl .= "<td $color> [$name] $description </ td>";

              if you use Target Categories for off-time (overtime), remove rows 580, 581, and 582.

              1 Reply Last reply Reply Quote 0
              • C
                Carlos Renato Monteiro
                last edited by Carlos Renato Monteiro

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • fabricioguzzyF
                  fabricioguzzy @Carlos Renato Monteiro
                  last edited by

                  @carlos-renato-monteiro it didn't work. Maybe because you are using 2.4.3 with the old php version. We got different behaviors.
                  i am also investigating from here.

                  Fabricio.

                  1 Reply Last reply Reply Quote 0
                  • C
                    Carlos Renato Monteiro
                    last edited by Carlos Renato Monteiro

                    If you want to post the file (changed), I'll help you check other things.

                    1 Reply Last reply Reply Quote 0
                    • S
                      skala @fabricioguzzy
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • S
                        skala @fabricioguzzy
                        last edited by

                        @fabricioguzzy

                        Estou com o mesmo problema, atualizei, funcionou tudo direitinho, porém quando vou em GroupACL na parte das Target Rules não aparecem as listas, e quando coloco na mão a regra simplesmente não é salva, e sempre fica no campo como "!all". Ou seja! não consigo usar as Groups ACL do SquidGuard.

                        Alguém ai com o mesmo problema?

                        fabricioguzzyF 1 Reply Last reply Reply Quote 0
                        • fabricioguzzyF
                          fabricioguzzy @skala
                          last edited by

                          @skala - Sim, é um BUG que aconteceu depois da mudança de versão do php.
                          Já está postado lá no Forum em Português - Este aqui é só Inglês.

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            Carlos Renato Monteiro @fabricioguzzy
                            last edited by Carlos Renato Monteiro

                            Por isso não atualizei ainda o Pfsense. Só corrigi o bug do SquidGuard novo no 2.4.3.

                            1 Reply Last reply Reply Quote 0
                            • A
                              aguilaz55
                              last edited by

                              some update of this?
                              because is impossible to use squidGuard in 2.4.4 16 days ago!!!

                              1 Reply Last reply Reply Quote 0
                              • jimpJ
                                jimp Rebel Alliance Developer Netgate
                                last edited by jimp

                                Fixed in squidGuard pkg v 1.16.18 which is up now for 2.4.4-RELEASE and will show up with the next snapshots for 2.4.5-DEV

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                1 Reply Last reply Reply Quote 0
                                • Z
                                  Zilzir
                                  last edited by

                                  It was released version 1.16.18 that corrects this problem, it worked out right here for me pfsense 2.4.4, Thanks to all

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