Squid 6.5 !! Nov 6th
-
-
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.
-
@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? YesThe 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. -
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.
-
@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. -
@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?
-
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.
-
@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. -
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..
-
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.
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
-
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.
-
@greenlight Shalla's closure?
There is other blacklist sites
-
@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.
-
@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.
-
@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. -
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 ?
-
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.
-
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
-
@lg1980 I am so happy bro!!! This is amazing. Epic, epicness. Take that spyware!!!! Booyeahhhhh
Thank you
-
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!