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.2k 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.
    • JonathanLeeJ
      JonathanLee
      last edited by JonathanLee

      Hello fellow Netgate Community Members,

      Squid just release version 6.5 Nov 6 2023

      That was about 10 days ago...

      So I am confused as Squid seems to get updated, is it only the Netgate package that is not being updated??

      Screenshot 2023-11-14 at 4.34.47 PM.png

      Screenshot 2023-11-14 at 4.29.12 PM.png

      Screenshot 2023-11-14 at 4.31.04 PM.png

      Make sure to upvote

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

        i 2nd this!!

        i don't understand how even though the squid developers keep updating squid, the package available for installation in pfsense NEVER evolves with it..

        i just read in the pfsense documentation that we need to uninstall squid because it won't be compatible with the next release of pfsense.

        what are we supposed to do for a proxy? in my next build, i'd like to take a shot at a full auto-config proxy with wpad/pac.. i know people are gonna respond "why do you wanna do a proxy?.. and blah blah blah.."
        because i want to.. it's a good learning experience, plus it's not like it won't be effective at all... suricata will have better insight into packets rather than just the headers..

        i dunno... seems to me that any firewall should be able to proxy if one so desires.

        M 1 Reply Last reply Reply Quote 0
        • M
          michmoor LAYER 8 Rebel Alliance @jc1976
          last edited by michmoor

          @jc1976
          I agree with the latest sentiments about the Squid removal from the pfsense project.
          Is it shortsighted? Absolutely yes.
          Are there still Squid updates upstream? Yes
          Are there still unresolved CVEs? Yes

          The reality is that Squid is in use today because it solves a very legitimate purpose of access control. Every single security vendor and their appliance supports some version of the forward proxy. With the soon removal of Squid in the upcoming release, there is no way at least on the firewall, to have this access control. Its been mentioned that as a solution to spin up a forward proxy in a container and host it on the LAN. This is a solution and solves the problem but why? It's already on the firewall. All outbound flows go through the firewall.
          Its bad enough that pfSense has no built-in utility to report on traffic (which is odd) but now the removal of LightSquid is an added blow where now as an administrator you are completely blind to any and all flows that go through a firewall.
          pfBlockerNG is not a very good solution as anyone can dodge a DNS blocklist quite easily regardless of the guardrails put in place by the network admin to prevent this. You cannot bypass a proxy. Full stop. You cannot bypass an explict proxy on a network. Impossible. Otherwise, no 80/443 connectivity is happening.

          Squid is difficult to maintain and yes there arent any good blocklists that integrate with it but that doesnt mean it has no purpose.

          Edit: One last point. Netgate doesnt make attempts to keep pace with the latest release of Squid. v6 is already out but we are stuck on at least a release behind. I would think that keeping updated with the latest release of a 3rd part package would be a priority and solving unresolved Redmine tickets which point out bug fixes would also be a priority for a security vendor but it isnt.
          This goes directly into my Off-Topic discussion I posted a few days ago where I asked what is Netgates commitment to packages. Seems like there is no commitment to any package in the repo which is scary. Im trying to tell people. This is a security issue for sure. This implicitly means that all packages found in the pfsense repo are not continuously vetted and that is a huge concern. If they dont vet those packages then its likely they do not vet any part of the pfSense code base as well.

          Firewall: NetGate,Palo Alto-VM,Juniper SRX
          Routing: Juniper, Arista, Cisco
          Switching: Juniper, Arista, Cisco
          Wireless: Unifi, Aruba IAP
          JNCIP,CCNP Enterprise

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

            Palo Alto and many other firewalls use proxies. It's confusing why remove it. Who knows. It's sad right?

            There is always raspberry pi 5... You can run Squid on something like that for a small office.

            Make sure to upvote

            M 1 Reply Last reply Reply Quote 0
            • M
              michmoor LAYER 8 Rebel Alliance @JonathanLee
              last edited by

              @JonathanLee
              Every single security vendor has a proxy package or configuration.
              Every single security vendor also has some level of reporting of what flows go through the firewall.

              Firewall: NetGate,Palo Alto-VM,Juniper SRX
              Routing: Juniper, Arista, Cisco
              Switching: Juniper, Arista, Cisco
              Wireless: Unifi, Aruba IAP
              JNCIP,CCNP Enterprise

              1 Reply Last reply Reply Quote 0
              • J
                jrey @michmoor
                last edited by jrey

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

                pfBlockerNG is not a very good solution as anyone can dodge a DNS blocklist quite easily regardless of the guardrails put in place by the network admin to prevent this.

                Enlighten us, I'm curious about this statement.

                I don't run squid, no need in this environment, but if I did need a proxy I don't think running it on the firewall would be my first choice, but that's just me. I can certainly understand how many would appreciate having it all-in-one. Has Netgate given a specific reason for removal?

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

                  @JonathanLee

                  Sounds to me like if you think Squid is that important, you need to step up to the plate and volunteer to be the maintainer, to make whatever changes that it needs to work with future versions of pfSense. Netgate has already stated that they do not have the resources to maintain it inhouse. Most all of the addons are maintained by unpaid, volunteers. When the volunteers gets tired of maintaining the package, it usually goes BYE, BYE unless some other user takes ownership of it.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    michmoor LAYER 8 Rebel Alliance @jdeloach
                    last edited by michmoor

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

                    Sounds to me like if you think Squid is that important, you need to step up to the plate and volunteer to be the maintainer, to make whatever changes that it needs to work with future versions of pfSense.

                    Multiple ways to be a volunteer and it doesnt include coding (why do people always think it involves that i dont know...).
                    Secondly as already pointed above there are updates for Squid that addresses some of the security concerns.

                    Firewall: NetGate,Palo Alto-VM,Juniper SRX
                    Routing: Juniper, Arista, Cisco
                    Switching: Juniper, Arista, Cisco
                    Wireless: Unifi, Aruba IAP
                    JNCIP,CCNP Enterprise

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

                      i'll probably get flagged and banned for saying this...

                      But opnsense has a full-on proxy server with caching and icap antivirus, and documentation on how to configure transparent autoconfig proxy with wpad-pac..

                      i'm guessing since squid is open source, the developers at opnsense integrated squid into opnsense like they did with suricata..

                      do i want/need squid for blocking? no.. i've tried it but in my for me pfblockerng-dev seems to be a more elegant solution in terms of blocklists and updates (since anyone can become part of it).. (yeah, i LOVE pfblockerng (God forbid THAT ever goes away..) and there are A LOT of pfsense users who come back to pfsense for that one package..).
                      but i DO want the ability to proxy.. i'm no firewall guru by any means but it makes sense to me that if suricata and icap had access to unencrypted streams, they'd be able to perform their function better..

                      yeah, not having the ability to set up a proxy on the firewall is a pretty big deal..

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

                        Lot's of enterprise class firewalls have certificate issued proxy use for deep packet inspections/submissions.

                        Also Squid GUI Needs a Do not Cache and a Splice Always button inside the package. That is one thing it really needs.

                        Screenshot 2023-11-16 at 3.13.46 PM.png

                        I get hits all day on it once the cache is full, again I do not want it trying to cache everything or splice everything. It should have quick create rule.

                        https://redmine.pfsense.org/issues/14998

                        Make sure to upvote

                        1 Reply Last reply Reply Quote 0
                        • G
                          greenlight
                          last edited by

                          pfsense was once a very popular firewall in Turkey and was used by most small businesses. In addition, with a law passed in 2007 in Turkey, content filtering was obligatory in places where public internet was used. There were people who solved most of this problem with squid. (Connections were usually http so it was relatively easy). Of course, later on, there were people who improved this and filtered https, and even commercial software was produced by creating a fork of pfsense.

                          We owe it all to squid. But nowadays squid is almost dead for pfsense and we can say that it is ignored because very few people need a proxy. With the updates made in the law in Turkey, the need for pfsense directly decreased, and with the increase in commercial software and the new generation moving away from IT, its community almost disappeared.

                          So what I'm saying is that Squid is orphaned and I can't say his future is very bright after Shalla's closure.

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

                            @greenlight Shalla's closure?

                            There is other blacklist sites

                            Make sure to upvote

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              greenlight @JonathanLee
                              last edited by

                              @JonathanLee i know and now i'm using other sites. My point is that squid with HTTPS was not useful enough. MITM is not successful and squid can still cause problems in some installations.

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

                                @greenlight Yes for some however, for others it is still a GREAT cyber security tool. I will most likely follow the vendor where Squid is still supported thus jump to OpenSense. Within Pfblocking you can also see the writing on the wall. The Squid tool set really needs to be part of a system for me. End of story. That was the number one reason I selected Netgate appliances in the first place. I don't need to be told repeatedly Squid doesn't work I flat know it does. It is an advanced configuration and most users don't want to spend the time setting it up. Squid worked perfectly for me, always did.

                                Screenshot 2023-03-14 at 8.50.09 AM (1).png

                                Make sure to upvote

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  michmoor LAYER 8 Rebel Alliance @JonathanLee
                                  last edited by michmoor

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

                                  I don't need to be told repeatedly Squid doesn't work I flat know it does. It is an advanced configuration and most users don't want to spend the time setting it up. Squid worked perfectly for me, always did.

                                  What you are saying is perfectly reasonable. Squid is an advanced type of setup and configuration. But the reality is that enterprise vendors such as Fortinet or Palo use a customized version of Squid that is built to be easy for the admin to use but also because a lot of the advanced tools of those firewalls require the ssl sessions to be broken in order to do the deep packet analysis.

                                  I say all this to say that anyone who says Squid is out of style or not relevant simply doesn't work in the industries i am in. Fintech specifically, MITM is used quite often. Squid on pfSense never really got the love that was needed to make it a better tool (read all the open redmines for examples). I also dont expect Netgate devs to spend time customizing this tool either so now we are in a situation where there is no proxy support and no way of having customized filtering options.
                                  Certain..ahem....Youtube personalities that are very fond of pfSense and see no fault in it, are screaming "protect the endpoint" and although its true, the more accurate way of handling security is to do things in depth. I absolutely want my firewall breaking TLS sessions to inspect packets. I absolutely want my endpoint protection to catch what my firewall didnt.

                                  Firewall: NetGate,Palo Alto-VM,Juniper SRX
                                  Routing: Juniper, Arista, Cisco
                                  Switching: Juniper, Arista, Cisco
                                  Wireless: Unifi, Aruba IAP
                                  JNCIP,CCNP Enterprise

                                  M JonathanLeeJ 2 Replies Last reply Reply Quote 4
                                  • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.