18 ms·
OPNsense and HardenedBSD are parting ways
- koiwacandy 6y agoWouldn't OpenBSD a better choice than either FreeBSD or HardenedBSD if security is a focus? It also has better wifi support and a much more modern PF firewall. OpenBSD is really "the" router OS. It makes a lot more sense. (no pun intended)
- adamcstephens 6y agoPerhaps, but is different enough that it would be a significant migration cost.
- cmeacham98 6y agoOpenBSD security is overstated in my opinion (and the opinion of others[1]), and I have serious doubts it would be worth the work to migrate to unless FreeBSD is absolutely terrible. 1: https://isopenbsdsecu.re/quotes/ https://isopenbsdsecu.re/quotes/
- _joel 6y agoIntigued as to why you think it's overstated. It seems pretty robust to me. Those quotes are fairly snipey and there's quite a bit of history behind the people to bias their opinion.
- cmeacham98 6y agoThe website includes actual analysis on OpenBSD security as well. OpenBSD has this reputation of having some god-like security where it's leaps and bounds above every other OS. I believe its security is actually relatively similar to alternative OSs like linux, and perhaps even less as containerization seems to be getting really popular on linux right now which allows linux to somewhat catch up to what I consider to be one of the biggest advantages OpenBSD had (pledge). Most of the advocacy I see about OpenBSD security seems to be misleading and/or vague. OpenBSD's own website[1] proudly claims that OpenBSD has had "Only two remote holes in the default install, in a heck of a long time!". What is "a heck of a long time", and where's the info about any vulnerabilities other than an RCE in the default installation? 1: https://www.openbsd.org/ https://www.openbsd.org/
- nimish 6y agoThe "trick" is the default install bit. OpenBSD's default install is very limited. Since there's basically nothing enabled, the surface is limited. They still pop up every few years or so.
- asclepi 6y agoIIRC, "a heck of a long time" refers to the time elapsed since the initial release of OpenBSD in July 1996. Patches for vulnerabilities are listed per release on https://www.openbsd.org/errata.html https://www.openbsd.org/errata.html
- tialaramex 6y agoOne example that is in my wheelhouse was illustrative of the not-always-clever attitude of OpenBSD to security. If you need certificates from the Web PKI (for your SMTP server, or your IRC server, or any other TLS server, but most obviously your web server) you likely want to talk ACME to Let's Encrypt or another CA. The popular way to do this is Certbot, a program written in Python. Clearly that's a lot of dependencies and thus potential attack surface area so not ideal. A popular alternative is acme.sh which is Unix shell code. So this is potentially a far smaller attack surface but shell is hardly the most auditable or secure language by default... OpenBSD ships acme-client which is written in C. Now, acme-client uses lots of OpenBSD flavour tooling to improve on its security, components of acme-client are sandboxed off from themselves and the rest of the system using pledge() and so on such that components with access to your private keys are not also doing TCP/IP. On the surface then although it's written in an unsafe language this looks like a good trade and it exactly fits OpenBSD's approach. However, the thing about ACME is it's built out of existing standard components such as Certificate Signing Requests. So instead of attack surface in Python, or Bash, or C, and trying to mitigate it with local sandboxing, you can choose to hand the CSRs to a completely separate system and so to literally airgap your private keys and all the TLS server code from your ACME implementation if you want. You can use CSRs with Certbot, you can use CSRs with acme.sh, but, they aren't an option with OpenBSD's acme-client at all. acme-client is the Beast so that a US President can be driven somewhere very dangerous and most likely get out of there alive - but just using CSRs is having him just make a video call and never leave the safety of the Oval Office.
- Covzire 6y agoThey're like the raspberry pi's of OS's, great to tinker with and great to use if you have a use case that fits it. The main focus of OpenBSD's security seems to be a low attack surface and slower adoption of certain things. The network stack is still single-threaded for example. It's great for a home firewall but their philosophy is pretty paranoid and slow moving to the point where they're great for what they are but not very useful in any actual commercial data centers.
- tptacek 6y agoIt's interesting that OpenBSD's security reputation is such an article of faith that this comment is light-grey now. I get that it's not supremely substantive, but "OpenBSD's security is overrated" is not a controversial statement in the software security community. They built their reputation on the 1990s OpenBSD security audit, which was a real innovation, but one that every other mainstream operating system has since picked up. Linux probably gets substantially more audit attention now than OpenBSD does, and is quicker and more open to deploying kernel countermeasures. I'd probably trust a minimal Linux distro with a decent kernel configuration more than I trust OpenBSD. Later The comment I'm responding to isn't light grey anymore; the perils of flouting the guidelines and talking about downvotes! I wasn't objecting to the votes, though, just noting that the C.W. on HN seems different than in specialized security communities.
- staticassertion 6y ago> is not a controversial statement in the software security community. Funny how often this happens. Maybe we need to do a better job of conveying these sorts of things - happens all the time that the security community at large considers X or Y to be obvious and well known, and then you find that actually very large portions of the larger tech community don't know that at all.
- tptacek 6y agoI want to be careful not to be seen as speaking for that whole community; I'm just saying, if you were in a gathering of vulnerability researchers, and you said "OpenBSD's security reputation is really overrated", you'd get shrugs, not gasps.
- saagarjha 6y agoThe issue here is that there is seldom consensus in the software security community when it comes to opinions of certain projects. This is doubly so when the project makes some good choices, and some not-so-good choices, like OpenBSD does. For a similar discussion, ask your local security engineer what they think about WhatsApp or Signal.
- 6y ago
- dleslie 6y agoI've seen this before and my thoughts on it are simple: ok, so OpenBSD does some silly and archaic things, but where are the exploits? I keep hearing that the security community has doubts about OpenBSD, but I don't hear about those doubts being validated.
- anarazel 6y agoWell, that could also be related to openbsd barely being used...
- initplus 6y agoPublishing content relating to security can be seen as a kind of challenge. See the blogs of many security researchers for examples. I can't see why this same effect would not apply to OpenBSD to a certain extent.
- saagarjha 6y agoOh, it does. It’s just that it doesn’t apply to an extent necessary for someone to spend enough time on it.
- scaladev 6y agoWhere are the exploits for TempleOS? Come to think of it, where are the users, and where do most security researchers direct their attention to?
- dleslie 6y agoIf SerenityOS can be a target for exploits then surely OpenBSD can. https://devcraft.io/2021/02/11/serenityos-writing-a-full-chain-exploit.html https://devcraft.io/2021/02/11/serenityos-writing-a-full-cha...
- Google234 6y agoOpen bsd is targeted and does get CVEs though... the question is about the amount of attention compared to other platforms
- brobdingnagians 6y agoThat site doesn't make a very cogent point and likes quoting tweets of people without substance; just because you have credentials doesn't mean you don't have to make logical points. It does have some criticisms that can be taken account of, though some are obsolete, and they do show that lots of other OSes have security mitigations too (lots of which had them before OBSD), but it really does appear to be written by someone with an axe to grind. If you want the other side, [1][2][3] from the OpenBSD mailing list have some discussion. From my understanding, OpenBSD is partly a research OS and written by developers for developers. They want other OSes to grow and get better and adopt more security features; I don't get the feeling they are trying to compete with other OSes, but rather cooperate. If you like it great, if not, then you are free to go somewhere else. Linux appears to have a very competitive environment with a lot of toxic power games and the desire to prove that it is the One True OS. The BSDs thankfully have less of that; I use Linux, BSD, Windows, and Mac OSX. I like all of them for different reasons; I hope they all continue to improve. There is room enough for all. [1] https://marc.info/?l=openbsd-misc&m=158906273407900&w=2 https://marc.info/?l=openbsd-misc&m=158906273407900&w=2 [2] https://marc.info/?l=openbsd-misc&m=158897658715925&w=2 https://marc.info/?l=openbsd-misc&m=158897658715925&w=2 [3] https://marc.info/?l=openbsd-misc&m=158886904708799&w=2 https://marc.info/?l=openbsd-misc&m=158886904708799&w=2
- ShroudedNight 6y ago> Since Shawn has been a core team member due to the involvement into our operating system, we decided to remove him from our core team as well. I am but an ignorant bystander, but the way this is phrased, it sounds like a quorum of OPNsense leadership unilaterally closed ranks against someone who likely had significant emotional investment in the project, and did so specifically after determining that they had extracted the maximum value they could from them. As written, it sounds deeply unempathetic and, at least for me, actively fosters a desire to see the project burn, replacing the blossoming curiosity I had prior. Is this just badly worded?
- Arnavion 6y agoFrom #OPNsense on freenode, after the forum post was posted this morning: <> fitch: But I really do hope the parting is on good terms with lattera <@fitch> no, we are cool. obviously it's not a short term decision that breaks everthing next week. For the rest of the year this doesn't change much <lattera> yeah, we're on good terms. I'm somewhat disappointed, but I understand <lattera> once opnsense switches to fbsd, I'll likely migrate to bare hbsd on my firewalls (fitch is Franco Fichtner. lattera is Shawn Webb.)
- ShroudedNight 6y agoThank you, that seems reassuringly friendly in the presence of philosophical differences. It's heartening to hear.
- gonzo 6y agoConsider though https://twitter.com/lattera/status/1385299526270046209?s=20 https://twitter.com/lattera/status/1385299526270046209?s=20 > I resigned shortly after the notification. My resignation was separate from their decision to transition to FreeBSD. https://twitter.com/lattera/status/1385299908656345095?s=20 https://twitter.com/lattera/status/1385299908656345095?s=20 > Ah, re-reading the original announcement sent to me, they did decide to remove me from the core team. I had misread the private email.
- Panino 6y ago> Over time we have seen that building on top of HardenedBSD not always guarantees interoperability, It sounds like interop was the deciding factor here. Without speculating, does anyone know details? What kinds of issues were difficult to resolve on HardenedBSD compared to FreeBSD?
- Arnavion 6y agoFrom #OPNsense on freenode, after the forum post was posted this morning: <> > issues we or our users run into are not always very widespread and have the tendency to complicate tracking issues <> ... what issues? is this kernel, base, or packages? <@fitch> https://github.com/opnsense/ports/issues/95 https://github.com/opnsense/src/issues/91 https://github.com/opnsense/core/issues/4263 are just three of those
- vermaden 6y agoNot sure a great move here. HardenedBSD have some additional security mechanisms that vanilla FreeBSD does not have: https://vermaden.wordpress.com/2018/04/06/introduction-to-hardenedbsd-world/ https://vermaden.wordpress.com/2018/04/06/introduction-to-ha...
- tachion 6y agoOne of very important reasons why FreeBSD haven't incorporated the patches from HardenedBSD was that their code quality was disputed and historically the author had issues with undergoing reviews and applying requested changes. HardenedBSD may do a very good job for the PR about their "superior security" but one may wonder if a system without badly implemented feature isn't more secure than the one with it.
- that_guy_iain 6y ago> the author had issues with undergoing reviews and applying requested changes. Does this mean the author would send code for review and never actually action the change requests? Or was it more they sent patches and expectecd them to just be merged?
- egberts1 6y agoMy take as an infrequent BSD OS analyst but a lifelong Linux OS analyst is that this is a GRSecurity redux. Sad case of landmass breaking off into an island with a much smaller ecosystem befitting only the current biodiversity (or should I say, cyber-diversity).