BSD Now

BSD Now

Download on the App Store

All BSD Now episodes

  • 110: - Firmware Fights

    This week on BSDNow, we get to hear all of Allans post EuroBSDCon wrap-up and a great interview with Benno Rice from Isilon. We got to discuss some of the pain of doing major forklift upgrades, and why your business should track -CURRENT.

    This episode was brought to you by

    Headlines
    EuroBSDCon Videos
    • EuroBSDCon has started posting videos of the talks online already.
    • The videos posted online are archives of the live stream, so some of the videos contain multiple talks
    • Due to a technical complication, some videos only have 1 channel of audio
    • EuroBSDCon Talk Schedule
    • Red Room Videos
    • Yellow Room Videos
    • Blue Room Videos
    • Photos of the conference courtersy of Ollivier Robert
    • ***
      A series of OpenSMTPd patches fix multiple vulnerabilities
      • Qualys recently published an audit of the OpenSNMPd source code
      • The fixes for these vulnerabilities were released as 5.7.2
      • After its release, two additional vulnerabilities were found. One, in the portable version, newer code that was added after the audit started
      • All users are strongly encouraged to upgrade to 5.7.3
      • OpenBSD users should apply the latest errata or upgrade to the newest snapshot
      • ***
        FreeBSD updates in -CURRENT
        • Looks like Xen header support has been bumped in FreeBSD from 4.2 -> 4.6
        • It also enables support for ARM
        • Update to Clang / LLVM to 3.7.0
        • http://llvm.org/releases/3.7.0/docs/ReleaseNotes.html
        • ZFS gets FRU (field replaceable unit) tracking
        • OpenCL makes it way into the ports tree
        • bhyve has grown UEFI support, plus a CSM module
        • bhyve can now boot Windows
        • Currently there is still only a serial console, so the post includes an unattended install .xml file and instructions on how to repack the ISO. Once Windows is installed, you can RDP into the machine
        • bhyve can also now run IllumOS
        • ***
          OpenBSD Initial Support for Broadwell Graphics
          • OpenBSD joins DragonFly now with initial support for broadwell GPUs landing in their development branch
          • This brings Open up to Linux 3.14.52 DRM, and Mark Kettenis mentions that it isn.t perfect yet, and may cause some issues with older hardware, although no major regressions yet
          • ***
            OpenBSD Slides for TAME and libTLS APIs
            • The first set of slides are from a talk Theo de Raadt gave in Croatia, they describe the history and impetus for tame
            • Theo specifically avoids comparisons to other sandboxing techniques like capsicum and seccomp, because he is not impartial
            • tame() itself is only about 1200 lines of code
            • Sandboxing the file(1) command with systrace: 300 lines of code, with tame: 4 lines
            • Theo makes the point that .optional security. is irrelevant. If a mitigation feature has a knob to turn it off, some program will break and advise users to turn the feature off. Eventually, no one uses the feature, and it dies
            • This has lead to OpenBSD.s policy: .Once working, these features cannot be disabled. Application bugs must be fixed.
            • The second talk is by Bob Beck, about LibreSSL
            • when LibreSSL was forked from OpenSSL 1.0.1g, it contained 388,000 lines of C code
            • 30 days in LibreSSL, they had deleted 90,000 lines of C
            • OpenSSL 1.0.2d has 432,000 lines of C (728k total), and OpenSSL Current has 411,000 lines of C (over 1 million total)
            • LibreSSL today, contains 297,000 lines of C (511k total)
            • None of the high risk CVEs against OpenSSL (there have been 5) have affected LibreSSL. It turns out removing old code and unneeded features is good for security.
            • The talk focuses on libtls, an alternative to the OpenSSL API, designed to be easier to use and less error prone
            • In the libtls api, if -1 is returned, it is always an error. In OpenSSL, it might not be an error, needs additional code to check errno
            • In OpenBSD: ftp, nc, ntpd, httpd, spamd, syslog have been converted to the new API
            • The OpenBSD Foundation is looking for donations in order to sponsor 2-3 developers to spend 6 months dedicated to LibreSSL
            • ***
              Interview - Benno Rice - [email protected] / @jeamland

              Isilon and building products on top of FreeBSD

              News Roundup
              ReLaunchd
              • This past week we got a heads up about another init/launchd replacement, this time .Relaunchd.
              • The goals of this project appear to be keeping launchd functionality, while being portable enough to run on FreeBSD / Linux, etc.
              • It also has aspirations of being .container-aware. with support for jailed services, ala-docker, as well as cluster awareness.
              • Written in ruby :(, it also maintains that it wishes to NOT take over PID1 or replace the initial system boot scripts, but extend / leverage them in new ways.
              • ***
                Static Intrusion Detection in NetBSD
                • Alistar Crooks has committed a new .sid. utility to NetBSD, which allows intrusion detection by comparing the file-system contents to a database of known good values
                • The utility can compare the entire root file system of a modest NetBSD machine in about 15 seconds
                • The following parameters of each file can be checked: atime, block count, ctime, file type, flags, group, inode, link target, mtime, number of links, permissions, size, user, crc32c checksum, sha256 checksum, sha512 checksum
                • A JSON report is issued at the end, for any detected variances
                • ***
                  LibreSSL 2.3.0 in PC-BSD
                  • If you.re running PC-BSD 10.2-EDGE or October's -CURRENT image, LibreSSL 2.3.0 is now a thing
                  • Thanks to the hard work of Bernard Spil and others, we have merged in the latest LibreSSL which actually removes SSL support in favor of TLS
                  • Quite a number of bugs have been fixed, as well as patches brought over from OpenBSD to fix numerous ports.
                  • Allan has started a patchset that sets the OpenSSL in base to "private"
                  • This hides the library so that applications and ports cannot find it, so only tools in the base system, like fetch, will be able to use it. This makes OpenSSL no longer part of the base system ABI, meaning the version can be upgraded without breaking the stable ABI promise. This feature may be important in the future as OpenSSL versions now have EoL dates, that may be sooner than the EoL on the FreeBSD stable branches.
                  • ***
                    PC-BSD and boot-environments without GRUB
                    • In this month.s -CURRENT image of PC-BSD, we began the process of moving back from the GRUB boot-loader, in favor of FreeBSD.s
                    • A couple of patches have been included, which enables boot-environment support via the 4th menus (Thanks Allan) and support for booting ZFS on root via UEFI
                    • "beadm" has also been updated to seamlessly support both boot-loaders
                    • No full-disk encryption support yet (hopefully soon), but GRUB is still available on installer for those who need it
                    • ***
                      Import of IWM wireless to DragonFly
                      • Matthew Dillon has recently imported the newer if_iwm driver from FreeBSD -> DragonFly
                      • Across the internet, users with newer Intel chipsets rejoiced!
                      • Coupled with the latest Broadwell DRM improvements, DragonFly sounds very ready for the latest laptop chipsets
                      • Also, looks like progress is being made on i386 removal
                      • ***
                        Feedback/Questions
                        • Dan writes in about PCBSD
                        • Matt writes in about ZFS
                        • Anonymous writes in about problems booting
                        • ***
                          1 hr 37 min
                        • 109: Impish BSD

                          This week, we have a great interview with Warner Losh of the FreeBSD project! We will be discussing everything from automatic kernel module loading, IO scheduling and of course NanoBSD.

                          This episode was brought to you by

                          Interview - Warner Losh - [[email protected]]([email protected]) / @bsdimp

                          SSD performance and driver auto-loader

                          56 min
                        • 108: ServeUp BSD

                          This week on the show, Allan is heading to Sweden, but we have a great interview with Andrew Pantyukhin to bring you. We will be discussing everything from contributions to FreeBSD, which technologies worked best in the datacenter, config management and more.

                          This episode was brought to you by

                          Headlines

                          Allan is away this week, traveling to Sweden for the ACM womENcourage conference followed by EuroBSDCon, but we have an excellent interview for you, so sit back and enjoy the show. Allan will be back on October 5th, so we look forward to bringing you a live show, with all the details about EuroBSD and more!

                          Interview - Andrew Pantyukhin - [email protected] / @infofarmer

                          Building products with FreeBSD

                          1 hr 19 min
                        • 107: In their midst

                          This week, we are going to be talking with Aaron Poffenberger, who has much to share about his first-hand experience in infiltrating Linux conferences with BSD-goodness.

                          This episode was brought to you by

                          Headlines
                          Alexander Motin implements CTL High Availability
                          • CTL HA allows two .head. nodes to be connected to the same set of disks, safely
                          • An HA storage appliance usually consists of 2 totally separate servers, connected to a shared set of disks in separate JBOD sleds
                          • The problem with this setup is that if both machines try to use the disks at the same time, bad things will happen
                          • With CTL HA, the two nodes can communicate, in this case over a special TCP protocol, to coordinate and make sure they do not step on each others toes, allowing safe operation
                          • The CTL HA implementation in FreeBSD can operate in the following four modes:
                          • Active/Unavailable -- without interlink between nodes
                            • Active/Standby -- with the second node handling only basic LUN discovery and
                            • reservation, synchronizing with the first node through the interlink
                            • Active/Active -- with both nodes processing commands and accessing the
                            • backing storage, synchronizing with the first node through the interlink
                            • Active/Proxy -- with second node working as proxy, transferring all
                            • commands to the first node for execution through the interlink
                            • The custom TCP protocol has no authentication, so it should never be enabled on public interfaces
                            • Doc Update
                            • ***
                              Panel Self-Refresh support lands in DragonFlyBSD
                              • In what seems almost weekly improvements being made to the Xorg stack for DragonFly, we now have Panel Self-Refresh landing, thanks to Imre Vadász
                              • Understanding Panel Self-Refresh and More about Panel Self-Refresh
                              • In a nutshell, the above articles talks about how in the case of static images on the screen, power-savings can be obtained by refreshing static images from display memory (frame-buffer), disabling the video processing of the CPU/GPU and associated pipeline during the process.
                              • And just for good measure, Imre also committed some further Intel driver cleanup, reducing the diff with Linux 3.17
                              • ***
                                Introducing Sluice, a new ZFS snapshot management tool
                                • A new ZFS snapshot management tool written in Python and modeled after Apple.s Time Machine
                                • Simple command line interface
                                • No configuration files, settings are stored as ZFS user properties
                                • Includes simple remote replication support
                                • Can operate on remote systems with the zfs://user@host/path@snapname url schema
                                • Future feature list includes .import. command to moved files from non-ZFS storage to ZFS and create a snapshot, and .export. to do the inverse
                                • Thanks to Dan for tipping us about this new project
                                • ***
                                  Why WhatsApp only needs 50 engineers for 900 million users
                                  • Wired has a good write-up on the behind-the-scenes work taking place at WhatsApp
                                  • While the article mentions FreeBSD, it spends the bulk of its discussion about Erlang and using its scalable concurrency and deployment of new code to running processes.
                                  • FB messenger uses Haskell to accomplish much the same thing, while Google and Mozilla are currently trying to bring the same level of flexibility to Go and Rust respectively.
                                  • video
                                  • Thanks to Ed for submitting this news item
                                  • ***
                                    Interview - Aaron Poffenberger - email@email / @akpoff

                                    BSD in a strange place

                                    • KM: Go ahead and tell us about yourself and how did you first get involved with BSD?
                                    • AJ: You.ve presented recently at Texas Linux Fest, both on FreeBSD and FreeNAS. What specifically prompted you to do that?
                                    • KM: What would you say are the main selling points when presenting BSD to Linux users and admins?
                                    • AJ: On the flip side of this topic, in what areas to do you think we could improve BSD to present better to Linux users?
                                    • KM: What would you specifically recommend to other BSD users or fans who may also want to help present or teach about BSD? Any things specifically to avoid?
                                    • AJ: What is the typical depth of knowledge you encounter when presenting BSD to a mostly Linux crowd? Any surprises when doing so?
                                    • KM: Since you have done this before, are you mainly writing your own material or borrowing from other talks that have been done on BSD? Do you think there.s a place for some collaboration, maybe having a repository of materials that can be used for other BSD presenters at their local linux conference / LUG?
                                    • AJ: Since you are primarily an OpenBSD user have you thought about doing any talks related to it? Is OpenBSD something on the radar of the typical Linux conference-goer?
                                    • KM: Is there anything else you would like to mention before we wrap up?
                                    • ***
                                      News Roundup
                                      GhostBSD 10.1 released
                                      • GhostBSD has given us a new release, this time it also includes XFCE as an alternative to the MATE desktop
                                      • The installer has been updated to allow using GRUB, BSD loader, or none at all
                                      • It also includes the new OctoPKG manager, which proves a Qt driven front-end to pkgng
                                      • Thanks to Shawn for submitting this
                                      • ***
                                        Moving to FreeBSD
                                        • In this blog post, Randy Westlund takes us through his journey of moving from Gentoo over to FreeBSD
                                        • Inspired in part due to Systemd, he first spent some time on Wikipedia reading about BSD before taking the plunge to grab FreeBSD and give it a whirl in a VM.
                                        • "My first impression was that installation was super easy. Installing Gentoo is done manually and can be a "fun" weekend adventure if you're not sure what you're doing. I can spin up a new FreeBSD VM in five minutes."
                                        • "There's a man page for everything! And they're well-written! Gentoo has the best documentation of any Linux distro I've used, but FreeBSD is on another level. With a copy of the FreeBSD Handbook and the system man pages, I can actually get things done without tabbing over to Google every five minutes."
                                        • He goes on to mention everything from Init system, Jails, Security, Community and License, a well-rounded article.
                                        • Also gives a nice shout-out to PC-BSD as an even easier way to get started on a FreeBSD journey, thanks!
                                        • Shout out to Matt for tipping us to this blog post
                                        • ***
                                          OpenBSD Enables GPT by default
                                          • Looks like OpenBSD has taken the plunge and enabled GPT by default now
                                          • Ken Westerback does us the honors, by removing the kernel option for GPT
                                          • Users on -CURRENT should give this a whirl, and of course report issues back upstream
                                          • Credit to Jona for writing in about this one
                                          • ***
                                            DISCUSSION: Are reproducible builds worth-while?
                                            • In this weeks article / rant, Ted takes on the notion of reproducible builds being the end-all be-all for security.
                                            • What about compiler backdoors?
                                            • This does not prevent shellshock, or other bugs in the code itself
                                            • Personally, I.m all in favor, another .Trust but verify. mechanism of the distributed binaries, plus it makes it handy to do source builds and not end up with various checksum changes where no code actually changed.
                                            • ***
                                              Feedback/Questions
                                              • David writes in
                                              • Possnfiffer writes in
                                              • Daniel writes in
                                              • ***
                                                1 hr 27 min
                                              • 106: Multipath TCP

                                                This week, we have Nigel Williams here to bring us all sorts of info about Multipath TCP, what it is, how it works and the ongoing effort to bring it into FreeBSD. All that and of course the latest BSD news coming your way, right now!

                                                This episode was brought to you by

                                                Headlines
                                                Backing out changes doesn.t always pinpoint the problem
                                                • Peter Wemm brings us a fascinating look at debugging an issue which occurred on the FreeBSD build cluster recently.
                                                • Bottom line? Backing out something isn.t necessarily the fix, rather it should be apart of the diagnostic process
                                                • In this particular case, a change to some mmap() functionality ended up exposing a bug in the kernel.s page fault handler which existed since (wait for it.) 1997!
                                                • As Peter mentions at the bottom of the Article, this bug had been showing up for years, but was sporadic and often written off as a networking hiccup.
                                                • ***
                                                  BSD Router Project benchmarks new routing changes to FreeBSD
                                                  • A project branch of FreeBSD -CURRENT has been created with a number of optimizations to the routing code
                                                  • Alexander V. Chernikov (melifaro@).s routing branch
                                                  • The net result is an almost doubling of peak performance in packets per second
                                                  • Performance scales well with the number of NIC queues (2 queues is 88% faster than 1 queue, 3 is 270% faster). Unlike the previous code, when the number of queues hits 4, performance is down by only 10%, instead of being cut nearly in half
                                                  • Other Benchmark Results, and the tools to do your own tests
                                                  • ***
                                                    When is SSL not SSL?
                                                    • Our buddy Ted has a good write-up on a weird situation related to licensing of stunnel and LibreSSL
                                                    • The problem exists due to stunnel being released with a different license, that is technically incompatible with the GPL, as well as linking against non-OpenSSL versions.
                                                    • The author has also decided to create specific named exceptions when the *SSL lib is part of the base operating system, but does not personally consider LibreSSL as a valid linking target on its own
                                                    • Ted points out that the LibreSSL team considers LibreSSL == OpenSSL, so this may be a moot concern
                                                    • ***
                                                      Update on systembsd
                                                      • We.ve mentioned the GSoC project to create a SystemD shim in OpenBSD before. Now we have the slides from Ian Sutton talking about this project.
                                                      • As a refresher, this project is to take DBUS and create daemons emulating various systemd components, such as hostnamed, localed, timedated, and friends.
                                                      • Written from scratch in C, it was mainly created in the hopes of becoming a port, allowing Gnome and related tools to function on OpenBSD.
                                                      • This is a good read, especially for current or aspiring porters who want to bring over newer versions of applications which now depend upon SystemD.
                                                      • ***
                                                        Interview - Nigel Williams - [[email protected]]([email protected])

                                                        Multipath TCP

                                                        News Roundup
                                                        OpenBSD UEFI boot loader
                                                        • We.ve mentioned the ongoing work to bring UEFI booting to OpenBSD and it looks like this has now landed in the tree
                                                        • The .fdisk. utility has also been updated with a new -b flag, when used with .-i. will create the special EFI system partition on amd64/i386 . (http://marc.info/?l=openbsd-cvs&m=144139348416071&w=2)
                                                        • Some twitter benchmarks
                                                        • ***
                                                          FreeBSD Journal, July/August issue
                                                          • The latest issue of the FreeBSD Journal has arrived
                                                          • As always, the Journal opens with a letter from the FreeBSD Foundation
                                                          • Feature Articles:
                                                          • Groupon's Deal on FreeBSD -- How to drive adoption of FreeBSD at your organization, and lessons learned in retraining Linux sysadmins
                                                          • FreeBSD: The Isilon Experience -- Mistakes not to make when basing a product on FreeBSD. TL;DR: track head
                                                          • Reflections on FreeBSD.org: Packages -- A status update on where we are with binary packages, what issues have been overcome, and which still remain
                                                          • Inside the Foundation -- An overview of some of the things you might not be aware that the FreeBSD Foundation is doing to support the project and attract the next generation of committers
                                                          • Includes a book review of .The Practise of System and Network Administration.
                                                          • As usual, various other reports are included: The Ports Report, SVN Update, A conference report, a report from the Essen hackathon, and the Event Calendar
                                                          • ***
                                                            Building ARMv6 packages on FreeBSD, the easy way
                                                            • Previously we have discussed how to build ARMv6 packages on FreeBSD
                                                            • We also interviewed Sean Bruno about his work in this area
                                                            • Thankfully, over time this process has been simplified, and no longer requires a lot of manual configuration, or fussing with the .image activator.
                                                            • Now, you can just build packages for your Raspberry Pi or similar device, just as simply as you would build for x86, it just takes longer to build.
                                                            • ***
                                                              New PC-BSD Release Schedule
                                                              • The PC-BSD Team has announce an updated release schedule for beyond 10.2
                                                              • This schedule follows more closely the FreeBSD schedules, with major releases only occurring when FreeBSD does the next point update, or major version bump.
                                                              • PC-BSD.s source tree has been split into master(current) and stable as well
                                                              • PRODUCTION / EDGE packages will be built from stable, with PRODUCTION updated monthly now. The -CURRENT monthly images will contain the master source builds.
                                                              • ***
                                                                Feedback/Questions
                                                                • Joris writes in
                                                                • Anonymous
                                                                • Darin
                                                                • ***
                                                                  1 hr 8 min
                                                                • 105: Virginia BSD Assembly

                                                                  It's already our two-year anniversary! This time on the show, we'll be chatting with Scott Courtney, vice president of infrastructure engineering at Verisign, about this year's vBSDCon. What's it have to offer in an already-crowded BSD conference space? We'll find out.

                                                                  This episode was brought to you by

                                                                  Headlines
                                                                  OpenBSD hypervisor coming soon
                                                                  • Our buddy Mike Larkin never rests, and he posted some very tight-lipped console output on Twitter recently
                                                                  • From what little he revealed at the time, it appeared to be a new hypervisor (that is, X86 hardware virtualization) running on OpenBSD -current, tentatively titled "vmm"
                                                                  • Later on, he provided a much longer explanation on the mailing list, detailing a bit about what the overall plan for the code is
                                                                  • Originally started around the time of the Australia hackathon, the work has since picked up more steam, and has gotten a funding boost from the OpenBSD foundation
                                                                  • One thing to note: this isn't just a port of something like Xen or Bhyve; it's all-new code, and Mike explains why he chose to go that route
                                                                  • He also answered some basic questions about the requirements, when it'll be available, what OSes it can run, what's left to do, how to get involved and so on
                                                                  • ***
                                                                    Why FreeBSD should not adopt launchd
                                                                    • Last week we mentioned a talk Jordan Hubbard gave about integrating various parts of Mac OS X into FreeBSD
                                                                    • One of the changes, perhaps the most controversial item on the list, was the adoption of launchd to replace the init system (replacing init systems seems to cause backlash, we've learned)
                                                                    • In this article, the author talks about why he thinks this is a bad idea
                                                                    • He doesn't oppose the integration into FreeBSD-derived projects, like FreeNAS and PC-BSD, only vanilla FreeBSD itself - this is also explained in more detail
                                                                    • The post includes both high-level descriptions and low-level technical details, and provides an interesting outlook on the situation and possibilities
                                                                    • Reddit had quite a bit to say about this one, some in agreement and some not
                                                                    • ***
                                                                      DragonFly graphics improvements
                                                                      • The DragonFlyBSD guys are at it again, merging newer support and fixes into their i915 (Intel) graphics stack
                                                                      • This latest update brings them in sync with Linux 3.17, and includes Haswell fixes, DisplayPort fixes, improvements for Broadwell and even Cherryview GPUs
                                                                      • You should also see some power management improvements, longer battery life and various other bug fixes
                                                                      • If you're running DragonFly, especially on a laptop, you'll want to get this stuff on your machine quick - big improvements all around
                                                                      • ***
                                                                        OpenBSD tames the userland
                                                                        • Last week we mentioned OpenBSD's tame framework getting support for file whitelists, and said that the userland integration was next - well, now here we are
                                                                        • Theo posted a mega diff of nearly 100 smaller diffs, adding tame support to many areas of the userland tools
                                                                        • It's still a work-in-progress version; there's still more to be added (including the file path whitelist stuff)
                                                                        • Some classic utilities are even being reworked to make taming them easier - the "w" command, for example
                                                                        • The diff provides some good insight on exactly how to restrict different types of utilities, as well as how easy it is to actually do so (and en masse)
                                                                        • More discussion can be found on HN, as one might expect
                                                                        • If you're a software developer, and especially if your software is in ports already, consider adding some more fine-grained tame support in your next release
                                                                        • ***
                                                                          Interview - Scott Courtney - [email protected] / @verisign

                                                                          vBSDCon 2015

                                                                          News Roundup
                                                                          OPNsense, beyond the fork
                                                                          • We first heard about OPNsense back in January, and they've since released nearly 40 versions, spanning over 5,000 commits
                                                                          • This is their first big status update, covering some of the things that've happened since the project was born
                                                                          • There's been a lot of community growth and participation, mass bug fixing, new features added, experimental builds with ASLR and much more - the report touches on a little of everything
                                                                          • ***
                                                                            LibreSSL nukes SSLv3
                                                                            • With their latest release, LibreSSL began to turn off SSLv3 support, starting with the "openssl" command
                                                                            • At the time, SSLv3 wasn't disabled entirely because of some things in the OpenBSD ports tree requiring it (apache being one odd example)
                                                                            • They've now flipped the switch, and the process of complete removal has started
                                                                            • From the Undeadly summary, "This is an important step for the security of the LibreSSL library and, by extension, the ports tree. It does, however, require lots of testing of the resulting packages, as some of the fallout may be at runtime (so not detected during the build). That is part of why this is committed at this point during the release cycle: it gives the community more time to test packages and report issues so that these can be fixed. When these fixes are then pushed upstream, the entire software ecosystem will benefit. In short: you know what to do!"
                                                                            • With this change and a few more to follow shortly, Libre*SSL* won't actually support SSL anymore - time to rename it "LibreTLS"
                                                                            • ***
                                                                              FreeBSD MPTCP updated
                                                                              • For anyone unaware, Multipath TCP is "an ongoing effort of the Internet Engineering Task Force's (IETF) Multipath TCP working group, that aims at allowing a Transmission Control Protocol (TCP) connection to use multiple paths to maximize resource usage and increase redundancy."
                                                                              • There's been work out of an Australian university to add support for it to the FreeBSD kernel, and the patchset was recently updated
                                                                              • Including in this latest version is an overview of the protocol, how to get it compiled in, current features and limitations and some info about the routing requirements
                                                                              • Some big performance gains can be had with MPTCP, but only if both the client and server systems support it - getting it into the FreeBSD kernel would be a good start
                                                                              • ***
                                                                                UEFI and GPT in OpenBSD
                                                                                • There hasn't been much fanfare about it yet, but some initial UEFI and GPT-related commits have been creeping into OpenBSD recently
                                                                                • Some support for UEFI booting has landed in the kernel, and more bits are being slowly enabled after review
                                                                                • This comes along with a number of other commits related to GPT, much of which is being refactored and slowly reintroduced
                                                                                • Currently, you have to do some disklabel wizardry to bypass the MBR limit and access more than 2TB of space on a single drive, but it should "just work" with GPT (once everything's in)
                                                                                • The UEFI bootloader support has been committed, so stay tuned for more updates as further progress is made
                                                                                • ***
                                                                                  Feedback/Questions
                                                                                  • John writes in
                                                                                  • Mason writes in
                                                                                  • Earl writes in
                                                                                  • ***
                                                                                    1 hr 7 min
                                                                                  • 104: Beverly Hills 25519

                                                                                    Coming up this week on the show, we'll be talking with Damien Miller of the OpenSSH team. Their 7.0 release has some major changes, including phasing out older crypto and changing one of the defaults that might surprise you.

                                                                                    This episode was brought to you by

                                                                                    Headlines
                                                                                    EdgeRouter Lite, meet OpenBSD
                                                                                    • The ERL, much like the Raspberry Pi and a bunch of other cheap boards, is getting more and more popular as more things get ported to run on it
                                                                                    • We've covered installing NetBSD and FreeBSD on them before, but OpenBSD has gotten a lot better support for them as well now (including the onboard storage in 5.8)
                                                                                    • Ted Unangst got a hold of one recently and kindly wrote up some notes about installing and using OpenBSD on it
                                                                                    • He covers doing a network install, getting the (slightly strange) bootloader working with u-boot and some final notes about the hardware
                                                                                    • More discussion can be found on Hacker News and various other places
                                                                                    • One thing to note about these devices: because of their MIPS64 processor, they'll have weaker ASLR than X86 CPUs (and no WX at all)
                                                                                    • ***
                                                                                      Design and Implementation of the FreeBSD Operating System interview
                                                                                      • For those who don't know, the "Design and Implementation of the FreeBSD Operating System" is a semi-recently-revived technical reference book for FreeBSD development
                                                                                      • InfoQ has a review of the book up for anyone who might be interested, but they also have an interview the authors
                                                                                      • "The book takes an approach to FreeBSD from inside out, starting with kernel services, then moving to process and memory management, I/O and devices, filesystems, IPC and network protocols, and finally system startup and shutdown. The book provides dense, technical information in a clear way, with lots of pseudo-code, diagrams, and tables to illustrate the main points."
                                                                                      • Aside from detailing a few of the chapters, the interview covers who the book's target audience is, some history of the project, long-term support, some of the newer features and some general OS development topics
                                                                                      • ***
                                                                                        Path list parameter in OpenBSD tame
                                                                                        • We've mentioned OpenBSD's relatively new "tame" subsystem a couple times before: it's an easy-to-implement "self-containment" framework, allowing programs to have a reduced feature set mode with even less privileges
                                                                                        • One of the early concerns from users of other process containment tools was that tame was too broad in the way it separated disk access - you could either read/write files or not, nothing in between
                                                                                        • Now there's the option to create a whitelist of specific files and directories that your binary is allowed to access, giving a much finer-grained set of controls to developers
                                                                                        • The next step is to add tame restraints to the OpenBSD userland utilities, which should probably be done by 5.9
                                                                                        • More discussion can be found on Reddit and Hacker News
                                                                                        • ***
                                                                                          FreeBSD & PC-BSD 10.2-RELEASE
                                                                                          • The FreeBSD team has released the second minor version bump to the 10.x branch, including all the fixes from 10-STABLE since 10.1 came out
                                                                                          • The Linux compatibility layer has been updated to support CentOS 6, rather than the much older Fedora Core base used previously, and the DRM graphics code has been updated to match Linux 3.8.13
                                                                                          • New installations (and newly-upgraded systems) will use the quarterly binary package set, rather than the rolling release model that most people are used to
                                                                                          • A VXLAN driver was added, allowing you to create virtual LANs by encapsulating the ethernet frame in a UDP packet
                                                                                          • The bhyve codebase is much newer, enabling support for AMD CPUs with SVM and AMD-V extensions
                                                                                          • ARM and ARM64 code saw some fixes and improvements, including SMP support on a few specific boards and support for a few new boards
                                                                                          • The bootloader now supports entering your GELI passphrase before loading the kernel in full disk encryption setups
                                                                                          • In addition to assorted userland fixes and driver improvements, various third party tools in the base system were updated: resolvconf, ISC NTPd, netcat, file, unbound, OpenSSL, sendmail
                                                                                          • Check the full release notes for the rest of the details and changes
                                                                                          • PC-BSD also followed with their 10.2-RELEASE, sporting a few more additional features
                                                                                          • ***
                                                                                            Interview - Damien Miller - [email protected] / @damienmiller

                                                                                            OpenSSH: phasing out broken crypto, default cipher changes

                                                                                            News Roundup
                                                                                            NetBSD at Open Source Conference Shimane
                                                                                            • We weren't the only ones away at conferences last week - the Japanese NetBSD guys are always raiding one event or another
                                                                                            • This time they had NetBSD running on some Sony NWS devices (MIPS-based)
                                                                                            • JavaStations were also on display - something we haven't ever seen before (made between 1996-2000)
                                                                                            • ***
                                                                                              BAFUG videos
                                                                                              • The Bay Area FreeBSD users group has been uploading some videos of their recent meetings
                                                                                              • Devin Teske hosts the first one, discussing adding GELI support to the bootloader, including some video demonstrations of how it works
                                                                                              • Shortly after beginning, Adrian Chadd takes over the conversation and they discuss various problems (and solutions) related to the bootloader - for example, how can we type encryption passwords with non-US keyboard layouts
                                                                                              • In a second video, Jordan Hubbard and Kip Macy introduce "NeXTBSD aka FreeBSD X"
                                                                                              • In it, they discuss their ideas of merging more Mac OS X features into FreeBSD (launchd to replace the init system, some APIs, etc)
                                                                                              • People should record presentations at their BSD users groups and send them to us
                                                                                              • ***
                                                                                                L2TP over IPSEC on OpenBSD
                                                                                                • If you've got an OpenBSD box and some Mac OS X clients that need secure communications, surprise: they can work together pretty well
                                                                                                • Using only the base tools in both operating systems, you can build a nice IPSEC setup for tunneling all your traffic
                                                                                                • This guide specifically covers L2TP, using npppd and pre-shared keys
                                                                                                • Server setup, client setup, firewall configuration and routing-related settings are all covered in detail
                                                                                                • ***
                                                                                                  Reliable bare metal with TrueOS
                                                                                                  • Imagine a server version of PC-BSD with some useful utilities preinstalled - that's basically TrueOS
                                                                                                  • This article walks you through setting up a FreeBSD -CURRENT server (using TrueOS) to create a pretty solid backup solution
                                                                                                  • Most importantly, he also covers how to keep everything redundant and deal with hard drives failing
                                                                                                  • The author chose to go with the -CURRENT branch because of the delay between regular releases, and newer features not making their way to users as fast as he'd like
                                                                                                  • Another factor is that there are no binary snapshots of FreeBSD -CURRENT that can be easily used for in-place upgrades, but with TrueOS (and some other BSDs) there are
                                                                                                  • ***
                                                                                                    Kernel WX on i386
                                                                                                    • We mentioned some big WX kernel changes in OpenBSD a while back, but the work was mainly for x86_64 CPU architecture (which makes sense; that's what most people run now)
                                                                                                    • Mike Larkin is back again, and isn't leaving the people with older hardware out, committing similar kernel work into the i386 platform now as well
                                                                                                    • Check out our interview with Mike for some more background info on memory protections like WX
                                                                                                    • ***
                                                                                                      Feedback/Questions
                                                                                                      • Markus writes in
                                                                                                      • Sean writes in
                                                                                                      • Theo writes in
                                                                                                      • ***
                                                                                                        1 hr 21 min
                                                                                                      • 103: Ubuntu Slaughters Kittens

                                                                                                        Allan's away at BSDCam this week, but we've still got an exciting episode for you. We sat down with Bryan Cantrill, CTO of Joyent, to talk about a wide variety of topics: dtrace, ZFS, pkgsrc, containers and much more. This is easily our longest interview to date!

                                                                                                        This episode was brought to you by

                                                                                                        Interview - Bryan Cantrill - [email protected] / @bcantrill

                                                                                                        BSD and Solaris history, illumos, dtrace, Joyent, pkgsrc, various topics (and rants)

                                                                                                        Feedback/Questions
                                                                                                        • Randy writes in
                                                                                                        • Jared writes in
                                                                                                        • Steve writes in
                                                                                                        • ***
                                                                                                          2 hr 1 min
                                                                                                        • 102: May Contain ZFS

                                                                                                          This week on the show, we'll be talking with Peter Toth. He's got a jail management system called "iocage" that's been getting pretty popular recently. Have we finally found a replacement for ezjail? We'll see how it stacks up.

                                                                                                          This episode was brought to you by

                                                                                                          Headlines
                                                                                                          FreeBSD on Olimex RT5350F-OLinuXino
                                                                                                          • If you haven't heard of the RT5350F-OLinuXino-EVB, you're not alone (actually, we probably couldn't even remember the name if we did know about it)
                                                                                                          • It's a small board with a MIPS CPU, two ethernet ports, wireless support and... 32MB of RAM
                                                                                                          • This blog series documents installing FreeBSD on the device, but it is quite a DIY setup at the moment
                                                                                                          • In part two of the series, he talks about the GPIO and how you can configure it
                                                                                                          • Part three is still in the works, so check the site later on for further progress and info
                                                                                                          • ***
                                                                                                            The modern OpenBSD home router
                                                                                                            • In a new series of blog posts, one guy takes you through the process of building an OpenBSD-based gateway for his home network
                                                                                                            • "It’s no secret that most consumer routers ship with software that’s flaky at best, and prohibitively insecure at worst"
                                                                                                            • Armed with a 600MHz Pentium III CPU, he shows the process of setting up basic NAT, firewalling and even getting hostap mode working for wireless
                                                                                                            • This guide also covers PPP and IPv6, in case you have those requirements
                                                                                                            • In a similar but unrelated series, another user does a similar thing - his post also includes details on reusing your consumer router as a wireless bridge
                                                                                                            • He also has a separate post for setting up an IPSEC VPN on the router
                                                                                                            • ***
                                                                                                              NetBSD at Open Source Conference 2015 Kansai
                                                                                                              • The Japanese NetBSD users group has teamed up with the Kansai BSD users group and Nagoya BSD users group to invade another conference
                                                                                                              • They had NetBSD running on all the usual (unusual?) devices, but some of the other BSDs also got a chance to shine at the event
                                                                                                              • Last time they mostly had ARM devices, but this time the centerpiece was an OMRON LUNA88k
                                                                                                              • They had at least one FreeBSD and OpenBSD device, and at least one NetBSD device even had Adobe Flash running on it
                                                                                                              • And what conference would be complete without an LED-powered towel
                                                                                                              • ***
                                                                                                                OpenSSH 7.0 released
                                                                                                                • The OpenSSH team has just finished up the 7.0 release, and the focus this time is deprecating legacy code
                                                                                                                • SSHv1 support is disabled, 1024 bit diffie-hellman-group1-sha1 KEX is disabled and the v00 cert format authentication is disabled
                                                                                                                • The syntax for permitting root logins has been changed, and is now called "prohibit-password" instead of "without-password" (this makes it so root can login, but only with keys) - all interactive authentication methods for root are also disabled by default now
                                                                                                                • If you're using an older configuration file, the "without-password" option still works, so no change is required
                                                                                                                • You can now control which public key types are available for authentication, as well as control which public key types are offered for host authentications
                                                                                                                • Various bug fixes and documentation improvements are also included
                                                                                                                • Aside from the keyboard-interactive and PAM-related bugs, this release includes one minor security fix: TTY permissions were too open, so users could write messages to other logged in users
                                                                                                                • In the next release, even more deprecation is planned: RSA keys will be refused if they're under 1024 bits, CBC-based ciphers will be disabled and the MD5 HMAC will also be disabled
                                                                                                                • ***
                                                                                                                  Interview - Peter Toth - [email protected] / @pannonp

                                                                                                                  Containment with iocage

                                                                                                                  News Roundup
                                                                                                                  More c2k15 reports
                                                                                                                  • A few more hackathon reports from c2k15 in Calgary are still slowly trickling in
                                                                                                                  • Alexander Bluhm's up first, and he continued improving OpenBSD's regression test suite (this ensures that no changes accidentally break existing things)
                                                                                                                  • He also worked on syslogd, completing the TCP input code - the syslogd in 5.8 will have TLS support for secure remote logging
                                                                                                                  • Renato Westphal sent in a report of his very first hackathon
                                                                                                                  • He finished up the VPLS implementation and worked on EIGRP (which is explained in the report) - the end result is that OpenBSD will be more easily deployable in a Cisco-heavy network
                                                                                                                  • Philip Guenther also wrote in, getting some very technical and low-level stuff done at the hackathon
                                                                                                                  • His report opens with "First came a diff to move the grabbing of the kernel lock for soft-interrupts from the ASM stubs to the C routine so that mere mortals can actually push it around further to reduce locking." - not exactly beginner stuff
                                                                                                                  • There were also some C-state, suspend/resume and general ACPI improvements committed, and he gives a long list of random other bits he worked on as well
                                                                                                                  • ***
                                                                                                                    FreeBSD jails, the hard way
                                                                                                                    • As you learned from our interview this week, there's quite a selection of tools available to manage your jails
                                                                                                                    • This article takes the opposite approach, using only the tools in the base system: ZFS, nullfs and jail.conf
                                                                                                                    • Unlike with iocage, ZFS isn't actually a requirement for this method
                                                                                                                    • If you are using it, though, you can make use of snapshots for making template jails
                                                                                                                    • ***
                                                                                                                      OpenSSH hardware tokens
                                                                                                                      • We've talked about a number of ways to do two-factor authentication with SSH, but what if you want it on both the client and server?
                                                                                                                      • This blog post will show you how to use a hardware token as a second authentication factor, for the "something you know, something you have" security model
                                                                                                                      • It takes you through from start to finish: formatting the token, generating keys, getting it integrated with sshd
                                                                                                                      • Most of this will apply to any OS that can run ssh, and the token used in the example can be found online for pretty cheap too
                                                                                                                      • ***
                                                                                                                        LibreSSL 2.2.2 released
                                                                                                                        • The LibreSSL team has released version 2.2.2, which signals the end of the 5.8 development cycle and includes many fixes
                                                                                                                        • At the c2k15 hackathon, developers uncovered dozens of problems in the OpenSSL codebase with the Coverity code scanner, and this release incorporates all those: dead code, memory leaks, logic errors (which, by the way, you really don't want in a crypto tool...) and much more
                                                                                                                        • SSLv3 support was removed from the "openssl" command, and only a few other SSLv3 bits remain - once workarounds are found for ports that specifically depend on it, it'll be removed completely
                                                                                                                        • Various other small improvements were made: DH params are now 2048 bits by default, more old workarounds removed, cmake support added, etc
                                                                                                                        • It'll be in 5.8 (due out earlier than usual) and it's in the FreeBSD ports tree as well
                                                                                                                        • ***
                                                                                                                          Feedback/Questions
                                                                                                                          • James writes in
                                                                                                                          • Stuart writes in
                                                                                                                          • ***
                                                                                                                            1 hr 9 min
                                                                                                                          • 101: I'll Fix Everything

                                                                                                                            Coming up this week, we'll be talking with Adrian Chadd about an infamous reddit thread he made. With a title like "what would you like to see in FreeBSD?" and hundreds of responses, well, we've got a lot to cover...

                                                                                                                            This episode was brought to you by

                                                                                                                            Headlines
                                                                                                                            OpenBSD, from distribution to project
                                                                                                                            • Ted Unangst has yet another interesting blog post up, this time covering a bit of BSD history and some different phases OpenBSD has been through
                                                                                                                            • It's the third part of his ongoing series of posts about OpenBSD removing large bits of code in favor of smaller replacements
                                                                                                                            • In the earliest days, OpenBSD collected and maintained code from lots of other projects (Apache, lynx, perl..)
                                                                                                                            • After importing new updates every release cycle, they eventually hit a transitional phase - things were updated, but nothing new was imported
                                                                                                                            • When the need arose, instead of importing a known tool to do the job, homemade replacements (OpenNTPD, OpenBGPD, etc) were slowly developed
                                                                                                                            • In more recent times, a lot of the imported code has been completely removed in favor of the homegrown daemons
                                                                                                                            • More discussion on HN and reddit
                                                                                                                            • ***
                                                                                                                              Remote ZFS mirrors, the hard way
                                                                                                                              • Backups to "the cloud" have become a hot topic in recent years, but most of them require trade-offs between convenience and security
                                                                                                                              • You have to trust (some of) the providers not to snoop on your data, but even the ones who allow you to locally encrypt files aren't without some compromise
                                                                                                                              • As the author puts it: "We don't need live synchronisation, cloud scaling, SLAs, NSAs, terms of service, lock-ins, buy-outs, up-sells, shut-downs, DoSs, fail whales, pay-us-or-we'll-deletes, or any of the noise that comes with using someone else's infrastructure."
                                                                                                                              • This guide walks you through setting up a FreeBSD server with ZFS to do secure offsite backups yourself
                                                                                                                              • The end result is an automatic system for incremental backups that's backed (pun intended) by ZFS
                                                                                                                              • If you're serious about keeping your important data safe and sound, you'll want to give this one a read - lots of detailed instructions
                                                                                                                              • ***
                                                                                                                                Various DragonFlyBSD updates
                                                                                                                                • The DragonFly guys have been quite busy this week, making an assortment of improvements throughout the tree
                                                                                                                                • Intel ValleyView graphics support was finally committed to the main repository
                                                                                                                                • While on the topic of graphics, they've also issued a call for testing for a DRM update (matching Linux 3.16's and including some more Broadwell fixes)
                                                                                                                                • Their base GCC compiler is also now upgraded to version 5.2
                                                                                                                                • If your hardware supports it, DragonFly will now use an accelerated console by default
                                                                                                                                • ***
                                                                                                                                  QuakeCon runs on OpenBSD
                                                                                                                                  • QuakeCon, everyone's favorite event full of rocket launchers, recently gave a mini-tour of their network setup
                                                                                                                                  • For such a crazy network, unsurprisingly, they seem to be big fans of OpenBSD and PF
                                                                                                                                  • In this video interview, one of the sysadmins discusses why he chose OpenBSD, what he likes about it, different packet queueing systems, how their firewalls and servers are laid out and much more
                                                                                                                                  • He also talks about why they went with vanilla PF, writing their ruleset from the ground up rather than relying on a prebuilt solution
                                                                                                                                  • There's also some general networking talk about nginx, reverse proxies, caching, fiber links and all that good stuff
                                                                                                                                  • Follow-up questions can be asked in this reddit thread
                                                                                                                                  • The host doesn't seem to be that familiar with the topics at hand, mentioning "OpenPF" multiple times among other things, so our listeners should get a kick out of it
                                                                                                                                  • ***
                                                                                                                                    Interview - Adrian Chadd - [email protected] / @erikarn

                                                                                                                                    Rethinking ways to improve FreeBSD

                                                                                                                                    News Roundup
                                                                                                                                    CII contributes to OpenBSD
                                                                                                                                    • If you recall back to when we talked to the OpenBSD foundation, one of the things Ken mentioned was the Core Infrastructure Initiative
                                                                                                                                    • In a nutshell, it's an organization of security experts that helps facilitate (with money, in most cases) the advancement of the more critical open source components of the internet
                                                                                                                                    • The group is organized by the Linux foundation, and gets its multi-million dollar backing from various big companies in the technology space (and donations from volunteers)
                                                                                                                                    • To ensure that OpenBSD and its related projects (OpenSSH, LibreSSL and PF likely being the main ones here) remain healthy, they've just made a large donation to the foundation - this makes them the first "platinum" level donor as well
                                                                                                                                    • While the exact amount wasn't disclosed, it was somewhere between $50,000 and $100,000
                                                                                                                                    • The donation comes less than a month after Microsoft's big donation, so it's good to see these large organizations helping out important open source projects that we depend on every day
                                                                                                                                    • ***
                                                                                                                                      Another BSDCan report
                                                                                                                                      • The FreeBSD foundation is still getting trip reports from BSDCan, and this one comes from Mark Linimon
                                                                                                                                      • In his report, he mainly covers the devsummit and some discussion with the portmgr team
                                                                                                                                      • One notable change for the upcoming 10.2 release is that the default binary repository is now the quarterly branch - Mark talks a bit about this as well
                                                                                                                                      • He also gives his thoughts on using QEMU for cross-compiling packages and network performance testing
                                                                                                                                      • ***
                                                                                                                                        Lumina 0.8.6 released
                                                                                                                                        • The PC-BSD team has released another version of Lumina, their BSD-licensed desktop environment
                                                                                                                                        • This is mainly a bugfix and performance improvement release, rather than one with lots of new features
                                                                                                                                        • The on-screen display widget should be much faster now, and the configuration now allows for easier selection of default applications (which browser, which terminal, etc)
                                                                                                                                        • Lots of non-English translation updates and assorted fixes are included as well
                                                                                                                                        • If you haven't given it a try yet, or maybe you're looking for a new window manager, Lumina runs on all the BSDs
                                                                                                                                        • ***
                                                                                                                                          More c2k15 hackathon reports
                                                                                                                                          • Even more reports from OpenBSD's latest hackathon are starting to pour in
                                                                                                                                          • The first one is from Alexandr Nedvedicky, one of their brand new developers (the guy from Oracle)
                                                                                                                                          • He talks about his experience going to a hackathon for the first time, and lays out some of the plans for integrating their (very large) SMP PF patch into OpenBSD
                                                                                                                                          • Second up is Andrew Fresh, who went without any specific plans, but still ended up getting some UTF8 work done
                                                                                                                                          • On the topic of ARMv7, "I did enjoy being there when things weren't working so [Brandon Mercer] could futilely try to explain the problem to me (I wasn't much help with kernel memory layouts). Fortunately others overheard and provided words of encouragement and some help which was one of my favorite parts of attending this hackathon."
                                                                                                                                          • Florian Obser sent in a report that includes a little bit of everything: setting up the hackathon's network, relayd and httpd work, bidirectional forwarding detection, airplane stories and even lots of food
                                                                                                                                          • Paul Irofti wrote in as well about his activities, which were mainly focused on the Octeon CPU architecture
                                                                                                                                          • He wrote a new driver for the onboard flash of a DSR-500 machine, which was built following the Common Flash Interface specification
                                                                                                                                          • This means that, going forward, OpenBSD will have out-of-the-box support for any flash memory device (often the case for MIPS and ARM-based embedded devices)
                                                                                                                                          • ***
                                                                                                                                            Feedback/Questions
                                                                                                                                            • Hamza writes in
                                                                                                                                            • Florian writes in
                                                                                                                                            • Dominik writes in
                                                                                                                                            • ***
                                                                                                                                              1 hr 34 min