BSD Now

BSD Now

Download on the App Store

All BSD Now episodes

  • 381: Shell origins

    The Origin of the Shell, Return to Plan 9, ArisbluBSD: Why a new BSD?, OPNsense 20.7.5 released, Midnight BSD 2.0 Release Status, HardenedBSD November 2020 Status Report, and more.

    NOTES

    This episode of BSDNow is brought to you by Tarsnap

    Headlines
    The Origin of the Shell

    CTSS was developed during 1963 and 64. I was at MIT on the computer center staff at that time. After having written dozens of commands for CTSS, I reached the stage where I felt that commands should be usable as building blocks for writing more commands, just like subroutine libraries. Hence, I wrote "RUNCOM", a sort of shell driving the execution of command scripts, with argument substitution. The tool became instantly most popular, as it became possible to go home in the evening while leaving behind long runcoms executing overnight. It was quite neat for boring and repetitive tasks such as renaming, moving, updating, compiling, etc. whole directories of files for system and application maintenance and monitoring.

    Return to Plan 9

    Plan 9 from Bell Labs has held the same charm after my last visit that took a few days. This time I'll keep this operating system in an emulator where I can explore into it when I am distracted.

    News Roundup
    Why a new BSD?

    This article is to explain some decisions and plans made by the ArisbluBSD team, why we are making our own thing, and what the plan is for the OS. We mainly want to talk about five things: desktop, package management, software availability, custom software, and the future of the OS. We mostly want to explain what the goal of the OS is, and how we plan to expand in the near future. Without further ado, let's explain ArisbluBSD's plan.

    OPNsense 20.7.5 released

    We return briefly for a small patch set and plan to pin the 20.1 upgrade path to this particular version to avoid unnecessary stepping stones. We wish you all a healthy Friday. And of course: patch responsibly!

    Midnight BSD 2.0 Release Status

    We identified some issues with the 2.0 ISOs slated for release with the ZFS bootloader not working.

    Until this issue is resolved, we are unable to build release ISOs. We've left the old ones up as they work fine for anyone using UFS.

    HardenedBSD November 2020 Status Report

    We're getting close to the end of November. My wife and I have plans this weekend, so I thought I'd take the time to write November's status report today.

    Beastie Bits
    • [rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.](https://phiresky.github.io/blog/2019/rga--ripgrep-for-zip-targz-docx-odt-epub-jpg/)
    • [exa - A modern replacement for ls](https://the.exa.website/)
    • [The myriad meanings of pwd in Unix systems](https://qmacro.org/2020/11/08/the-meaning-of-pwd-in-unix-systems/)
    Tarsnap
    • This weeks episode of BSDNow was sponsored by our friends at Tarsnap, the only secure online backup you can trust your data to. Even paranoids need backups.
    • Feedback/Questions
      • Karl - Camera Help
      • Alejandro - domain registrar
      • Johnny - thoughts on 372
      • ***
      • Send questions, comments, show ideas/topics, or stories you want mentioned on the show to [email protected]
      • ***
        42 min
      • 380: Early ZFS-mas

        We read FreeBSD’s 3rd quarter status report, OpenZFS 2.0, adding check-hash checks in UFS filesystem, OpenSSL 3.0 /dev/crypto issues on FreeBSD, and more.

        NOTES

        This episode of BSDNow is brought to you by Tarsnap

        Headlines
        3rd Quarter FreeBSD Report

        The call for submissions for the 4th Quarter is out

        OpenZFS 2.0

        This Monday, ZFS on Linux lead developer Brian Behlendorf published the OpenZFS 2.0.0 release to GitHub. Along with quite a lot of new features, the announcement brings an end to the former distinction between "ZFS on Linux" and ZFS elsewhere (for example, on FreeBSD). This move has been a long time coming—the FreeBSD community laid out its side of the roadmap two years ago—but this is the release that makes it official.

        News Roundup
        Revision 367034

        Various new check-hash checks have been added to the UFS filesystem

        over various major releases. Superblock check hashes were added for
        the 12 release and cylinder-group and inode check hashes will appear
        in the 13 release.

        OpenSSL 3.0 /dev/crypto issues on FreeBSD

        So, just learned that the OpenSSL devs decided to break /dev/crypto on FreeBSD.

        OS108-9.1 XFCE amd64 released
        • OS108 is a fast, open and Secure Desktop Operating System built on top of NetBSD.
        • > Installing OS108 to your hard drive is done by using the sysinst utility, the process is basically the same as installing NetBSD itself. Please refer to the NetBSD guide for installation details, http://www.netbsd.org/docs/guide/en/part-install.html
        • Installation Video
        • ***
          Beastie Bits
          • OpenBGPD 6.8p1 portable: released Nov 5th, 2020
          • IRC Awk Bot
          • Docker on FreeBSD using bhyve and sshfs
          • The UNIX Command Language (1976)
          • ***
            Tarsnap
            • This weeks episode of BSDNow was sponsored by our friends at Tarsnap, the only secure online backup you can trust your data to. Even paranoids need backups.
            • Feedback/Questions
              • santi - openrc
              • trond - python2 and mailman
                • Send questions, comments, show ideas/topics, or stories you want mentioned on the show to [email protected]
                • ***
                  44 min
                • 379: bhyve my guest

                  Adventures in Freebernetes, tracing kernel functions, The better way of building FreeBSD networks, New beginnings: CDBUG virtual meetings, LibreSSL update in DragonFly, Signal-cli with scli on FreeBSD, and more.

                  NOTES

                  This episode of BSDNow is brought to you by Tarsnap

                  Headlines
                  Adventures in Freebernetes: bhyve My Guest

                  Part 2 of experiments in FreeBSD and Kubernetes: Creating your first guest

                  Tracing Kernel Functions: FBT stack() and arg

                  In my previous post I described how FBT intercepts function calls and vectors them into the DTrace framework. That laid the foundation for what I want to discuss in this post: the implementation of the stack() action and built-in arg variables. These features rely on the precise layout of the stack, the details of which I touched on previously. In this post I hope to illuminate those details a bit more with the help of some visuals, and then guide you through the implementation of these two DTrace features as they relate to the FBT provider.

                  News Roundup
                  Dummynet: The Better Way of Building FreeBSD Networks

                  Dummynet is the FreeBSD traffic shaper, packet scheduler, and network emulator. Dummynet allows you to emulate a whole set of network environments in a straight-forward way. It has the ability to model delay, packet loss, and can act as a traffic shaper and policer. Dummynet is roughly equivalent to netem in Linux, but we have found that dummynet is easier to integrate and provides much more consistent results.

                  New beginnings: CDBUG virtual meetings

                  I had overwhelmingly positive responses from the broader *BSD community about restarting CDBUG meetings as virtual, at least for now. Hopefully this works well and even when we're back to in-person meetings we can still find a way to bring in virtual attendees.

                  LibreSSL update in DragonFly

                  DragonFly has a new version of libressl, noting cause it has a newer TLS1.3 implementation – something that may be necessary for you.

                  Signal-cli with scli on FreeBSD

                  So couple of days ago I migrated from macOS on Macbook Pro to FreeBSD on ThinkPad T480s.

                  Beastie Bits
                  • Firefox is not paxctl safe for NetBSD
                  • FreeBSD 12.2-RELEASE on Microsoft Azure Marketplace
                  • Tarsnap
                    • This weeks episode of BSDNow was sponsored by our friends at Tarsnap, the only secure online backup you can trust your data to. Even paranoids need backups.
                    • Feedback/Questions
                      • carlos - BSD Now around the world
                      • paulo - freebsd on a Bananapi
                        • paulo - followup
                          • Send questions, comments, show ideas/topics, or stories you want mentioned on the show to [email protected]
                          • ***
                            38 min
                          • 378: Networknomicon

                            Interview with Michael W. Lucas: SNMP and TLS book, cashflow for creators, book sale and more.

                            NOTES

                            This episode of BSDNow is brought to you by Tarsnap

                            Headlines
                            Interview with Michael W. Lucas

                            SNMP Book

                            The Networknomicon
                            Sponsor the TLS Book
                            Cashflow for creators
                            Book sale

                            Tarsnap
                            • This weeks episode of BSDNow was sponsored by our friends at Tarsnap, the only secure online backup you can trust your data to. Even paranoids need backups.
                              • Send questions, comments, show ideas/topics, or stories you want mentioned on the show to [email protected]
                              • ***

                                Special Guest: Michael W Lucas.

                                57 min
                              • 377: Firewall ban-sharing

                                History of FreeBD: BSDi and USL Lawsuits, Building a Website on Google Compute Engine, Firewall ban-sharing across machines, OpenVPN as default gateway on OpenBSD, Sorting out what the Single Unix Specification is, Switching from Apple to a Thinkpad for development, and more

                                NOTES

                                This episode of BSDNow is brought to you by Tarsnap

                                Headlines
                                History of FreeBSD : Part 2 : BSDi and USL Lawsuits

                                In this second part of our series on the history of FreeBSD, we continue to trace the pre-history of FreeBSD and the events that would eventually shape the project and the future of open source software.

                                Building a Web Site on Google Compute Engine

                                Here's how I deployed a web site to the Google Cloud Platform. I used FreeBSD for good performance, stability, and minimal complexity. I set up HTTPS with free Let's Encrypt TLS certificates for both RSA and ECC. Then I adjusted the Apache configuration for a good score from the authoritative Qualys server analysis.

                                News Roundup
                                Firewall ban-sharing across machines

                                As described in My infrastructure as of 2019, my machines are located in three different sites and are loosely coupled. Nonetheless, I wanted to set things up so that if an IP address is acting maliciously toward one machine, all my machines block that IP at once so the meanie won't get to try one machine after another.

                                OpenVPN as default gateway on OpenBSD

                                If you plan to use an OpenVPN tunnel to reach your default gateway, which would make the tun interface in the egress group, and use tun0 in your pf.conf which is loaded before OpenVPN starts?

                                Here are the few tips I use to solve the problems.

                                Sorting out what the Single Unix Specification is and covers

                                Sorting out what the Single Unix Specification is and covers

                                October 8, 2020
                                I've linked to the Single Unix Specification any number of times, for various versions of it (when I first linked to it, it was at issue 6, in 2006; it's now up to a 2018 edition). But I've never been quite clear what it covered and didn't cover, and how it related to POSIX and similar things. After yesterday's entry got me looking at the SuS site again, I decided to try to sort this out once and for all.

                                Bye-bye, Apple

                                The days of Apple products are behind me. I had been developing on a Macbook for over twelve years, but now, I’ve switched to an ever trending setup: OpenBSD on a Thinkpad.

                                The new platform is a winner. Everything is clean, quick, and configurable. When I ps uaxww, I’m not hogging ‘gigs’ of RAM just to have things up and running. There’s no black magic that derails me at every turn. In short, my sanity has been long restored.

                                Tarsnap
                                • This weeks episode of BSDNow was sponsored by our friends at Tarsnap, the only secure online backup you can trust your data to. Even paranoids need backups.
                                • Feedback/Questions
                                  • Chris - small projects
                                  • Jens - ZFS Question
                                    • One pool to rule them all
                                    • Shroyer - Dotnet on FreeBSD for Jellyfin
                                    • ***
                                    • Send questions, comments, show ideas/topics, or stories you want mentioned on the show to [email protected]
                                    • ***
                                      49 min
                                    • 376: Build stable packages

                                      FreeBSD 12.2 is available, ZFS Webinar, Enhancing Syzkaller support for NetBSD, how the OpenBSD -stable packages are built, OPNsense 20.7.4 released, and more

                                      NOTES

                                      This episode of BSDNow is brought to you by Tarsnap

                                      Headlines
                                      FreeBSD 12.2 Release

                                      The release notes for FreeBSD 12.2-RELEASE contain a summary of the changes made to the FreeBSD base system on the 12-STABLE development line. This document lists applicable security advisories that were issued since the last release, as well as significant changes to the FreeBSD kernel and userland. Some brief remarks on upgrading are also presented.

                                      ZFS Webinar: November 18th

                                      Join us on November 18th for a live discussion with Allan Jude (VP of Engineering at Klara Inc) in this webinar centred on “best practices of ZFS”

                                      Building Your Storage Array – Everything from picking the best hardware to RAID-Z and using mirrors.
                                      Keeping up with Data Growth – Expanding and growing your pool, and of course, shrinking with device evacuation.
                                      Datasets and Properties – Controlling settings with properties and many other tricks!

                                      News Roundup
                                      Google Summer of Code 2020: [Final Report] Enhancing Syzkaller support for NetBSD

                                      Sys2syz would give an extra edge to Syzkaller for NetBSD. It has a potential of efficiently automating the conversion of syscall definitions to syzkaller’s grammar. This can aid in increasing the number of syscalls covered by Syzkaller significantly with the minimum possibility of manual errors. Let’s delve into its internals.

                                      How the OpenBSD -stable packages are built

                                      In this long blog post, I will write about the technical details of the OpenBSD stable packages building infrastructure. I have setup the infrastructure with the help of Theo De Raadt who provided me the hardware in summer 2019, since then, OpenBSD users can upgrade their packages using pkg_add -u for critical updates that has been backported by the contributors. Many thanks to them, without their work there would be no packages to build. Thanks to pea@ who is my backup for operating this infrastructure in case something happens to me.

                                      OPNsense 20.7.4 released

                                      This release finally wraps up the recent Netmap kernel changes and tests.

                                      The Realtek vendor driver was updated as well as third party software cURL,
                                      libxml2, OpenSSL, PHP, Suricata, Syslog-ng and Unbound just to name a couple
                                      of them.

                                      Beastie Bits
                                      • Binutils and linker changes
                                      • 28 Years of NetBSD contributions
                                      • Bluetooth Audio on OpenBSD
                                      • K8s Bhyve
                                      • ***
                                        Tarsnap
                                        • This weeks episode of BSDNow was sponsored by our friends at Tarsnap, the only secure online backup you can trust your data to. Even paranoids need backups.
                                        • Feedback/Questions
                                          • Sean - C Flags
                                          • Thierry - RPI ZFS question
                                            • Thierry's script
                                            • ***
                                            • Send questions, comments, show ideas/topics, or stories you want mentioned on the show to [email protected]
                                            • ***
                                              47 min
                                            • 375: Virtually everything

                                              bhyve - The FreeBSD Hypervisor, udf information leak, being a vim user instead of classic vi, FreeBSD on ESXi ARM Fling: Fixing Virtual Hardware, new FreeBSD Remote Process Plugin in LLDB, OpenBSD Laptop, and more.

                                              NOTES

                                              This episode of BSDNow is brought to you by Tarsnap

                                              Headlines
                                              bhyve - The FreeBSD Hypervisor

                                              FreeBSD has had varying degrees of support as a hypervisor host throughout its history. For a time during the mid-2000s, VMWare Workstation 3.x could be made to run under FreeBSD’s Linux Emulation, and Qemu was ported in 2004, and later the kQemu accelerator in 2005. Then in 2009 a port for VirtualBox was introduced. All of these solutions suffered from being a solution designed for a different operating system and then ported to FreeBSD, requiring constant maintenance.

                                              ZFS and FreeBSD Support

                                              Klara offers flexible Support Subscriptions for your ZFS and FreeBSD infrastructure. Get a world class team of experts to back you up. Check it out on our website!

                                              udf info leak

                                              FreeBSD UDF driver info leak

                                              Analysis done on FreeBSD release 11.0 because that's what I had around.

                                              • Fix committed to FreeBSD
                                              • ***
                                                News Roundup
                                                I'm now a user of Vim, not classical Vi (partly because of windows)

                                                In the past I've written entries (such as this one) where I said that I was pretty much a Vi user, not really a Vim user, because I almost entirely stuck to Vi features. In a comment on my entry on not using and exploring Vim features, rjc reinforced this, saying that I seemed to be using vi instead of vim (and that there was nothing wrong with this). For a long time I thought this way myself, but these days this is not true any more. These days I really want Vim, not classical Vi.

                                                FreeBSD on ESXi ARM Fling: Fixing Virtual Hardware

                                                With the current state of FreeBSD on ARM in general, a number of hardware drivers are either set to not auto-load on boot, or are entirely missing altogether. This page is to document my findings with various bits of hardware, and if possible, list fixes.

                                                Introduction of a new FreeBSD Remote Process Plugin in LLDB

                                                Moritz Systems have been contracted by the FreeBSD Foundation to modernize the LLDB debugger’s support for FreeBSD. We are writing a new plugin utilizing the more modern client-server layout that is already used by Darwin, Linux, NetBSD and (unofficially) OpenBSD. The new plugin is going to gradually replace the legacy one.

                                                OpenBSD Laptop

                                                Hi, I know it’s been a while. I recently had to nuke and re-pave my personal laptop and I thought it would be a nice thing to share with the community how I set up OpenBSD on it so that I have a useful, modern, secure environment for getting work done. I’m not going to say I’m the expert on this or that this is the BEST way to set up OpenBSD, but I thought it would be worthwhile for folks doing Google searches to at least get my opinion on this. So, given that, let’s go…

                                                Tarsnap
                                                • This weeks episode of BSDNow was sponsored by our friends at Tarsnap, the only secure online backup you can trust your data to. Even paranoids need backups.
                                                • Feedback/Questions
                                                  • Ethan - Linux user wanting to try out OpenBSD
                                                  • iian - Learning IT
                                                  • johnny - bsd swag
                                                    • Send questions, comments, show ideas/topics, or stories you want mentioned on the show to [email protected]
                                                    • ***
                                                      45 min
                                                    • 374: OpenBSD’s 25th anniversary

                                                      OpenBSD 6.8 has been released, NetBSD 9.1 is out, OpenZFS devsummit report, BastilleBSD’s native container management for FreeBSD, cleaning up old tarsnap backups, Michael W. Lucas’ book sale, and more.

                                                      NOTES

                                                      This episode of BSDNow is brought to you by Tarsnap

                                                      Headlines
                                                      OpenBSD 6.8

                                                      Released Oct 18, 2020. (OpenBSD's 25th anniversary)

                                                      NetBSD 9.1 Released

                                                      The NetBSD Project is pleased to announce NetBSD 9.1, the first update of the NetBSD 9 release branch. It represents a selected subset of fixes deemed important for security or stability reasons, as well as new features and enhancements.

                                                      OpenZFS Developer Summit 2020

                                                      As with most other conferences in the last six months, this year’s OpenZFS Developer’s Summit was a bit different than usual. Held via Zoom to accommodate for 2020’s new normal in terms of social engagements, the conference featured a mix of talks delivered live via webinars, and breakout sessions held as regular meetings. This helped recapture some of the “hallway track” that would be lost in an online conference.

                                                      • After attending the conference, I wrote up some of my notes from each of the talks
                                                      • Part 2

                                                      ZFS and FreeBSD Support

                                                      Klara offers flexible Support Subscriptions for your ZFS and FreeBSD infrastructure, simply sign up for our monthly subscription! What's even better is that for the month of October we are giving away 3 months for free, for every yearly subscription, and one month free when you sign up for a 6-months subscription! Check it out on our website!

                                                      News Roundup
                                                      BastilleBSD - native container management for FreeBSD

                                                      Some time ago, I had the requirement to use FreeBSD in a project, and soon the question came up if Docker and Kubernetes can be used.

                                                      On FreeBSD, Docker is not very well supported, and even if you can get it running, Linux is used in a Docker container. My experience with Docker on FreeBSD is awful, and so I started looking for alternatives.
                                                      A quick search on one of the most significant online search engines led me to Jails and then to BastilleBSD.

                                                      Tarsnap – cleaning up old backups

                                                      I use Tarsnap for my critical data. Case in point, I use it to backup my Bacula database dump. I use Bacula to backup my hosts. The database in question keeps track of what was backed up, from what host, the file size, checksum, where that backup is now, and many other items. Losing this data is annoying but not a disaster. It can be recreated from the backup volumes, but that is time consuming. As it is, the file is dumped daily, and rsynced to multiple locations.

                                                      MWL - BookSale

                                                      For those interested in such things, I recently posted my 60,000th tweet. This prodded me to try an experiment I’ve been pondering for a while.

                                                      Over at my ebookstore, two of my books are now on a “Name Your Own Price” sale. You can get git commit murder and PAM Mastery for any price you wish, with a minimum of $1.

                                                      Beastie Bits
                                                      • Brian Kernighan: UNIX, C, AWK, AMPL, and Go Programming | Lex Fridman Podcast #109
                                                      • The UNIX Time-Sharing System - Dennis M. Ritchie and Ken Thompson - July 1974
                                                      • Using a 1930 Teletype as a Linux Terminal
                                                      • ***
                                                        ###Tarsnap
                                                      • This weeks episode of BSDNow was sponsored by our friends at Tarsnap, the only secure online backup you can trust your data to. Even paranoids need backups.
                                                      • Feedback/Questions
                                                        • lars - infosec handbook
                                                        • scott - zfs import
                                                        • zhong - first episode
                                                          • Send questions, comments, show ideas/topics, or stories you want mentioned on the show to [email protected]
                                                          • ***
                                                            55 min
                                                          • 373: Kyle Evans Interview

                                                            We have an interview with Kyle Evans for you this week. We talk about his grep project, lua and flua in base, as well as bectl, being on the core team and a whole lot of other stuff.

                                                            NOTES

                                                            This episode of BSDNow is brought to you by Tarsnap

                                                            Interview - Kyle Evans - [email protected] / @kaevans91
                                                            Tarsnap
                                                            • This weeks episode of BSDNow was sponsored by our friends at Tarsnap, the only secure online backup you can trust your data to. Even paranoids need backups.

                                                            • Send questions, comments, show ideas/topics, or stories you want mentioned on the show to [email protected]

                                                            • 34 min
                                                            • 372: Slow SSD scrubs

                                                              Wayland on BSD, My BSD sucks less than yours, Even on SSDs, ongoing activity can slow down ZFS scrubs drastically, OpenBSD on the Desktop, simple shell status bar for OpenBSD and cwm, and more.

                                                              NOTES

                                                              This episode of BSDNow is brought to you by Tarsnap

                                                              Headlines
                                                              Wayland on BSD

                                                              After I posted about the new default window manager in NetBSD I got a few questions, including "when is NetBSD switching from X11 to Wayland?", Wayland being X11's "new" rival. In this blog post, hopefully I can explain why we aren't yet!

                                                              My BSD sucks less than yours

                                                              This paper will look at some of the differences between the FreeBSD and OpenBSD operating systems. It is not intended to be solely technical but will also show the different "visions" and design decisions that rule the way things are implemented. It is expected to be a subjective view from two BSD developers and does not pretend to represent these projects in any way.

                                                              Video

                                                              • EuroBSDCon 2017 Part 1
                                                              • EuroBSDCon 2017 Part 2
                                                              • News Roundup
                                                                Even on SSDs, ongoing activity can slow down ZFS scrubs drastically

                                                                Back in the days of our OmniOS fileservers, which used HDs (spinning rust) across iSCSI, we wound up changing kernel tunables to speed up ZFS scrubs and saw a significant improvement. When we migrated to our current Linux fileservers with SSDs, I didn't bother including these tunables (or the Linux equivalent), because I expected that SSDs were fast enough that it didn't matter. Indeed, our SSD pools generally scrub like lightning.

                                                                OpenBSD on the Desktop (Part I)

                                                                Let's install OpenBSD on a Lenovo Thinkpad X270. I used this computer for my computer science studies. It has both Arch Linux and Windows 10 installed as dual boot. Now that I'm no longer required to run Windows, I can ditch the dual boot and install an operating system of my choice.

                                                                A simple shell status bar for OpenBSD and cwm(1)

                                                                These days, I try to use simple and stock software as much as possible on my OpenBSD laptop. I’ve been playing with cwm(1) for weeks and I was missing a status bar. After trying things like Tint2, Polybar etc, I discovered @gonzalo’s termbar. Thanks a lot!

                                                                As I love scripting, I decided to build my own.

                                                                Beastie Bits

                                                                DragonFly v5.8.3 released to address to issues

                                                                OpenSSH 8.4 released

                                                                Tarsnap
                                                                • This weeks episode of BSDNow was sponsored by our friends at Tarsnap, the only secure online backup you can trust your data to. Even paranoids need backups.
                                                                • Feedback/Questions
                                                                  • Dane - FreeBSD vs Linux in Microservices and Containters
                                                                  • Mason - questions.md
                                                                  • Michael - Tmux License.md
                                                                    • Send questions, comments, show ideas/topics, or stories you want mentioned on the show to [email protected]
                                                                    • ***
                                                                      49 min