News for hackers. Stuff that matters.
Re:Multiple Vulnerabilities in PfSense by muppetman on Friday March 18, 2022 @02:59AM (#30719344)
Please use Opnsense now, or something else entirely (Vyos is great but CLI based).

I was a big pfSense fan, telling myself that the odd stuff Netgate did was normal/justified.

Until the attack on Wireguard's Jason A. Donenfeld. Then I realised - it's all true. They are bordering on insane in that organisation. I regret suggesting my old workmate purchase some of their hardware now.

Opnsense is a great replacement. I'm sure it's not perfect, but they're open, friendly, responsive and don't make you question every comment you write on their forum for fear of being banned.

Re:Multiple Vulnerabilities in PfSense by m1gu3l on Friday March 18, 2022 @03:05AM (#30719370)
> Until the attack on Wireguard's Jason A. Donenfeld. Then I realised - it's all true. They are bordering on insane in that organisation. I regret suggesting my old workmate purchase some of their hardware now.

This sounds fun. do you know where I can read more?

edit: think i found a good start https://www.reddit.com/r/networking/comments/m6zjie/wireguar...

Re:Multiple Vulnerabilities in PfSense by Arnavion on Friday March 18, 2022 @03:14AM (#30719403)
HN thread: https://news.ycombinator.com/item?id=26475519

Events in chronological order:

- zx2c4 points out the brokenness of the Netgate implementation and his efforts to fix it: https://lists.zx2c4.com/pipermail/wireguard/2021-March/00649...

- ... which ends up being published by Ars: https://arstechnica.com/gadgets/2021/03/in-kernel-wireguard-...

- Netgate throws a fit, zx2c4 responds: https://lists.zx2c4.com/pipermail/wireguard/2021-March/00649...

- FreeBSD maintainer of the WireGuard implementation announces Netgate's implementation will be removed: https://lists.freebsd.org/pipermail/freebsd-hackers/2021-Mar...

- Netgate's damage control / copium response: https://www.netgate.com/blog/painful-lessons-learned-in-secu...

- FreeBSD dev steps down from further involvement with WireGuard-in-FreeBSD: https://lists.freebsd.org/pipermail/freebsd-hackers/2021-Mar...

Re:Multiple Vulnerabilities in PfSense by aaaaaaaaata on Friday March 18, 2022 @09:45AM (#30722151)
> zx2c4

is Jason (Wireguard creator).

Re:Multiple Vulnerabilities in PfSense by lausbub on Friday March 18, 2022 @04:14AM (#30719719)
I just found these tools that help with migration. They pretty print the configuration XMLs such that one can transfer the settings manually through the GUI step by step and finally verify with the second tool.

https://github.com/TKCERT/pfFocus

https://github.com/AndyX90/OPNReport

https://www.reddit.com/r/OPNsenseFirewall/comments/masujb/ti...

Re:Multiple Vulnerabilities in PfSense by exmadscientist on Friday March 18, 2022 @04:17AM (#30719745)
But don't use these if your configuration is simple enough that you can manually recreate it, on the completely-impossibly-rare chance that pfSense has managed to subtly bork itself and you're switching to OPNsense to get a more reliable device....
Re:Multiple Vulnerabilities in PfSense by 8fingerlouie on Friday March 18, 2022 @05:08AM (#30719996)
I highly recommend implementing the firewall rules form scratch.

Firewall rules tend to aquire "cruft", especially in domestic settings, where you add rules to "fix something", and there is rarely any review of existing rules.

Personally i keep a spreadsheet of the firewall rules i need, including inter VLAN communication, with source/destination ip/port as well as a link to any article describing why this port needs to be open (like Sonos across VLANs, etc).

It sounds cumbersome, but it doesn't change frequently, and reimplementing it in a new firewall takes 30-60 minutes.

Re:Multiple Vulnerabilities in PfSense by 8fingerlouie on Friday March 18, 2022 @03:04AM (#30719364)
> (Vyos is great but CLI based)

The best firewalls/routers i've ever used have been Vyos (or Vyatta) based.

Point & Click has it's charms, but its a crutch. With Vyos you can "replay" you entire configuration over a serial port, as well as make changes to it in a regular text editor.

It does have a learning curve though :)

I'm also on the UniFi line of things for now, but i really wish somebody would make a decent Vyos based appliance (low powered ARM device) like the Ubiquiti Edgerouters of old.

Re:Multiple Vulnerabilities in PfSense by btgeekboy on Friday March 18, 2022 @03:29AM (#30719485)
Are you aware of any trustworthy, free VyOS builds? I'd be interested in trying it out at home, but I'm not interested in paying $6k/year or using an unstable nightly. I tried building it myself once but didn't have time to get it working locally.
Re:Multiple Vulnerabilities in PfSense by donmcronald on Friday March 18, 2022 @03:36AM (#30719518)
Yeah. $6k/year is just waaaay too much to get into it.
Re:Multiple Vulnerabilities in PfSense by muppetman on Friday March 18, 2022 @03:50AM (#30719603)
You'd be amazed at how stable the 1.3 builds are.
Re:Multiple Vulnerabilities in PfSense by RealStickman_ on Friday March 18, 2022 @06:57AM (#30720611)
Do you mean the 1.4 rolling builds? The 1.3 ones require a support contract.
Re:Multiple Vulnerabilities in PfSense by usrlocal1023 on Friday March 18, 2022 @07:45AM (#30720930)
You can get monthly snapshots free of charge which receive some testing compared to rolling builds. They currently have 1.3 RC builds https://vyos.net/get/snapshots/
Re:Multiple Vulnerabilities in PfSense by RealStickman_ on Friday March 18, 2022 @06:02PM (#30728112)
I wasn't aware of that. Thank you
Re:Multiple Vulnerabilities in PfSense by muppetman on Friday March 18, 2022 @03:28AM (#30719480)
Yea, my home router is Vyos now (running under Proxmox virtualisation) and it's just 100% rock solid. Uptimes of 120 days until I reboot it etc. I used to use pfSense but migrated when I hit a pfSense CPU bug. I also find I get better performance (less CPU usage) running "Linux under Linux" instead of "FreeBSD under Linux" was I was with pfSense (it was virtulised too)

Long live the CLI :)

Re:Multiple Vulnerabilities in PfSense by luckman212 on Friday March 18, 2022 @05:50PM (#30727998)
What "pfSense CPU bug" are you talking about? Do you mean the Intel C2000 bug[0] that had nothing to do with pfSense and also affected dozens of other vendors, including Cisco among others?

[0] https://www.anandtech.com/show/11110/semi-critical-intel-ato...

Re:Multiple Vulnerabilities in PfSense by rktdno on Friday March 18, 2022 @04:38AM (#30719851)
I similarly am running openbsd as a home router under proxmox and it’s rock solid. I had more time on my hands when I set it up than I do now, but thankfully it’s without issue and just seems to always work so there isn’t really any maintenance other than point upgrades to openbsd when I remember.
Re:Multiple Vulnerabilities in PfSense by rb666 on Friday March 18, 2022 @03:48AM (#30719587)
I've considered virtualizing my current hardware Opnsense router, mostly to save on electricity. But I fear the situation of needing to do maintenance or troubleshooting on the Proxmox host without internet. What fallback do you have?
Re:Multiple Vulnerabilities in PfSense by muppetman on Friday March 18, 2022 @04:09AM (#30719687)
I have a cluster of 3 Proxmox hosts, mostly to teach myself about clustering. I have two Vyos instances running VRRP between them. If the primary fails, the secondary sees the VRRP state change, runs a small script to bring up the PPPoE interface and we're away laughing. It syncs state, so people notice ~8-10 seconds of packet loss and everything just keeps going.

It's quite nerdy though. And all it does is move the single point of the failure to the switch (required for the hosts to talk to each other for VRRP etc)

Proxmox is so reliable in my experience though, but I don't tend to fiddle with it, just set and forget.

Re:Multiple Vulnerabilities in PfSense by 8fingerlouie on Friday March 18, 2022 @05:19AM (#30720055)
This is my main issue with pfSense/OpnSense. Even the dedicated hardware appliances are quite power hungry compared to some of the rather capable Linux ARM boxes out there.

For comparison, an 8 Gbps capable pfSense appliance (like the Netgate 4100) requires 40W-50W (max 60W), where the UniFi Dream Machine Pro, also capable of 8Gbps, has a maximum power consumption of 33W, which includes a 3.5" harddrive for UniFi Protect. Mine uses about 18W without the harddrive, and 22W with a WD Red.

A difference of 25W over a year at current european electricity prices (€0.5/kWh) means a saving of 219 kWh (€109/year). Considering that electricity has been as high as €1.12/kWh this spring, it could be even higher.

As for virtualization, while it's a great learning experience, it's probably more trouble than it's worth. I greatly prefer appliances for network.

Re:Multiple Vulnerabilities in PfSense by Fnoord on Friday March 18, 2022 @06:14AM (#30720355)
Yeah, I'm in the same boat, but I doubt its gonna save much electricity, and whenever I patch ESXi (or Proxmox) the entire internet connection is down.
Re:Multiple Vulnerabilities in PfSense by donmcronald on Friday March 18, 2022 @03:27AM (#30719475)
> like the Ubiquiti Edgerouters of old.

Wasn’t EdgeOS a fork of Vyatta?

Re:Multiple Vulnerabilities in PfSense by sofixa on Friday March 18, 2022 @03:51AM (#30719608)
Yep.
Re:Multiple Vulnerabilities in PfSense by Arnavion on Friday March 18, 2022 @03:08AM (#30719379)
I switched before the WireGuard fiasco, when they announced they were EOLing the CE line, but weasel-worded to avoid having to use the phrase "EOL".

https://news.ycombinator.com/item?id=27775408

https://news.ycombinator.com/item?id=26479725

Re:Multiple Vulnerabilities in PfSense by q1w2 on Friday March 18, 2022 @07:41AM (#30720901)
Their hardware has not been reliable. We've purchased 4 devices from them for our medium sized business - and 2 of them failed completely within 5 years. Maybe both failures were anomalies, but these were the only two commercial grade devices we've had that failed in that same period.
Re:Multiple Vulnerabilities in PfSense by 1MachineElf on Friday March 18, 2022 @09:43AM (#30722129)
I'm not sure what these devices are based on, but there was a time when a lot of the Netgate lineup was using Intel C2000-series Avoton CPUs. Down the road it was discovered all of those were susceptible to a hardware big known at AVR54. Could it be why your devices failed? More info here: https://www.servethehome.com/intel-atom-c2000-series-bug-qui...
Re:Multiple Vulnerabilities in PfSense by q1w2 on Monday March 21, 2022 @01:21PM (#30756972)
SG-8860 and a SG-4860 - which use the Intel "Rangeley" Atom C2758, and Intel “Rangeley” Atom C2558, respectively.

Not sure if they were impacted by the bug.

Re:Multiple Vulnerabilities in PfSense by edge-records on Friday March 18, 2022 @03:51AM (#30719609)
Just read the blog post from Netgate, sounds to me like they have decent values. Also them asking to keep safe disclosure procedures doesn't sound insane to me either. Beyond that it's a he said she said thing IMHO, and I don't have the time to get involved in any of that. Stuff happens between people, and them not managing to work it out doesn't per se mean they are evil or "insane".

I'm an Open Source user of pfSense (so they don't get money from me) but I still had an extremely helpful experience recently, when I had a feature request. Once I filed it, it was implemented quickly, MUCH better support than I could ever expect from a paid commercial firewall. Also the product runs reliably and is very stable since years. So I won't look for alternatives any time soon.

Re:Multiple Vulnerabilities in PfSense by newsclues on Friday March 18, 2022 @07:10AM (#30720687)
Netgate pissed off the open source absolutists, who mostly don’t give netgate money.

While I understand their complaints, I don’t understand the constant attacks and hate, as anyone who doesn’t want to support pfsense if there is a paid and a free oss version, is welcome to start a fork or work on other projects.

Re:Multiple Vulnerabilities in PfSense by robbiet480 on Friday March 18, 2022 @03:01AM (#30719350)
I recently switched to Ubiquiti’s Unifi line and am extremely happy, mostly for moral reasons, compared to how I felt being a pfSense user these last few years.
Re:Multiple Vulnerabilities in PfSense by lostlogin on Friday March 18, 2022 @03:07AM (#30719377)
There is some bad bad shit in that kit.

The APs are good and the switches too in my experience. However the UDM-P is a troubled device. It’s buggy, things break or stop working and it loses its config every so often. The form factor is very compelling and the concept is great.

I’d pay more if the software quality were better.

Re:Multiple Vulnerabilities in PfSense by 8fingerlouie on Friday March 18, 2022 @03:12AM (#30719396)
> However the UDM-P is a troubled device. It’s buggy, things break or stop working and it loses its config every so often.

I've been running a UDM and UDMP for years, and have literally never run into any of those issues, despite having a somewhat complex network (for a home network anyway).

It runs 24/7 and only needs reboots when a software update requires it. Multiple VLANs, road warrior VPN. I run a site to site VPN between my UDMP at home and UDM at my summerhouse, and that has been rock solid as well.

In the latest EA version of the software, there is also some support for Wireguard (though UI's Teleport). I'm not sure if "raw" Wireguard is available (yet).

Latest version also implements policy based routing.

Re:Multiple Vulnerabilities in PfSense by lostlogin on Friday March 18, 2022 @04:32AM (#30719830)
I’m looking forward to using WireGuard on the device (I already use it, but from within the network).

I’m in the latest stable version, as I updated after an outage last week where the controller was crashed.

The variability in user satisfaction suggests some sort of hardware issue or bugginess that hits a small portion of users.

Re:Multiple Vulnerabilities in PfSense by vigilans on Friday March 18, 2022 @03:09AM (#30719388)
Ubiquiti is also morally questionable. They do not contribute their modifications to the Linux kernel as required by the GPL.

Maybe that has changed but I'm not aware that it has.

Re:Multiple Vulnerabilities in PfSense by frickinLasers on Friday March 18, 2022 @09:04AM (#30721663)
There's also that time they slipped telemetry reporting into their software and hoped no one would notice.

https://www.theregister.com/2019/11/07/ubiquiti_networks_pho...

Re:Multiple Vulnerabilities in PfSense by imglorp on Friday March 18, 2022 @08:29AM (#30721315)
That, plus they try very hard to drive you to their cloud. It's not necessary, at least with older hardware, but their cloud has been breached and people should probably ask if they really need its convenience vs cost, privacy and security.

I just ended up resetting my network (switch, sec gateway, controller, and AP) and it's a little tricky without their cloud. You need to do some SSH'ing.

Caveats aside, the hardware is outstanding, the disk AP is solid as is the consumer grade cube one. It's a good prosumer and small business option despite the downsides.

Re:Multiple Vulnerabilities in PfSense by stock_toaster on Friday March 18, 2022 @04:32AM (#30719820)
I switched to openwrt a few years ago, after a brief stint of using an edge router from ubiquity. vyos is nice, but openwrt is surprisingly solid too!
Re:Multiple Vulnerabilities in PfSense by sigio on Friday March 18, 2022 @07:53AM (#30720992)
Same here, always recommend openwrt when asked for home / office routers/firewalls.