Settings

Theme

The state of LibreSSL in FreeBSD

attilagyorffy.com

104 points by attilagyorffy 10 years ago · 23 comments

Reader

cm3 10 years ago

Outside of the BSDs, Void Linux is a linux distro that uses LibreSSL instead of OpenSSL and they also have a stable musl flavor (no glibc).

  • anonbanker 10 years ago

    Gentoo ~x86/~amd64 also supports LibreSSL with the "libressl" USE flag. Makes for a great hardened (Grsecurity/PaX) install for servers/chromebooks.

    • cm3 10 years ago

      Is there also a Gentoo profile for a system-wide clang/llvm? Add libressl and musl (instead of glibc), and it would be quite a different and advantageous linux distro.

      • anonbanker 10 years ago

        not sure about clang/llvm, but you can definitely build with musl or uClibc rather than glibc.

        Gentoo is largely what you make it, while Void is about sane defaults.

  • eatonphil 10 years ago

    OS X also ships LibreSSL (ssh -v).

    • attilagyorffyOP 10 years ago

      I know this is just nitpicking but you may want to use capital V instead: `ssh -V`.

      And indeed the SSH command originates from OpenBSD and uses LibreSSL 2.1.8.

hiphopyo 10 years ago

It's awesome that cool things from OpenBSD are being ported over to FreeBSD, but why not just use OpenBSD from the get-go? It's already a struggle having to deal with FreeBSD's outdated version of pf.

iTWire - Crypto: FreeBSD playing catch-up, says De Raadt: http://www.itwire.com/business-it-news/open-source/62641-cry...

  • gbrown_ 10 years ago

    I've got a lot of love for OpenBSD but I can understand people wanting to use FreeBSD for things like ZFS and dtrace. However for those seeking to use said features personally I would recommend looking at an illumos distro.

  • aphextron 10 years ago

    FreeBSD and OpenBSD are ideologically opposed. FreeBSD is free as in freedom, OpenBSD is free as in beer.

    • Teckla 10 years ago

      Both FreeBSD and OpenBSD are BSD licensed.

      Why do you think FreeBSD is free as in freedom?

  • fapjacks 10 years ago

    ... "says De Raadt"

    Maybe there is a group of people out there that don't want to deal with that ... guy.

sverige 10 years ago

Good news for FreeBSD. I agree that LibreSSL is the best bet for the future.

  • ryuuchin 10 years ago

    There also BoringSSL[1] but that might be even more of a departure than LibreSSL in terms of API compatibility. I still think it's surprising that we don't see more BoringSSL being used especially with nginx.

    [1] https://boringssl.googlesource.com/boringssl/

    • detaro 10 years ago

      Why would you use it, if the people making it explicitly recommend against you doing so?

      • jaas 10 years ago

        There are some good reasons not to use it. Primarily the lack of API stability and that, as you mention, the people making it caution against it.

        But to answer your question, why would someone choose to use it anyway? One reasonable justification is that many people believe (probably myself included) that the quality is superior to openssl or libressl. The APIs are unstable but the flip side of that coin is that they're probably better. Also the engineering practices behind boringssl have lead to what I would call relatively high quality code. It's well structured, clear, and maybe less likely to suffer as many serious bugs as the alternatives. Time will tell.

        Not that I'm recommending it for everyone, just answering your question. Quality is often in the eye of the beholder, use what works best for you.

    • gbrown_ 10 years ago

      I would note LibreSSL has taken fixes from BoringSSL.

azinman2 10 years ago

Isn't it not yet ready for production?

  • aninteger 10 years ago

    This really depends on what your production environment requires. LibreSSL is mostly API compatible with OpenSSL but removes FIPS and support for esoteric platforms. If your production environment requires Windows 3.1 or big endian amd64 then probably LibreSSL is not ready for your production environment. Seriously though some of us are already using LibreSSL in production without problems.

  • attilagyorffyOP 10 years ago

    This really is a more complex question then it may seem. One of the reasons I haven't yet upgraded my production system is because I want to be able to keep my system up-to-date. Now, having to manually patch the FreeBSD source tree once a new upgrade lands is a bit of a pain. The point of the article is really about exploring where we are and where the FreeBSD community is headed.

  • ivl 10 years ago

    It's not in the base system yet. I would be fine with using it in production, however.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection