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

    Squid 6.5 !! Nov 6th

    Scheduled Pinned Locked Moved Cache/Proxy
    squid updatebug fixesupstream fix
    82 Posts 12 Posters 18.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.
    • M
      mcury @michmoor
      last edited by

      I understand what you guys are saying, I thought about this for a long time..

      Fortinet and etc, they have teams and robots to categorize websites, they have their own URL categorization, this is expensive to maintain and update. If you report a website that is wrongly categorized, the team will check and work to fix that in a few hours, it never exceeds one day.
      Do you guys want a service like that ? Well, you need to pay for it.

      Now, when speaking about Squid/Squidguard, if you plan to deploy it for 10 customers, prepare for a lot of trouble because, splice all method is going away, yes, encrypted SNI headers are becoming a reality and the only option you will have is to bump everything (MITM) and you guys know how that can be...
      You have to worry about websites as financial, governamental, social media, windows updates, messaging apps and etc....

      Now think, you have deployed Squid for 10 customers, can you handle the storm of problems that this will bring ?
      If you think that you can tune everything for everyone, and you can handle every problem that appears, even the small ones such as an image in a site don't opening, go ahead and install Squid, but I would say, do it in another device due to the security risks already mentioned.

      Now, when speaking about pfblockerNG DNSBL, it is much easier to maintain than Squid, you can tune it much more easily and block everything you want, but it also has problems.
      DoH, DOT and QUIC, these can be a problem but as I see it, you wcan work around that but you will be leaving performance on the table because the world is moving forward, protocols are evolving.

      So, as I see it, if you want to perform URL filtering based on categories, with everything working and be able to deploy it for a customers without being overwhelmed by problems ? Do it at the end point, this will save you so much trouble and performance and will be so much better.. Or, pay for it, have you guys heard about Zorus project ?

      dead on arrival, nowhere to be found.

      1 Reply Last reply Reply Quote 0
      • JonathanLeeJ
        JonathanLee @michmoor
        last edited by JonathanLee

        @michmoor

        I am once again lost in the awesome mountain of power that is big tech. To have such tools ripped away under the context of vulnerabilities, is counterintuitive to end user based cybersecurity.

        Make sure to upvote

        1 Reply Last reply Reply Quote 0
        • L
          lg1980
          last edited by

          Hello,

          For anyone interested, I compiled the Squid update for version 6.5 (pfSense 2.7.1) as per the release of the Squid project and made it available here:

          https://pkg.pf2ad.com/pfsense/2.7.1/amd64/All/squid-6.5.pkg

          How am I going to maintain the pf2ad project (https://pf2ad.com) and for customers who use it want to continue. I will maintain the update and repository for Squid and Squidguard (updating any version/changes).

          In the installation script I have already prepared the check and update for the latest version of Squid.

          Regards,

          Luiz Costa

          JonathanLeeJ J 3 Replies Last reply Reply Quote 4
          • JonathanLeeJ
            JonathanLee @lg1980
            last edited by

            @lg1980 I am so happy bro!!! This is amazing. Epic, epicness. Take that spyware!!!! Booyeahhhhh

            Thank you

            Make sure to upvote

            1 Reply Last reply Reply Quote 1
            • J
              jc1976 @lg1980
              last edited by

              @lg1980

              Luiz,

              I just got home last night from the holiday to see this..

              I can't thank you enough!

              i am in no way shape or form a firewall/security guru, however in my limited experience i absolute think pfsense is beyond incredible, and it's the independent devs such as bbcan (pfblockerng) and yourself that make this firewall so much better than the be companies ever could..

              i'd rather donate to devs such as yourself and bbcan and anyone else who takes time out to contribute because they're devoted to the cause and love their craft than the folks at the big companies who sub-out the work to some sweat-shop halfway full of crappy programmers halfway around the globe all in the name of saving money..

              Thanks again!

              1 Reply Last reply Reply Quote 1
              • J
                jc1976 @lg1980
                last edited by

                @lg1980

                One question?
                again, i'm a novice so..

                how do we install the version of squid you compiled? i don't have any AD integration for my setup, so i'm only looking to update my installation to the latest.

                Also, what is the order of updating/installation between squid and pfsense? i'm currently on pfsense 2.7CE. do i update squid to 6.5 first and then pfsense to 2.7.1?

                Thanks!!

                L 1 Reply Last reply Reply Quote 1
                • L
                  lg1980 @jc1976
                  last edited by lg1980

                  @jc1976 said in Squid 6.5 !! Nov 6th:

                  @lg1980

                  One question?
                  again, i'm a novice so..

                  how do we install the version of squid you compiled? i don't have any AD integration for my setup, so i'm only looking to update my installation to the latest.

                  Also, what is the order of updating/installation between squid and pfsense? i'm currently on pfsense 2.7CE. do i update squid to 6.5 first and then pfsense to 2.7.1?

                  Thanks!!

                  I made a little snippet to automate this:

                  https://gitlab.labexposed.com/-/snippets/14

                  1 - Update all pfsense and all packages, including squid
                  2 - Just run the command: "fetch -q -o - https://gitlab.labexposed.com/-/snippets/14/raw/main/update-squid.sh | sh"

                  Basically it will add the pf2ad repository and update squid, using this repository

                  I hope it helps !

                  Welcome !

                  Luiz Costa

                  J 1 Reply Last reply Reply Quote 1
                  • J
                    jc1976 @lg1980
                    last edited by jc1976

                    @lg1980

                    i copied and pasted the command you gave me after ssh'ing

                    "fetch -q -o - https://gitlab.labexposed.com/-/snippets/14/raw/main/update-squid.sh | sh"

                    (without quotes) into my pfsense box as root and it gave me the following error:

                    ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg"
                    ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg"

                    the packages i have installed are as follows:

                    pfsense packages.JPG

                    i'm still on 2.7.0 (stable).

                    Thanks!!

                    JonathanLeeJ L 2 Replies Last reply Reply Quote 0
                    • JonathanLeeJ
                      JonathanLee @jc1976
                      last edited by

                      @jc1976
                      Try this I had the same issue

                      https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors

                      Make sure to upvote

                      J 1 Reply Last reply Reply Quote 1
                      • J
                        jc1976 @JonathanLee
                        last edited by

                        @JonathanLee

                        cool, thanks! i'll try it when i get home.

                        should i bother uninstalling the old squid first?

                        what will it take to get this package put into the regular package manager? Luiz makes this look pretty effortless, why are the devs fighting the update?

                        JonathanLeeJ 1 Reply Last reply Reply Quote 0
                        • JonathanLeeJ
                          JonathanLee @jc1976
                          last edited by JonathanLee

                          @jc1976 I don't know. I still have that lib error when I check for updates but I can check package updates now on commnd line. This command fixed my package issues.

                          pkg-static install -f -y pkg
                          

                          Make sure to upvote

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            jc1976 @JonathanLee
                            last edited by

                            @JonathanLee

                            what about for a fresh install? meaning, the whole firewall was reinstalled and now on version 2.7.1 stable and i want to do a fresh install of squid. run the same command to install the package Luiz created?

                            thanks!

                            JonathanLeeJ L 2 Replies Last reply Reply Quote 1
                            • JonathanLeeJ
                              JonathanLee @jc1976
                              last edited by JonathanLee

                              @jc1976 I have PfSense plus, if I did a reinstall it would lose Snort. That does not work in version 23.09 for my arm processor. With the updates I am locked out of the GUI. I opened a TAC support to get 23.05.01 firmware, but I realized it wouldn't fix the Snort package that has the core dump issues... Now it's like my Airport extreme it no longer gets updates. But the 23.05.01 version is perfect everything works. I love this version.

                              Make sure to upvote

                              L 1 Reply Last reply Reply Quote 0
                              • J
                                jc1976
                                last edited by

                                i had to do a fresh install of pfsense at work so we're on 2.7.1ce.

                                i take it that the squid installer first listed by Luiz is just an update? i ran the command that he had given us but nothing happened.

                                i'm a bit confused; if we can't install squid from the package manager because it's incompatible with 2.7.1 then how do we update it with the script?

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  lg1980 @jc1976
                                  last edited by

                                  @jc1976 said in Squid 6.5 !! Nov 6th:

                                  i'm still on 2.7.0 (stable).

                                  It's because of that. The binary I compiled is for version 2.7.1(already with the new OpenSSL version)

                                  You have to update your pfsense first

                                  thanks

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    lg1980 @jc1976
                                    last edited by

                                    @jc1976 said in Squid 6.5 !! Nov 6th:

                                    @JonathanLee

                                    what about for a fresh install? meaning, the whole firewall was reinstalled and now on version 2.7.1 stable and i want to do a fresh install of squid. run the same command to install the package Luiz created?

                                    thanks!

                                    Yes ! If you are running version 2.7.1 of pfsense and already have Squid installed, just run the command I sent to update the Squid package.

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      lg1980 @JonathanLee
                                      last edited by

                                      @JonathanLee said in Squid 6.5 !! Nov 6th:

                                      @jc1976 I have PfSense plus, if I did a reinstall it would lose Snort. That does not work in version 23.09 for my arm processor. With the updates I am locked out of the GUI. I opened a TAC support to get 23.05.01 firmware, but I realized it wouldn't fix the Snort package that has the core dump issues... Now it's like my Airport extreme it no longer gets updates. But the 23.05.01 version is perfect everything works. I love this version.

                                      In the plus version I have no idea how this is going.

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        lg1980 @jc1976
                                        last edited by

                                        @jc1976 said in Squid 6.5 !! Nov 6th:

                                        i had to do a fresh install of pfsense at work so we're on 2.7.1ce.

                                        i take it that the squid installer first listed by Luiz is just an update? i ran the command that he had given us but nothing happened.

                                        i'm a bit confused; if we can't install squid from the package manager because it's incompatible with 2.7.1 then how do we update it with the script?

                                        Did you normally install Squid? it natively, in the pfsense repository it will be in version 6.3

                                        The script I made updates the package to version 6.5 (the latest available). you will do this last.

                                        I will calmly prepare a repository with all the packages in the Squid family (Squid, Squidguard, Lightsquid...), they are the ones that should lose native support in the next version.

                                        From this point on, we will have to install Squid from scratch in this new repository (with dependencies, etc.)

                                        Thx

                                        Luiz Costa

                                        J 2 Replies Last reply Reply Quote 1
                                        • M
                                          mr_snow
                                          last edited by

                                          FYI: Squid will be removed in the next major version:

                                          Netgate now considers the add-on package for Squid, and the related add-on packages for Lightsquid and SquidGuard, to be 'deprecated.' We have determined that while these add-on packages will work in version 23.09 of pfSense Plus software and version 2.7.1 of pfSense CE software, the next major release of each product will no longer support their use, and they will be removed from the list of available add-on packages.

                                          Souce: https://www.netgate.com/blog/deprecation-of-squid-add-on-package-for-pfsense-software

                                          1 Reply Last reply Reply Quote 0
                                          • JonathanLeeJ
                                            JonathanLee
                                            last edited by JonathanLee

                                            Yes we know that. That is why many users can't upgrade anymore, and won't upgrade.

                                            I purchased a Netgate SG 2100 MAX with Proxy and Snort support, as it was advertised as such. Not a firewall that cuts out core features, and expects to function the same way after I spent years configuring it.

                                            It works, I don't need to be told it doesn't.
                                            Finding a solution in the open source community is what the forum is all about.

                                            When I actually purchased the official Netgate firewall it was actually advertised as a system that has web caching proxy and IPS/IDS. That's why I got it over a Cisco because I could learn about use of Squid.

                                            I am sorry for a rash reaction to this, I am just frustrated.

                                            Make sure to upvote

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