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

Dansguardian package for 2.0

pfSense Packages
51
492
466.4k
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.
  • S
    samham
    last edited by Feb 13, 2013, 6:41 PM

    The error started after the upgrade, rebooting the firewall fixed the errors, but now DG is not blocking at all, although it's running.

    1 Reply Last reply Reply Quote 0
    • M
      marcelloc
      last edited by Feb 13, 2013, 6:48 PM

      @samham:

      The error started after the upgrade, rebooting the firewall fixed the errors, but now DG is not blocking at all, although it's running.

      Did you applied the manual binary version fix?
      http://forum.pfsense.org/index.php/topic,58442.15.html

      Can you check if auth users are on log files?
      Did you changed authentication methods?

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

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • S
        samham
        last edited by Feb 13, 2013, 6:57 PM

        Did you applied the manual binary version fix?  yes

        Can you check if auth users are on log files? I have no groups or users configured
        Did you changed authentication methods? auth set to none

        1 Reply Last reply Reply Quote 0
        • M
          marcelloc
          last edited by Feb 13, 2013, 7:15 PM

          @samham:

          Did you changed authentication methods? auth set to none

          Change report log format to dansguardian and check if it's showing group applied.

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

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • S
            samham
            last edited by Feb 13, 2013, 7:29 PM

            I see the groups in log "DENIED Banned Regular Expression URL:" however still able to view the link

            1 Reply Last reply Reply Quote 0
            • M
              marcelloc
              last edited by Feb 13, 2013, 7:32 PM

              @samham:

              I see the groups in log "DENIED Banned Regular Expression URL:" however still able to view the link

              :o I'll try to simulate it here.

              If this bug is confirmed, I'll push on dansguardian sourceforge project.

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

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • W
                wheelz
                last edited by Feb 13, 2013, 9:48 PM Feb 13, 2013, 9:17 PM

                Reboot fixed my error.  Is it just best practice to reboot after a package update?

                I haven't gotten to fully testing the filtering yet as I'm still working on my config… (sooooo many parameters)  :o

                Edit:

                On my other machine where I had a blacklist set up to download, the dansguardian package update/reinstall gets stuck here:

                Checking Dansguardian Blacklists… One moment please...
                Found previous blacklist database, skipping download...

                I let it sit for a while and it didn't move.  I then moved on and rebooted.  Now dansguardian GUI menu is missing.  I'm re-running and I'll leave it for a few hours to see if it ever completes gracefully.

                1 Reply Last reply Reply Quote 0
                • M
                  marcelloc
                  last edited by Feb 14, 2013, 12:09 AM

                  @wheelz:

                  Reboot fixed my error.  Is it just best practice to reboot after a package update?

                  Not at all. I usually do an uninstall and then reinstall to be sure binary was killed.

                  @wheelz:

                  I haven't gotten to fully testing the filtering yet as I'm still working on my config… (sooooo many parameters)  :o

                  @wheelz:

                  On my other machine where I had a blacklist set up to download, the dansguardian package update/reinstall gets stuck here:

                  I'm not seeing this issue here, can you check the size of you blacklist file (/usr/local/pkg/blacklist.tgz)?

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

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • W
                    wheelz
                    last edited by Feb 14, 2013, 2:55 PM

                    @wheelz:

                    On my other machine where I had a blacklist set up to download, the dansguardian package update/reinstall gets stuck here:

                    I'm not seeing this issue here, can you check the size of you blacklist file (/usr/local/pkg/blacklist.tgz)?

                    I didn't get back to it and so I left it overnight.  It still was stuck on that screen when I came back to it this morning.  Here is the file info (user name x'd out):

                    -rw-r–r--  1 root  xxxxx  9917215 Feb 13 19:00 /usr/local/pkg/blacklist.tgz

                    1 Reply Last reply Reply Quote 0
                    • S
                      samham
                      last edited by Feb 14, 2013, 3:37 PM

                      completed downloaded file size:

                      -rw-r–r--  1 root  wheel  20825700 Feb  8 00:10 /usr/local/pkg/blacklist.tgz

                      1 Reply Last reply Reply Quote 0
                      • W
                        wheelz
                        last edited by Feb 14, 2013, 9:54 PM

                        @wheelz:

                        @wheelz:

                        On my other machine where I had a blacklist set up to download, the dansguardian package update/reinstall gets stuck here:

                        I'm not seeing this issue here, can you check the size of you blacklist file (/usr/local/pkg/blacklist.tgz)?

                        I didn't get back to it and so I left it overnight.  It still was stuck on that screen when I came back to it this morning.  Here is the file info (user name x'd out):

                        -rw-r–r--  1 root  xxxxx  9917215 Feb 13 19:00 /usr/local/pkg/blacklist.tgz

                        I ended up having to completely uninstall dansguardian, squid3 and then reinstall.  Will continue testing…

                        1 Reply Last reply Reply Quote 0
                        • M
                          mschiek01
                          last edited by Feb 15, 2013, 3:27 AM

                          Same error.  Hangs on checking blacklist.

                          1 Reply Last reply Reply Quote 0
                          • M
                            marcelloc
                            last edited by Feb 15, 2013, 9:42 AM

                            I'm testing on 2.0.3.  What version are you using?

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

                            Help a community developer! ;D

                            1 Reply Last reply Reply Quote 0
                            • M
                              mschiek01
                              last edited by Feb 15, 2013, 1:03 PM

                              2.12.0.3

                              1 Reply Last reply Reply Quote 0
                              • W
                                wheelz
                                last edited by Feb 15, 2013, 2:08 PM

                                My pfsense version is 2.0.2

                                1 Reply Last reply Reply Quote 0
                                • W
                                  wheelz
                                  last edited by Feb 15, 2013, 6:38 PM

                                  @wheelz:

                                  @marcelloc:

                                  @wheelz:

                                  so I guess it is fully a code/package issue?

                                  It's a php limit on pfsense, the problem is to fit large lists on this 256Mb limit on amd64 version

                                  @wheelz:

                                  Anything I can do to work around it until you update it?  At some point it was working until I started making my groups.

                                  How big are your groups user list?

                                  I've pushed pkg v 0.1.7_2 with group acl check.

                                  Actually, right now I only have 5 users in those groups…

                                  I ran into the memory issue again.  I'm guessing that since so there are so many config files for dansguardian that it is filling up its max memory easily when you start configuring everything.  Any way to increase the amount of memory it can use?  I have like 4GB in my box and it show only 17% used right now so I have plenty to spare.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    marcelloc
                                    last edited by Feb 15, 2013, 8:54 PM

                                    @mschiek01:

                                    2.12.0.3

                                    pfsense version 2.0.2?

                                    did you tried to update danguardian bin from my hepo to fix upload size bug?

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

                                    Help a community developer! ;D

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      marcelloc
                                      last edited by Feb 15, 2013, 8:56 PM

                                      @wheelz:

                                      I ran into the memory issue again.  I'm guessing that since so there are so many config files for dansguardian that it is filling up its max memory easily when you start configuring everything.  Any way to increase the amount of memory it can use?  I have like 4GB in my box and it show only 17% used right now so I have plenty to spare.

                                      I'll try to reduce php memory usage on dansguardian apply this weekend.

                                      On amd64 system it's set to 256. to use more, you need to edit php limit on pfsense config files and on package inc file.

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

                                      Help a community developer! ;D

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        elemay
                                        last edited by Feb 17, 2013, 9:17 AM

                                        Hi,

                                        i have the same issues.

                                        Allowed memory size of 262144000 bytes exhausted (tried to allocate 71 bytes) in /usr/local/pkg/dansguardian.inc on line 1138
                                        

                                        and also it doesn't continue installing the package after downloading blacklists file.

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          wheelz
                                          last edited by Feb 17, 2013, 2:59 PM

                                          @marcelloc:

                                          I'll try to reduce php memory usage on dansguardian apply this weekend.

                                          On amd64 system it's set to 256. to use more, you need to edit php limit on pfsense config files and on package inc file.

                                          Is that standard for all packages?  If so, perhaps I'll submit it as an enhancement request to allow changing the max memory for a package in the GUI.

                                          and also it doesn't continue installing the package after downloading blacklists file.

                                          Not sure what the issue here was but I was able to get it to install by first deleting the blacklists file and then doing an uninstall and reinstall of dansguardian and squid3 (I use squid3 in my case).

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