BSD Now

BSD Now

Download on the App Store

All BSD Now episodes

  • 163: Return of the Cantrill

    The wait is over, 11.0 of FreeBSD has (officially) launched. We’ll have coverage of this, plus a couple looks back at UNIX history, and a crowd-favorite guest today.

    This episode was brought to you by

    href="http://www.digitalocean.com/" title="DigitalOcean">
    href="http://www.tarsnap.com/bsdnow" title="Tarsnap">

    Headlines
    FreeBSD 11.0-RELEASE Now Available
    • FreeBSD 11.0-RELEASE is now officially out.
    • A last minute reroll to pickup OpenSSL updates and a number of other security fixes meant the release was a little behind schedule, and shipped as 11.0-RELEASE-p1, but the release is better for it
    • Improved support for 802.11n and various wifi drivers
    • Support for the AArch64 (arm64) architecture has been added.
    • Native graphics support has been added to the bhyve(8) hypervisor.
    • A new flag, “onifconsole” has been added to /etc/ttys. This allows the system to provide a login prompt via serial console if the device is an active kernel console, otherwise it is equivalent to off.
    • The xz(1) utility has been updated to support multi-threaded compression.
    • A number of kernel panics related to VNET have been fixed
    • The IMAGACT_BINMISC kernel configuration option has been enabled by default, which enables application execution through emulators, such as QEMU via binmiscctl(8).
    • The GENERIC kernel configuration has been updated to include the IPSEC option by default.
    • The kern.osrelease and kern.osreldate are now configurable jail(8) parameters
    • A new sysctl(8), kern.racct.enable, has been added, which when set to a non-zero value allows using rctl(8) with the GENERIC kernel. A new kernel configuration option, RACCT_DISABLED has also been added.
    • The minimum (arc_min) and maximum (arc_max) values for the ZFS adaptive replacement cache can be modified at runtime.
    • Changes to watch out for:
      • OpenSSH DSA key generation has been disabled by default. It is important to update OpenSSH keys prior to upgrading. Additionally, Protocol 1 support has been removed.
      • By default, the ifconfig(8) utility will set the default regulatory domain to FCC on wireless interfaces. As a result, newly created wireless interfaces with default settings will have less chance to violate country-specific regulations.
      • An issue was discovered with Amazon® EC2™ images which would cause the virtual machine to hang during boot when upgrading from previous FreeBSD versions. New EC2™ installations are not affected, but existing installations running earlier releases are advised to wait until the issue is resolved in an Errata Notice before upgrading. An Errata Notice to address this is planned following the release.
      • ***
        process listing consistency
        • Ted Unangst asks: how consistent is the output of ps(1)?
        • If processes are starting and exiting constantly, and you run ps(1), is the output guaranteed to reflect that exact moment in time, or might it include some processes that have gone away before ps(1) exited, and include some processes that did not exist when ps(1) was started?
        • Ted provides a little example chicken/egg program to try to create such an inconsistency, so you can test out your OS
        • On OpenBSD ps(1) was switched away from the reading kernel memory directly, and instead uses the KERN_PROC_ALL sysctl
        • Thus sysctl can iterate over the entire process list, copying out information to ps(1), without blocking. If we prevent processes from forking or exiting during this time, we get a consistent snapshot. The snapshot may be stale, but it will never show us a viewpoint that never happened.

          • So, OpenBSD will always be consistent, or will it?
          • Is there a way to trick ps on OpenBSD? Not everything is consistent. There’s a separate sysctl, KERN_PROC_ARGV, that reads the command line arguments for a process, but it only works on one process at a time. Processes can modify their own argv at any time.

            • A second test program changes the process title of both the chicken and the egg, and if you run ps(1), you can get back a result that never actually happened.

            • The argv of the first program is read by ps(1), and in the meantime, it changes to a different value. The second program also changes its value, so now when ps(1) reads it, it sees the new value, not the original value from when ps(1) was started.

            • So the output is not that consistent, but is it worth the effort to try to make it so?

            • DragonFlyBSD - if_iwm - Add basic powermanagement support via ifconfig wlan0 powersave
              • WiFi can often be one of the biggest drains on your laptop battery, so anything we can do to improve the situation should be embraced.
              • Imre Vadász over at the DragonFly project has done that, porting over a new set of power management support from Linux to the if_iwm driver.
              • if_iwm - Add basic powermanagement support via ifconfig wlan0 powersave.

                • The DEVICE_POWER_FLAGS_CAM_MSK flag was removed in the upstream iwlwifi in Linux commit ceef91c89480dd18bb3ac51e91280a233d0ca41f.

                • Add sc_ps_disabled flag to struct iwm_softc, which corresponds to mvm->ps_disabled in struct iwl_mvm in Linux iwlwifi.

                • Adds a hw.iwm.power_scheme tunable which corresponds to the power_scheme module parameter in Linux iwlwifi. Set this to 1 for completely disabling power management, 2 (default) for balanced powermanagement, and 3 for lowerpower mode (which does dtim period skipping).

                  • Imports the constants.h file from iwlwifi as if_iwm_constants.h.
                  • This doesn't allow changing the powermanagement setting while connected,
                  • also one can only choose between enabled and disabled powersaving with
                    ifconfig (so switching between balanced and low-power mode requires
                    rebooting to change the tunable).
                  • After any changes to powermanagement (i.e. "ifconfig wlan0 powersave" to
                  • enable powermanagement, or "ifconfig wlan0 -powersave" for disabling
                    powermanagement), one has to disconnect and reconnect to the accespoint
                    for the change to take effect.“
                    • Good stuff! These positive changes need to happen more often and sooner, so we can all eek out every drop of power from our respective laptops.
                    • ***
                      Helping out an Internet Friend…Dual boot OpenBSD
                      • Dual-booting OpenBSD and Linux, via UEFI. A year ago we wouldn’t be discussing this, but today we have an article where somebody has done exactly that.
                      • This Journey was undertaken by Brian Everly (Indiana Bug), partly due to a friend who wanted to dual-boot his laptop which already has an existing UEFI install on it.
                      • As a proof of concept, he began by replicating the setup in VMware with UEFI
                      • He started by throwing Ubuntu into the VM, with some special attention paid to partitioning to ensure enough room left-over for OpenBSD later.
                      • I created a 64MB EFI partition at the front of the disk. Next, I created a 20GB primary partition at the beginning of the space, mounted as the root (/) filesystem.

                        I then added a 4096MB swap partition for Ubuntu. Finally, I used the rest of the free space to create a Reserved BIOS Boot Area FAT32 partition that was not associated with a mount point – this is where I will be installing OpenBSD.

                        • With that done, he wrapped up the Ubuntu installation and then turned over to to the OpenBSD side. Some manual partitioning was required to install to the “Reserved FAT32” partition.
                        • I mashed through the defaults in the OpenBSD installer until I got to the disk partitioning. Since I told VMWare to make my hard drive an IDE one, I knew I was playing around with wd0 and not sd0 (my USB key). I dumped into fdisk by selecting to (E)dit the partition scheme and saw my setup from Linux. First was the EFI partition (I am guessing I’ll have to copy my bootx64.efi file to that at some point), second was the Linux etx4 partition, third was my Linux swap partition and fourth was a weird looking one that is the “Reserved BIOS Boot” partition. That’s the one I’ll fiddle with.

                          Issuing the command “edit 3” allowed me to fiddle with that partition #3 (remember, we start counting at zero). I set it’s type to “A6” (OpenBSD) and then took the defaults with the exception of naming it “OpenBSD”. A quick “write” followed by a “quit” allowed me to update my new partition and get back to the installer.

                          • Once the installation was wrapped up (OpenBSD helpfully already created the /boot/EFI partition with the correct EFI loader installed) he was able to reboot and select between the two systems at the UEFI bios screen.
                          • For kicks, he lastly went into Ubuntu and grabbed refind. Installing refind provided a fancy graphical selector between the two systems without too much trouble.
                          • Next step will be to replicate this process on his friend’s laptop. Wishing you luck with that journey!
                          • Interview - Bryan Cantrill - email@email / @twitter
                            • CTO of Joyent
                            • ***
                              News Roundup
                              After 22 Years, 386BSD Gets An Update
                              • Slashdot brings us an interesting mention this week, specifically that after 22 years, we now have an update to 386BSD.
                              • 386BSD was last released back in 1994 with a series of articles in Dr. Dobb's Journal -- but then developers for this BSD-based operating system started migrating to both FreeBSD and NetBSD. An anonymous Slashdot reader writes: The last known public release was version 0.1. Until Wednesday, when Lynne Jolitz, one of the co-authors of 386BSD, released the source code to version 1.0 as well as 2.0 on Github.

                                386BSD takes us back to the days when you could count every file in your Unix distribution and more importantly, read and understand all of your OS source code. 386BSD is also the missing link between BSD and Linux. One can find fragments of Linus Torvalds's math emulation code in the source code of 386BSD. To quote Linus: "If 386BSD had been available when I started on Linux, Linux would probably never had happened.”

                                Though it was designed for Intel 80386 microprocessors, there's already instructions for launching it on the hosted hardware virtualization service Qemu.

                                • There you have it! Go grab the new hotness that is 386BSD and run it in 2016! Or perhaps you want FreeBSD 11, but to each their own.
                                • ***
                                  Progress of the OpenBSD Limited Edition Signed CD set
                                  • An update from a story last week! We mentioned the “very” limited edition OpenBSD 6.0 signed CD sets that had gone up for Auction on Ebay. (With proceeds to support for Foundation)
                                  • As of today, here’s where we stand:

                                    • CD set #1 (Sep 29th + 5 days) sold for $4200
                                    • CD set #2 (Oct 4th + 3 days) sold for $3000
                                    • CD set #3 (Oct 8th + 3 days) sold for $817
                                    • CD set #4 (Oct 11th + 3 days) is currently up for bidding
                                    • There you have it! The 4th set is almost wrapped up bidding, and the 5th and last set is not far behind. Be sure to grab your piece of BSD history before its gone!

                                    • PROTOTYPE FreeBSD Jail/ZFS based implementation of the Application Container Specification

                                      “Jetpack is an experimental and incomplete implementation of the App Container Specification for FreeBSD. It uses jails as isolation mechanism, and ZFS for layered storage.”

                                      “This document uses some language used in Rocket, the reference implementation of the App Container Specification. While the documentation will be expanded in the future, currently you need to be familiar at least with Rocket's README to understand everything.”

                                      • A standard with multiple implementations, that allow substitution of components, such as FreeBSD Jails instead of docker/lxc etc, and ZFS instead of overlayfs etc, is very exciting
                                      • ***
                                        Microsoft’s Forgotten Unix-based Operating System
                                        • Do you remember the good old days. You know, when Microsoft was the driving force behind UNIX? Wait, what did you say you may be thinking? It’s true, and lets sit back and let FossBytes tell us a tale of what once was reality.
                                        • The story begins sometime in the late 70’s:
                                        • Turning back the pages to the late 1970’s, Microsoft entered into an agreement with AT&T Corporation to license Unix from AT&T. While the company didn’t sell the OS to public, it licensed it to other OEM vendors like Intel, SCO, and Tandy.

                                          As Microsoft had to face legal trouble due to “Unix” name, the company renamed it and came up with its own Unix distribution. So, AT&T licensed Unix to Redmond that was passed on to other OEMs as Xenix.

                                          It’s interesting to recall a time when Microsoft enabled people to run Unix — an operating system originally designed for large and multiuser systems — on a microcomputer. Even though it came first, Unix was probably more powerful than MS-DOS.

                                          • So whatever happened to this microsoft-flavored UNIX you may ask? Sadly it was ditched for DOS due to $REASONS:
                                          • In early 1980’s, IBM was looking for an OS to power its PC. As IBM didn’t want to maintain any ties with the recently split AT&T, Xenix was automatically rejected. To fulfill, the tech giant’s demand, Microsoft bought 86-DOS from Seattle Computer Products and managed to convince IBM to use it in their systems.

                                            Slowly, Microsoft started losing interest in Xenix and traded the full rights of Xenix with SCO, a Xenix partner company. The company filed bankruptcy in 2007 before taking the Xenix legacy to the 21st century in the form of Open Server, previously known as SCO Unix and SCO Open Desktop.

                                            • An interesting chapter in UNIX history to be sure, and funny enough may come full-circle someday with Microsoft beginning to show interest in UNIX and BSD once again.
                                            • ***
                                              Beastie Bits
                                              • Ohio LinuxFest 2016 wrap-up

                                              • Learn X in Y minutes Where X=zfs

                                              • Add touchscreen support for the official 7" RPi touch display

                                              • 64-bit U-Boot on Raspberry Pi 3

                                              • SNIA SDC 2016 Recap: Michael Dexter

                                              • OpenZFS: Stronger than ever

                                              • Accurate, Traceable, and Verifiable Time Synchronization for World Financial Markets

                                              • ON HOLY WARS AND A PLEA FOR PEACE

                                              • Feedback/Questions
                                                • Morgan - Zero-Filling an VM
                                                • Charlie - ZFS Bit-Rot
                                                • Matias - TrueOS / Launchd
                                                • Dale - DO Feedback
                                                • James - DO / FreeBSD Locks?
                                                • ***
                                                  2 hr 12 min
                                                • 162: The Foundation of NetBSD

                                                  This week on the show, we’ll be talking to Petra about the NetBSD foundation, about how they operate and assist NetBSD behind the scenes. That plus lots of news

                                                  This episode was brought to you by

                                                  href="http://www.digitalocean.com/" title="DigitalOcean">
                                                  href="http://www.tarsnap.com/bsdnow" title="Tarsnap">

                                                  Headlines
                                                  What is new on EC2 for FreeBSD 11.0-RELEASE
                                                  • “FreeBSD 11.0-RELEASE is just around the corner, and it will be bringing a long list of new features and improvements — far too many for me to list here. I think there are
                                                  • some improvements in FreeBSD 11.0 which are particularly noteworthy for EC2 users.”
                                                  • “First, the EC2 Console Screenshot functionality now works with FreeBSD. This provides a "VGA" output as opposed to the traditional "serial port" which EC2 has exposed as
                                                  • "console output" for the past decade, and is useful largely because the "VGA" output becomes available immediately whereas the "serial port" output can lag by several minutes. This
                                                    improvement is a simple configuration change — older releases didn't waste time writing to a non-serial console because it didn't go anywhere until Amazon added support on their
                                                    side — and can be enabled on older FreeBSD releases by changing the line console="comconsole" to boot_multicons="YES" in /boot/loader.conf.”
                                                  • “The second notable change is support for EC2 "Enhanced Networking" using Intel 82599 hardware; on the C3, C4, R3, I2, D2, and M4 (excluding m4.16xlarge) families, this
                                                  • provides increased network throughput and reduced latency and jitter, since it allows FreeBSD to talk directly to the networking hardware rather than via a Xen paravirtual interface.
                                                    Getting this working took much longer than I had hoped, but the final problem turned out not to be in FreeBSD at all — we were tickling an interrupt-routing bug in a version of
                                                    Xen used in EC2. Unfortunately FreeBSD does not yet have support for the new "Elastic Network Adapter" enhanced networking used in P2 and X1 instance families and the m4.16xlarge
                                                    instance type; I'm hoping that we'll have a driver for that before FreeBSD 11.1 arrives.”
                                                  • “The third notable change is an improvement in EC2 disk throughput. This comes thanks to enabling indirect segment I/Os in FreeBSD's blkfront driver; while the support was
                                                  • present in 10.3, I had it turned off by default due to performance anomalies on some EC2 instances. (Those EC2 performance problems have been resolved, and disk I/O performance in
                                                    EC2 on FreeBSD 10.3 can now be safely improved by removing the line hw.xbd.xbd_enable_indirect="0" from /boot/loader.conf.)”
                                                  • “Finally, FreeBSD now supports all 128 CPUs in the x1.32xlarge instance type. This improvement comes thanks to two changes: The FreeBSD default kernel was modified in 2014 to
                                                  • support up to 256 CPUs (up from 64), but that resulted in a (fixed-size) section of preallocated memory being exhausted early in the boot process on systems with 92 or more CPUs; a
                                                    few months ago I changed that value to tune automatically so that FreeBSD can now boot and not immediately panic with an out-of-the-box setup on such large systems.”
                                                  • “I think FreeBSD/EC2 users will be very happy with FreeBSD 11.0-RELEASE; but I'd like to end with an important reminder: No matter what you might see on FTP servers, in EC2, or
                                                  • available via freebsd-update, the new release has not been released until you see a GPG-signed email from the release engineer. This is not just a theoretical point: In my time as a
                                                    FreeBSD developer I've seen multiple instances of last-minute release re-rolls happening due to problems being discovered very late, so the fact that you can see bits doesn't
                                                    necessarily mean that they are ready to be downloaded. I hope you're looking forward to 11.0-RELEASE, but please be patient.”
                                                    ***
                                                    Upgrading Amazon EC2 instance from 10.3 to 11.0-PRERELEASE results in hang at boot
                                                    • As if to underscore that last point, a last minute bug was found on sunday night
                                                    • A user reported that they used freebsd-update to upgrade an EC2 instance from 10.3 to 11.0 and it started hanging during boot
                                                    • After some quick investigation by Colin, the problem was reproduced
                                                    • Since I had done a lot of work in the loader recently, I helped Colin build a version of the loader with a lot of the debugging enabled, and some more added to try to isolate where
                                                    • in the loader the freeze was happening
                                                    • Colin and I worked late into the night, but eventually found the read from disk that was causing the hang
                                                    • Unlike most of the other reads, that were going into the heap, this read was into a very low memory address, right near the 640kb border. This initially distracted us from the real
                                                    • cause of the problem
                                                    • With more debugging added, it was determined that the problem was in the GELIBoot code, when reading the last sector of each partition to determine if it is encrypted. In cases
                                                    • where the partition is not 4k aligned, and butts up against the end of the disk, the formula used could result in a read past the end of the disk
                                                    • The formula rounds the last sector byte address down to the nearest factor of 4096, then reads 4096 bytes. Then that buffer is examined to determine if the partition is encrypted.
                                                    • If it is a 512b sector drive, the metadata will be in the last 512 bytes of that 4096 byte buffer.
                                                    • However, if the partition is not 4k aligned, the rounding will produce a value that is less than 4096 bytes from the end of the disk, and attempting to read 4096 bytes, will read
                                                    • past the end of the disk
                                                    • Normally this isn’t that big of a problem, the BIOS will just return an error. The loader will retry up to three times, then give up and move on, continuing to boot normally.
                                                    • Some BIOSes are buggy, and will initiate their own retries, and the combination might result in a stall of up to 30 seconds for each attempt to read past the end of the disk
                                                    • But it seems that Amazon EC2 instances, (and possibly other virtual instances), will just hang in this case.
                                                    • This bug has existed for 6 months, but was not caught because almost all installations are 4k aligned thanks to changes made to the installer over the last few years, and most
                                                    • hardware continues to boot with no sign of a problem
                                                    • Even the EC2 snapshot images of 11.0 do not have the problem, as they use a newer disk layout that is 4k aligned by default now. The problem only seems to happen when older disk
                                                    • images are upgraded
                                                    • The fix has been committed and will be merged the the branches over the next few days
                                                    • An Errata notice will be issues, and the fix will be available via freebsd-update
                                                    • It is recommended that EC2 users, and anyone who wants to be especially cautious, wait until this errata notice goes out before attempting to upgrade from FreeBSD 10.3 to 11.0
                                                    • You can determine if your partitions are 4k aligned by running ‘gpart show’. If there is free space after your last partition, you won’t have any issues.
                                                    • ***
                                                      OpenBSD 6.0 Limited Edition CD set (signed by developers)

                                                      The first one went for .$4,200.00

                                                      • Looking for your piece of OpenBSD history? At the recent g2k16 hackathon in Cambridge UK, 40 OpenBSD developers put pen to paper and signed 5 copies of the new 6.0 release.
                                                      • Each of these will be auctioned off on ebay, with the proceeds to benefit the OpenBSD foundation.
                                                      • The first auction has already ended, and CD set went for a whopping $4200!
                                                      • The next set only has 2 days left, and currently stands at $3000! (http://www.ebay.com/itm/-/331990536246)
                                                      • Get your bids in soon, these are VERY unique, the odds of getting the same 40 developers in a room together and signing a new .0 release may make this a once-in-a-lifetime
                                                      • opportunity.
                                                      • Additionally, if you are just starting your OpenBSD collection, here’s a nice image to make you envious: A nice collection of OpenBSD CD Sets
                                                      • ***
                                                        [What typing D really does on Unix

                                                        ](https://utcc.utoronto.ca/~cks/space/blog/unix/TypingEOFEffects)

                                                        • How often have you used a D to generate an EOF? Do you really know what that does?
                                                        • Chris Siebenmann has posted a look at this on his blog, which might not be what you think
                                                        • “Typing D causes the tty driver to immediately finish a read().”

                                                          • He continues on:
                                                          • Normally doing a read() from a terminal is line-buffered inside the tty driver; your program only wakes up when the tty driver sees the newline, at which point you get back the full

                                                            line. (Note that this buffering is distinct from anything that your language's IO system may be doing.)

                                                            Typing D causes the tty driver to stop waiting for a newline and immediately return from the read() with however much of the line has been accumulated to date. If you haven't

                                                            typed anything on the line yet, there is nothing accumulated and the read() will return 0 bytes, which is conveniently the signal for end of file. If you have typed something the
                                                            program will get it; because it doesn't have a trailing newline, the program's own line-buffering may take over and keep read()ing to get the rest of the line.

                                                            (Other programs will immediately process the partial line with no buffering; cat is one example of this.)

                                                            Once you've typed D on a partial line, that portion of the line is immutable because it's already been given to the program. Most Unixes won't let you backspace over such partial

                                                            lines; effectively they become output, not input.

                                                            (Note that modern shells are not good examples of this, because they don't do line-buffered input; to support command line editing, they switch terminal input into an uninterpreted

                                                            mode. So they get the raw D and can do whatever they want with it, and they can let you edit as much of the pending line as they want.)

                                                            • Fascinating stuff, and interesting to see behind the curtain at exactly what’s going on with your programs buffering and tty driver interaction.
                                                            • Interview - Petra Zeidler - [email protected]
                                                              • NetBSD Foundation
                                                              • ***
                                                                News Roundup
                                                                Running FreeBSD in Travis-CI Thanks to KQEmu
                                                                • Travis-CI is the most popular testing framework on Github, but it doesn’t support any of the BSDs
                                                                • This didn’t discourage Even Rouault, who managed to run FreeBSD in KQEMU on the Linux instances provided by Travis-CI
                                                                • “Travis-CI has a free offer for software having public repository at GitHub. Travis-CI provides cloud instances running Linux or Mac OS X. To increase portability tests of
                                                                • GDAL, I wondered if it was somehow possible to run another operating system with Travis-CI, for example FreeBSD. A search lead me to this
                                                                  question in their bug tracker but the outcome seems to be that it is not possible, nor in their medium or long term plans.”
                                                                • “One idea that came quickly to mind was to use the QEMU machine emulator that can simulate full machines, of several hardware architectures.”
                                                                • They found an existing image of FreeBSD 9.2 and configured the Travis job to download it and fire it up in QEMU.
                                                                • “Here we go: ./configure && make ! That works, but 50 minutes later (the maximum length of a Travis-CI job), our job is killed with perhaps only 10% of the GDAL code base being
                                                                • compiled. The reason is that we used the pure software emulation mode of QEMU that involves on-the-fly disassembling of the code to be run and re-assembling.”
                                                                • Travis-CI runs in Google Compute Engine, which does not allow nested virtualization, so hardware virtualization is not an option to speed up QEMU
                                                                • “Here comes the time for good old memories and a bit of software archeology. QEMU was started by Fabrice Bellard. If you didn't know his name yet, F. Bellard created FFMPEG and
                                                                • QEMU, holds a world record for the number of decimals of Pi computed on a COTS PC, has ported QEMU in JavaScript to run the Linux kernel in your browser, devised BPG, a new
                                                                  compression based on HEVC, etc....”
                                                                • “At the time where his interest was focused on QEMU, he created KQemu, a kernel module (for Linux, Windows, FreeBSD hosts), that could significantly enhance QEMU performance
                                                                • when the guest and hosts are x86/x86_64 and does not require (nor use) hardware virtualization instructions.”
                                                                • “Running it on Travis-CI was successful too, with the compilation being done in 20 minutes, so probably half of the speed of bare metal, which is good enough.”
                                                                • “I could also have potentially tried VirtualBox because, as mentioned above, it supports software virtualization with acceleration. But that is only for 32 bit guests (and I
                                                                • didn't find a ready-made FreeBSD 32bit image that you can directly ssh into). For 64 bit guests, VirtualBox require hardware virtualization to be available in the host. To the best
                                                                  of my knowledge, KQemu is (was) the only solution to enable acceleration of 64 bit guests without hardware requirements.”
                                                                • It will be interesting to see if enough people do this hack, maybe Travis-CI will consider properly supporting FreeBSD
                                                                • ***
                                                                  OpenBSD EuroBSDcon 2016 Papers are online
                                                                  • Slides from the OpenBSD talks at EuroBSDCon are online now
                                                                    • Landry Breuil, Building packages on exotic architectures
                                                                    • Peter Hessler, Bidirectional Forwarding Detection (BFD) implementation and support in OpenBSD
                                                                    • Ingo Schwarze, Why and how you ought to keep multibyte character support simple (roff/mm/gpresent source
                                                                    • code)
                                                                    • Stefan Sperling, OpenBSD meets 802.11n
                                                                    • Antoine Jacoutot, OpenBSD rc.d(8)
                                                                    • Marc Espie, Retrofitting privsep into dpb and pkg_add
                                                                    • Martin Pieuchot, Embracing the BSD routing table
                                                                    • I am working to build a similar website for the FreeBSD project, but there is still a lot of work to do
                                                                    • I also managed to find the slides from the keynotes:
                                                                    • Opening Keynote: George Neville-Neil: Looking Backwards: The coming decades of BSD
                                                                    • Closing Keynote: Gert Döring: Internet Attacks, Self-Governance, and the Consequences
                                                                    • ***
                                                                      VirtualBox Shared Folders on FreeBSD: progress report
                                                                      • In the past month or so, VirtualBox in the FreeBSD ports tree got bumped to version 5, which while bringing new features, did cause a regression in Shared Folders.
                                                                      • FreeBSD developer gonzo@ (Oleksandr Tymoshenko) has been tackling this issue in recent days and provides us with a look behind the curtain at the challenges involved.
                                                                      • Specifically he started by implementing the various needed VOPs: “lookup, access, readdir, read, getattr, readlink, remove, rmdir, symlink, close, create, open, write.”
                                                                      • He then continues with details about how complete this is:
                                                                      • ““Kind of implemented” means that I was able to mount directory, traverse it, read file, calculate md5 sums and compare with host’s md5sum, create/remove directories,

                                                                        unzip zip file, etc but I doubt it would survive stress-test. Locking is all wrong at the moment and read/write VOPs allocate buffers for every operation.”

                                                                        • The bigger issue faced is with the rename VOP though:
                                                                        • I hit a roadblock with rename VOP: it involves some non-trivial locking logic and also there is a problem with cached paths. VBox hypervisor operates on full paths so we cache them

                                                                          in vboxfs nodes, but if one of parent directories is renamed, all cached names should be modified accordingly. I am going to tackle these two problems once I have long enough stretch
                                                                          of time time sit and concentrate on task.

                                                                          • We wish him luck in getting those issues solved. I know quite a few of our users rely on shared folders as well.
                                                                          • ***
                                                                            FreeBSD News Issue #1
                                                                            • Issue #1 of FreeBSD News, from summer of 1997
                                                                            • Contains an article by Yahoo! co-founder David Filo about their early use of FreeBSD, on 100mhz Pentium machines with 64MB of ram
                                                                            • Java Development Kit 1.0.2 ported to FreeBSD
                                                                            • What is FreeBSD?
                                                                            • Running the world’s busiest FTP site (cdrom.com) on FreeBSD
                                                                            • Xi Graphics announces the release of CDE Business Desktop, the first and only integrated desktop for FreeBSD, on AcceleratedX, a fully supported commercial grade X display server
                                                                            • Get FreeBSD 2.2.2 Today!
                                                                            • ***
                                                                              Beastie Bits
                                                                              • Call for testing: newly MPSAFE nvme(4)

                                                                              • Thinking about starting a BUG in Indianapolis, IN USA

                                                                              • The cost of forsaking C: Why students still need to learn C

                                                                              • OpenBSD (U)EFI bootloader howto

                                                                              • Michael Lucas sets his eyes on OpenBSD's web stack for his next book

                                                                              • LibreSSL 2.5.0 released

                                                                              • OPNsense 16.7.5 released

                                                                              • Feedback/Questions
                                                                                • Jonas - ZFS on DO
                                                                                • Ricardo - OpenBSD Encrypted Disk
                                                                                • WiskerTickle - Storage Benchmark
                                                                                • Phil - Thanks
                                                                                • Luis - Misc Questions
                                                                                • ***
                                                                                  1 hr 47 min
                                                                                • 161: The BSD Bromance

                                                                                  This week on BSDNow, we’re going to be hearing about Allan’s trip to EuroBSDCon, plus an Interview about “Bro on BSD”! Stay tuned, for your place to

                                                                                  This episode was brought to you by

                                                                                  href="http://www.digitalocean.com/" title="DigitalOcean">
                                                                                  href="http://www.tarsnap.com/bsdnow" title="Tarsnap">

                                                                                  Headlines
                                                                                  EuroBSDCon 2016 Wrapup
                                                                                  • Ollivier Robert’s Photos from EuroBSDCon
                                                                                  • Get your BSDNow die-cut stickers
                                                                                  • NetBSD for newbies - Develop your own Power PC
                                                                                    • We don’t get to feature too many stories on NetBSD being deployed as a Power PC (Not PowerPC, you know, a Powerful “PC”), so we jumped at this one.
                                                                                    • Specifically it starts off with some of the pre-req’s that you’ll need to get started, such as NetBSD 7.0.1 / amd64, along with some information about which wireless nics you may be using. (NetBSD like other BSD’s will give a driver based device name for network interfaces)
                                                                                    • From there, instructions on how to write your WPA_supplicant config are provided, in order for us to fetch the NetBSD sources and convert to their -STABLE branch.
                                                                                    • After doing a CVS checkout of the sources, he then provides a walkthrough of doing a kernel compile / install, however it mentions changing the config, but doesn’t provide an example of what options were changed. Perhaps to remove drivers we don’t need?
                                                                                    • At this point the rest of the “desktop” setup is pretty straight forward. Some packages are added such as openbox, lxappearance, firefox, etc.
                                                                                    • To get working sound, firefox requires pulseaudio, which in turn needs dbus, so instructions on getting that service up and running are provided as well.
                                                                                    • When it’s all said and done, you’ll end up with your shiny new NetBSD -STABLE desktop (or laptop), bragging rights achieved!
                                                                                    • ***
                                                                                      More about OpenSMTPD 6.0.0
                                                                                      • OpenSMTPd 6.0.0 has just been released “and it's quite different from former releases.”
                                                                                      • “Unlike most of our releases, it comes out with almost no new feature.”, “Turns out most of the changes are not visible.”
                                                                                      • Changelog:
                                                                                        • new fork+reexec model so each process has its own randomized memory space
                                                                                        • logging format has been reworked
                                                                                        • a "multi-line response" bug in the LMTP delivery backend has been fixed
                                                                                        • connections concurrency limits have been bumped
                                                                                        • artificial delaying in remote sessions have been reduced
                                                                                        • dhparams option has been removed
                                                                                        • dhe option has been added, supporting auto and legacy modes
                                                                                        • smtp engine has been simplified
                                                                                        • various cosmetic changes, code cleanup and documentation improvement
                                                                                        • “The OpenSMTPD bootstrap process was quite simple: Upon executation, the parent process would read configuration, build a memory representation of it and would then create a bunch of socketpair() before fork()-ing all of its child processes.”
                                                                                        • The problem is that this does not take advantage of the new address randomization feature. Each child will have the same memory layout, copied from the parent process
                                                                                        • “So deraadt@ suggested that if OpenSMTPD would not just fork() children but instead fork() them and reexecute the smtpd binary, then each of the children would have its own randomized memory space.”
                                                                                        • “The idea itself is neat, however not so trivial to implement because when we reexec the whole "inherit configuration and descriptors" part goes away. It's not just fork and exec, it's fork and exec and figure a way for the parent to pass back all the information and descriptors back to the new post-fork instance so it is the new instance that allocates memory and decides where the information goes.”
                                                                                        • ***
                                                                                          Upgrade a FreeBSD 10.3 Installation with ZFS on Root and Full Disk Encryption to 11.0
                                                                                          • While FreeBSD 11.0 is not out yet, Joseph Mingrone has helped me work out and test the instructions for upgrading a FreeBSD 10.3 ZFS on full disk encryption setup (bootpool + zpool) to the new GELIBoot feature, which does not require any unencrypted partitions, just the 128kb bootcode
                                                                                          • Note: Do not upgrade to FreeBSD 11.0 yet. While some images have landed on the FTP server, they do not contain the final openssl fix and are going to be recreated.
                                                                                          • Currently, GELIBoot does not support key files, so the first step is to reencrypt the master key with only a passphrase.
                                                                                          • Next, to avoid GELIBoot picking up encrypted partitions that it does not support, or partitions you do not want decrypted at boot, only partitions with the GELIBoot flag are decrypted, so set the flag on your root partition
                                                                                          • Then, move the loader, kernel, and other files into /boot on the root filesystem, instead of them living on the bootpool. This allows the kernel to be versioned with boot environments, and is the main purpose of this work
                                                                                          • Then, install the newer gptzfsboot, as this is required to support GELIBoot
                                                                                          • The old 2gb bootpool partition is then purposely mislabeled as freebsd-vinum, so it is not picked up by the boot blocks. Later, if the upgrade is successful, this partition can be deleted, and used as addition swap or something
                                                                                          • In order to boot correctly, you want all boot environments to have the ‘canmount’ ZFS property set to ‘noauto’
                                                                                          • Thank you to Joseph for taking the time to prod me for the information required to write this up, and for testing it and finding all of the issues
                                                                                          • ***
                                                                                            Interview - Michael Shirk - [email protected] / @shirkdog
                                                                                            • Running Bro on BSD
                                                                                            • ***
                                                                                              News Roundup
                                                                                              FreeBSD based distro for virtual hosting platform and appliance
                                                                                              • An interesting new FreeBSD-based project as shown up online, called “ClonOS”, which bills itself as a “free open-source FreeBSD-based platform for virtual environments creation and management”
                                                                                              • It looks to be leveraging an impressive list of technologies, including Bhyve, Xen, Jails and CBSD / Puppet for management tasks.
                                                                                              • Among its list of features:

                                                                                                • ZFS features support;
                                                                                                • VM cloning, export, import
                                                                                                • Ethernet SoftSwitch for separated networking
                                                                                                • jails for lightweight container
                                                                                                • VNC terminal for VM/containers
                                                                                                • Templates for VM/containers
                                                                                                • Configuration management/helpers
                                                                                                • Multi-node operation
                                                                                                • Multi-Node? Color me intrigued!

                                                                                                • Right now it appears to be under heavy development, but we’ll reach out to the developer to see if we can get an interview lined up at some point!

                                                                                                • The Raspberry PI Platform and The Challenges of Developing FreeBSD
                                                                                                  • BSDMag recently did an interview with FreeBSD developer Olesandr Rybalko!
                                                                                                  • Oleksandr lives in the Ukraine, and while you may not have heard of him, he has worked on some cool projects for FreeBSD including the new “vt” console driver (Which a lot of people are using now), and ARM/MIPS support.
                                                                                                  • The interview covers some of the work he’s done to get the PI support working with FreeBSD:
                                                                                                  • I think, my main help here was a USB OTG driver, which I wrote before for another device (Ralink RT3052), then port it to R-Pi. But it was rewritten by Hans Peter Selasky. I do not know so much about USB as Hans knows.

                                                                                                    Another useful part of my help is Xorg support. I did a simple Xorg video driver which uses framebuffer exported by virtual terminal subsystem. That is help to many guys to start use RPi as a simple desktop system.

                                                                                                    • He was also asked the question “Why would FreeBSD be good fit for ARM?”
                                                                                                    • FreeBSD is very powerful as a network server. All modern network features in one box, with very fast processing.

                                                                                                      Another good side of FreeBSD is modularity. It is not required to write code to use some driver that was already written for another system, you can just define it in configuration files (kernel config, kernel hints, FDT). So if you want build a nice, R-Pi based, home server – use FreeBSD. If you want to play with devices attached to R-Pi’s GPIO – use FreeBSD.

                                                                                                      • He also discusses his work on the ZRouter project, which is a very light-weight platform for tiny routers / embedded devices. But lastly the RPI comes up again, specifically asking him how interested individuals can get involved. Specifically the wiki.freebsd.org is a great reference point for those intested in getting started with FreeBSD on embedded. The warm community is also a plus!
                                                                                                      • Trying out the FreeBSD powered TrueOS
                                                                                                        • The folks over at Phoronix have done an early look at the new TrueOS desktop images and given some of their thoughts.
                                                                                                        • First up he gives props to the installer, noting that:
                                                                                                        • The TrueOS desktop installer is basically the same as from the PC-BSD days, just re-branded. Still one of the easiest BSD graphical installers I've dealt with and makes it a breeze for setting up a FreeBSD-on-ZFS system by default.

                                                                                                          • After that they took it for a minimal spin, and thing mostly seem to be working. He mentions some of the default apps (Such as qupzilla and trojita) aren’t their favorite, but Lumina has come quite a ways for 1.0, despite a few rough edges still. (We are in the process of changing those default e-mail / browser apps)
                                                                                                          • Lastly the article mentions that it’s time to do a more full BSD round-up to see the state of installation of them, which we happen to have next!
                                                                                                          • Trying out 8 BSDs on a modern PC
                                                                                                            • First up was TrueOS again, which no major changes there, easy install and done.
                                                                                                            • From there he tries out DragonFlyBSD, which he mentions that while the installer isn’t as easy, it is still one of his favorite BSD’s, working with all the hardware they’ve thrown at it.
                                                                                                            • Next up was GhostBSD, which also has an Easy-To-Use graphical installer similar to TrueOS that made it quick to get loaded and up to the Mate desktop.
                                                                                                            • Also tested was FreeBSD 11.0-RC2, which he mentions was easy to installed, and once done then ‘pkg’ could be used to easily get the setup he wanted setup.
                                                                                                            • Turning over to page two we get to the naughty list of BSD’s he had troubles with.
                                                                                                            • First up was OpenBSD which he tried 6.0. After installation and first boot, the display kept ‘disappearing’ which meant he couldn’t get IP information to try SSH’ing into the box. Perhaps a display driver error?
                                                                                                            • NetBSD 7 was up next, where the installer couldn’t get past a root device prompt. Most likely trouble finding the install media, which was the same story with MightnightBSD as well.
                                                                                                            • Also tested was “PacBSD” (Formerly ArchBSD) which he did manage to get installed, but not after major fighting with the process. After the process he ran into some issues getting packages up and running, but mentions it may have been bad timing due to them moving to a new server at the time.
                                                                                                            • ***
                                                                                                              IllumOS imports a modified FreeBSD boot loader to replace grub 0.97
                                                                                                              • Toomas Soome’s work to port the FreeBSD boot loader to IllumOS has been merged into illumos-gate, the upstream repository for all IllumOS distributions
                                                                                                              • Toomas’ work has also resulted in a number of commits to FreeBSD, and code sharing in both directions
                                                                                                              • Toomas helped me a lot with the building of the ZFS boot environment listing menu, even though on IllumOS they use a configuration file to list the BEs, rather than interrogating the live zpool like we do in FreeBSD
                                                                                                              • Toomas’ work to improve msdosfs and the block cache to speed up booting IllumOS also greatly helped FreeBSD
                                                                                                              • This work means IllumOS can now boot from a RAID-Z (the old grub they used could not), and if the work Toomas has done on FreeBSD is any indication, support for almost all other zpool features is also on the way
                                                                                                              • This work also sets IllumOS on a path to eventually having UEFI boot as well
                                                                                                              • It is good to see this work happening, FreeBSD technology being reused elsewhere, but also the improvements being made for IllumOS are coming back to FreeBSD, often landing upstream first, to make merging them into IllumOS easier.
                                                                                                              • The mailing list post describes how to convert existing systems away from grub, as well as how to opt to remain on grub for a while longer.
                                                                                                              • Grub 0.97 is expected to be removed from IllumOS within a year.
                                                                                                              • ***
                                                                                                                Beastie Bits
                                                                                                                • A demo of booting CentOS and Windows 10 in FreeBSD Bhyve through VNC headless
                                                                                                                • This year’s anemic output
                                                                                                                • “PAM Mastery” ebook now out
                                                                                                                • How-to Install OpenBSD 6.0 plus XFCE desktop and basic applications
                                                                                                                • ***
                                                                                                                  Feedback/Questions
                                                                                                                  • Piotr - LibreBoot
                                                                                                                  • Alan - FreeBSD and PC-BSD
                                                                                                                  • Eduardo - Newcomers
                                                                                                                  • Greg - ZFS ACL’s
                                                                                                                  • Brian - Laptop Recs
                                                                                                                  • ***
                                                                                                                    1 hr 42 min
                                                                                                                  • 160: EuroBSD-Dreamin

                                                                                                                    This week on BSDNow, Allan is currently at EuroBSDCon! However due to the magic of video (or time travel), you still get a new episode. (You’re Welcome!). Stay tuned

                                                                                                                    This episode was brought to you by

                                                                                                                    href="http://www.digitalocean.com/" title="DigitalOcean">
                                                                                                                    href="http://www.tarsnap.com/bsdnow" title="Tarsnap">

                                                                                                                    Headlines
                                                                                                                    Performance Improvements for FreeBSD Kernel Debugging
                                                                                                                    • “We previously explored FreeBSD userspace coredumps. Backtrace’s debugging platform supports FreeBSD kernel coredumps too, and their traces share many features. They are constructed somewhat differently, and in the process of adding support for them, we found a way to improve performance for automated programs accessing them.”
                                                                                                                    • “A kernel core is typically only generated in exceptional circumstances. Unlike userspace processes, kernel routines cannot fault without sacrificing the machine’s availability. This means things like page faults and illegal instructions inside the kernel stop the machine, instead of just one process. At that point, in most cases, it is only usable enough to inspect its state in a debugger, or to generate a core file.”
                                                                                                                    • No one likes it when this happens. This is why backtrace.io is focused on being able to figure out why it is happening
                                                                                                                    • “A FreeBSD kernel core file can be formatted in several different ways. This depends on which type of dump was performed. Full core dumps are ELF files, similar in structure to userspace core files. However, as RAM size grew, this became more difficult to manage. In 2006, FreeBSD introduced minidumps, which are much smaller without making the core file useless. This has been the default dump type since FreeBSD 6.0.”
                                                                                                                    • The article goes into detail on the minidump format, and some basic debugging techniques
                                                                                                                    • “Libkvm will first determine whether the virtual address lies within the kernel or direct maps. If it lies in the kernel map, libkvm will consult the page table pages to discover the corresponding physical address. If it lies in the direct map, it can simply mask off the direct map base address. If neither of these applies, the address is illegal. This process is encapsulated by va_to_pa, or “virtual address to physical address”. Once the physical address is determined, libkvm consults the core file’s bitmap to figure out where in the core file it is located.”
                                                                                                                    • “minidumps include a sparse bitmap indicating the pages that are included. These pages are dumped sequentially in the last section. Because they are sparse in a not entirely predictable way, figuring the offset into the dump for a particular physical address cannot be reduced to a trivial formula.”
                                                                                                                    • The article goes into detail about how lookups against this map are slow, and how they were improved
                                                                                                                    • “For typical manual debugger use, the impact of this change isn’t noticeable, which is probably why the hash table implementation has been in use for 10 years. However, for any automated debugging process, the extra latency adds up quickly.”
                                                                                                                    • “On a sample 8GB kernel core file (generated on a 128GB server), crashinfo improves from 44 seconds to 9 seconds, and uses 30% less memory”
                                                                                                                    • “Backtrace began shipping a version of this performance improvement in ptrace in February 2016. This enables us to also offer significantly faster tracing of FreeBSD kernel cores to customers running current and older releases of FreeBSD. On July 17, 2016, our work improving libkvm scaling was committed to FreeBSD/head. It will ship with FreeBSD 12.0.”
                                                                                                                    • ***
                                                                                                                      OpenBSD gunzip pipeline tightening
                                                                                                                      • OpenBSD has rethought the way they handle package signing
                                                                                                                      • Changing from: 1/ fetch data -> 2/ uncompress it -> 3/ check signature -> 4/ process data
                                                                                                                      • To: 1/ fetch data -> 2/ check signature -> 3/ uncompress -> 4/ process data
                                                                                                                      • “The solution is to move the signature outside of the gzip header”
                                                                                                                      • “Now, Since step 1/ is privsep, as long as step 2 is airtight, 3/ and 4/are no longer vulnerable”
                                                                                                                      • Guidelines:
                                                                                                                        • small, self-contained code to parse simple gzip headers
                                                                                                                        • signify-style signature in the gzip comment. Contains checksums of 64K blocks of the compressed archive
                                                                                                                        • don't even think about passing the original gzip header through
                                                                                                                        • use as a pipeline step: does not need to download full archive to use it, and never ever pass any data to the gunzip part before it's been verified.
                                                                                                                        • “Note that afaik we haven't had any hole in our gunzipping process. Well… waiting for an accident to happen is not how we do things. Hopefully, this should prevent future mishaps.”
                                                                                                                        • ***
                                                                                                                          OpenVPN On FreeBSD 10.3
                                                                                                                          • “While trying to setup OpenVPN, I noticed there was no up-to-date information with correct instructions. OpenVPN uses EasyRSA to setup keys, it has recently been changed in version 3. As a result of this, the old steps to configure OpenVPN are no longer correct. I went through the process of setting up a VPN using OpenVPN on FreeBSD 10.3.”
                                                                                                                          • I know FreeBSD developer Adrian Chadd complained about this exact problem when he was trying to setup a VPN before attending DEFCON
                                                                                                                          • The tutorial walks through the basic steps:
                                                                                                                            • Install the needed software
                                                                                                                            • Configure EasyRSA
                                                                                                                            • Create a CA
                                                                                                                            • Generate keys and DH params
                                                                                                                            • OpenVPN Server Config
                                                                                                                            • OpenVPN Client Config
                                                                                                                            • Starting the daemon
                                                                                                                            • It even finishes off with bonus instructions on Port Forwarding, Firewalls, and Dynamic DNS
                                                                                                                            • ***
                                                                                                                              lsop
                                                                                                                              • LSOP is the tool a bunch of users have been asking for
                                                                                                                              • “a FreeBSD utility to list all processes running with outdated binaries or shared libraries”
                                                                                                                              • How does it work? “lsop iterates over all running processes and looks through memory-mapped files with read + execute access; then it checks if those files are still available or have been modified/deleted.”
                                                                                                                              • How would you use it? After installing an system update (that doesn’t require a reboot to update the kernel), or upgrade your packages, you still need to know which daemons need to be restarted to use the patched libraries and binaries
                                                                                                                              • This tool gives you that list
                                                                                                                              • Thanks to Bogdan Boyadzhiev for writing this much needed tool
                                                                                                                              • ***
                                                                                                                                News Roundup
                                                                                                                                OpenBSD 2016 Fundraising Campaign
                                                                                                                                • The OpenBSD fund-raising campaign has given us a status update on the state of 2016.
                                                                                                                                • They start by giving us a re-cap of previous years:

                                                                                                                                • “2015 was a good year for the foundation financially, with one platinum, one gold, four silver and 3 bronze donors providing half of our total donations. 680 individuals making smaller contributions provided the other half. While the total was down significantly after 2014’s blockbuster year, we again exceeded our goal.”

                                                                                                                                • As of Sept 5th, they were at approx $115k out of a total goal of 250k.

                                                                                                                                • If you are an OpenBSD user, remember to contribute before the end of the year. Small amounts help, and the money of course goes to great causes such as hackathons and running the OpenBSD infrastructure.

                                                                                                                                • Update firewall Bad Countries
                                                                                                                                  • Network and Systems admins know, sometimes when all else fails you need to break out the HUGE ban-hammer. In this case sometimes entire countries get put on the excrement list until the attacks stop.
                                                                                                                                  • We have a handy GitHub project today, which will assist you in doing exactly that, enter update-fw-BC. (Update firewall by country)
                                                                                                                                  • This perl script may be your savior when dealing with instances that require major brute force. It specifically works with IPFW, PF and IPTABLES, which will allow it to run across a variety of BSD’s or even Linux.
                                                                                                                                  • It will ingest a list of IP’s that you feed it (perhaps from another tool such as sshguard) and determine what block the IP belongs to, and match according to country.
                                                                                                                                  • Detailed setup instructions for the various firewalls are included, and some instructions for FreeBSD, although using it on OpenBSD or other $BSD should also be easy to adapt.
                                                                                                                                  • ***
                                                                                                                                    More utilities via moreutils
                                                                                                                                    • In most BSDs, the “core” set of utilities and commands are just part of the base system, but on Linux, they are usually provided by the “coreutils” package.
                                                                                                                                    • However, on Linux and now FreeBSD, there is a “moreutils” package, that provides a number of interesting additional basic utilities, including:
                                                                                                                                      • chronic: Run a task via crontab, and only generate output if the task fails
                                                                                                                                      • combine: binary AND two text files together, only displaying lines that are in both files
                                                                                                                                      • errno: look up the text description of a specific error number
                                                                                                                                      • ifdata: parse out specific information from ifconfig
                                                                                                                                      • ifne: if-not-empty, only run a command if the output of the pipe is not blank
                                                                                                                                      • isutf8: determine if a file or stdin contains utf8
                                                                                                                                      • lckdo: execute a command with a lock held, to prevent a second copy from spawning
                                                                                                                                      • mispipe: return the exit code of the first command in a pipe chain, rather than the last
                                                                                                                                      • parallel: run multiple jobs at once
                                                                                                                                      • pee: tee standard input to multiple pipes
                                                                                                                                      • sponge: write standard input to a file, allows you to overwrite a file in place: sort file | sponge file
                                                                                                                                      • ts: add a timestamp to each line of standard input
                                                                                                                                      • vidir: edit a directory in vi, great for bulk renames
                                                                                                                                      • vipe: insert vi into a pipe, edit the content before it is passed to the next command
                                                                                                                                      • zrun: uncompress the arguments before passing them. Like gzless and friends, but for any command
                                                                                                                                      • Just goes to show the power of the original UNIX philosophy, chaining together a bunch of small useful tools to do really powerful things
                                                                                                                                      • ***
                                                                                                                                        OpenBSD: SNI support added to libtls, httpd in –current
                                                                                                                                        • libtls, LibreSSL’s improved API to replace the OpenSSL standard, now has a set of functions to implement SNI (Server Name Indication)
                                                                                                                                        • Until a few years ago, each different SSL/TLS enabled website required a unique IP address, because typical HTTP Virtual Hosting (differentiating which content to serve based on the Host header in the HTTP request), didn’t work because the request was encrypted.
                                                                                                                                        • Finally the TLS standard was updated to include the hostname of the site the user is requesting in the TLS handshake, so the server can return the corresponding certificate, and multiple TLS enabled websites can be hosted on a single IP address
                                                                                                                                        • The new API includes the ability to provide additional keypairs (via tls_config_add_keypair_{file,mem}())
                                                                                                                                        • And allow the server to determine what servername the client requested viatls_conn_servername()
                                                                                                                                        • This is much easier to use, and therefore safer and less error prone, than the OpenSSL API
                                                                                                                                        • The libtls API is used in a number of OpenBSD tools, including the httpd
                                                                                                                                        • ***
                                                                                                                                          Beastie Bits
                                                                                                                                          • Shawn Webb of HardenedBSD joins the OPNSense Core Team
                                                                                                                                          • How to install 2.11 BSD on a (simulated) PDP11
                                                                                                                                          • OpenBSD Puffy needlepoint pixelart
                                                                                                                                          • PulseAudio has been removed from dports (DragonFly BSD)
                                                                                                                                          • pfSense 2.4 pre-alpha available for testing, based on FreeBSD 11.0
                                                                                                                                          • Call for Testing - Bhyve HDA Sound Emulation
                                                                                                                                          • ***
                                                                                                                                            Feedback/Questions
                                                                                                                                            • Matthew - ZFS Hole Birth
                                                                                                                                            • Hunter - systemd-mount
                                                                                                                                            • Anonymous - Cool’n’quiet
                                                                                                                                            • Nathan - Datacenter
                                                                                                                                            • Chuck - OpenBSD w/DO
                                                                                                                                            • ***
                                                                                                                                              50 min
                                                                                                                                            • 159: Net Scaling Privacy (Flix Style)

                                                                                                                                              This week on BSDNow! We’ve got Netflix + FreeBSD news to discuss, always a crowd pleaser, that plus EuroBSDCon is just around the corner. Stick around for your place

                                                                                                                                              This episode was brought to you by

                                                                                                                                              href="http://www.digitalocean.com/" title="DigitalOcean">
                                                                                                                                              href="http://www.tarsnap.com/bsdnow" title="Tarsnap">

                                                                                                                                              Headlines
                                                                                                                                              Protecting Netflix Viewing Privacy at Scale, with FreeBSD
                                                                                                                                              • This blog post from Netflix tells the story of how Netflix developed in-kernel TLS to speed up delivery of video via HTTPS
                                                                                                                                              • Since the beginning of the Open Connect program we have significantly increased the efficiency of our OCAs - from delivering 8 Gbps of throughput from a single server in 2012 to over 90 Gbps from a single server in 2016. We contribute to this effort on the software side by optimizing every aspect of the software for our unique use case - in particular, focusing on the open source FreeBSD operating system and the NGINX web server that run on the OCAs.

                                                                                                                                                In the modern internet world, we have to focus not only on efficiency, but also security. There are many state-of-the-art security mechanisms in place at Netflix, including Transport Level Security (TLS) encryption of customer information, search queries, and other confidential data. We have always relied on pre-encoded Digital Rights Management (DRM) to secure our video streams. Over the past year, we’ve begun to use Secure HTTP (HTTP over TLS or HTTPS) to encrypt the transport of the video content as well. This helps protect member privacy, particularly when the network is insecure - ensuring that our members are safe from eavesdropping by anyone who might want to record their viewing habits.

                                                                                                                                                The goal is to ensure that your government, ISP, and wifi sniffing neighbour cannot tell which Netflix videos you are watching

                                                                                                                                                Netflix Open Connect serves over 125 million hours of content per day, all around the world. Given our scale, adding the overhead of TLS encryption calculations to our video stream transport had the potential to greatly reduce the efficiency of our global infrastructure.

                                                                                                                                                We evaluated available and applicable ciphers and decided to primarily use the Advanced Encryption Standard (AES) cipher in Galois/Counter Mode (GCM), available starting in TLS 1.2. We chose AES-GCM over the Cipher Block Chaining (CBC) method, which comes at a higher computational cost. The AES-GCM cipher algorithm encrypts and authenticates the message simultaneously - as opposed to AES-CBC, which requires an additional pass over the data to generate keyed-hash message authentication code (HMAC). CBC can still be used as a fallback for clients that cannot support the preferred method.

                                                                                                                                                All revisions of Open Connect Appliances also have Intel CPUs that support AES-NI, the extension to the x86 instruction set designed to improve encryption and decryption performance. We needed to determine the best implementation of AES-GCM with the AES-NI instruction set, so we investigated alternatives to OpenSSL, including BoringSSL and the Intel Intelligent Storage Acceleration Library (ISA-L).

                                                                                                                                                Netflix and NGINX had previously worked together to improve our HTTP client request and response time via the use of sendfile calls to perform a zero-copy data flow from storage (HDD or SSD) to network socket, keeping the data in the kernel memory address space and relieving some of the CPU burden. The Netflix team specifically added the ability to make the sendfile calls asynchronous - further reducing the data path and enabling more simultaneous connections. However, TLS functionality, which requires the data to be passed to the application layer, was incompatible with the sendfile approach.

                                                                                                                                                To retain the benefits of the sendfile model while adding TLS functionality, we designed a hybrid TLS scheme whereby session management stays in the application space, but the bulk encryption is inserted into the sendfile data pipeline in the kernel. This extends sendfile to support encrypting data for TLS/SSL connections.

                                                                                                                                                We tested the BoringSSL and ISA-L AES-GCM implementations with our sendfile improvements against a baseline of OpenSSL (with no sendfile changes), under typical Netflix traffic conditions on three different OCA hardware types. Our changes in both the BoringSSL and ISA-L test situations significantly increased both CPU utilization and bandwidth over baseline - increasing performance by up to 30%, depending on the OCA hardware version. We chose the ISA-L cipher implementation, which had slightly better results. With these improvements in place, we can continue the process of adding TLS to our video streams for clients that support it, without suffering prohibitive performance hits.

                                                                                                                                                • If you would like more detail, check out the papers from AsiaBSDCon 2015 and the updated one from 2016
                                                                                                                                                • ***
                                                                                                                                                  OpenBSD on HP Stream 7

                                                                                                                                                  Recent events have rocked the mobile computing world to its core. OpenBSD retired the zaurus port, leaving users in desperate need of a new device. And not long before that, Microsoft released the Anniversary Update to Windows 10, but with free space requirements such that it’s nigh impossible to install on cheap 32GB eMMC equipped devices such as the HP Stream series, leaving users searching for a new lightweight operating system. With necessity as both mother and father, the scene is set for a truly epic pairing. OpenBSD on the HP Stream 7.

                                                                                                                                                  The HP Stream line is a series of budget computers in a couple form factors. The Stream 11 is a fairly typical netbook. However, the Stream 7 and 8 are tablets. They look like cheap Android devices, but inside the case, they’re real boys, er PCs, with Intel Atom CPUs.

                                                                                                                                                  To install OpenBSD on such a device, we need a few parts. Obviously, the tablet itself. There’s a dearth of ports on these things, but there is a micro USB port. Attaching anything useful requires an OTG “on the go” cable that creates a type A port. Attaching more than one useful thing requires a mini hub. And completing the install requires one each USB stick, keyboard, and network adapter.

                                                                                                                                                  First, we need to prep the machine to boot from USB. Actually, before doing anything, make sure you have a full charge. It’s going to be battery only from here on out. Plug everything in. Flash drive, keyboard, and network into the hub, hub into the OTG cable, cable into the port on top of the Stream.

                                                                                                                                                  Turn on the machine while holding the volume down button. This launches a mini menu from which we can enter the BIOS. There’s a little on screen keyboard in the corner, so this can be done even without a keyboard attached, but the USB keyboard should work. We need to change two settings in the boot section. First, turn off secure boot. Second, switch boot order to prefer USB. Save and exit. The first reboot reveals a confirmation screen checking that we really want to disable secure boot. We must enter a PIN and press enter. Enter the PIN shown on the screen and press enter. And we are go.

                                                                                                                                                  • Then boot up OpenBSD from the USB drive

                                                                                                                                                  • Ted then works there a number of kernel panics and device driver issues, but after disabling ACPI and IntelDRM, the device boots OpenBSD.

                                                                                                                                                  • Of course, there’s no X at this point. And definitely no touch screen. And no internal networking. However, by keeping our USB hub attached, we can drive the console and access the network. At least until the battery is depleted, even if we have no way of knowing how long that will be since we disabled all the ACPI devices, which also means no suspend or resume.

                                                                                                                                                    • With some xorg.conf hacking, he did get Xorg working
                                                                                                                                                    • ***
                                                                                                                                                      DragonflyBSD steps towards base LibreSSL
                                                                                                                                                      • Project: DragonFlyBSD / Switch base to use private LibreSSL libraries
                                                                                                                                                      • DragonFly BSD adopts uses of LibreSSL
                                                                                                                                                      • The number of projects beginning to switch over to LibreSSL is growing and it appears we can now throw DragonFly into that camp.
                                                                                                                                                      • Following something that sounds vaguely familiar (Allan!) DFLY is now creating “private” LibreSSL libraries which are only linked against by base system binaries.
                                                                                                                                                      • For the moment OpenSSL is still built, primarily so that various ports and 3rd party apps can continue to function as before.
                                                                                                                                                      • A NO_OPENSSL option has also been added, but doesn’t really do much (yet), since it’ll still build and install headers / libraries even if set.
                                                                                                                                                      • ***
                                                                                                                                                        OpenBSD g2k16 Hackathon
                                                                                                                                                        • g2k16 Hackathon Report: Antoine Jacoutot on Binary Patches
                                                                                                                                                        • g2k16 Hackathon Report: Matthieu Herrb on xenodm
                                                                                                                                                        • g2k16 Hackathon Report: Vincent Gross on iked(8), armv7 and sys/netinet[6]
                                                                                                                                                        • g2k16 Hackathon Report: Florian Obser on httpd, networking, acme-client, and more
                                                                                                                                                        • g2k16 Hackathon Report: Jasper Lievisse Adriaanse on ddb(4) and more
                                                                                                                                                        • g2k16 Hackathon Report: Christian Weisgerber on gettext progress, RTC work, removing kernel cruft
                                                                                                                                                        • g2k16 Hackathon Report: Brent Cook on Chromebooks, crypto, and more
                                                                                                                                                        • g2k16 Hackathon Report: Ted Unangst on doas, signify, code removal
                                                                                                                                                        • g2k16 Hackathon Report: Marc Espie on package signing evolution
                                                                                                                                                        • g2k16 Hackathon Report: Adam Wolk on ports, wireless drivers and more
                                                                                                                                                        • g2k16 Hackathon Report: Mike Larkin on vmm + vmd progress
                                                                                                                                                        • ***
                                                                                                                                                          News Roundup
                                                                                                                                                          OpenBSD (with encrypted softraid) on the Chromebook Pixel
                                                                                                                                                          • Looking for a Laptop to make your OpenBSD road-warrior? If so, we have a great blog tutorial on getting OpenBSD setup on the Chromebook Pixel with encrypted softraid!
                                                                                                                                                          • Author Joshua Stein gives us a very verbose look at how to install and dial-in the laptop perfectly. But first for those wondering about the hardware in the pixel:
                                                                                                                                                          • The Chromebook Pixel LS (2015) has an Intel Core i7 processor (Broadwell) at 2.4Ghz, 16Gb of RAM, a 2560x1700 400-nit IPS screen (239ppi), and Intel 802.11ac wireless. It has a Kingston 64Gib flash chip, of which about 54Gib can be used by OpenBSD when dual-booting with a 1Gb Chrome OS partition.

                                                                                                                                                            • Due to this being a chromebook with seaBIOS, some manual key-press trickery will be required to initially get the OpenBSD Installer up and running.
                                                                                                                                                            • From here you’ll want to pay special close attention to the disk partitioning. In particular Joshua will show us how to shrink the existing encrypted /home that ChromeOS uses, keeping the dual-boot intact. This will become important if you ever plan on updating the device.
                                                                                                                                                            • From here, we move back to a more traditional setup, but with the added bonus of doing a soft-raid setup.
                                                                                                                                                            • But the fun isn’t over yet! If you want to make OpenBSD the default boot, that’ll require cracking the lid on the device and removing a special pink write-protect screw. And of course if you want to remove the default splash-screen image, Joshua has you covered as well, although some flashrom magic will be required.
                                                                                                                                                            • At this point you are nearly done. Final details on enabling specific bits of hardware are discussed. Most things work, apart from Audio and Bluetooth as of right now.
                                                                                                                                                            • ***
                                                                                                                                                              doas mastery
                                                                                                                                                              • “doas” mastery - Paging MWL!
                                                                                                                                                              • Our buddy Ted Unangst has written up a great ‘mastery’ guide of the doas command, which can come in handy if you are among the un-initiated in doas land.
                                                                                                                                                              • UNIX systems have two classes of user, the super user and regular users. The super user is super, and everybody else is not. This concentration of power keeps things simple, but also means that often too much power is granted. Usually we only need super user powers to perform one task. We would rather not have such power all the time. Think of the responsibility that would entail! Like the sudo command, doas allows for subdivision of super user privileges, granting them only for specific tasks.

                                                                                                                                                                • He starts with the basic doas.conf setup, which starts with an empty config file
                                                                                                                                                                • The doas config is much like a pf ruleset, the default is to block everything
                                                                                                                                                                • > We add the root rule second because doas evaluates rules in a last match manner. root is in the wheel group, so the first rule will match, and then we need to override that with a second rule. Remember to always start with general rules, then make them more specific.
                                                                                                                                                                  ***
                                                                                                                                                                  iXsystems
                                                                                                                                                                  • iXsystems to host MeetBSD
                                                                                                                                                                  • FreeBSD Foundation Welcomes New Board Members
                                                                                                                                                                    • New Board Members
                                                                                                                                                                    • The FreeBSD Foundation has added two new board members
                                                                                                                                                                    • Interview with Kylie Liang
                                                                                                                                                                    • Kylie will focus on representing FreeBSD at conferences and businesses in China
                                                                                                                                                                    • I live in China. There, I can act as a bridge between Chinese companies and the FreeBSD community to help drive FreeBSD adoption. Through my leadership role in the FreeBSD Foundation, I will help promote FreeBSD in China and also represent the Foundation at conferences and events in my region.

                                                                                                                                                                      • Kylie leads the team the ensures FreeBSD runs well on Hyper-V and Azure, including providing commercial support for customers who run FreeBSD or FreeBSD based appliances on the Azure Cloud
                                                                                                                                                                      • I joined Microsoft and started to lead the project called FreeBSD Integration Service to get FreeBSD running well on Hyper-V and Azure. To promote our work and to understand the FreeBSD ecosystem, I started to participate in FreeBSD events where I was inspired by this technical community.

                                                                                                                                                                        • Interview with Philip Paeps
                                                                                                                                                                        • Philip started with FreeBSD in the early 2000s and got his commit bit in 2004
                                                                                                                                                                        • The patches I submitted to make ACPI and input devices work on that laptop led to a src commit bit in 2004. While I haven’t worked on ACPI or input devices since, I have been contributing to different areas of the kernel. Taking up maintainership of some ports I cared about also got me a ports commit bit after some time.

                                                                                                                                                                          • Philip will continue to help run EuroBSDCon, but is also spreading the word about FreeBSD in India and Africa
                                                                                                                                                                          • Primarily, I think I can be useful! I attend (and organize) a number of conferences around the world every year, particularly in regions that have a mostly “stealthy” FreeBSD community. While I clearly don’t need to be on the FreeBSD Foundation board to advocate for FreeBSD, joining as a director will provide an additional asset when working in areas of the world where organizational affiliations are meaningful.

                                                                                                                                                                            • Philip has also developed network drivers and various other bits and pieces, and has extensive experience working with and for hardware vendors and appliance vendors
                                                                                                                                                                            • Despite intending to eventually contribute their code to the FreeBSD Project as open source, many hardware vendors still find it very difficult to engage directly with the FreeBSD development community. The Foundation helps bridge that gap and helps facilitate collaboration between commercial vendors and the FreeBSD community.

                                                                                                                                                                              I hope to make FreeBSD more visible in regions of the world where it is historically under-represented. I expect I will be attending even more conferences and getting myself invited to even more organizations.

                                                                                                                                                                              more, less, and a story of typical Unix fossilization
                                                                                                                                                                              • Chris Siebenmann from the University of Toronto digs into the history of the difference between ‘less’ and ‘more’
                                                                                                                                                                              • In the beginning, by which we mean V7, Unix didn't have a pager at all. That was okay; Unix wasn't very visual in those days, partly because it was still sort of the era of the hard copy terminal. Then along came Berkeley and BSD. People at Berkeley were into CRT terminals, and so BSD Unix gave us things like vi and the first pager program, more (which showed up quite early, in 3BSD, although this isn't as early as vi, which appears in 2BSD). Calling a pager more is a little bit odd but it's a Unix type of name and from the beginning more prompted you with '--More--' at the bottom of the screen.

                                                                                                                                                                                All of the Unix vendors that based their work on BSD Unix (like Sun and DEC) naturally shipped versions of more along with the rest of the BSD programs, and so more spread around the BSD side of things. However, more was by no means the best pager ever; as you might expect, it was actually a bit primitive and lacking in features. So fairly early on Mark Nudelman wrote a pager with somewhat more features and it wound up being called less as somewhat of a joke.

                                                                                                                                                                                In a sane world, Unix vendors would have either replaced their version of more with the clearly superior less or at least updated their version of more to the 4.3 BSD version. Maybe less wouldn't have replaced more immediately, but certainly over say the next five years, when it kept on being better and most people kept preferring it when they had a choice.”

                                                                                                                                                                                • “This entire history has led to a series of vaguely absurd outcomes on various modern Unixes. On Solaris derivatives more is of course the traditional version with source code that can probably trace itself all the way back to 3BSD, carefully updated to SUS compliance. Solaris would never dream of changing what more is, not even if the replacement is better. Why, it might disturb someone.
                                                                                                                                                                                • Oddly, FreeBSD has done the most sensible thing; they've outright replaced more with less. There is a /usr/bin/more but it's the same binary as less and as you can see the more manpage is just the less manpage. OpenBSD has done the same thing but has a specific manpage for more instead of just giving you the less manpage.

                                                                                                                                                                                  So, now you can see why I say that less is more, or more, or both, at several levels. less is certainly more than more, and sometimes less literally is more (or rather more is less, to put it the right way around).

                                                                                                                                                                                  Beastie Bits
                                                                                                                                                                                  • PC-BSD listed in the top 8 'best' alternatives to Windows 10

                                                                                                                                                                                  • Creating a quick DNS server with a Rapsberry Pi2 and FreeBSD 11.0-RC1

                                                                                                                                                                                  • Dual Boot OpenBSD and Linux + UEFI

                                                                                                                                                                                  • DesktopBSD 2.0 various versions available (Gnome, Lumina, KDE, LXDE)

                                                                                                                                                                                  • FreeBSD gets new ZFS features including: Compressed ARC and ZFS Allocation Throttle

                                                                                                                                                                                  • One Floppy NetBSD Distribution

                                                                                                                                                                                  • A Compendium of BUGs

                                                                                                                                                                                  • Feedback/Questions
                                                                                                                                                                                    • Galahad - OpenBSD X setup
                                                                                                                                                                                    • Tang - Subtitles
                                                                                                                                                                                    • Ivan - Zpool Options
                                                                                                                                                                                    • Brad - Replication Issue
                                                                                                                                                                                    • MJ - HBA
                                                                                                                                                                                    • ***
                                                                                                                                                                                      1 hr 12 min
                                                                                                                                                                                    • 158: Ham, Radio and Pie (oh my)

                                                                                                                                                                                      This week on BSDNow, we’ll be talking to Diane Bruce about using it for Ham Radio Enthusiasts, the RPi3 and much more! That plus all the latest news from the week,

                                                                                                                                                                                      This episode was brought to you by

                                                                                                                                                                                      href="http://www.digitalocean.com/" title="DigitalOcean">
                                                                                                                                                                                      href="http://www.tarsnap.com/bsdnow" title="Tarsnap">

                                                                                                                                                                                      Headlines
                                                                                                                                                                                      PC-BSD is now TrueOS
                                                                                                                                                                                      • If you’ve been watching this show the past few months, I’ve been dropping little hints about the upcoming rename of PC-BSD -> TrueOS. We’ve made that more official finally, and are asking folks to test out the software before a wider announcement this fall.
                                                                                                                                                                                      • For those wondering about the name change, it’s been something discussed over the past few years at different times. With us beginning to move more aggressively with changes for 11.0 (and eventually 12-CURRENT), the time seemed right to have a fresh start, using it as a spring-board to introduce all the changes in both software, and development / release model.
                                                                                                                                                                                      • I’ll be discussing more about this shift in a talk at MeetBSD2016 (Another reason for you to go), but here’s some of the highlights.
                                                                                                                                                                                      • No longer tied to specific FreeBSD point-releases, TrueOS will instead follow a rolling-release model based upon FreeBSD -CURRENT.
                                                                                                                                                                                      • Special tooling and features (Such as boot-environments) make this a feasible option that we didn’t have as easily in the early days of PC-BSD.
                                                                                                                                                                                      • In addition, TrueOS builds some things different from vanilla FreeBSD. Specifically Matt Macy’s DRM and Linux Compat work, LibreSSL directly in base, built from External Toolchain (No clang in base system package) and much more.
                                                                                                                                                                                      • New tools have have replaced, and are in the process of replacing the legacy PC-BSD control panel as well, which allows remote operation, either via Qt GUI, or WebSockets / REST API’s.
                                                                                                                                                                                      • I’ll be talking about more as things unfold, but for now please feel free to test and let us have feedback while we push towards a more stable release.
                                                                                                                                                                                      • ***
                                                                                                                                                                                        The Voicemail Scammers Never Got Past Our OpenBSD Greylisting
                                                                                                                                                                                        • Peter Hansteen (That grumpy BSD guy) gives us an interesting look at how their OpenBSD grey-listing prevented spam from ever making it to their inbox.
                                                                                                                                                                                        • Specifically it looks like it occurred during Aug 23rd and 24th, with a particularly nasty ransomware payload destined to play havoc with Windows systems.
                                                                                                                                                                                        • Peter then walks us through their three-server mail setup, and how spamd is run in greylisting mode on each.
                                                                                                                                                                                        • The results? Nothing short of perfection:
                                                                                                                                                                                        • > “From those sources we can see that there were a total of 386 hosts that attempted delivery, to a total of 396 host and target email pairs (annotated here in a .csv file
                                                                                                                                                                                          with geographic origin according to whois). The interesting part came when I started looking at the mail server logs to see how many had reached the content filtering or had even been passed on in the direction of users' mailboxes. There were none. The number of messages purportedly from voicemail@ in any of the domains we handle that made it even to the content filtering stage was 0. Zero. Not a single one made it through even to content filtering.”
                                                                                                                                                                                        • Not bad at all! Looks like spam-trap addresses + grey-listing is the way to go for stopping this kind of foolishness. Checkout Peter’s blog post for more details, but perhaps this will encourage you to setup a similar-type system for your business.
                                                                                                                                                                                        • ***
                                                                                                                                                                                          FreeBSD on a tiny system; what’s missing
                                                                                                                                                                                          • Adrian Chadd talks about some of the bits that are missing to make FreeBSD truly useful on small embedded devices
                                                                                                                                                                                          • Some of this stuff can be done now, but requires more work than it should
                                                                                                                                                                                          • “The first is a lack of real service management. FreeBSD doesn't have a service management daemon - the framework assumes that daemons implement their own background and monitoring. It would be much nicer if init or something similar to init could manage services and start/restart them where appropriate.”
                                                                                                                                                                                          • Of course, on a system with 32mb of memory, such a service manager would need to be very light weight
                                                                                                                                                                                          • “maybe I want to only start telnetd or dropbear/sshd whenever a connection comes in. But I'd also like to be able to add services for monitoring, such as dnsmasq and hostapd.”
                                                                                                                                                                                          • telnetd and sshd can be run from inetd, but often depend on special support from the daemon
                                                                                                                                                                                          • “The next is a lack of suitable syslog daemon. Yes, I'd like to be able to log some messages locally - even if it's only a couple hundred kilobytes of messages. I'd also like to be able to push messages to a remote service. Unfortunately the FreeBSD syslog daemon doesn't do log rotation or maximum log file sizes itself - it's done by "newsyslog" which runs out of cron. This isn't any good for real embedded systems with limited storage.”
                                                                                                                                                                                          • Syslog leaves much to be desired, especially in its configuration syntax, and filtering capabilities. Having it be able to detect with log files have grown beyond a reasonable size and fire off newsyslog would be very interesting
                                                                                                                                                                                          • “Then yes, there's a lack of a cron service. It'd be nice to have that integrated into the service management framework so things could be easily added/removed. I may just use cron, but that means cron is also always running which adds memory footprint (~1.3 megabytes) for something that is almost never actually active. When you have 32MB of RAM, that's quite a bit of wasted memory.”
                                                                                                                                                                                          • Systems have come back full circle, to where 32MB and 64MB are amounts of memory people expect to work with, while other people still want the system to perform well with 32 or 64 GB of memory
                                                                                                                                                                                          • It will be interesting to see how this balancing act plays out, trying to make the same codebase useful for extremely small and extremely large systems at the same time, while also running it on your middle of the road laptop.
                                                                                                                                                                                          • ***
                                                                                                                                                                                            So I lost my OpenBSD FDE password
                                                                                                                                                                                            • “The other day I set up a new OpenBSD instance with a nice RAID array, encrypted with Full Disk Encryption. And promptly proceeded to forget part of the passphrase.”
                                                                                                                                                                                            • So they started a little project
                                                                                                                                                                                            • Goal: “We need to extract enough info from the encrypted disk and rebuild enough of the decryption algorithm to be able to rapidly try many passphrases.”
                                                                                                                                                                                            • The post walks through how they reverse engineered the encryption system from the source code and a hexdump of a small encrypted memory disk
                                                                                                                                                                                            • “Now that we know how to extract the data and how to try passphrases against it, it will be trivial to write a bruteforce tool to recover the part of passphrase I forgot.”
                                                                                                                                                                                            • So, rather than having to try every possible passphrase, they only had to try fuzzing around the known keyword that was their passphrase.
                                                                                                                                                                                            • “UPDATE: I found it! After fixing a bug or two in the brute force tool and almost losing hope, it found the right combination of forgotten word and (Italian) misspelling.”
                                                                                                                                                                                            • This work lead to the author recommending that OpenBSD consider strengthening the key derivation algorithm used in its FDE.
                                                                                                                                                                                            • Rather than using a fixed number of rounds (8000 currently), do a small benchmark and determine how much work can be done in a reasonable amount of time
                                                                                                                                                                                            • This is what FreeBSD’s GELI FDE does, targeting ‘over 2 million microseconds’ of work. On my desktop i5-3570 this results in 974842 rounds. The number will likely not be the same twice because of minor variations in how long it will take in microseconds.
                                                                                                                                                                                            • ***
                                                                                                                                                                                              Interview - Diane Bruce - [email protected] / @Dianora_1

                                                                                                                                                                                              Ham Radio, RPi3 and more!

                                                                                                                                                                                              News Roundup
                                                                                                                                                                                              See Me (Michael W. Lucas) in 2016
                                                                                                                                                                                              • Looking for a chance to interact with author Michael W Lucas in meat-space? (That sounds wrong)
                                                                                                                                                                                              • If so, he has posted a list of the up-coming conferences he’ll be speaking at, starting with Ohio LinuxFest Oct 7-8, where he’ll be giving an introduction to ZFS talk.
                                                                                                                                                                                              • Nov 8th, he’ll also be at MUG (Michigan User Group) giving a PAM talk.
                                                                                                                                                                                              • Sadly, no MeetBSD for Michael this year [moment of silence], but if you are able to make it to one of the aforementioned gatherings, be sure to bring your books for autographs. We promise he doesn’t bite. Much.
                                                                                                                                                                                              • ***
                                                                                                                                                                                                It’s hard work printing nothing
                                                                                                                                                                                                • “It all starts with a bug report to LibreSSL that the openssl tool crashes when it tries to print NULL. This bug doesn’t manifest on OpenBSD because libc will convert NULL strings to ”(null)” when printing. However, this behavior is not required, and as observed, it’s not universal. When snprintf silently accepts NULL, that simply leads to propagating the error.”
                                                                                                                                                                                                • “There’s an argument to be made that silly error messages are better than crashing browsers, but stacking layers of sand seems like a poor means of building robust software in the long term.”
                                                                                                                                                                                                • “As soon as development for the next release of OpenBSD restarted, some developers began testing a patch that would remove this crutch from printf.”
                                                                                                                                                                                                • If you’d like to help with this work, see our call for volunteers from 2 weeks ago: opportunity to help: %s audit in mandoc
                                                                                                                                                                                                • Of course, immediately things started to complain. The configure script for talloc does a number of checks (check out the additional interesting observations by TedU here)
                                                                                                                                                                                                • “The test checking that our snprintf function conforms to the C99 standard actually contains, at a minimum, 3 deviations from the standard. It should say “Checking for non-conformant vsnprintf”.”
                                                                                                                                                                                                • “Of course, we’re dealing with NULL pointers, so all bets are off, but I wonder what people who expect printf NULL to work expect out of strlen? Does it return 0? Does it crash?”
                                                                                                                                                                                                • So, talloc decides that the system printf is no good, and it should use its own bundled implementation
                                                                                                                                                                                                • “After all the configure testing, eventually the build will fail, because somebody forgot to actually add the replacement object file to the Makefile.”
                                                                                                                                                                                                • “If the replacement function has never been used, that’s hardly reassuring that it is actually better tested than the version we have in libc.”
                                                                                                                                                                                                • ***
                                                                                                                                                                                                  Revisiting WX with OpenBSD 6.0
                                                                                                                                                                                                  • OpenBSD 6.0 includes enforcement of WX in user-land
                                                                                                                                                                                                  • This prevents an application from being able to map a page of memory with both Write and Execute permissions (protecting mmap(2))
                                                                                                                                                                                                  • Once mapped a page of memory should not be able to have permissions escalated (protecting mprotect(2))
                                                                                                                                                                                                  • OpenBSD 6.0 enforces the strict WX definition, and not the PaX/grsec “once write never execute” type of policy
                                                                                                                                                                                                  • ***
                                                                                                                                                                                                    OpenBSD imports a letsencrypt client into the base system
                                                                                                                                                                                                    • We’ve mentioned letskencrypt before (A native C version of the letsencrypt client, developed by Kristaps).
                                                                                                                                                                                                    • Looks like it’s undergoing a name-change to “acme-client” and has made it’s way into OpenBSD’s base system!
                                                                                                                                                                                                    • This should ensure first-class support for management of Let’s Encrypt certificates, here’s hoping the portable version continues to thrive as well.
                                                                                                                                                                                                    • Congrats to Kristaps!
                                                                                                                                                                                                    • ***
                                                                                                                                                                                                      Beastie Bits
                                                                                                                                                                                                      • OpenBSD: Release Songs 6.0: "Goodbye" -- no more CD releases

                                                                                                                                                                                                      • FreeBSD 101 Hacks

                                                                                                                                                                                                      • LibreSSL enabled by default in HardenedBSD

                                                                                                                                                                                                      • DragonflyBSD removes last bits of 32-bit Linux emulation and has no plans to implement 64-bit linux emulation

                                                                                                                                                                                                      • OpenBSD has sent 32bit sparc to the great bitbucket in the sky

                                                                                                                                                                                                      • Front Range BSD User Group September Meeting

                                                                                                                                                                                                      • KnoxBug TrueOS Wrap-up

                                                                                                                                                                                                      • Feedback/Questions
                                                                                                                                                                                                        • Cody - TrueOS Questions
                                                                                                                                                                                                        • John - FreeNAS Backups
                                                                                                                                                                                                        • Herminio - PowerPC + OpenBSD
                                                                                                                                                                                                        • Dennis - pmake vs bmake
                                                                                                                                                                                                        • Al - Upgrade conflicts
                                                                                                                                                                                                        • ***
                                                                                                                                                                                                          1 hr 50 min
                                                                                                                                                                                                        • 157: ZFS, The “Universal” File-system

                                                                                                                                                                                                          This week on BSDNow, we have an interview with Richard Yao, who will be telling us about the experience and challenges of porting ZFS to Linux. That plus the latest news and feedback is coming your way, on your place

                                                                                                                                                                                                          This episode was brought to you by

                                                                                                                                                                                                          src="/images/2.png" alt="DigitalOcean - Simple Cloud Hosting, Built for Developers" />
                                                                                                                                                                                                          />

                                                                                                                                                                                                          Headlines
                                                                                                                                                                                                          Registration for MeetBSD 2016 is now Open
                                                                                                                                                                                                          • “Beastie’s coming home!” This year, MeetBSD will be held at UC Berkeley’s Clark Kerr Campus
                                                                                                                                                                                                          • November 11th and 12th, preceded by a two day FreeBSD Vendor/Dev Summit (Nov 9th and 10th)
                                                                                                                                                                                                          • MeetBSD can be traced back to its humble roots as a local workshop for BSD developers and users, hosted annually in Poland since 2004. Since then, MeetBSD’s popularity has spread, and it’s now widely recognized as its own conference with participants from all over the world.

                                                                                                                                                                                                            • The US version runs every two years in California since 2008, and now trades off with the east coast vBSDCon which runs on the odd years.
                                                                                                                                                                                                            • “MeetBSD 2016 uses a mixed unConference format featuring both scheduled talks and community-driven events such as birds-of-a-feather meetings, lightning talks, hackable presentations, stump the chumps, and speed geeking sessions. Speakers are to be determined – stay tuned for more information!”
                                                                                                                                                                                                            • Register before September 30th, and get $30 off
                                                                                                                                                                                                            • Kris and I will be there, along with lots of other FreeBSD Developers, Vendors, and Users.
                                                                                                                                                                                                            • MeetBSD’s unconference style does a very good job of mingling users with developers and is one of my favourite conferences.
                                                                                                                                                                                                            • ***
                                                                                                                                                                                                              Dual Booting FreeBSD and Windows UEFI
                                                                                                                                                                                                              • Looking to install FreeBSD alongside Windows 10? What happens if that that system is pre-installed and UEFI? Well you could run TrueOS, but if that isn’t your bag and you want vanilla FreeBSD we have you covered this week!
                                                                                                                                                                                                              • Over on Kevin Bowling’s blog, we have a detailed article showing exactly how to do that.
                                                                                                                                                                                                              • First up, as prep you’ll need to go into the Windows disk manager and shrink your existing NTFS partition.
                                                                                                                                                                                                              • You’ll need to next boot FreeBSD 11 or later.
                                                                                                                                                                                                              • From there the walkthrough takes us through disk partitioning using gpart, and setup of ZFS into a boot-environment friendly layout.
                                                                                                                                                                                                              • Once you get through the typical FreeBSD setup / extraction, the tutorial gives us a nice bonus, showing how to setup “rEFInd” for a graphical boot-menu.
                                                                                                                                                                                                              • A great walkthrough, and hopefully it encourages others to try out dual-booting “EFI-style”.
                                                                                                                                                                                                              • ***
                                                                                                                                                                                                                ZFS High-Availability NAS
                                                                                                                                                                                                                • Interested in a DiY HA ZFS NAS? Edmund White (ewwhite on github) has posted a very detailed look at how he has custom-rolled his own Linux + ZFS + HA setup.
                                                                                                                                                                                                                • Most of the concepts are already ones used in various other HA products, but it is interesting and informative to see a public detailed look at how ZFS and HA works.
                                                                                                                                                                                                                • In particular this setup require some very specific hardware, such as dual-port SAS drives, so you will have to pre-plan according.
                                                                                                                                                                                                                • The only bummer is this is a ZFS on Linux setup. Maybe this can serve as the guide / inspiration for somebody in our community to do their own FreeBSD + HA + ZFS setup and blog about it in similar detail.
                                                                                                                                                                                                                • ***
                                                                                                                                                                                                                  First public release of chyves - version 0.1.0
                                                                                                                                                                                                                  • As bhyve continues to mature we are seeing tooling evolve around it. Enter ‘chyves’ which started life as a fork of iohyve.
                                                                                                                                                                                                                  • We are looking to do an interview with the author in the near future, but we still want to bring you some of the new features / changes in this evolution of bhyve management.
                                                                                                                                                                                                                  • First up, nearly every function from iohyve has either been re-written in part or full.
                                                                                                                                                                                                                  • Among the new features, a full logging system (master and per-vm logs), multiple pool configurations, properties stored outside of ZFS (for speed) and self-upgrading. (Will that work with pkg’d version?)
                                                                                                                                                                                                                  • In addition to the above features, the website has a large chart showing the original ‘iohyve’ commands, and how that usage has changed moving to chyves.
                                                                                                                                                                                                                  • Give it a spin, let the author know of issues!
                                                                                                                                                                                                                  • ***
                                                                                                                                                                                                                    Interview - Richard Yao - [email protected]

                                                                                                                                                                                                                    Sr. Kernel Engineer at ClusterHQ - Major Contributor to ZFS on Linux

                                                                                                                                                                                                                    News Roundup
                                                                                                                                                                                                                    ZFS Deadlock: 'Directory of Death'
                                                                                                                                                                                                                    • A user reports that when they try to install npm (the Node.js package manager), their system deadlocks
                                                                                                                                                                                                                    • It turns out, this was also hitting the FreeBSD package building machines
                                                                                                                                                                                                                    • PR 209158
                                                                                                                                                                                                                    • The problem was a race condition in the way renames are handled in the FreeBSD VFS vs how ZFS does them internally
                                                                                                                                                                                                                    • This bug has existed since the original import of ZFS, but some other change caused it to happen much more frequently
                                                                                                                                                                                                                    • “ZFS POSIX Layer is originally written for Solaris VFS which is very different from FreeBSD VFS. Most importantly many things that FreeBSD VFS manages on behalf of all filesystems are implemented in ZPL in a different Way. Thus, ZPL contains code that is redundant on FreeBSD or duplicates VFS functionality or, in the worst cases, badly interacts / interferes with VFS.”
                                                                                                                                                                                                                    • “The most prominent problem is a deadlock caused by the lock order reversal of vnode locks that may happen with concurrent zfs_rename() and lookup(). The deadlock is a result of zfs_rename() not observing the vnode locking contract expected by VFS.”
                                                                                                                                                                                                                    • The fixes have been merged to the 10.x and 11.x branches
                                                                                                                                                                                                                    • ***
                                                                                                                                                                                                                      New BSD Magazine out (2016-07)
                                                                                                                                                                                                                      • Articles include: Implementing in-memory cache in the BeaST architecture, Docker Cleanup, FreeNAS Getting Started Guide, and starting at the very beginning with open source
                                                                                                                                                                                                                      • The August issue is also out
                                                                                                                                                                                                                      • This issue features two articles about MINIX 3, continues the FreeNAS getting started guide, Optimizes the in-memory cache for the BeaST architecture, and talks about fixing failed ports for Hardened and LibreBSD
                                                                                                                                                                                                                      • We hope to have an interview with the creator of the BeaST architecture in the coming weeks
                                                                                                                                                                                                                      • ***
                                                                                                                                                                                                                        DragonflyBSD and UEFI
                                                                                                                                                                                                                        • We’ve featured a few stories and walkthroughs about using UEFI to dual-boot BSD, and now its Dragonfly BSD’s turn.
                                                                                                                                                                                                                        • Dave McFarlane writes into the DF mailing lists, telling us about the specific steps taken to get UEFI installed and boot-strapped on his system.
                                                                                                                                                                                                                        • If you’ve done a FreeBSD manual UEFI install, the process looks very similar, but you will end up manually running ‘gpt’ to create partitions, installing dist files, and eventually installing boot1.efi into the FAT EFI partition.
                                                                                                                                                                                                                        • Dave also ran into an issue with resulted in no /etc/fstab being present, and helpfully includes what his system needed to fully boot hammer properly.
                                                                                                                                                                                                                        • Somebody should document this fully for DFLY, since I would expect to become more commonplace as commodity hardware is shipped with UEFI on by default.
                                                                                                                                                                                                                        • ***
                                                                                                                                                                                                                          Netflix and Fill
                                                                                                                                                                                                                          • The Netflix team has produced a technical blog post describing how their OpenConnect appliances work
                                                                                                                                                                                                                          • First the content is received from the content provider, and the Netflix content team makes it ready for deployment, by transcoding the various bitrates, packaging the subtitles, etc.
                                                                                                                                                                                                                          • The finished files are then pushed to Amazon S3 storage
                                                                                                                                                                                                                          • “We deploy the majority of our updates proactively during configured fill windows. An important difference between our OpenConnect CDN and other commercial CDNs is the concept of proactive caching. Because we can predict with high accuracy what our members will watch and what time of day they will watch it, we can make use of non-peak bandwidth to download most of the content updates to the OCAs in our network during these configurable time windows. By reducing disk reads (content serving) while we are performing disk writes (adding new content to the OCAs), we are able to optimize our disk efficiency by avoiding read/write contention. The predictability of off-peak traffic patterns helps with this optimization, but we still only have a finite amount of time every day to get our content pre-positioned to where it needs to be before our traffic starts to ramp up and we want to make all of the OCA capacity available for content serving.”
                                                                                                                                                                                                                          • The OCA may actually contain more than one copy of the same video, because each disk in the OCA is independent, storing the same video on two different disks will provide twice the available read bandwidth
                                                                                                                                                                                                                          • Normally the filesystem cache would obviate the need for this, but the Netflix OCA has so much storage, and not a lot of memory, and the requests from users are offset enough that the cache is useless
                                                                                                                                                                                                                          • “OCAs communicate at regular intervals with the control plane services, requesting (among other things) a manifest file that contains the list of titles they should be storing and serving to members. If there is a delta between the list of titles in the manifest and what they are currently storing, each OCA will send a request, during its configured fill window, that includes a list of the new or updated titles that it needs. The response from the control plane in AWS is a ranked list of potential download locations, aka fill sources, for each title.”
                                                                                                                                                                                                                          • “It would be inefficient, in terms of both time and cost, to distribute a title directly from S3 to all of our OCAs, so we use a tiered approach. The goal is to ensure that the title is passed from one part of our network to another using the most efficient route possible.”
                                                                                                                                                                                                                          • The article then goes on to explain how they calculate the least cost filling source
                                                                                                                                                                                                                          • “Now that Netflix operates in 190 countries and we have thousands of appliances embedded within many ISP networks around the world, we are even more obsessed with making sure that our OCAs get the latest content as quickly as possible while continuing to minimize bandwidth cost to our ISP partners.”
                                                                                                                                                                                                                          • ***
                                                                                                                                                                                                                            Beastie Bits:
                                                                                                                                                                                                                            • Cover reveal for “PAM Mastery”
                                                                                                                                                                                                                            • LibertyBSD 5.9 is out - looking for mirrors
                                                                                                                                                                                                                            • Unix for Poets
                                                                                                                                                                                                                            • Feedback/Questions
                                                                                                                                                                                                                              • Chuck / Ingo - Get Involved
                                                                                                                                                                                                                              • Oskar - Thanks
                                                                                                                                                                                                                              • Alex - SMF
                                                                                                                                                                                                                              • Raymond - RPI3
                                                                                                                                                                                                                              • ***
                                                                                                                                                                                                                                1 hr 23 min
                                                                                                                                                                                                                              • 156: The Fresh BSD experience

                                                                                                                                                                                                                                This week on BSDNow, Allan is back from his UK trip and we’ll get to hear his thoughts on the developer summit. That plus all the

                                                                                                                                                                                                                                This episode was brought to you by

                                                                                                                                                                                                                                />

                                                                                                                                                                                                                                Headlines
                                                                                                                                                                                                                                FreeBSD 11.0-RC1 Available
                                                                                                                                                                                                                                • FreeBSD is marching onwards to 11.0, and with it the first RC1 was released. In addition to the usual amd64 architectures, you may want to give it

                                                                                                                                                                                                                                • a whirl on your various ARM boards as well, as it includes images for the following systems:

                                                                                                                                                                                                                                  • 11.0-RC1 amd64 GENERIC
                                                                                                                                                                                                                                  • 11.0-RC1 i386 GENERIC
                                                                                                                                                                                                                                  • 11.0-RC1 powerpc GENERIC
                                                                                                                                                                                                                                  • 11.0-RC1 powerpc64 GENERIC64
                                                                                                                                                                                                                                  • 11.0-RC1 sparc64 GENERIC
                                                                                                                                                                                                                                  • 11.0-RC1 armv6 BANANAPI
                                                                                                                                                                                                                                  • 11.0-RC1 armv6 BEAGLEBONE
                                                                                                                                                                                                                                  • 11.0-RC1 armv6 CUBIEBOARD
                                                                                                                                                                                                                                  • 11.0-RC1 armv6 CUBIEBOARD2
                                                                                                                                                                                                                                  • 11.0-RC1 armv6 CUBOX-HUMMINGBOARD
                                                                                                                                                                                                                                  • 11.0-RC1 armv6 GUMSTIX
                                                                                                                                                                                                                                  • 11.0-RC1 armv6 RPI-B
                                                                                                                                                                                                                                  • 11.0-RC1 armv6 RPI2
                                                                                                                                                                                                                                  • 11.0-RC1 armv6 PANDABOARD
                                                                                                                                                                                                                                  • 11.0-RC1 armv6 WANDBOARD
                                                                                                                                                                                                                                  • 11.0-RC1 aarch64 GENERIC
                                                                                                                                                                                                                                  • For those wondering the list of changes between this and BETA4, we have that as well:

                                                                                                                                                                                                                                    • A NULL pointer dereference in IPSEC has been fixed.
                                                                                                                                                                                                                                    • Support for SSH Protocol 1 has been removed.
                                                                                                                                                                                                                                    • OpenSSH DSA keys have been disabled by default. Users upgrading from
                                                                                                                                                                                                                                    • prior FreeBSD versions are urged to update their SSH keys to RSA or
                                                                                                                                                                                                                                      ECDSA keys before upgrading to 11.0-RC1.
                                                                                                                                                                                                                                    • PCI-e hotplug on bridges with power controllers has been disabled.
                                                                                                                                                                                                                                    • A loader tunable (hw.pci.enable_pcie_hp) to disable PCI-e HotPlug has
                                                                                                                                                                                                                                    • been added.
                                                                                                                                                                                                                                    • A VESA panic on suspend has been fixed.
                                                                                                                                                                                                                                    • Google Compute Engine image publication has been fixed.
                                                                                                                                                                                                                                    • An AES-ICM heap corruption typo bug has been fixed.
                                                                                                                                                                                                                                    • A regression in pf.conf while parsing the 'interval' keyword has been
                                                                                                                                                                                                                                    • fixed.
                                                                                                                                                                                                                                    • A ZFS/VFS deadlock has been fixed.
                                                                                                                                                                                                                                    • RC2 is delayed while some issues are sorted out

                                                                                                                                                                                                                                    • RC2 is looming large, but was pushed back a few days while the following bugs are sorted out:

                                                                                                                                                                                                                                      • Issue with IPv6 UDP traffic being sent from wrong MAC address
                                                                                                                                                                                                                                      • Layer2 violation with IPv6
                                                                                                                                                                                                                                      • ***
                                                                                                                                                                                                                                        OpenBSD just added initial support for the RaspberryPi 2 and 3 devices
                                                                                                                                                                                                                                        • It’s a good time to be an ARM and BSD enthusiast. In addition to all the ARM images in FreeBSD 11.0, we also have word that initial support for RPi2 and RPi3 has started to land in OpenBSD.
                                                                                                                                                                                                                                        • Mark Kettenis has posted the following with his Commit:
                                                                                                                                                                                                                                        • Initial support for Raspberry Pi 2/3. All the hard work done by patrick@, I just cleaned things up a bit. Any bugs introduced in that process are entirely mine.

                                                                                                                                                                                                                                          This doesn't work yet. But when it does, you'll need recent firmware from the Raspberry Pi Foundation git repository at:

                                                                                                                                                                                                                                          https://github.com/raspberrypi/firmware

                                                                                                                                                                                                                                          The device tree for the Raspberry Pi is somewhat in flux as bits and pieces to support the Raspberry Pi 2 and 3 are committed to the mainline Linux kernel.“

                                                                                                                                                                                                                                          • Exciting news! We will of course keep you informed as to when we have images to play with. Running OpenBSD / PF on a RPi does sound intriguing.
                                                                                                                                                                                                                                          • ***
                                                                                                                                                                                                                                            drm-4.8-rc2 tagged in drm-next
                                                                                                                                                                                                                                            • Remember when FreeBSD lagged so far behind in Graphics support? Well, those days are rapidly coming to an end.
                                                                                                                                                                                                                                            • Matt Macy has posted an update to the FreeBSD X11 list with news of his DRM branch being caught up all the way to Linux 4.8-RC2 now.
                                                                                                                                                                                                                                            • This is a huge accomplishment, with Matt commenting:
                                                                                                                                                                                                                                            • As of this moment sys/dev/drm in the drm-next tree is sync with https://github.com/torvalds/linux drivers/gpu/drm (albeit only for the subset of drivers that FreeBSD supports - i915, radeon, and amdgpu). I feel this is a bit of a milestone as it means that it is possible that in the future graphics support on FreeBSD could proceed in lockstep with Linux.

                                                                                                                                                                                                                                              • For those who want to try out the latest support, you can build from his branch at the following GitHub location: (https://github.com/FreeBSDDesktop/freebsd-base-graphics)
                                                                                                                                                                                                                                              • Or, if compiling isn’t your thing, TrueOS (The re-branded PC-BSD) will be releasing the a new ISO based upon his update to Linux 4.7 in the coming days, with 4.8-RC2 to follow in the next week or two.
                                                                                                                                                                                                                                              • ***
                                                                                                                                                                                                                                                Installing FreeBSD for Raspberry Pi
                                                                                                                                                                                                                                                • People have been running FreeBSD on various RPi devices for a while now, however there are still a lot of people who probably need a hand to get boot-strapped on their RPi system.
                                                                                                                                                                                                                                                • The FreeBSD foundation has put together a nice tutorial which walks even the most novice user through getting FreeBSD up and running.
                                                                                                                                                                                                                                                • In particular this could become a good way for students or other FreeBSD newcomers to try out the OS on a relatively low-cost platform outside of a VM.
                                                                                                                                                                                                                                                • The tutorial starts of with a check-list of the specific items you’ll need to get started, for RPi 1 (a/b) or RPi 2 hardware.
                                                                                                                                                                                                                                                • From there, instructions on how to get the downloaded images onto a sdcard are provided, including Mac and Windows image burning details.
                                                                                                                                                                                                                                                • With this done, it’s really only a matter of plugging in your device to be presented with your new RPi + FreeBSD system. The most important details (the default username/password) at also provided, so don’t skim too quickly.
                                                                                                                                                                                                                                                • ***
                                                                                                                                                                                                                                                  Interview - Drew Gurkowski
                                                                                                                                                                                                                                                  • Foundation Intern: First time FreeBSD User and Writing Tutorials
                                                                                                                                                                                                                                                  • ***
                                                                                                                                                                                                                                                    News Roundup
                                                                                                                                                                                                                                                    FreeBSD’s ipfw gets a NAT64 implementation
                                                                                                                                                                                                                                                    • A new feature has been added to FreeBSD’s native firewall, ipfw2
                                                                                                                                                                                                                                                    • The new loadable module implements stateless and stateful NAT64
                                                                                                                                                                                                                                                    • “Stateless translation is appropriate when a NAT64 translator is used in front of IPv4-only servers to allow them to be reached by remote IPv6-only clients.”
                                                                                                                                                                                                                                                    • With this setup, you map specific IPv6 addresses to the corresponding IPv4 address, allowing IPv4 only servers to be reachable on the v6 network.
                                                                                                                                                                                                                                                    • “Stateful translation is suitable for deployment at the client side or at the service provider, allowing IPv6-only client hosts to reach remote IPv4-only nodes.”
                                                                                                                                                                                                                                                    • This configuration allows many IPv6 only clients to reach the “legacy” internet. The FreeBSD cluster has been waiting for this feature for
                                                                                                                                                                                                                                                    • a while, because they have limited IP addresses, but many service jails that require access to services like GitHub that are not IPv6 enabled.
                                                                                                                                                                                                                                                    • The work was sponsored by Yandex, the Russian search engine and long time FreeBSD user
                                                                                                                                                                                                                                                    • Example configurations for both types are included in the commit message
                                                                                                                                                                                                                                                    • If you would find this feature useful, please take the time to set it up and document the steps and contribute that to the FreeBSD Handbook.
                                                                                                                                                                                                                                                    • ***
                                                                                                                                                                                                                                                      Update on using LLVM's lld linker in the FreeBSD base system
                                                                                                                                                                                                                                                      • Ed Maste has written a lengthy update on the progress being made towards using LLVM’s lld linker as a replacement for GNU’s ‘ld’.
                                                                                                                                                                                                                                                      • Ed starts off by giving us some of the potential benefits of using lld vs the 2.17.50 ‘ld’ version FreeBSD currently uses:

                                                                                                                                                                                                                                                        • AArch64 (arm64) support
                                                                                                                                                                                                                                                        • Link Time Optimization (LTO)
                                                                                                                                                                                                                                                        • New ABI support
                                                                                                                                                                                                                                                        • Other linker optimization
                                                                                                                                                                                                                                                        • Much faster link times
                                                                                                                                                                                                                                                        • Maintained code base
                                                                                                                                                                                                                                                        • Ed also gives us an update on several of the major blockers:

                                                                                                                                                                                                                                                        • Since the last update in March several lld developers have implemented much of the missing functionality. The main blockers were symbol version support and expression evaluation in the linker script expression parser. Both are now nearly complete“

                                                                                                                                                                                                                                                          • A detailed plan was also articulated in respect to switching over:
                                                                                                                                                                                                                                                            1. Update lld along with the Clang/LLVM 3.9 update that dim@ is working on.
                                                                                                                                                                                                                                                            2. Add the bmake build infrastructure, installing as /usr/bin/ld.lld on the same architectures that use Clang (amd64, arm, arm64, i386). I don't think there's a need for a WITH_LLD src.conf knob, but will add one if desired.
                                                                                                                                                                                                                                                            3. Update lld again (most likely to a snapshot from upstream SVN) once it is able to link an unmodified FreeBSD kernel.
                                                                                                                                                                                                                                                            4. Modify the boot loader and kernel builds to avoid using features not implemented by lld.
                                                                                                                                                                                                                                                            5. Introduce a WITH_LLD_AS_LD knob to have /usr/bin/ld be a ld.lld hardlink instead of /usr/bin/ld.bfd.
                                                                                                                                                                                                                                                            6. Request ports exp-runs and issue a call for testing with 3rd party software. Fix issues found during this process.
                                                                                                                                                                                                                                                            7. Switch /usr/bin/ld to ld.lld by default in head for the Clang-using architectures. Add a WITHOUT_LLD_AS_LD knob to switch back to GNU ld.
                                                                                                                                                                                                                                                            8. ***
                                                                                                                                                                                                                                                              How to install FreeBSD with ZFS filesystem on DigitalOcean
                                                                                                                                                                                                                                                              • I know we’ve mentioned using FreeBSD + ZFS on digital ocean in the past, but today we have a nice HowTo by Kaspars Mickevics (fxlv) on GitHub.

                                                                                                                                                                                                                                                              • Before getting started, kaspars mentions some pre-reqs. First up he recommends starting with a Minimum of 2GB of RAM. (The $20/mo droplet). This is to ensure you have plenty of cushion to avoid running out of memory during the process. It is possible to use ZFS with less, but depending on your desired workload this does make sense.

                                                                                                                                                                                                                                                              • From there, checking out “mfsBSD” is discussed, along with details on how to make it suitable for a DO installation. (Mostly just disabling DHCP for the network device) For good measure ‘pkg-static’ is also included.

                                                                                                                                                                                                                                                              • With that done, using mfsBSD you will create a tar file, which is then extracted on top of the running system.

                                                                                                                                                                                                                                                              • After rebooting, you will be able to run “bsdinstall” and proceed to installing / formatting your disk with ZFS as normal.

                                                                                                                                                                                                                                                              • A good tutorial, something I may need to do here in the near future.

                                                                                                                                                                                                                                                              • User manages to get OpenBSD and FreeBSD working with Libreboot
                                                                                                                                                                                                                                                                • In a short drive-by post to the Libreboot mailing list Piotr Kubaj gives a quick notice that he managed to get OpenBSD and FreeBSD both booting.
                                                                                                                                                                                                                                                                • > I know GNU people don't like BSD, so let me make it quick :)
                                                                                                                                                                                                                                                                  >
                                                                                                                                                                                                                                                                  >
                                                                                                                                                                                                                                                                  > I've succeeded in booting FreeBSD 11.0-RC1 using txt mode on my X200
                                                                                                                                                                                                                                                                  > with the newest Libreboot.
                                                                                                                                                                                                                                                                  >
                                                                                                                                                                                                                                                                  > To get installer to boot, I used:
                                                                                                                                                                                                                                                                  > kfreebsd (usb0,gpt3)/boot/kernel/kernel
                                                                                                                                                                                                                                                                  > set FreeBSD.vfs.mountfrom=ufs:/dev/da1p3
                                                                                                                                                                                                                                                                  > boot
                                                                                                                                                                                                                                                                  >
                                                                                                                                                                                                                                                                  > I didn't try to install yet.
                                                                                                                                                                                                                                                                  >
                                                                                                                                                                                                                                                                • The trick looks relatively simple (looks like GRUB), manually loading the kernel with ‘kfreebsd’ and then setting the vfs.root.mountfrom
                                                                                                                                                                                                                                                                • variable to find the USB stick.
                                                                                                                                                                                                                                                                • In an update he also mentions booting OpenBSD with ‘kopenbsd’ instead of ‘kfreebsd’ (again GRUB syntax)
                                                                                                                                                                                                                                                                • Now somebody will need to test installation of the system (he didn’t) and see what other issues may crop up in running BSD on a free BIOS.
                                                                                                                                                                                                                                                                • ***
                                                                                                                                                                                                                                                                  Beastie Bits:
                                                                                                                                                                                                                                                                  • The ACPICA (ACPI Component Architecture) coding language AML now in DragonFly BSD

                                                                                                                                                                                                                                                                  • Release announcement for 4.3BSD Tahoe from 1988

                                                                                                                                                                                                                                                                  • Feedback/Questions
                                                                                                                                                                                                                                                                    • Mike - Jail Uptime
                                                                                                                                                                                                                                                                    • Greg - Router Hardware
                                                                                                                                                                                                                                                                    • Kristof writes in
                                                                                                                                                                                                                                                                    • Ty - Updates and Logs
                                                                                                                                                                                                                                                                    • Benjamin - MTA Bug
                                                                                                                                                                                                                                                                    • ***
                                                                                                                                                                                                                                                                      1 hr 29 min
                                                                                                                                                                                                                                                                    • 155: Cabling up FreeBSD

                                                                                                                                                                                                                                                                      This week on BSDNow, Allen is away in the UK (For BSDCam), but we still have a full episode for you! Don’t miss our interview with

                                                                                                                                                                                                                                                                      This episode was brought to you by

                                                                                                                                                                                                                                                                      Headlines
                                                                                                                                                                                                                                                                      My two year journey to becoming an OS Developer
                                                                                                                                                                                                                                                                      • A blog post by Ryan Zezeski about how he ended doing OS Development instead of working on application
                                                                                                                                                                                                                                                                      • We have featured his posts before, including The illumos SYSCALL Handler
                                                                                                                                                                                                                                                                      • It started in the summer of 2014: I had just left Basho after 3.5 years of working on Riak, when I decided I wanted to become an OS developer. I purchased Solaris Internals, cloned illumos-gate, fired up cscope, and got to work. I hardly knew any C, x86 might as well have been Brainfuck, and, frankly, I knew shit about operating systems. But I was determined.

                                                                                                                                                                                                                                                                        I’ve always learned best by beating my head against something until it makes sense. I’m not a fast learner; I’m persistent. What others have in ability I make up for in effort. And when it comes to OS internals it’s all about work ethic. The more you look, the more you realize it’s just another program. The main difference being: it’s the program all the other programs run on.
                                                                                                                                                                                                                                                                        My strategy: to pick something, anything, that looked interesting, and write a post describing how it works. I wrote several of these posts in 2014 and 2015. More important, it put me in touch with Roger Faulkner: the creator of truss(1), the Solaris process model, and the real /proc filesystem. At the time I didn’t like my interaction with Roger. He explained, in what I would later find out to be his typical gruff manner, that I was wrong; so I concluded he is a prick. But over the years I realized that I was being a brat—he was trying to teach me something and I let my ego get in the way. I’ve come to view that interaction as a blessing. I interacted with one of the greats, a mentor of my mentor’s mentor (a Great Great Mentor).
                                                                                                                                                                                                                                                                        A couple of weeks later something even more surreal happened, at illumos Day 2014. Bryan Cantrill was the last speaker of the day. One of my mentors and someone I admire greatly. He was there to regale us with the story of Joyent’s resurrection of lx-branded zones: Linux system call emulation on top of the illumos kernel. But before he would do that he decided to speak about me! I couldn’t believe it. I was so overwhelmed that I don’t remember most of what he said. I was too busy flipping shit—Bryan Cantrill is on stage, in front of other kernel developers I look up to, saying my name. I was in a dream. It turns out, unknown to me at the time, that he wrote the POSIX queue code for both Solaris and QNX, which I wrote about. He compared me to the great expository technical writers Elliott Organick and Richard Stevens. And it was at this moment that I knew I could do this: I could become an OS developer.
                                                                                                                                                                                                                                                                        Never underestimate the effect kind words can have on someone that looks up to you.

                                                                                                                                                                                                                                                                        • There is a lot more to the story, and it is definitely worth the read
                                                                                                                                                                                                                                                                        • The story then goes on to talk about his recent run in with Bryan Cantrill
                                                                                                                                                                                                                                                                        • > A week from now my two year journey to become an OS developer comes to an end; and a new chapter begins. I don’t know what specific things I’m going to work on, but I’m sure it will push me to the limit. I look forward to the challenge.
                                                                                                                                                                                                                                                                          ***
                                                                                                                                                                                                                                                                          Version 1.0 of the Lumina Desktop released
                                                                                                                                                                                                                                                                          • After 4 years of development, Lumina Desktop has now hit version 1.0!
                                                                                                                                                                                                                                                                          • This release brings with it a slew of new features and support:
                                                                                                                                                                                                                                                                            • Completely customizable interface! Rather than having to learn how to use a new layout, change the desktop to suit you instead!
                                                                                                                                                                                                                                                                            • Simple shortcuts for any application! The “favorites” system makes it easy to find and launch applications at any time.
                                                                                                                                                                                                                                                                            • Extremely lightweight! Allows applications to utilize more of your system hardware and revitalizes older systems!
                                                                                                                                                                                                                                                                            • Multiple-monitor support! Each monitor is treated as an independent entity – making it great for presentation systems which use a temporary monitor or for workstations which utilize an array of monitors for various tasks.
                                                                                                                                                                                                                                                                              • While originally developed on PC-BSD, it already has been ported to a variety of different platforms, including OpenBSD, DragonFly, NetBSD, Debian and Gentoo
                                                                                                                                                                                                                                                                              • Lumina has become the defacto desktop environment for TrueOS (Formerly PC-BSD), and looks like will provide a solid framework to continue growing desktop features.
                                                                                                                                                                                                                                                                              • ***
                                                                                                                                                                                                                                                                                n2k16 hackathon report: Ken Westerback on dhclient, bridges, routing and more
                                                                                                                                                                                                                                                                                • Next up, we have a report from Ken Westerback talking about the recent OpenBSD hackathon in Prague
                                                                                                                                                                                                                                                                                • He starts by telling us about the work in bpf:
                                                                                                                                                                                                                                                                                • First order of business, stsp@'s weird setup involving bridges and multiple dhclient clients. A bit of bpf(4) programming to restrict dhclient to handling ethernet packets unicast to its interface worked. Cool. Unfortunately it turned out some lazy dhcp servers always use ethernet broadcasts just because some lesser, non-OpenBSD clients ignore unicast packets until they have configured IP. Classic chicken and egg. So this was backed out just before 6.0. Sigh.

                                                                                                                                                                                                                                                                                  • Next up, he talks about an idea he had on the flight over, specifically with regard to how DHCP leases are stored, and how keeping the SSID information with them could speed up re-connection times, by only trying leases for current SSID’s connected. After a day or so of hacking, it was working! However for $REASONS it was shelved for post 6.0, bummer!
                                                                                                                                                                                                                                                                                  • He then discusses an on-going project with Peter Hessler on passing along relevant PIDs in response to routing messages generated by kernel from ioctl events. This is something they’ve been hacking at, in order to allow dhclient to recognize its own routing messages. Sounds like they are both still works-in-progress.
                                                                                                                                                                                                                                                                                  • However, Ken did get something in for 6.0:
                                                                                                                                                                                                                                                                                  • Diving back into dhclient code I discovered that in situations where multiple offers were received the unused offers were not being declined and discarded. Despite a clear comment saying that's what was being done! Thus dhclient might gradually use up more and more memory. And possibly be retrying offers that should have been discarded. The fix for this did make 6.0! Yay!

                                                                                                                                                                                                                                                                                    In Memoriam Roger Faulkner
                                                                                                                                                                                                                                                                                    • USENIX has re-released Roger Faulkner’s original paper on /proc as a free download
                                                                                                                                                                                                                                                                                    • The UNIX community recently lost one of its original pioneers, Roger Faulkner, whom one commenter described as “The godfather of post-AT&T UNIX”
                                                                                                                                                                                                                                                                                    • In his memory, the USENIX group as re-released his original paper on the /proc file-system from 1991.
                                                                                                                                                                                                                                                                                    • Roger worked in many area’s of UNIX, however the process file system /proc was his special baby.
                                                                                                                                                                                                                                                                                    • “/proc began as a debugger interface superseding ptrace(2) but has evolved into a general interface to the process model.”
                                                                                                                                                                                                                                                                                    • The original /proc only had a file for each process, not a directory. "Data may be transferred from or to any valid locations in the process's address space by applying lseek(2) to position the file at the virtual address of interest followed by read(2) or write(2)."
                                                                                                                                                                                                                                                                                    • Processes could be controlled using IOCTLs on the file
                                                                                                                                                                                                                                                                                    • As the USENIX article states:

                                                                                                                                                                                                                                                                                    • Roger believed that terrible things were sometimes required to create beautiful abstractions, and his trailblazing work on /proc embodies this burden: the innards may be delicate and nasty ("vile," as Roger might say in his distinguished Carolinian accent)—but the resulting abstractions are breathtaking in their power, scope and robustness.

                                                                                                                                                                                                                                                                                    • RIP Roger, and thanks for the wonderful UNIX legacy you’ve left us all.

                                                                                                                                                                                                                                                                                    • Interview - Myke Geiger - [email protected] / @mWare
                                                                                                                                                                                                                                                                                      • Using FreeBSD at a DSL/Cable ISP
                                                                                                                                                                                                                                                                                      • ***
                                                                                                                                                                                                                                                                                        News Roundup
                                                                                                                                                                                                                                                                                        New options in bsdinstall - some sysctls and date/time settings
                                                                                                                                                                                                                                                                                        • bsdinstall in FreeBSD 11.0 will feature a number of new menus.
                                                                                                                                                                                                                                                                                        • The first, well allow you to set the date and time. Often on computers that have been in storage, or some embedded type devices that have no RTC, the date will be wildly wrong, and ntpd will refuse to run until the date is correctly set. This feature makes it easy to enter the date and time using dialog(1)
                                                                                                                                                                                                                                                                                        • The second menu, inspired by the existing ‘services’ menu, offers a number of ‘hardening’ options
                                                                                                                                                                                                                                                                                        • This menu allows users to easily enable a number of security features, including:
                                                                                                                                                                                                                                                                                          • Hide processes running as other users/groups
                                                                                                                                                                                                                                                                                          • Disable reading the kernel message buffer and debugging processes for unprivileged users
                                                                                                                                                                                                                                                                                          • Randomize the PID of newly created processes
                                                                                                                                                                                                                                                                                          • Enable the stack guard
                                                                                                                                                                                                                                                                                          • Erase /tmp at boot
                                                                                                                                                                                                                                                                                          • Disable remote syslog
                                                                                                                                                                                                                                                                                          • Disable sendmail
                                                                                                                                                                                                                                                                                          • All of these options are off by default, so that an install done with the installer will be the same as an install from source, or an upgrade.
                                                                                                                                                                                                                                                                                          • A number of these options are candidates to become on-by-default in the future, so the hope is that this menu will get more users to test these features and find any negative interactions with applications or general use, so they can be fixed.
                                                                                                                                                                                                                                                                                          • ***
                                                                                                                                                                                                                                                                                            Rawrite32: the NetBSD image writing tool
                                                                                                                                                                                                                                                                                            • Martin of the NetBSD project has released a new version of his USB imaging tool, rawrite32
                                                                                                                                                                                                                                                                                            • For those who’ve not used this tool before, it is a Windows Application that allows writing NetBSD images directly to USB media (other other disk media)
                                                                                                                                                                                                                                                                                            • This update brings with it support for writing .xz file, and binary signing
                                                                                                                                                                                                                                                                                            • This may come in handy for writing other OS images to memory sticks as well, especially for those locked into a windows environment who need to
                                                                                                                                                                                                                                                                                            • switch.
                                                                                                                                                                                                                                                                                              ***
                                                                                                                                                                                                                                                                                              ZFS-Snap-Diff -- A pretty interface for viewing what changed after a ZFS snapshot
                                                                                                                                                                                                                                                                                              • There are lots of nice little utilities to help create and maintain your ZFS snapshots. However today we have something unique to look at, ‘zfs-snap-diff’.
                                                                                                                                                                                                                                                                                              • What makes it unique, is that it ships with a built-in golang / angularjs GUI for snapshot management
                                                                                                                                                                                                                                                                                              • It looks very powerful, including a built-in diff utility, so you can even see the changes in text-files, in addition to downloading files, restoring old versions and more.
                                                                                                                                                                                                                                                                                              • Its nice to see so many ZFS utilities starting to take off, and evolve file-management further.
                                                                                                                                                                                                                                                                                              • ***
                                                                                                                                                                                                                                                                                                Dtrace Conf 2016 Event Videos
                                                                                                                                                                                                                                                                                                • The videos from Dtrace.conf 2016 have been posted
                                                                                                                                                                                                                                                                                                • Some highlights:
                                                                                                                                                                                                                                                                                                  • Useful DTrace Intro
                                                                                                                                                                                                                                                                                                  • CTF Everywhere
                                                                                                                                                                                                                                                                                                  • Distributed DTrace
                                                                                                                                                                                                                                                                                                  • DTrace for Apps
                                                                                                                                                                                                                                                                                                  • DTrace json() subroutine
                                                                                                                                                                                                                                                                                                  • Implementing (or not) fds[] in FreeBSD
                                                                                                                                                                                                                                                                                                  • OpenDTrace
                                                                                                                                                                                                                                                                                                  • DTrace performance improvements with always-on instrumentation
                                                                                                                                                                                                                                                                                                  • D Syntactic Sugar
                                                                                                                                                                                                                                                                                                  • DTrace and Go, DTrace and Postgres
                                                                                                                                                                                                                                                                                                  • dtrace.conf(16) wrap-up by Bryan Cantrill
                                                                                                                                                                                                                                                                                                  • Once again, it was an eclectic mix of technologists — and once again, the day got kicked off with me providing an introduction to dtrace.conf and its history. (Just to save you the time filling out your Cantrill Presentation Bingo Card: you can find me punching myself at 16:19, me offering unsolicited personal medical history at 20:11, and me getting trolled by unikernels at 38:25.)

                                                                                                                                                                                                                                                                                                    • The next DTrace.conf isn’t until 2020
                                                                                                                                                                                                                                                                                                    • ***
                                                                                                                                                                                                                                                                                                      Beastie Bits
                                                                                                                                                                                                                                                                                                      • The BSD Daemon features in Mexican candy packaging

                                                                                                                                                                                                                                                                                                      • Remove PG_ZERO and zeroidle (page-zeroing) entirely

                                                                                                                                                                                                                                                                                                      • OpenBSD: Release Songs: 6.0: "Black Hat"

                                                                                                                                                                                                                                                                                                      • OpenBSD Gaming Resource

                                                                                                                                                                                                                                                                                                      • LibreSSL 2.4.2 and 2.3.7 Released

                                                                                                                                                                                                                                                                                                      • Feedback/Questions
                                                                                                                                                                                                                                                                                                        • Pedja - Bhyve GUI
                                                                                                                                                                                                                                                                                                        • Tim - Jail Management
                                                                                                                                                                                                                                                                                                        • Don - X260
                                                                                                                                                                                                                                                                                                        • David - Updates
                                                                                                                                                                                                                                                                                                        • Ghislain - Jail Management
                                                                                                                                                                                                                                                                                                        • ***
                                                                                                                                                                                                                                                                                                          1 hr 58 min