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

    Dansguardian package for 2.0

    Scheduled Pinned Locked Moved pfSense Packages
    492 Posts 51 Posters 511.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.
    • marcellocM
      marcelloc
      last edited by

      @asterix:

      Hopefully the snort/dansguardian issue with pcre on 2.1 is rectified in this version.

      pcre,clamav and acls are working fine on 2.0.x and 2.1.

      I'll do some more tests before package release.

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

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • W
        wheelz
        last edited by

        @marcelloc:

        @asterix:

        Hopefully the snort/dansguardian issue with pcre on 2.1 is rectified in this version.

        pcre,clamav and acls are working fine on 2.0.x and 2.1.

        I'll do some more tests before package release.

        You da man Marcelloc.  Is this package going to have squid 3 already in it or is that more a matter of how the port was done?

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

          @wheelz:

          Is this package going to have squid 3 already in it or is that more a matter of how the port was done?

          still with the same dependencies.

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

          Help a community developer! ;D

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

            package version 0.1.7 with dansguardian 2.12.0.3 is finally out! :)

            changes/fixes

            • fix pcre issue

            • update to dansguardian latest version (2.12.0.3)

            • included multi auth plugin

            • pfsense 2.1 support

            • few gui changes

            • better ldap user auth integration

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

            Help a community developer! ;D

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

              Yaahoooo !!!

              Thank you !    :D

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

                Cant get it to work..

                php: /pkg_edit.php: The command '/usr/local/etc/rc.d/dansguardian.sh start' returned exit code '1', the output was 'kern.ipc.somaxconn: 16384 -> 16384 kern.maxfiles: 131072 -> 131072 kern.maxfilesperproc: 104856 -> 104856 kern.threads.max_threads_per_proc: 4096 -> 4096 Starting dansguardian. Unable to getpwnam() - does the proxy user exist? Proxy user looking for is 'clamav' /usr/local/etc/rc.d/dansguardian.sh: WARNING: failed to start dansguardian'

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

                  what pfsense version are you using? I've tested on 2.0.1 amd64 and 2.1 amd64?

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

                  Help a community developer! ;D

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

                    2.1 amd64

                    During install I get this error 4 times in the system logs

                    php: /pkg_mgr_install.php: The command 'chown -R clamav:nobody /var/log/dansguardian' returned exit code '1', the output was 'chown: clamav: Invalid argument'

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

                      @asterix:

                      2.1 amd64

                      same version I'm testing…

                      Can you check if clamav user exists in /etc/passwd???

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

                      Help a community developer! ;D

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

                        No.. its not there. I have used clean installed 3 times with same results.

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

                          @asterix:

                          No.. its not there. I have used clean installed 3 times with same results.

                          I'm doing some tests here. Since I finish, I'll push a fix.

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

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • M
                            mromero
                            last edited by

                            Same here. I thought it was ready for 2.1 - running PfSense 2.1 64 Beta, Squid 3 in transparent mode and Squidguard - no other packages.

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

                              @mromero:

                              Same here.

                              I've pushed a fix right now with no version change. wait 15 minutes and reinstall the package.

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

                              Help a community developer! ;D

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

                                Installs fine now..

                                For some reason it takes a while before filtering kicks in.

                                Some issues. Banned sites/urls are not getting filtered.  Reboot hasnt helped.

                                Also how do I fix this.. cant find categories anywhere

                                Web upload is banned.

                                Categories:

                                Web upload

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mromero
                                  last edited by

                                  Wish I could help but I am only starting to experiment with this.

                                  Have you added a blacklist such as Shalla?

                                  Once you add and download it will show the various categories you want to ban.

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

                                    Did you configured and applied a blacklist?

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

                                    Help a community developer! ;D

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

                                      Yes Shalla is what I use.

                                      It used to be straight forward. I see the lists after download and I have selected those. But filtering still fails to works

                                      Service restart now gives this error..

                                      Jan 29 22:35:56 dansguardian[55285]: Error connecting via ipc to url cache: No such file or directory
                                      Jan 29 22:35:56 dansguardian[55285]: Error connecting via ipc to url cache: No such file or directory
                                      Jan 29 22:30:17 root: /usr/local/etc/rc.d/dansguardian.sh: WARNING: failed to start dansguardian
                                      Jan 29 22:30:17 dansguardian[80665]: Exiting with error
                                      Jan 29 22:30:17 dansguardian[80665]: Error binding server socket (is something else running on the filter port and ip?
                                      Jan 29 22:30:17 dansguardian[80665]: Error binding socket: [8080 10.0.1.1 0] (Address already in use)

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

                                        Seems other daemon is running on the same port.

                                        Try to stop service and then save config.
                                        Can you check what else is running on 8080?

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

                                        Help a community developer! ;D

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

                                          Tried a clean install. Dont get the port 8080 clash but filtering still doesn't work.

                                          Kinda beats the purpose as bad sites are not filtered.. actually the categories are not going into effect.

                                          Can you re-check and see if the rules are being committed after a save?

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

                                            @asterix:

                                            Can you re-check and see if the rules are being committed after a save?

                                            what auth plugins did you selected?

                                            what you have on dansguardian logs?

                                            My acls are working fine here. I've removed and re included some sites and it reflected on config files.

                                            I'm also seeing log files registering users and groups as well.

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

                                            Help a community developer! ;D

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