logoalt Hacker News

Moving from OpenBSD to FreeBSD for firewalls

109 pointsby zdwlast Wednesday at 3:07 PM50 commentsview on HN

Comments

dylan604today at 6:40 PM

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.

SoftTalkertoday at 6:38 PM

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

show 2 replies
Y_Ytoday at 7:32 PM

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.

show 2 replies
yuvadamtoday at 6:50 PM

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)

show 9 replies
ThinkBeattoday at 8:19 PM

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.

show 1 reply
0xWTFtoday at 6:34 PM

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

show 1 reply
awesome_dudetoday at 6:38 PM

> 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

show 1 reply
jmclnxtoday at 6:35 PM

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.

show 2 replies
j45today at 6:57 PM

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

wslhtoday at 6:34 PM

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

show 3 replies
theideaofcoffeetoday at 6:53 PM

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.

show 1 reply