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

    Squid3 and Squid Guard Issues

    Scheduled Pinned Locked Moved pfSense Packages
    13 Posts 7 Posters 7.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.
    • H
      heathy
      last edited by

      Ok.  So I think I figured out the issue.

      So when I install squidguard it's actually installing Squid 2.7, thus replacing my Squid3 install.

      No SquidGuard installed:

      /usr/local/sbin/squid -v
      Squid Cache: Version 3.1.20

      With SquidGuard installed:
      Squid Cache: Version 2.7.STABLE9

      How do I get squidGuard to not require the 2.7 dependency?  To my knowledge 1.4 works with Squid3.

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

        Reinstall squid3 after squidguard install. Squidguard package to pfsense is compiled to depend on squid2.

        After getting squid3 running with squidguard, check dnsv4first dns option on gui to prevent some https issues.

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

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • H
          heathy
          last edited by

          I had tried that before and it didn't quite take.

          What I've ended up doing is do what you said, install everything, then I removed squid and then I went in via the CLI and removed and squid remnants(like the binary in /usr/local/sbin/squid still existed even after the uninstall).  Once I purged everything out then I installed squid3 again and it seems to take.

          Even with this work around it would seem to be a glitch the packaging system for SquidGuard.  It would be nice if there was a way to do it the correct way versus this workaround way.

          1 Reply Last reply Reply Quote 0
          • S
            Sup3rior
            last edited by

            Hi,

            Having the same problems as described above, and have tried uninstalling both packages and the installing squidguard first and afterwards squid3….

            Now I'm at a point where the squid3 service will start Again (which it wouldn't before) but the squidguard package won't. System is running 2.02-RELEASE

            Any suggestions?

            Regards,
            Anders

            1 Reply Last reply Reply Quote 0
            • S
              Sup3rior
              last edited by

              Ok, so got a Little further… Removed and installed both packages on both CARP nodes, which seems to have fixed something...

              Have 2 issues left now:

              • When attempting to enable XMLRPC sync this error is thrown: Warning: Invalid argument supplied for foreach() in /usr/local/www/pkg_edit.php on line 423

              • When trying to open til Blacklist pane (Services\Proxy filter\Blacklist) I get this error; Parse error: syntax error, unexpected $end in /usr/local/www/squidGuard/squidguard_blacklist.php on line 102

              Any ideas?

              //Anders

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

                @Sup3rior:

                Any ideas?

                Reinstall XML.

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

                1 Reply Last reply Reply Quote 0
                • S
                  Sup3rior
                  last edited by

                  @dvserg:

                  Reinstall XML.

                  Didn't fix anything unfortunately…

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

                    @Sup3rior:

                    @dvserg:

                    Reinstall XML.

                    Didn't fix anything unfortunately…

                    Try 1-2 hours later, when github will apply the latest commit.

                    SquidGuardDoc EN  RU Tutorial
                    Localization ru_PFSense

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sup3rior
                      last edited by

                      @dvserg:

                      Try 1-2 hours later, while github applyed the last comit.

                      Have completely removed both packages, and will install them again tomorrow… I'll get back with how it goes...

                      1 Reply Last reply Reply Quote 0
                      • T
                        T-Monster
                        last edited by

                        I have been looking at these 2 packages recently too…

                        To cut a very long story short, as marcelloc says:

                        @marcelloc:

                        Reinstall squid3 after squidguard install. Squidguard package to pfsense is compiled to depend on squid2.

                        After getting squid3 running with squidguard, check dnsv4first dns option on gui to prevent some https issues.

                        What doesn't help, is that the pfSense wiki says to do it the "wrong" way around:
                        http://doc.pfsense.org/index.php/SquidGuard_package

                        ::)

                        Anyway, now that I've found this thread (and a couple others where marcelloc says the same thing), it's all working for me (at last!)

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

                          Have you tried upgrading to PfSense 2.1 Beta?

                          I get a couple errors in the log but Squid 3.1 Beta and SquidGuard load and work well.

                          1 Reply Last reply Reply Quote 0
                          • N
                            Nachtfalke
                            last edited by

                            @T-Monster:

                            I have been looking at these 2 packages recently too…

                            To cut a very long story short, as marcelloc says:

                            @marcelloc:

                            Reinstall squid3 after squidguard install. Squidguard package to pfsense is compiled to depend on squid2.

                            After getting squid3 running with squidguard, check dnsv4first dns option on gui to prevent some https issues.

                            What doesn't help, is that the pfSense wiki says to do it the "wrong" way around:
                            http://doc.pfsense.org/index.php/SquidGuard_package

                            ::)

                            Anyway, now that I've found this thread (and a couple others where marcelloc says the same thing), it's all working for me (at last!)

                            It is not the wrong way around - it depends on the version of squid and the version of pfsense.
                            I updated the wiki so hopefully this will help others in the future.

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