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 466.8k 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.
    • S
      svtlightning
      last edited by

      Got the firewall rule added but still no go. Can I use squid installed on the same pfsense box?

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

        @svtlightning:

        Got the firewall rule added but still no go. Can I use squid installed on the same pfsense box?

        sure.

        Dansguardian installs squid package. If you know how to configure it, just edit config file.

        If you want to use pfsense squid package, just install it from package menu.

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

        Help a community developer! ;D

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

          Good news!

          Ermal found what was missing to compilation and now we have a package with ssl filtering built in  ;D

          http://forum.pfsense.org/index.php/topic,46207.msg242298.html#msg242298

          I'm now getting DENIED Failed to negotiate ssl connection to client CONNECT 0 0 SSL Site 1 200 but I'll publish changes to get help from everyone who wants to test.

          To get latest package compilation, I suggest an deinstall and then a install.

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

          Help a community developer! ;D

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

            I have been watching this thread over the months and waiting for DG to be released; However, I'm slightly concerned my knowledge of DG and configuring it for pfS will cause me problems.  Be gentle.

            I currently have:
            pfS 2.0.1
            snort 2.9.1 pkg v. 2.1.1
            squid 2.7.9 pkg v.4.3.1
            squidGuard 1.4_2 pkg v.1.9.1
            Lightquid 1.8.0 pkg v.1.5
            installed and working.  When I install DG, what packages will I need to uninstall?  I read that I can keep squid installed since it's a package of pfS, but does that also mean that squidGuard is ok or will DG replace squidGuard and snort?  I'm pretty sure I have to remove squidGuard and snort but I'd like to know for sure before I make the change.

            Also, does DG work better with the version of squid it comes packaged with and installs or are they virtually the same in operation once DG is working?

            Should I wait a while longer before switching over to DG because "something great" is just around the corner or is now a good time, in terms of package development and completeness, to switch over?

            Thank you for help.

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

              @awsiemieniec:

              When I install DG, what packages will I need to uninstall?

              none. You can use all together.

              @awsiemieniec:

              I read that I can keep squid installed since it's a package of pfS, but does that also mean that squidGuard is ok or will DG replace squidGuard and snort?

              Dansguardian can replace squidguard but not snort. Snort is an IDS/IPS and Dansguardian is a web content filtering.

              @awsiemieniec:

              Also, does DG work better with the version of squid it comes packaged with and installs or are they virtually the same in operation once DG is working?

              If forwards request to a proxy server, any squid version will work fine.

              @awsiemieniec:

              Should I wait a while longer before switching over to DG because "something great" is just around the corner or is now a good time, in terms of package development and completeness, to switch over?

              The only native feature from dansguardian that is not working is the experimental ssl filtering. All other options are working fine.

              Just keep in mind that if you need time acls, you will need to transfer it to squid conf as dansguardian does implement it only on few acls.

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

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • D
                danisam
                last edited by

                Hello,

                Thanks a lot for this great package.
                I was trying it yesterday and i saw maybe a problem with Pfsense 2.0.1 Release. Nano BSD with CF 4G and Soekris 5001-70
                a have 2 WANs , WAN1 with Static IP and WAN2 with PPPOE, with Failover. All this configuration was working great.
                I install the Dansguardian package and the failover still working great , but after i reboot the soekris, my PPOE connection didn't came back, and i saw in the PPP Logs that the PPP was waiting for one process to die. I also saw in the systems logs some Dansguardian privileges errors.
                i was fighting 1 hour and try to reboot again and still the same, but after i deinstall the Dansguardian package and reboot again the pppoe connect very quick.
                it' s maybe a coincidence but i will know if somebody had the same problem.
                I could make some test for you if you need it.
                Thanks for your help.
                regards

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

                  On my system(not nanobsd), dansguardian take 01 minute to start at but I get no permission erros.

                  Can you send these permission errors?

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

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • T
                    tesna
                    last edited by

                    Thank you for developers creating this magnificent add on package for pfsense. This is a feature I missed since I migrated from clearos to pfsense :)

                    However, I have a little problem. I managed to get it working but I can't get the antivirus scanner to work. When the content scanner enabled (select clamdscan) on the general tab I get access denied page of "WARNING: Could not perform content scan!" when I try to open a webpage.

                    I also saw this on the dansguardian access log:

                    2012.2.20 16:17:21 - *.*.*.* http:///***** *SCANNED* *DENIED* Error connecting to ClamD socket GET 149 0 Content scanning 1 403 -  Default  - -
                    

                    I'm not sure how to fix the problem since there are clamd daemon when I view the system process

                    
                    root   63856  0.0 14.3 231316 220988  ??  Is   Fri09PM  25:43.08 /usr/local/sbin/clamd -c /usr/local/etc/clamd.conf
                    
                    

                    If the av scanner turned off, all other filtering is working fine.

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

                      Do you have other packages running on this pfsense?

                      I get this error only few seconds after a service restart during config apply.

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

                      Help a community developer! ;D

                      1 Reply Last reply Reply Quote 0
                      • T
                        tesna
                        last edited by

                        I do have HVAP and squidguard installed, but not running. Is this the cause? I'm going to try to remove them now

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

                          You may need to remove havp.

                          Dansguardian package uses the same user applied to clamav conf but I did not tested with havp installed.

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

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • T
                            tesna
                            last edited by

                            @marcelloc:

                            You may need to remove havp.

                            Dansguardian package uses the same user applied to clamav conf but I did not tested with havp installed.

                            I've removed havp, reinstall dansguardian but no luck. Finally I managed to get it working though. I need to modify /usr/local/etc/dansguardian/contentscanners/clamdscan.conf file on the UNIX domain socket thing to match with the value located in /usr/local/etc/clamd.conf

                            Not sure why the value is different, maybe havp changed it?

                            1 Reply Last reply Reply Quote 0
                            • D
                              dvserg
                              last edited by

                              Try remove dansguardian and look exists packages from console - pkg_info
                              If any clam package exist, you must delete it's manually - pkg_delete full_pkg_name

                              Can exist clam AV from havp pkg.

                              Then install dansguardian new.

                              SquidGuardDoc EN  RU Tutorial
                              Localization ru_PFSense

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

                                Not sure why the value is different, maybe havp changed it?

                                Maybe. Try uninstalling clamav after havp just like dvserg told you.

                                If I have some time this week I'll try to check havp clamav config and make dansguardian compatible to it.

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

                                Help a community developer! ;D

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

                                  I've had this same problem never was able to get it to work.  I think the issue occurs when postfix is installed allong with dansguardian.

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

                                    Hi mschiek01,

                                    Postfix and dansguardian with clamav can work together, this setup I've tested sucessfully.

                                    Can you post your pfsense version?
                                    Did you tried a full clamav uninstall as described on previous post?
                                    This way I can simulate the problem.

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

                                    Help a community developer! ;D

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

                                      2.0.1-RELEASE (i386)

                                      I did try full uninstall no luck.  I need to take a look and see if havp and all its components were removed on the deinstall.

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

                                        @marcelloc:

                                        Hi mschiek01,

                                        Postfix and dansguardian with clamav can work together, this setup I've tested sucessfully.

                                        Can you post your pfsense version?
                                        Did you tried a full clamav uninstall as described on previous post?
                                        This way I can simulate the problem.

                                        I did get it to work.  Here is what I did:
                                        Uninstall, postfix, dansguardian & mailscanner
                                        reinstall HAVP
                                        uninstall HAVP & deleted havp user
                                        reinstall postfix, mailscanner, dansguardian

                                        Trying to just pkg_delete the clamv packages was showing errors concerning the packaged deletion.

                                        Stopped working again with "error connecting to clam d socket"

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

                                          The way I did:

                                          Clean install
                                          Postfix
                                          Mailscanner
                                          Dansguardian

                                          I'll do it again this week to test.

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

                                          Help a community developer! ;D

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            Cino
                                            last edited by

                                            still have a lot more testing with SSL man-in-middle but when I try to access https sites, i'm getting the danguardian denied page "Certificate supplied by server was not valid"

                                            still have to check logs and read the docs from danguardian site on this feature.

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