HN user

emaste

987 karma

http://www.freebsdfoundation.org/ emaste@freebsd.org

Posts23
Comments155
View on HN
reviews.freebsd.org 6y ago

Add kernel-side support for in-kernel TLS [FreeBSD code review]

emaste
2pts0
laanwj.github.io 9y ago

Porting Bitcoin Core to CloudABI

emaste
4pts1
www.freebsdfoundation.org 9y ago

FreeBSD Foundation announces new Uranium donor

emaste
4pts0
lists.linuxfoundation.org 9y ago

[Ksummit-Discuss] [CORE TOPIC] GPL Defense Issues

emaste
3pts0
lists.freedesktop.org 10y ago

FreeBSD Intel i915 graphics driver update

emaste
1pts0
freebsdfoundation.blogspot.com 10y ago

FreeBSD and ZFS

emaste
7pts0
www.wired.com 10y ago

Why WhatsApp Only Needs 50 Engineers for Its 900M Users

emaste
8pts0
blog.crashed.org 10y ago

Back out all the things Oh wait

emaste
7pts0
nestedkernel.org 11y ago

Nested Kernel Operating System Architecture

emaste
32pts10
sourceware.org 11y ago

Is LLDB a threat to GDB's success?

emaste
4pts0
lists.freebsd.org 11y ago

Changes to the FreeBSD Support Model

emaste
66pts40
github.com 11y ago

Baseline Mac OS X Support merged into FreeBSD package manager

emaste
229pts59
www.infoworld.com 11y ago

Get started with FreeBSD: A brief intro for Linux users

emaste
14pts1
www.brendangregg.com 11y ago

Catching Your CPUs Napping

emaste
28pts1
www.freebsd.org 11y ago

FreeBSD July-September 2014 Status Update

emaste
6pts0
www.erlang-factory.com 12y ago

That's 'Billion' with a 'B': Scaling to the Next Level at WhatsApp

emaste
1pts0
www.itwire.com 12y ago

Microsoft changes policy on third-party signing of EFI code

emaste
2pts0
www.theregister.co.uk 12y ago

Sony's new PlayStation 4 and open-source FreeBSD: THE TRUTH

emaste
5pts1
www.freebsdfoundation.org 12y ago

FreeBSD and Commercial Workloads: Managed Services at NYI

emaste
2pts0
www.freebsd.org 13y ago

FreeBSD Quarterly Status Report (Apr-Jun 2013)

emaste
3pts0
www.ottawacitizen.com 13y ago

Why do women study computer science? Same reasons men do

emaste
2pts1
www.itwire.com 13y ago

FreeBSD expands activities as funds flow in

emaste
111pts75
freebsdfoundation.blogspot.ca 13y ago

FreeBSD Foundation announces second technical staff member and iSCSI project

emaste
8pts0

The comment I left on a Reddit thread four years ago still applies:

This link gets shared around every now and then, and my response is always the same: there is some useful insight, but there's also information that's so outdated it provides no value, outright misinformation, and self-contradiction. Some of the technical points are fair, and should be and are being addressed. But the commentary is often laughably wrong. The document seems more focused on advancing an agenda than a good-faith effort at improving security in FreeBSD.

If anyone is actually interested in discussing mitigations and improved security posture on FreeBSD I'd suggest starting a thread on one of the mailing lists, but I'll also keep an eye out for feedback here and on the Fediverse.

A lot of Linux kernel drivers are permissively licensed, or dual-licensed with a choice of GPL and a permissive license. This is especially common for vendor-developed drivers. From a hardware vendor’s perspective, broad license compatibility directly supports adoption: the more operating systems, hypervisors, and embedded environments that can incorporate the driver code, the wider the potential market for the hardware itself.

32-bit x86 CPUs haven't been made in years, companies building products based on FreeBSD switched to 64-bit x86 or to other architectures long ago. It's not that work on i386 is being done but kept in private repos and not upstreamed -- work on i386 just isn't being done at all.

I suspect your question is essentially "why is this 14.0, and not 13.3?" And the answer to that question is that this is a new release from our development branch, not an update to an existing branch used for the 13.x releases.

FreeBSD 14.0 represents over two and a half years of feature development, stability and security improvements, and bug fixes. Some of these changes were cherry-picked into the stable/13 branch and were included in the FreeBSD 13.1 and FreeBSD 13.2 minor releases built from there.

A sibling comment notes that APIs or ABIs may change between major versions. This is true, but this is not the reason for a new major version. Rather, ABI and API changes are allowed during the development cycle on the main branch, but are not cherry-picked into the existing stable branches.

I have a proposed change to include in the release notes some significant changes that happened to have been merged into 13.x already, and so far have been excluded from 14.0's notes: https://reviews.freebsd.org/D42546

The FreeBSD Foundation and FreeBSD Project members have been investing in and working on improving FreeBSD security for at least the last several years. Much of that "FreeBSD – A Lesson in Poor Defaults" blog post is outdated/incorrect/conjecture.

FreeBSD 13.2 3 years ago

I did just try to use etcupdate for the 13.2-RELEASE upgrade and it hung forever trying to grep for something in /etc/default/devfs.rules

Would you be willing to submit a bug for the etcupdate issue? Or, just reply here with as much detail as you can recall about how you ran it?

The only orgs that tend to use BSD tend to not want to give back.

This isn't true. Looking at the last year of git commits I see significant contributions from a large number BSD-using companies and organizations. Looking at the top of the list (roughly sorted by commit count) we have:

  The FreeBSD Foundation
  Netflix
  Rubicon Communications, LLC ("Netgate")
  Klara, Inc
  Juniper Networks, Inc.
  Beckhoff Automation GmbH & Co. KG
  NVIDIA Networking
  Chelsio Communications
  DARPA
  AFRL
  NetApp, Inc.
  Arm Ltd
  Axcient
  Microsoft
  Intel Corporation
  Amazon, Inc.
  vStack
  UKRI
  Innovate UK
  Stormshield
  Modirum MDPay
  iXsystems, Inc
  Instituto de Pesquisas Eldorado (eldorado.org.br)
  Citrix Systems R&D
  Dell EMC Isilon
There are a couple of (admittedly high-profile) companies that use FreeBSD in their proprietary products with limited contribution to the community, but they are very much in the minority.

The blog post offers the linked reply to support the claim that FreeBSD "blatantly disregards security in favor of performance and appeasing their enterprise consumers."

Many of the claims on this page are supported with links to commits, mailing lists posts, etc

Their links to commits, mailing list posts, etc., are cherry-picked and taken out of context to present their view.

For one example, they suggest that the FreeBSD community is unwilling to make changes to improve things, and say "some of their users like it that way though", linking to https://lists.freebsd.org/pipermail/freebsd-arch/2020-May/01....

If you actually read the thread that response is taken from (starting at https://lists.freebsd.org/pipermail/freebsd-arch/2020-May/01...) you'll see a wholly different picture: a FreeBSD developer proposed a change, there was general agreement with a small amount of opposition including the cherry-picked message, and the change was made.

The FreeBSD src git repo has hundreds of thousands of commits, and anyone can post to mailing lists, so of course it's possible to find examples of mistakes being made, or misguided posts from developers or users.

I very much welcome constructive criticism and ideas for improving the security landscape within FreeBSD.

The linked blog post gives the impression that little has changed, but it is very much not the case.

Taking a look at the first section, "OpenSSH Modifications" - rather little of it is current. With respect to ciphers disabled by default in upstream we may follow along in main but leave them enabled in a stable/release branch, in an attempt to avoid breaking existing users while deprecating increasingly insecure options over time. We do indeed add support for tcp_wrappers back in. With respect to the base system I think the rest of the section is not applicable.

This link gets shared around every now and then, and my response is always the same: there is some useful insight, but there's also information that's so outdated it provides no value, outright misinformation, and self-contradiction. Some of the technical points are fair, and should be and are being addressed. But the commentary is often laughably wrong. The document seems more focused on advancing an agenda than a good-faith effort at improving security in FreeBSD.

Previous submissions (that have comments):

  https://news.ycombinator.com/item?id=11314648
  https://news.ycombinator.com/item?id=11318508
  https://news.ycombinator.com/item?id=12484248
  https://news.ycombinator.com/item?id=16008688
  https://news.ycombinator.com/item?id=20363705

This link gets shared around every now and then, and my response is always the same: there is some useful insight, but there's also information that's so outdated it provides no value, outright misinformation, and self-contradiction. Some of the technical points are fair, and should be and are being addressed. But the commentary is often laughably wrong. The document seems more focused on advancing an agenda than a good-faith effort at improving security in FreeBSD.

This is quite far off the mark.

Many companies using FreeBSD, including Juniper, NetApp, Netflix, Netgate (pfSense), iXsystems (TrueNAS), Dell (Isilon) contribute significant code to FreeBSD. It's very expensive to maintain long-lived changes from upstream, so there's a large incentive not to do so. Code that's "not contributed back" is largely code that isn't suitable for upstream anyhow - because it is incomplete, limited in scope, etc.

Looking at "Sponsored by" tags on the last 6 months of commits to FreeBSD I see the following:

  The FreeBSD Foundation
  Netflix
  Rubicon Communications, LLC ("Netgate")
  Chelsio Communications
  NetApp, Inc.
  Mellanox Technologies // NVIDIA Networking
  Innovate UK
  Klara, Inc.
  Diablotin Systems
  Dell EMC Isilon
  iXsystems, Inc.
  Citrix Systems R&D
  Axcient
  Netflix, Inc.
  DARPA
  Alstom Group
  Eldorado Research Institute (eldorado.org.br)
  Ampere Computing
  Marvell
  Stormshield
  Amazon, Inc.
(and a long list of entries with one or two commits each)

There's a backlog of work that contributors would like to get into FreeBSD; a limiting factor is availability of mentor and reviewer time to guide contributors through the process and iterating on bringing the code into a committable state.

The difference is that binary packages for Tier-2 and lower are on a best-effort basis, and might be more or less out of date depending on the available package build hardware. For arm64 we now have multiple high-end arm64 servers and can guarantee packages will be built in a timely fashion for all supported branches.

Mostly, we still have a couple of binutils hanging around:

- ld.bfd on 32-bit powerpc (should go when lld 10.0 is in FreeBSD)

- GNU as on i386 and amd64 (expected by some ports, and needed to assemble one file in the base system on amd64)

- objdump (expected by some ports, but not used in the base system)

These should be removed in FreeBSD 13.0. More details are on our Wiki, https://wiki.freebsd.org/GPLinBase