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

    Filter porn, virus's and ads with squid3, HAVP, Dansguardian and privoxy.

    Scheduled Pinned Locked Moved Documentation
    43 Posts 13 Posters 73.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.
    • K
      KeltecRFB
      last edited by

      Marcello,

      What is your recommended configuration?

      Thanks!

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

        @KeltecRFB:

        What is your recommended configuratio?

        User -> dansguardian -> squid -> internet
                        (With clamav)

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

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • K
          KeltecRFB
          last edited by

          Any good documentation on just using Squid and Dansguardian or point me to the best thread because everything I have tried fails.

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

            @KeltecRFB:

            Any good documentation on just using Squid and Dansguardian or point me to the best thread because everything I have tried fails.

            Did you tried this?

            Installing the Dansguardian package in PFSense - One user's experience

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

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • K
              KeltecRFB
              last edited by

              @marcelloc:

              Did you tried this?

              Installing the Dansguardian package in PFSense - One user's experience

              Thank you, I figured out what was wrong … :-)

              Now to figure out anti-virus.

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

                @KeltecRFB:

                Now to figure out anti-virus.

                just select clamdscan on system -> dansguardian -> general and save config

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

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • K
                  KeltecRFB
                  last edited by

                  @marcelloc:

                  @KeltecRFB:

                  Now to figure out anti-virus.

                  just select clamdscan on system -> dansguardian -> general and save config

                  I did just that but then Danguardian pops up with a message stating it is blocking the site because it can not scan it, Categories:  Content scan.  What else needs to be done; do I also need to disable a categories filter?

                  Thanks!

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

                    Force a frashclam update on console and then restart dansguardian(or save config)

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

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • K
                      KeltecRFB
                      last edited by

                      @marcelloc:

                      Force a frashclam update on console and then restart dansguardian(or save config)

                      Did that, same response - website blocked, unable to scan content…

                      In addition, if I turn on clamdscan, and then turn it off because it is not working properly yet, I have to reboot the box for internet connectivity to be restored.

                      Should I try to enable it and reboot?

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

                        Are you on latest dansguardian package version?

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

                        Help a community developer! ;D

                        1 Reply Last reply Reply Quote 0
                        • K
                          KeltecRFB
                          last edited by

                          @marcelloc:

                          Are you on latest dansguardian package version?

                          2.12.0.3 pkg v.0.1.7

                          1 Reply Last reply Reply Quote 0
                          • K
                            KeltecRFB
                            last edited by

                            I see other people have had this problem, but nothing sticks out yet.

                            1 Reply Last reply Reply Quote 0
                            • K
                              KeltecRFB
                              last edited by

                              Marcello,

                              I tried doing this and the download was successful, however, the deny page for Cisco is still displayed when clamdscan is activated.

                              http://forum.pfsense.org/index.php/topic,52163.0.html

                              1 Reply Last reply Reply Quote 0
                              • K
                                KeltecRFB
                                last edited by

                                Problem resolved…

                                I made a change thinking that was the problem for something else but it wasn't and caused a problem with clamdscan working properly.  Now everything is working.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  Phobia
                                  last edited by

                                  Hi all,

                                  I followed this, and got it to work, but found that things eventually slowed to a crawl. I think my box may be under powered, but for me, blocking Ads network wide would be enough.

                                  Can privoxy work standalone?  I get an error in my browser when I try to NAT directly to 8118 :

                                  invalid header received from client

                                  Privoxy is listening on localhost:8118

                                  I would appreciate any tips.

                                  Phob

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

                                    Did you tried only dansguarguardian (with clamav enabled) + squid?

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

                                    Help a community developer! ;D

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      Phobia
                                      last edited by

                                      No I didn't - I thought privoxy would be more light weight, if I only need to block ads…

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

                                        You are having issues using only privoxy?

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

                                        Help a community developer! ;D

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          Phobia
                                          last edited by

                                          Sorry for the delay in my reply.

                                          Yes, I was receiving an error message for every page I tried to browse when I pointed the NAT rule directly to port 8118 (Privoxy):

                                          "invalid header received from client"

                                          I finally installed Squid3 again, and set 8118 as the parent.  I still wasn't having any luck until I changed Squid to transparent mode and eliminated the NAT rule to 8118.

                                          Now things seem to be working, but I'm running Squid when I don't think I should need to for a Privoxy only setup.

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            krk
                                            last edited by

                                            I get the following error when trying to start privoxy:
                                            Starting privoxy.
                                            /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "privoxy"

                                            Has anyone else had this?  What did you do to resolve the issue?

                                            thanks

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