Moving from OpenBSD to FreeBSD for firewalls

utcc.utoronto.ca

129 points by zdw 5 days ago


popknobinfanny - 19 minutes ago

Root on ZFS is an easy sell for me. OpenBSD's ancient filesystem is notoriously flaky, and they have no interest in replacing it anytime soon.

I can't be worried that critical parts of my network won't come back up because the box spontaneously rebooted or the UPS battery ran out (yes it happens — do you load test your batteries — probably not) and their bubblegum-and-string filesystem has corruption and / and /usr won't mount and I gotta visit the console like Sam Jackson in Jurassic Park to fsck the damn thing.

Firewalls are critical infra — by definition they can't be the least reliable device in the network.

dylan604 - 6 hours ago

I once wrote a similar post to an DVD industry centric mailing list (remember those?) regarding switching to FCP7 from Adobe Premiere with a huge difference in how FCP7 would allow capturing of discrete audio channels vs Premiere forcing an interleaved audio stream. Eventually, a rep from Adobe contacted me through my company's PR team (a first for me) to go over the list of complaints. At the end, he agreed these were all valid complaints, and then asked "if Premiere added these changes would I be willing to switch back"? At that point, I said probably not as we'd now be fully switched to FCP7 in all departments. So I understand that sentiment as well. Honestly, I was shocked that someone actually read my missive and actually paid any mind to it. So maybe someone at OpenBSD will be as receptive if not equally unable to do anything about it.

SoftTalker - 6 hours ago

As noted, recent changes to OpenBSD TCP handling[1] may improve performance.

On a 4 core machine I see between 12% to 22% improvement with 10 parallel TCP streams. When testing only with a single TCP stream, throughput increases between 38% to 100%.

I'm not sure that directly translates to better pf performance, and four cores is hardly remarkable these days but might be typical on a small low-power router?

Would be interesting if someone had a recent benchmark comparison of OpenBSD 7.8 PF vs. FreeBSD's latest.

[1] https://undeadly.org/cgi?action=article;sid=20250508122430

somat - an hour ago

I am not very familiar with FreeBSD's pf but my understanding is that fbsd integrated it from OpenBSD and then proceeded to put a fair amount of work in making it more performant(multi core) while OpenBSD put most of it's work into improving pf's features, At this point the two pf's are different enough that they are not really compatible. OpenBSD can't really use much of fbsds multi core work and FreeBSD is A. Is a lot more hesitant about breaking backwards compatibility and B. would need get the queuing structures to work with their kernel.

In fact if you asked me to explain the difference between obsd and fbsd it is exactly this. fbsd focuses on performance and obsd focuses on ergonomics.

Y_Y - 5 hours ago

So you don't like OpenBSD, but you do like Ubuntu?

This person seems like they know wht they are talking about and given it serious thought, but I cannot fathom how you could make such a conclusion today.

ThinkBeat - 4 hours ago

I find it a bit odd that they seem to have gone from having OpenBSD as the standard and are not moving to FreeBSD and Ubuntu.

I an not sure what role these computers that may transition to Ubuntu do, there are probably good reasons, I wish he had expanded on it.

yuvadam - 5 hours ago

What's wrong with Linux for firewalls? Either openwrt, or any distro really.

Why would any BSD perform better?

(edit: genuinely curious why BSDs are such popular firewalls)

awesome_dude - 6 hours ago

> There are some things about FreeBSD that we're not entirely enthused about.

Damn I wish that they had expanded on this a bit (not to start a flame war, but to give readers a fuller picture, or even to prod the FreeBSD community into "fixing" those things)

edit: typo fix

jmclnx - 6 hours ago

For me, the only drawback for corporations is the 6 month upgrade. There is no LTS on OpenBSD.

I use OpenBSD as a workstation and it works great, but in a production environment I doubt I would use OpenBSD for critical items, mainly because no LTS.

It is a sad state of affairs because Companies do not want nor will want a system you need to upgrade so often even if its security very good.

0xWTF - 6 hours ago

I don't understand why this has 29 points and no comments. What's so amazing about this?

j45 - 5 hours ago

I just like the reference to 10G ethernet. It can't become normal soon enough.

wslh - 6 hours ago

I imagine a near future where TCP/IP stacks, and device drivers are interchangeable between operating systems. In Linux, NDISWrapper [1] enables to use Windows drivers in Linux but it's a wrapper (with all due respect to this project).

[1] https://en.wikipedia.org/wiki/NDISwrapper

theideaofcoffee - 5 hours ago

Just more navel-gazing from UTCC. I still don't understand why all of these submissions get upvoted so often. 10G performance just really isn't that interesting anymore, maybe around 2005 when it was the new kid on the block. If they were talking about squeezing firewall performance out of a box with a couple of 200g or 400g adapters and on run-of-the-mill CPUs and no offloading or something like Netflix publishes with their BSD work, I'd be more interested.