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

    Upgrade to pfsense 2.2 ->Installation of squidGuard-squid3 FAILED(for me Solved)

    Scheduled Pinned Locked Moved pfSense Packages
    33 Posts 18 Posters 19.1k 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

      You mean captive portal itself or squid  package integration with captive?

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

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • E
        edanpedragosa
        last edited by

        No, Captive Portal is a separate issue with the 2.2 upgrade.

        It seems that it no longer works on my setup.

        1 Reply Last reply Reply Quote 0
        • X
          xtrgeo
          last edited by

          I finally managed to make squidguard an squid 3 to work after the upgrade.

          So, for those having problem when upgrading from 2.1.5 to 2.2 with squid3 and squidguard3 installed:

          1. After the updtae finishes, squid and squidguard does not start.

          2. Uninstall both packages (don't worry,settings are not lost)

          3. Reinstall squid3 and squidguard

          4. If clamd service looks disable, try to run on command promt  freshclam

          5 .This should update clam database and enable the service. It might need some minutes for the service to appear as running.

          6. If you are behind a proxy you have to manually edit the file /usr/pbi/squid-amd64/local/etc/freshclam.conf and write there your proxy ip and port

          7. After all that you have to update the blacklist database of squidguard in case of having one

          8. Finally follow the instructions of marcello and go through every tab from left to right in both squid and squidguard, by pressing save to each.

          9. Take care of the paths in antivirus tab in squid! In file squidclamav.conf and c-icap.conf

          That's how it worked for me!

          As for lightsquid, it work with the directions of this post  https://forum.pfsense.org/index.php?topic=86584.msg474777#msg474777

          But the problem with sqstat remains…

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

            @Steve:

            Hi aityahiaidir and moh10ly,

            You both did this the hard way.

            Under System/Advanced under the Miscellaneous tab you'll find the attached. Just hit the checkbox and try the install again.

            Steve

            thanks for the tip, it's good knowledge

            1 Reply Last reply Reply Quote 0
            • F
              foresthus
              last edited by

              Thnx 4 the instructions. I will try it out this week and will leave my results here.

              cu soon

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

                Hi,

                tested with second pfsense using squidGuard-devel worked without check "Do NOT check package signature "

                regards

                Max

                1 Reply Last reply Reply Quote 0
                • KOMK
                  KOM
                  last edited by

                  You don't even have to uninstall.  During my tests over the weekend, Squid3 refused to start consistently until I reinstalled the entire package using the small PKG button.  After reinstall, everything was working.  A reinstall appears to do a remove and then an install, so you're just saving a few clicks.

                  1 Reply Last reply Reply Quote 0
                  • V
                    voxeljorz
                    last edited by

                    1. This thread helped me. Thanks.
                    1 Reply Last reply Reply Quote 0
                    • M
                      MaxHeadroom
                      last edited by

                      Hi,

                      i found out why squid3 could not start after upgrade to pfsense 2.2. because of the old package
                      HAVP (wil not be installed any more)

                      *) squid3 has the "Custom Settings->Integrations" field where the old HAVP config is still there.

                      Solution: remove all entries ->Save ( if you want SquidGuard dont forget to reapply it via tab proxy filter & don't forget to save)

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

                        If all of the above suggestions fail !!  - My final solution..

                        After reinstalling both Squid3 and SquidGuard with certificate checking turned off, resaving every config tab for both packages, reloading blacklist DB, checking all settings had transferred over in the upgrade from 2.1.5 -> 2.2.  Still SquidGuard service would not start.  No filtering was occurring.

                        The solution was on the Squid General Settings tab.  I needed to reselect the LAN option in the proxy interface drop down list.  LAN was already at the top of the list and appeared to be selected.  Clicking on it to turn blue and then doing the same with the Transparent Proxy Interface selection, then clicking save.  SquidGuard started filtering and the service stayed on. So although most other settings carried over during the upgrade, one or both of the interface selections in the drop down lists did not.

                        That was obscure.  May others not waste as many hours as I did trying to find that!

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

                          This is the part where I ask how much of that you NEED?

                          1 Reply Last reply Reply Quote 0
                          • E
                            edanpedragosa
                            last edited by

                            @hackersoft:

                            The squid squidguard install problem also happened on my server and here's what I did to resolve the issue:

                            1. Went to System | Advanced | Miscellaneous and scrolled down to the end of the page and ticked
                            Do NOT check package signature
                            Enable this option to allow pfSense to install any package without checking its signature.

                            2. Reinstall Squid3, then squidguard-squid3

                            3. Re-downloaded blacklists from my previous source.

                            4. Saved and applied configuration

                            5. Squid and Squidguard is back to working condition.

                            I'm still checking what happened to the Captive Portal as it does not seem to work now…

                            Just sharing...

                            Regarding the Captive Portal issues.  I was able to solve it by opening ports 8000 to 8004 in firewall rules.

                            Hope it can also help someone.

                            The other issue I found now is that sarg stopped working. Anyone got this solved already?

                            Thanks!

                            1 Reply Last reply Reply Quote 0
                            • E
                              exograpix
                              last edited by

                              Have you restart the firewall.

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