BSD Now

BSD Now

Download on the App Store

All BSD Now episodes

  • 80: The PC-BSD Tour II

    We're away at AsiaBSDCon this week, but we've still got a packed episode for you. First up is a sequel to the "PC-BSD tour" segment from a while back, highlighting how ZFS boot environments work. After that, Justin Gibbs joins us to talk about the FreeBSD foundation's 15th anniversary. We'll return next week with a normal episode of BSD Now - which is of course, the place to B.. SD.

    This episode was brought to you by

    Special segment

    Demystifying Boot Environments in PC-BSD

    Interview - Justin Gibbs - [email protected] / @freebsdfndation

    The FreeBSD foundation's 15th anniversary

    Discussion

    The story of PC-BSD

    1 hr 21 min
  • 79: Just Add QEMU

    Coming up this time on the show, we'll be talking to Sean Bruno. He's been using poudriere and QEMU to cross compile binary packages, and has some interesting stories to tell about it. We've also got answers to viewer-submitted questions and all this week's news, on BSD Now - the place to B.. SD.

    This episode was brought to you by

    Headlines
    AsiaBSDCon 2015 schedule
    • Almost immediately after we finished recording an episode last week, the 2015 AsiaBSDCon schedule went up
    • This year's conference will be between 12-15 March at the Tokyo University of Science in Japan
    • The first and second days are for tutorials, as well as the developer summit and vendor summit
    • Days four and five are the main event with the presentations, which Kris and Allan both made the cut for once again
    • Not counting the ones that have yet to be revealed (as of the day we're recording this), there will be thirty-six different talks in all - four BSD-neutral, four NetBSD, six OpenBSD and twenty-two FreeBSD
    • Summaries of all the presentations are on the timetable page if you scroll down a bit
    • ***
      FreeBSD foundation updates and more
      • The FreeBSD foundation has posted a number of things this week, the first of which is their February 2015 status update
      • It provides some updates on the funded projects, including PCI express hotplugging and FreeBSD on the POWER8 platform
      • There's a FOSDEM recap and another update of their fundraising goal for 2015
      • They also have two new blog posts: a trip report from SCALE13x and a featured "FreeBSD in the trenches" article about how a small typo caused a lot of ZFS chaos in the cluster
      • "Then panic ensued. The machine didn't panic -- I did."
      • ***
        OpenBSD improves browser security
        • No matter what OS you run on your desktop, the most likely entry point for an exploit these days is almost certainly the web browser
        • Ted Unangst writes in to the OpenBSD misc list to introduce a new project he's working on, simply titled "improving browser security"
        • He gives some background on the WX memory protection in the base system, but also mentions that some applications in ports don't adhere to it
        • For it to be enforced globally instead of just recommended, at least one browser (or specifically, one JIT engine) needs to be fixed to use it
        • "A system that is 'all WX except where it's not' is the same as a system that's not WX. We've worked hard to provide a secure foundation for programs; we'd like to see them take advantage of it."
        • The work is being supported by the OpenBSD foundation, and we'll keep you updated on this undertaking as more news about it is released
        • There's also some discussion on Hacker News and Undeadly about it
        • ***
          NetBSD at Open Source Conference 2015 Tokyo
          • The Japanese NetBSD users group has once again invaded a conference, this time in Tokyo
          • There's even a spreadsheet of all the different platforms they were showing off at the booth (mostly ARM, MIPS, PowerPC and Landisk this time around)
          • If you just can't get enough strange devices running BSD, check the mailing list post for lots of pictures
          • Their next target is, as you might guess, AsiaBSDCon 2015 - maybe we'll run into them
          • ***
            Interview - Sean Bruno - [email protected] / @franknbeans

            Cross-compiling packages with poudriere and QEMU

            News Roundup
            The Crypto Bone
            • The Crypto Bone is a new device that's aimed at making encryption and secure communications easier and more accessible
            • Under the hood, it's actually just a Beaglebone board, running stock OpenBSD with a few extra packages
            • It includes a web interface for configuring keys and secure tunnels
            • The source code is freely available for anyone interested in hacking on it (or auditing the crypto), and there's a technical overview of how everything works on their site
            • If you don't want to teach your mom how to use PGP, buy her one of these(?)
            • ***
              BSD in the 2015 Google Summer of Code
              • For those who don't know, GSoC is a way for students to get paid to work on a coding project for an open source organization
              • Good news: both FreeBSD and OpenBSD were accepted for the 2015 event
              • FreeBSD has a wiki page of ideas for people to work on
              • OpenBSD also has an ideas page where you can see some of the initial things that might be interesting
              • If you're a student looking to get involved with BSD development, this might be a great opportunity to even get paid to do it
              • Who knows, you may even end up on the show if you work on a cool project
              • GSoC will be accepting idea proposals starting March 16th, so you have some time to think about what you'd like to hack on
              • ***
                pfSense 2.3 roadmap
                • The pfSense team has posted a new blog entry, detailing some of their plans for future versions
                • PPTP will finally be deprecated, PHP will be updated to 5.6 and other packages will also get updated to newer versions
                • PBIs are scheduled to be replaced with native pkgng packages
                • Version 3.0, something coming much later, will be a major rewrite that gets rid of PHP entirely
                • Their ultimate goal is for pfSense to be a package you can install atop of a regular FreeBSD install, rather than a repackaged distribution
                • ***
                  PCBSD 10.1.2 security features
                  • PCBSD 10.1.2 will include a number of cool security features, some of which are detailed in a new blog post
                  • A new "personacrypt" utility is introduced, which allows for easy encryption and management of external drives for your home directory
                  • Going along with this, it also has a "stealth mode" that allows for one-time temporary home directories (but it doesn't self-destruct, don't worry)
                  • The LibreSSL integration also continues, and now packages will be built with it by default
                  • If you're using the Life Preserver utility for backups, it will encrypt the remote copy of your files in the next update
                  • They've also been working on introducing some new options to enable tunneling your traffic through Tor
                  • There will now be a fully-transparent proxy option that utilizes the switch to IPFW we mentioned last week
                  • A small disclaimer: remember that many things can expose your true IP when using Tor, so use this option at your own risk if you require full anonymity
                  • Look forward to Kris wearing a Tor shirt in future episodes
                  • ***
                    Feedback/Questions
                    • Antonio writes in
                    • Chris writes in
                    • Van writes in
                    • Stu writes in
                    • ***
                      Mailing List Gold
                      • H
                      • Pay up, mister Free
                      • Heritage protected
                      • Blind leading the blind
                      • What are the chances
                      • ***
                        1 hr 25 min
                      • 78: From the Foundation (Part 2)

                        This week we continue our two-part series on the activities of various BSD foundations. Ken Westerback joins us today to talk all about the OpenBSD foundation and what it is they do. We've also got answers to your emails and all the latest news, on BSD Now - the place to B.. SD.

                        This episode was brought to you by

                        Headlines
                        BSDCan 2015 schedule
                        • The list of presentations for the upcoming BSDCan conference has been posted, and the time schedule should be up shortly as well
                        • Just a reminder: it's going to be held on June 12th and 13th at the University of Ottawa in Canada
                        • This year's conference will have a massive fifty talks, split up between four tracks instead of three (but unfortunately a person can only be in one place at a time)
                        • Both Allan and Kris had at least one presentation accepted, and Allan will also be leading a few "birds of a feather" gatherings
                        • In total, there will be three NetBSD talks, five OpenBSD talks, eight BSD-neutral talks, thirty-five FreeBSD talks and no DragonFly talks
                        • That's not the ideal balance we'd hope for, but BSDCan says they'll try to improve that next year
                        • Those numbers are based on the speaker's background, or any past presentations, for the few whose actual topic wasn't made obvious from the title (so there may be a small margin of error)
                        • Michael Lucas (who's on the BSDCan board) wrote up a blog post about the proposals and rejections this year
                        • If you can't make it this year, don't worry, we'll be sure to announce the recordings when they're made available
                        • We also interviewed Dan Langille about the conference and what to expect this year, so check that out too
                        • ***
                          SSL interception with relayd
                          • There was a lot of commotion recently about superfish, a way that Lenovo was intercepting HTTPS traffic and injecting advertisements
                          • If you're running relayd, you can mimic this evil setup on your own networks (just for testing of course…)
                          • Reyk Floeter, the guy who wrote relayd, came up a blog post about how to do just that
                          • It starts off with some backstory and some of the things relayd is capable of
                          • relayd can run as an SSL server to terminate SSL connections and forward them as plain TCP and, conversely, run as an SSL client to terminal plain TCP connections and tunnel them through SSL
                          • When you combine these two, you end up with possibilities to filter between SSL connections, effectively creating a MITM scenario
                          • The post is very long, with lots of details and some sample config files - the whole nine yards
                          • ***
                            OPNsense 15.1.6.1 released
                            • The OPNsense team has released yet another version in rapid succession, but this one has some big changes
                            • It's now based on FreeBSD 10.1, with all the latest security patches and driver updates (as well as some in-house patches)
                            • This version also features a new tool for easily upgrading between versions, simply called "opnsense-update" (similar to freebsd-update)
                            • It also includes security fixes for BIND and PHP, as well as some other assorted bug fixes
                            • The installation images have been laid out in a clean way: standard CD and USB images that default to VGA, as well as USB images that default to a console output (for things like Soekris and PCEngines APU boards that only have serial ports)
                            • With the news of m0n0wall shutting down last week, they've also released bare minimum hardware specifications required to run OPNsense on embedded devices
                            • Encouraged by last week's mention of PCBSD trying to cut ties with OpenSSL, OPNsense is also now providing experimental images built against LibreSSL for testing (and have instructions on how to switch over without reinstalling)
                            • ***
                              OpenBSD on a Minnowboard Max
                              • What would our show be without at least one story about someone installing BSD on a weird device
                              • For once, it's actually not NetBSD…
                              • This article is about the minnowboard max, a very small X86-based motherboard that looks vaguely similar to a Raspberry Pi
                              • It's using an Atom CPU instead of ARM, so overall application compatibility should be a bit better (and it even has AES-NI, so crypto performance will be much better than a normal Atom)
                              • The author describes his entirely solid-state setup, noting that there's virtually no noise, no concern about hard drives dying and very reasonable power usage
                              • You'll find instructions on how to get OpenBSD installed and going throughout the rest of the article
                              • Have a look at the spec sheet if you're interested, they make for cool little BSD boxes
                              • ***
                                Netmap for 40gbit NICs in FreeBSD
                                • Luigi Rizzo posted an announcement to the -current mailing list, detailing some of the work he's just committed
                                • The ixl(4) driver, that's one for the X1710 40-gigabit card, now has netmap support
                                • It's currently in 11-CURRENT, but he says it works in 10-STABLE and will be committed there too
                                • This should make for some serious packet-pushing power
                                • If you have any network hardware like this, he would appreciate testing for the new code
                                • ***
                                  Interview - Ken Westerback - [email protected]

                                  The OpenBSD foundation's activities

                                  News Roundup
                                  s2k15 hackathon report: dhclient/dhcpd/fdisk
                                  • The second trip report from the recent OpenBSD hackathon has been published, from the very same guy we just talked to
                                  • Ken was also busy, getting a few networking-related things fixed and improved in the base system
                                  • He wrote a few new small additions for dhclient and beefed up the privsep security, as well as some fixes for tcpdump and dhcpd
                                  • The fdisk tool also got worked on a bit, enabling OpenBSD to properly wipe GPT tables on a previously-formatted disk so you can do a normal install on it
                                  • There's apparently plans for "dhclientng" - presumably a big improvement (rewrite?) of dhclient
                                  • ***
                                    FreeBSD beginner video series
                                    • A new series of videos has started on YouTube, aimed at helping total beginners learn about FreeBSD
                                    • We usually assume that people who watch the show are already familiar with basic concepts, but they'd be a great introduction to any of your friends that are looking to get started with BSD and need a helping hand
                                    • So far, he's covered how to get FreeBSD, an introduction to installing in VirtualBox, a simple installation or a more in-depth manual installation, navigating the filesystem, basic ssh use, managing users and groups and finally some basic editing with vi and a few other topics
                                    • Everyone's gotta start somewhere and, with a little bit of initial direction, today's newbies could be tomorrow's developers
                                    • It should be an ongoing series with more topics to come
                                    • ***
                                      NetBSD tests: zero unexpected failures
                                      • The NetBSD guys have a new blog post up about their testing suite for all the CPU architectures
                                      • They've finally gotten the number of "expected" failures down to zero on a few select architectures
                                      • Results are published on a special release engineering page, so you can have a look if you're interested
                                      • The rest of the post links to the "top performers" (ones with less than ten failure) in the -current branch
                                      • ***
                                        PCBSD switches to IPFW
                                        • The PCBSD crew continues their recent series of switching between major competing features
                                        • This time, they've switched the default firewall away from PF to FreeBSD's native IPFW firewall
                                        • Look forward to Kris wearing a "keep calm and use IPFW" shir- wait
                                        • ***
                                          Feedback/Questions
                                          • Sean writes in
                                          • Dan writes in
                                          • Florian writes in
                                          • Sean writes in
                                          • Chris writes in
                                          • ***
                                            Mailing List Gold
                                            • VCS flamebait
                                            • Hidden agenda
                                            • ***
                                              1 hr 10 min
                                            • 77: Noah's L2ARC

                                              This week on the show, we'll be chatting with Alex Reece and Matt Ahrens about what's new in the world of OpenZFS. After that, we're starting a new tutorial series on submitting your first patch. All the latest BSD news and answers to your emails, coming up on BSD Now - the place to B.. SD.

                                              This episode was brought to you by

                                              Headlines
                                              Revisiting FreeBSD after 20 years
                                              • With comments like "has Linux lost its way?" floating around, a Debian developer was prompted to revisit FreeBSD after nearly two decades
                                              • This blog post goes through his experiences trying out a modern BSD variant, and includes the good, the bad and the ugly - not just praise this time
                                              • He loves ZFS and the beadm tool, and finds the FreeBSD implementation to be much more stable than ZoL
                                              • On the topic of jails, he summarizes: "Linux has tried so hard to get this right, and fallen on its face so many times, a person just wants to take pity sometimes. We’ve had linux-vserver, openvz, lxc, and still none of them match what FreeBSD jails have done for a long time."
                                              • The post also goes through the "just plain different" aspects of a complete OS vs. a distribution of various things pieced together
                                              • Finally, he includes some things he wasn't so happy about: subpar laptop support, virtualization being a bit behind, a myriad of complaints about pkgng and a few other things
                                              • There was some decent discussion on Hacker News about this article too, with counterpoints from both sides
                                              • ***
                                                s2k15 hackathon report: network stack SMP
                                                • The first trip report from the recent OpenBSD hackathon in Australia has finally been submitted
                                                • One of the themes of this hackathon was SMP (symmetric multiprocessing) improvement, and Martin Pieuchot did some hacking on the network stack
                                                • If you're not familiar with him, he gave a presentation at EuroBSDCon last year, titled Taming OpenBSD Network Stack Dragons
                                                • Teaming up with David Gwynne, they worked on getting some bits of the networking code out of the big lock
                                                • Hopefully more trip reports will be sent in during the coming weeks
                                                • Most of the big code changes should probably appear after the 5.7-release testing period
                                                • ***
                                                  From BIND to NSD and Unbound
                                                  • If you've been running a DNS server on any of the BSDs, you've probably noticed a semi-recent trend: BIND being replaced with Unbound
                                                  • BIND was ripped out in FreeBSD 10.0 and will be gone in OpenBSD 5.7, but both systems include Unbound now as an alternative
                                                  • OpenBSD goes a step further, also including NSD in the base system, whereas you'll need to install that from ports on FreeBSD
                                                  • Instead of one daemon doing everything like BIND tried to do, this new setup splits the authoritative nameserver and the caching resolver into two separate daemons
                                                  • This post takes you through the transitional phase of going from a single BIND setup to a combination of NSD and Unbound
                                                  • All in all, everyone wins here, as there will be a lot less security advisories in both BSDs because of it...
                                                  • ***
                                                    m0n0wall calls it quits
                                                    • The original, classic BSD firewall distribution m0n0wall has finally decided to close up shop
                                                    • For those unfamiliar, m0n0wall was a FreeBSD-based firewall project that put a lot of focus on embedded devices: running from a CF card, CD, USB drive or even a floppy disk
                                                    • It started over twelve years ago, which is pretty amazing when you consider that's around half of FreeBSD itself's lifespan
                                                    • The project was probably a lot of people's first encounter with BSD in any form
                                                    • If you were a m0n0wall user, fear not, you've got plenty of choices for a potential replacement: doing it yourself with something like FreeBSD or OpenBSD, or going the premade route with something like pfSense, OPNsense or the BSD Router Project
                                                    • The founder's announcement includes these closing words: "m0n0wall has served as the seed for several other well known open source projects, like pfSense, FreeNAS and AskoziaPBX. The newest offspring, OPNsense, aims to continue the open source spirit of m0n0wall while updating the technology to be ready for the future. In my view, it is the perfect way to bring the m0n0wall idea into 2015, and I encourage all current m0n0wall users to check out OPNsense and contribute if they can."
                                                    • While m0n0wall didn't get a lot of on-air mention, surely a lot of our listeners will remember it fondly
                                                    • ***
                                                      Interview - Alex Reece & Matt Ahrens - [email protected] & [email protected] / @openzfs

                                                      What's new in OpenZFS

                                                      Tutorial
                                                      Making your first patch (OpenBSD)
                                                      News Roundup
                                                      Overlaying remote LANs with OpenBSD's VXLAN
                                                      • Have you ever wanted to "merge" multiple remote LANs? OpenBSD's vxlan(4) is exactly what you need
                                                      • This article talks about using it to connect two virtualized infrastructures on different ESXi servers
                                                      • It gives a bit of networking background first, in case you're not quite up to speed on all this stuff
                                                      • This tool opens up a lot of very cool possibilities, even possibly doing a "remote" LAN party
                                                      • Be sure to check the AsiaBSDCon talk about VXLANs if you haven't already
                                                      • ***
                                                        2020, year of the PCBSD desktop
                                                        • Here we have a blog post about BSD on the desktop, straight from a KDE developer
                                                        • He predicts that PCBSD is going to take off before the year 2020, possibly even overtaking Linux's desktop market share (small as it may be)
                                                        • With PCBSD making a preconfigured FreeBSD desktop a reality, and the new KMS work, the author is impressed with how far BSD has come as a viable desktop option
                                                        • ZFS and easy-to-use boot environments top the list of things he says differentiate the BSD desktop experience from the Linux one
                                                        • There was also some discussion on Slashdot that might be worth reading
                                                        • ***
                                                          OpenSSH host key rotation, redux
                                                          • We mentioned the new OpenSSH host key rotation and other goodies in a previous episode, but things have changed a little bit since then
                                                          • djm says "almost immediately after smugly declaring 'mission accomplished', the bug reports started rolling in."
                                                          • There were some initial complaints from developers about the new options, and a serious bug shortly thereafter
                                                          • After going back to the drawing board, he refactored some of the new code (and API) and added some more regression tests
                                                          • Most importantly, the bigger big fix was described as: "a malicious server (say, "host-a") could advertise the public key of another server (say, "host-b"). Then, when the client subsequently connects back to host-a, instead of answering the connection as usual itself, host-a could proxy the connection to host-b. This would cause the user to connect to host-b when they think they are connecting to host-a, which is a violation of the authentication the host key is supposed to provide."
                                                          • None of this code has been in a formal OpenSSH release just yet, but hopefully it will soon
                                                          • ***
                                                            PCBSD tries out LibreSSL
                                                            • PCBSD users may soon be seeing a lot less security problems because of two recent changes
                                                            • After switching over to OpenNTPD last week, PCBSD decides to give the portable LibreSSL a try too
                                                            • Note that this is only for the packages built from ports, not the base system unfortunately
                                                            • They're not the first ones to do this - OPNsense has been experimenting with replacing OpenSSL in their ports tree for a little while now, and of course all of OpenBSD's ports are built against it
                                                            • A good number of patches are still not committed in vanilla FreeBSD ports, so they had to borrow some from Bugzilla
                                                            • Look forward to Kris wearing a "keep calm and abandon OpenSSL" shirt in the near future
                                                            • ***
                                                              Feedback/Questions
                                                              • Benjamin writes in
                                                              • Mike writes in
                                                              • Brad writes in
                                                              • ***
                                                                Mailing List Gold
                                                                • Debian Dejavu
                                                                • Package gone missing
                                                                • ***
                                                                  1 hr 27 min
                                                                • 76: Time for a Change

                                                                  This week, we'll be talking to Henning Brauer about OpenNTPD and its recently revived portable version. After that, we'll be discussing different ways to securely tunnel your traffic: specifically OpenVPN, IPSEC, SSH and Tor. All that and the latest news, coming up on BSD Now - the place to B.. SD.

                                                                  This episode was brought to you by

                                                                  Headlines
                                                                  Strange timer bug in FreeBSD 11
                                                                  • Peter Wemm wrote in to the FreeBSD -CURRENT mailing list with an interesting observation
                                                                  • Running the latest development code in the infrastructure, the clock would stop keeping time after 24 days of uptime
                                                                  • This meant things like cron and sleep would break, TCP/IP wouldn't time out or resend packets, a lot of things would break
                                                                  • A workaround until it was fixed was to reboot every 24 days, but this is BSD we're talking about - uptime is our game
                                                                  • An initial proposal was adding a CFLAG to the build options which makes makes signed arithmetic wrap
                                                                  • Peter disagreed and gave some background, offering a different patch to fix the issue and detect it early if it happens again
                                                                  • Ultimately, the problem was traced back to an issue with a recent clang import
                                                                  • It only affected -CURRENT, not -RELEASE or -STABLE, but was definitely a bizarre bug to track down
                                                                  • ***
                                                                    An OpenBSD mail server
                                                                    • There's been a recent influx of blog posts about building a BSD mail server for some reason
                                                                    • In this fancy series of posts, the author sets up OpenSMTPD in its native OpenBSD home, whereas previous posts have been aimed at FreeBSD and Linux
                                                                    • In addition to the usual steps, this one also covers DKIMproxy, ClamAV for scanning attachments, Dovecot for IMAP and also multiple choices of spam filtering: spamd or SpamAssassin
                                                                    • It also shows you how to set up Roundcube for building a web interface, using the new in-base httpd
                                                                    • That means this is more of a "complete solution" - right down to what the end users see
                                                                    • The series is split up into categories so it's very easy to follow along step-by-step
                                                                    • ***
                                                                      How DragonFlyBSD uses git
                                                                      • DragonFlyBSD, along with PCBSD and EdgeBSD, uses git as its version control system for the system source code
                                                                      • In a series of posts, Matthew Dillon (the project lead) details their internal setup
                                                                      • They're using vanilla git over ssh, with the developers' accounts set to git-only (no shell access)
                                                                      • The maintainers of the server are the only ones with shell access available
                                                                      • He also details how a cron job syncs from the master to a public box that anyone can check out code from
                                                                      • It would be interesting to hear about how other BSD projects manage their master source repository
                                                                      • ***
                                                                        Why not try PCBSD?
                                                                        • ITwire, another more mainstream tech site, published a recent article about switching to PCBSD
                                                                        • They interview a guy named Kris that we've never heard of before
                                                                        • In the article, they touch on how easy it can potentially be for Linux users looking to switch over to the BSD side - lots of applications are exactly the same
                                                                        • "With the growing adoption of systemd, dissatisfaction with Linux has reached proportions not seen in recent years, to the extent that people have started talking of switching to FreeBSD."
                                                                        • If you have some friends who complain to you about systemd all the time, this might be a good article to show them
                                                                        • ***
                                                                          Interview - Henning Brauer - [email protected] / @henningbrauer

                                                                          OpenNTPD and its portable variant

                                                                          News Roundup
                                                                          Authenticated time in OpenNTPD
                                                                          • We recorded that interview with Henning just a few days ago, and it looks like part of it may be outdated already
                                                                          • While at the hackathon, some developers came up with an alternate way to get authenticated NTP responses
                                                                          • You can now add an HTTPS URL to your ntpd.conf in addition to the time server pool
                                                                          • OpenNTPD will query it (over TLS, with CA verification) and look at the date sent in the HTTPS header
                                                                          • It's not intended to be a direct time source, just a constraint to keep things within reason
                                                                          • If you receive regular NTP packets that are way off from the TLS packet, those will be discarded and the server(s) marked as invalid
                                                                          • Henning and Theo also weigh in to give some of the backstory on the idea
                                                                          • Lots more detail can be found in Reyk's email explaining the new feature (and it's optional of course)
                                                                          • ***
                                                                            NetBSD at Open Source Conference 2015 Oita and Hamanako
                                                                            • It's been a while since we've featured one of these trip reports, but the Japanese NetBSD users group is still doing them
                                                                            • This time the conferences were in Oita and Hamanako, Japan
                                                                            • Machines running NetBSD included the CubieBoard2 Allwinner A20, Raspberry Pi and Banana Pi, Sharp NetWalker and a couple Zaurus devices
                                                                            • As always, they took lots of pictures from the event of NetBSD on all these weird machines
                                                                            • ***
                                                                              Poudriere in a jail
                                                                              • A common question we get about our poudriere tutorial is "how do I run it in a jail?" - this blog post is about exactly that
                                                                              • It takes you through the networking setup, zpool setup, nginx setup, making the jail and finally poking the right holes in the jail to allow poudriere to work its magic
                                                                              • ***
                                                                                Bruteblock, another way to stop bruteforce
                                                                                • We've mentioned a few different ways to stop ssh bruteforce attempts in the past: fail2ban, denyhosts, or even just with pf's built-in rate limiting
                                                                                • Bruteblock is a similar tool, but it's not just for ssh logins - it can do a number of other services
                                                                                • It can also work directly with IPFW, which is a plus if you're using that as your firewall
                                                                                • Add a few lines to your syslog.conf and bruteblock will get executed automatically
                                                                                • The rest of the article takes you through the different settings you can configure for blocking
                                                                                • ***
                                                                                  New iwm(4) driver and cross-polination
                                                                                  • The OpenBSD guys recently imported a new "iwm" driver for newer Intel 7260 wireless cards (commonly found in Thinkpads)
                                                                                  • NetBSD wasted no time in porting it over, giving a bit of interesting backstory
                                                                                  • According to Antti Kantee, "it was created for OpenBSD by writing and porting a NetBSD driver which was developed in a rump kernel in Linux userspace"
                                                                                  • Both projects would appreciate further testing if you have the hardware and can provide useful bug reports
                                                                                  • Maybe FreeBSD and DragonFly will port it over too, or come up with something that's partially based on the code
                                                                                  • ***
                                                                                    PCBSD current images
                                                                                    • The first PCBSD -CURRENT images should be available this weekend
                                                                                    • This image will be tagged 11.0-CURRENTFEB2015, with planned monthly updates
                                                                                    • For the more adventurous this will allow testing both FreeBSD and PCBSD bleeding edge
                                                                                    • ***
                                                                                      Feedback/Questions
                                                                                      • Antonio writes in
                                                                                      • Richard writes in
                                                                                      • Charlie writes in
                                                                                      • Ben writes in
                                                                                      • ***
                                                                                        Mailing List Gold
                                                                                        • A systematic effort
                                                                                        • GCC's lunch
                                                                                        • Hopes and dreams
                                                                                        • ***
                                                                                          Discussion
                                                                                          Comparison of ways to securely tunnel your traffic
                                                                                          • OpenVPN, OpenBSD IKED, FreeBSD IPSEC, OpenSSH, Tor
                                                                                          • ***
                                                                                            1 hr 30 min
                                                                                          • 75: From the Foundation (Part 1)

                                                                                            This week on the show, we'll be starting a two-part series detailing the activities of various BSD foundations. Ed Maste from the FreeBSD foundation will be joining us this time, and we'll talk about what all they've been up to lately. All this week's news and answers to viewer-submitted questions, coming up on BSD Now - the place to B.. SD.

                                                                                            This episode was brought to you by

                                                                                            Headlines
                                                                                            Key rotation in OpenSSH 6.8
                                                                                            • Damien Miller posted a new blog entry about one of the features in the upcoming OpenSSH 6.8
                                                                                            • Times changes, key types change, problems are found with old algorithms and we switch to new ones
                                                                                            • In OpenSSH (and the SSH protocol) however, there hasn't been an easy way to rotate host keys... until now
                                                                                            • With this change, when you connect to a server, it will log all the server's public keys in your known_hosts file, instead of just the first one used during the key exchange
                                                                                            • Keys that are in your known_hosts file but not on the server will get automatically removed
                                                                                            • This fixes the problem of old servers still authenticating with ancient DSA or small RSA keys, as well as providing a way for the server to rotate keys every so often
                                                                                            • There are some instructions in the blog post for how you'll be able to rotate host keys and eventually phase out the older ones - it's really simple
                                                                                            • There are a lot of big changes coming in OpenSSH 6.8, so we'll be sure to cover them all when it's released
                                                                                            • ***
                                                                                              NetBSD Banana Pi images
                                                                                              • We've talked about the Banana Pi a bit before - it's a small ARM board that's comparable to the popular Raspberry Pi
                                                                                              • Some NetBSD -current images were posted on the mailing list, so now you can get some BSD action on one of these little devices
                                                                                              • There are even a set of prebuilt pkgsrc packages, so you won't have to compile everything initially
                                                                                              • The email includes some steps to get everything working and an overview of what comes with the image
                                                                                              • Also check the wiki page for some related boards and further instructions on getting set up
                                                                                              • On a related note, NetBSD also recently got GPU acceleration working for the Raspberry Pi (which is a first for their ARM port)
                                                                                              • ***
                                                                                                LibreSSL shirts and other BSD goodies
                                                                                                • If you've been keeping up with the LibreSSL saga and want a shirt to show your support, they're finally available to buy online
                                                                                                • There are two versions, either "keep calm and use LibreSSL" or the slightly more snarky "keep calm and abandon OpenSSL"
                                                                                                • While on the topic, we thought it would be good to make people aware of shirts for other BSD projects too
                                                                                                • You can get some FreeBSD, PCBSD and FreeNAS stuff from the FreeBSD mall site
                                                                                                • OpenBSD recently launched their new store, but the selection is still a bit limited right now
                                                                                                • NetBSD has a couple places where you can buy shirts and other apparel with the flag logo on it
                                                                                                • We couldn't find any DragonFlyBSD shirts unfortunately, which is a shame since their logo is pretty cool
                                                                                                • Profits from the sale of the gear go back to the projects, so pick up some swag and support your BSD of choice (and of course wear them at any Linux events you happen to go to)
                                                                                                • ***
                                                                                                  OPNsense 15.1.4 released
                                                                                                  • The OPNsense guys have been hard at work since we spoke to them, fixing lots of bugs and keeping everything up to date
                                                                                                  • A number of versions have come out since then, with 15.1.4 being the latest (assuming they haven't updated it again by the time this airs)
                                                                                                  • This version includes the latest round of FreeBSD kernel security patches, as well as minor SSL and GUI fixes
                                                                                                  • They're doing a great job of getting upstream fixes pushed out to users quickly, a very welcome change
                                                                                                  • A developer has also posted an interesting write-up titled "Development Workflow in OPNsense"
                                                                                                  • If any of our listeners are trying OPNsense as their gateway firewall, let us know how you like it
                                                                                                  • ***
                                                                                                    Interview - Ed Maste - [email protected]

                                                                                                    The FreeBSD foundation's activities

                                                                                                    News Roundup
                                                                                                    Rolling with OpenBSD snapshots
                                                                                                    • One of the cool things about the -current branch of OpenBSD is that it doesn't require any compiling
                                                                                                    • There are signed binary snapshots being continuously re-rolled and posted on the FTP sites for every architecture
                                                                                                    • This provides an easy method to get onboard with the latest features, and you can also easily upgrade between them without reformatting or rebuilding
                                                                                                    • This blog post will walk you through the process of using snapshots to stay on the bleeding edge of OpenBSD goodness
                                                                                                    • After using -current for seven weeks, the author comes to the conclusion that it's not as unstable as people might think
                                                                                                    • He's now helping test out patches and new ports since he's running the same code as the developers
                                                                                                    • ***
                                                                                                      Signing pkgsrc packages
                                                                                                      • As of the time this show airs, the official pkgsrc packages aren't cryptographically signed
                                                                                                      • Someone from Joyent has been working on that, since they'd like to sign their pkgsrc packages for SmartOS
                                                                                                      • Using GNUPG pulled in a lot of dependencies, and they're trying to keep the bootstrapping process minimal
                                                                                                      • Instead, they're using netpgpverify, a fork of NetBSD's netpgp utility
                                                                                                      • Maybe someday this will become the official way to sign packages in NetBSD?
                                                                                                      • ***
                                                                                                        FreeBSD support model changes
                                                                                                        • Starting with 11.0-RELEASE, which won't be for a few months probably, FreeBSD releases are going to have a different support model
                                                                                                        • The plan is to move "from a point release-based support model to a set of releases from a branch with a guaranteed support lifetime"
                                                                                                        • There will now be a five-year lifespan for each major release, regardless of how many minor point releases it gets
                                                                                                        • This new model should reduce the turnaround time for errata and security patches, since there will be a lot less work involved to build and verify them
                                                                                                        • Lots more detail can be found in the mailing list post, including some important changes to the -STABLE branch, so give it a read
                                                                                                        • ***
                                                                                                          OpenSMTPD, Dovecot and SpamAssassin
                                                                                                          • We've been talking about setting up your own BSD-based mail server on the last couple episodes
                                                                                                          • Here we have another post from a user setting up OpenSMTPD, including Dovecot for IMAP and SpamAssassin for spam filtering
                                                                                                          • A lot of people regularly ask the developers how to combine OpenSMTPD with spam filtering, and this post should finally reveal the dark secrets
                                                                                                          • In addition, it also covers SSL certificates, PKI and setting up MX records - some things that previous posts have lacked
                                                                                                          • Just be sure to replace those "apt-get" commands and "eth0" interface names with something a bit more sane…
                                                                                                          • In related news, OpenSMTPD has got some interesting new features coming soon
                                                                                                          • They're also planning to switch to LibreSSL by default for the portable version
                                                                                                          • ***
                                                                                                            FreeBSD 10 on the Thinkpad T400
                                                                                                            • BSD laptop articles are becoming popular it seems - this one is about FreeBSD on a T400
                                                                                                            • Like most of the ones we've mentioned before, it shows you how to get a BSD desktop set up with all the little tweaks you might not think to do
                                                                                                            • This one differs in that it takes a more minimal approach to graphics: instead of a full-featured environment like XFCE or KDE, it uses the i3 tiling window manager
                                                                                                            • If you're a commandline junkie that basically just uses X11 to run more than one terminal at once, this might be an ideal setup for you
                                                                                                            • The post also includes some bits about the DRM and KMS in the 10.x branch, as well as vt
                                                                                                            • ***
                                                                                                              PC-BSD 10.1.1 Released
                                                                                                              • Automatic background updater now in
                                                                                                              • Shiny new Qt5 utils
                                                                                                              • OVA files for VM’s
                                                                                                              • Full disk encryption with GELI v7
                                                                                                              • ***
                                                                                                                Feedback/Questions
                                                                                                                • Camio writes in
                                                                                                                • Sha'ul writes in
                                                                                                                • John writes in
                                                                                                                • Sean writes in (TJ's lengthy reply)
                                                                                                                • Christopher writes in
                                                                                                                • ***
                                                                                                                  Mailing List Gold
                                                                                                                  • Special Instructions
                                                                                                                  • Pretending to be a VT220
                                                                                                                  • ***
                                                                                                                    1 hr 26 min
                                                                                                                  • 74: That Sly MINIX

                                                                                                                    Coming up this week, we've got something a little bit different for you. We'll be talking with Andrew Tanenbaum, the creator of MINIX. They've recently imported parts of NetBSD into their OS, and we'll find out how and why that came about. As always, all the latest news and answers to your emails, on BSD Now - the place to B.. SD.

                                                                                                                    This episode was brought to you by

                                                                                                                    Headlines
                                                                                                                    The missing EuroBSDCon videos
                                                                                                                    • Some of the missing videos from EuroBSDCon 2014 we mentioned before have mysteriously appeared
                                                                                                                    • Jordan Hubbard, FreeBSD, looking forward to another 10 years
                                                                                                                    • Lourival Viera Neto, NPF scripting with Lua
                                                                                                                    • Kris Moore, Snapshots, replication and boot environments
                                                                                                                    • Andy Tanenbaum, A reimplementation of NetBSD based on a microkernel
                                                                                                                    • Kirk McKusick, An introduction to FreeBSD's implementation of ZFS
                                                                                                                    • Emannuel Dreyfus, FUSE and beyond, bridging filesystems
                                                                                                                    • John-Mark Gurney, Optimizing GELI performance
                                                                                                                    • Unfortunately, there are still about six talks missing… and no ETA
                                                                                                                    • ***
                                                                                                                      FreeBSD on a MacBook Pro (or two)
                                                                                                                      • We've got a couple posts about running FreeBSD on a MacBook Pro this week
                                                                                                                      • In the first one, the author talks a bit about trying to run Linux on his laptop for quite a while, going back and forth between it and something that Just Works™
                                                                                                                      • Eventually he came full circle, and the focus on using only GUI tools got in the way, instead of making things easier
                                                                                                                      • He works on a lot of FreeBSD-related software, so switching to it for a desktop seems to be the obvious next step
                                                                                                                      • He's still not quite to that point yet, but documents his experiments with BSD as a desktop
                                                                                                                      • The second article also documents an ex-Linux user switching over to BSD for their desktop
                                                                                                                      • It also covers power management, bluetooth and trackpad setup
                                                                                                                      • On the topic of Gentoo, "Underneath the beautiful and easy-to-use Portage system lies the same glibc, the same turmoil over a switch to a less-than-ideal init system, and the same kernel-level bugs that bring my productivity down"
                                                                                                                      • Check out both articles if you've been considering running FreeBSD on a MacBook
                                                                                                                      • ***
                                                                                                                        Remote logging over TLS
                                                                                                                        • In most of the BSDs, syslogd has been able to remotely send logs to another server for a long time
                                                                                                                        • That feature can be very useful, especially for forensics purposes - it's much harder for an attacker to hide their activities if the logs aren't on the same server
                                                                                                                        • The problem is, of course, that it's sent in cleartext, unless you tunnel it over SSH or use some kind of third party wrapper
                                                                                                                        • With a few recent commits, OpenBSD's syslogd now supports sending logs over TLS natively, including X509 certificate verification
                                                                                                                        • By default, syslogd runs as an unprivileged user in a chroot on OpenBSD, so there were some initial concerns about certificate verification - how does that user access the CA chain outside of the chroot?
                                                                                                                        • That problem was also conquered, by loading the CA chain directly from memory, so the entire process can be run in the chroot without issue
                                                                                                                        • Some of the privsep verifcation code even made its way into LibreSSL right afterwards
                                                                                                                        • If you haven't set up remote logging before, now might be an interesting time to try it out
                                                                                                                        • ***
                                                                                                                          FreeBSD, not a Linux distro
                                                                                                                          • George Neville-Neil gave a presentation recently, titled "FreeBSD: not a Linux distro"
                                                                                                                          • It's meant to be an introduction to new users that might've heard about FreeBSD, but aren't familiar with any BSD history
                                                                                                                          • He goes through some of that history, and talks about what FreeBSD is and why you might want to use it over other options
                                                                                                                          • There's even an interesting "thirty years in three minutes" segment
                                                                                                                          • It's not just a history lesson though, he talks about some of the current features and even some new things coming in the next version(s)
                                                                                                                          • We also learn about filesystems, jails, capsicum, clang, dtrace and the various big companies using FreeBSD in their products
                                                                                                                          • This might be a good video to show your friends or potential employer if you're looking to introduce FreeBSD to them
                                                                                                                          • ***
                                                                                                                            Long-term support considered harmful
                                                                                                                            • There was recently a pretty horrible bug in GNU's libc (BSDs aren't affected, don't worry)
                                                                                                                            • Aside from the severity of the actual problem, the fix was delayed for quite a long time, leaving people vulnerable
                                                                                                                            • Ted Unangst writes a post about how this idea of long-term support could actually be harmful in the long run, and compares it to how OpenBSD does things
                                                                                                                            • OpenBSD releases a new version every six months, and only the two most recent releases get support and security fixes
                                                                                                                            • He describes this as both a good thing and a bad thing: all the bugs in the ecosystem get flushed out within a year, but it forces people to stay (relatively) up-to-date
                                                                                                                            • "Upgrades only get harder and more painful (and more fragile) the longer one goes between them. More changes, more damage. Frequent upgrades amortize the cost and ensure that regressions are caught early."
                                                                                                                            • There was also some discussion about the article you can check out
                                                                                                                            • ***
                                                                                                                              Interview - Andrew Tanenbaum - [email protected] / @minix3

                                                                                                                              MINIX's integration of NetBSD

                                                                                                                              News Roundup
                                                                                                                              Using AFL on OpenBSD
                                                                                                                              • We've talked about American Fuzzy Lop a bit on a previous episode, and how some OpenBSD devs are using it to catch and fix new bugs
                                                                                                                              • Undeadly has a cool guide on how you can get started with fuzzing
                                                                                                                              • It's a little on the advanced side, but if you're interested in programming or diagnosing crashes, it'll be a really interesting article to read
                                                                                                                              • Lots of recent CVEs in other open source projects are attributed to fuzzing - it's a great way to stress test your software
                                                                                                                              • ***
                                                                                                                                Lumina 0.8.1 released
                                                                                                                                • A new version of Lumina, the BSD-licensed desktop environment from PCBSD, has been released
                                                                                                                                • This update includes some new plugins, lots of bugfixes and even "quality-of-life improvements"
                                                                                                                                • There's a new audio player desktop plugin, a button to easily minimize all windows at once and some cool new customization options
                                                                                                                                • You can get it in PCBSD's edge repo or install it through regular ports (on FreeBSD, OpenBSD or DragonFly!)
                                                                                                                                • If you haven't seen our episode about Lumina, where we interview the developer and show you a tour of its features, gotta go watch it
                                                                                                                                • ***
                                                                                                                                  My first OpenBSD port
                                                                                                                                  • The author of the "Code Rot & Why I Chose OpenBSD" article has a new post up, this time about ports
                                                                                                                                  • He recently made his first port and got it into the tree, so he talks about the whole process from start to finish
                                                                                                                                  • After learning some of the basics and becoming comfortable running -current, he noticed there wasn't a port for the "Otter" web browser
                                                                                                                                  • At that point he did what you're supposed to do in that situation, and started working on it himself
                                                                                                                                  • OpenBSD has a great porter's handbook that he referenced throughout the process
                                                                                                                                  • Long story short, his browser of choice is in the official ports collection and now he's the maintainer (and gets to deal with any bug reports, of course)
                                                                                                                                  • If some software you use isn't available for whatever BSD you're using, you could be the one to make it happen
                                                                                                                                  • ***
                                                                                                                                    How to slide with DragonFly
                                                                                                                                    • DragonFly BSD has a new HAMMER FS utility called "Slider"
                                                                                                                                    • It's used to easily browse through file history and undelete files - imagine something like a commandline version of Apple's Time Machine
                                                                                                                                    • They have a pretty comprehensive guide on how to use it on their wiki page
                                                                                                                                    • If you're using HAMMER FS, this is a really handy tool to have, check it out
                                                                                                                                    • ***
                                                                                                                                      OpenSMTPD with Dovecot and Salt
                                                                                                                                      • We recently had a feedback question about which mail servers you can use on BSD - Postfix, Exim and OpenSMTPD being the big three
                                                                                                                                      • This blog post details how to set up OpenSMTPD, including Dovecot for IMAP and Salt for quick and easy deployment
                                                                                                                                      • Intrigued by it becoming the default MTA in OpenBSD, the author decided to give it a try after being a long-time Postfix fan
                                                                                                                                      • "Small, fast, stable, and very easy to customize, no more ugly m4 macros to deal with"
                                                                                                                                      • Check it out if you've been thinking about configuring your first mail server on any of the BSDs
                                                                                                                                      • ***
                                                                                                                                        Feedback/Questions
                                                                                                                                        • Christopher writes in (handbook section)
                                                                                                                                        • Mark writes in
                                                                                                                                        • Kevin writes in
                                                                                                                                        • Stefano writes in
                                                                                                                                        • Matthew writes in
                                                                                                                                        • ***
                                                                                                                                          Mailing List Gold
                                                                                                                                          • Not that interested actually
                                                                                                                                          • This guy again
                                                                                                                                          • Yep, this is the place
                                                                                                                                          • ***
                                                                                                                                            1 hr 17 min
                                                                                                                                          • 73: Pipe Dreams

                                                                                                                                            This week on the show we'll be chatting with David Maxwell, a former NetBSD security officer. He's got an interesting project called Pipecut that takes a whole new approach to the commandline. We've also got answers to viewer-submitted questions and all this week's headlines, on BSD Now - the place to B.. SD.

                                                                                                                                            This episode was brought to you by

                                                                                                                                            Headlines
                                                                                                                                            FreeBSD quarterly status report
                                                                                                                                            • The FreeBSD team has posted an updated on some of their activities between October and December of 2014
                                                                                                                                            • They put a big focus on compatibility with other systems: the Linux emulation layer, bhyve, WINE and Xen all got some nice improvements
                                                                                                                                            • As always, the report has lots of updates from the various teams working on different parts of the OS and ports infrastructure
                                                                                                                                            • The release engineering team got 10.1 out the door, the ports team shuffled a few members in and out and continued working on closing more PRs
                                                                                                                                            • FreeBSD's forums underwent a huge change, and discussion about the new support model for release cycles continues (hopefully taking effect after 11.0 is released)
                                                                                                                                            • Git was promoted from beta to an officially-supported version control system (Kris is happy)
                                                                                                                                            • The core team is also assembling a new QA team to ensure better code quality in critical areas, such as security and release engineering, after getting a number of complaints
                                                                                                                                            • Other notable entries include: lots of bhyve fixes, Clang/LLVM being updated to 3.5.0, ongoing work to the external toolchain, adding FreeBSD support to more "cloud" services, pkgng updates, work on SecureBoot, more ARM support and graphics stack improvements
                                                                                                                                            • Check out the full report for all the details that we didn't cover
                                                                                                                                            • ***
                                                                                                                                              OpenBSD package signature audit
                                                                                                                                              • "Linux Audit" is a website focused on auditing and hardening systems, as well as educating people about securing their boxes
                                                                                                                                              • They recently did an article about OpenBSD, specifically their ports and package system and signing infrastructure
                                                                                                                                              • The author gives a little background on the difference between ports and binary packages, then goes through the technical details of how releases and packages are cryptographically signed
                                                                                                                                              • Package signature formats and public key distribution methods are also touched on
                                                                                                                                              • After some heckling, the author of the post said he plans to write more BSD security articles, so look forward to them in the future
                                                                                                                                              • If you haven't seen our episode about signify with Ted Unangst, that would be a great one to check out after reading this
                                                                                                                                              • ***
                                                                                                                                                Replacing a Linux router with BSD
                                                                                                                                                • There was recently a Slashdot discussion about migrating a Linux-based router to a BSD-based one
                                                                                                                                                • The poster begins with "I'm in the camp that doesn't trust systemd. You can discuss the technical merits of all init solutions all you want, but if I wanted to run Windows NT I'd run Windows NT, not Linux. So I've decided to migrate my homebrew router/firewall/samba server to one of the BSDs."
                                                                                                                                                • A lot of people were quick to recommend OPNsense and pfSense, being that they're very easy to administer (requiring basically no BSD knowledge at all)
                                                                                                                                                • Other commenters suggested a more hands-on approach, setting one up yourself with FreeBSD or OpenBSD
                                                                                                                                                • If you've been thinking about moving some routers over from Linux or other commercial solution, this might be a good discussion to read through
                                                                                                                                                • Unfortunately, a lot of the comments are just Linux users bickering about systemd, so you'll have to wade through some of that to get to the good information
                                                                                                                                                • ***
                                                                                                                                                  LibreSSL in FreeBSD and OPNsense
                                                                                                                                                  • A FreeBSD sysadmin has started documenting his experience replacing OpenSSL in the base system with the one from ports (and also experimenting with LibreSSL)
                                                                                                                                                  • The reasoning being that updates in base tend to lag behind, whereas the port can be updated for security very quickly
                                                                                                                                                  • OPNsense developers are looking into switching away from OpenSSL to LibreSSL's portable version, for both their ports and base system, which would be a pretty huge differentiator for their project
                                                                                                                                                  • Some ports still need fixing to be compatible though, particularly a few python-related ones
                                                                                                                                                  • If you're a FreeBSD ports person, get involved and help squash some of the last remaining bugs
                                                                                                                                                  • A lot of the work has already been done in OpenBSD's ports tree - some patches just need to be adopted
                                                                                                                                                  • More and more upstream projects are incorporating LibreSSL patches in their code - let your favorite software vendor know that you're using it
                                                                                                                                                  • ***
                                                                                                                                                    Interview - David Maxwell - [email protected] / @david_w_maxwell

                                                                                                                                                    Pipecut, text processing, commandline wizardry

                                                                                                                                                    News Roundup
                                                                                                                                                    Jetpack, a new jail container system
                                                                                                                                                    • A new project was launched to adapt FreeBSD jails to the "app container specification"
                                                                                                                                                    • While still pretty experimental in terms of the development phase, this might be something to show your Linux friends who are in love with docker
                                                                                                                                                    • It's a similar project to iocage or bsdploy, which we haven't talked a whole lot about
                                                                                                                                                    • There was also some discussion about it on Hacker News
                                                                                                                                                    • ***
                                                                                                                                                      Separating base and package binaries
                                                                                                                                                      • All of the main BSDs make a strong separation between the base system and third party software
                                                                                                                                                      • This is in contrast to Linux where there's no real concept of a "base system" - more recently, some distros have even merged all the binaries into a single directory
                                                                                                                                                      • A user asks the community about the BSD way of doing it, trying to find out the advantages and disadvantages of both hierarchies
                                                                                                                                                      • Read the comments for the full explanation, but having things separated really helps keep things organized
                                                                                                                                                      • ***
                                                                                                                                                        Updated i915kms driver for FreeBSD
                                                                                                                                                        • This update brings the FreeBSD code closer inline with the Linux code, to make it easier to update going forward
                                                                                                                                                        • It doesn't introduce Haswell support just yet, but was required before the Haswell bits can be added
                                                                                                                                                        • ***
                                                                                                                                                          Year of the OpenBSD desktop
                                                                                                                                                          • Here we have an article about using OpenBSD as a daily driver for regular desktop usage
                                                                                                                                                          • The author says he "ran fifty thousand different distributions, never being satisfied"
                                                                                                                                                          • After dealing with the problems of Linux and fragmentation, he eventually gave up and bought a Macbook
                                                                                                                                                          • He also used FreeBSD between versions 7 and 9, finding a "a mostly harmonious environment," but regressions lead him to give up on desktop *nix once again
                                                                                                                                                          • Starting with 2015, he's back and is using OpenBSD on a Thinkpad x201
                                                                                                                                                          • The rest of the article covers some of his configuration tweaks and gives an overall conclusion on his current setup
                                                                                                                                                          • He apparently used our desktop tutorial - thanks for watching!
                                                                                                                                                          • ***
                                                                                                                                                            Unattended FreeBSD installation
                                                                                                                                                            • A new BSD user was looking to get some more experience, so he documented how to install FreeBSD over PXE
                                                                                                                                                            • His goal was to have a setup similar to Redhat's "kickstart" or OpenBSD's autoinstall
                                                                                                                                                            • The article shows you how to set up DHCP and TFTP, with no NFS share setup required
                                                                                                                                                            • He also gives a mention to mfsbsd, showing how you can customize its startup script to do most of the work for you
                                                                                                                                                            • ***
                                                                                                                                                              Feedback/Questions
                                                                                                                                                              • Robert writes in
                                                                                                                                                              • Sean writes in
                                                                                                                                                              • l33tname writes in
                                                                                                                                                              • Charlie writes in
                                                                                                                                                              • Eric writes in
                                                                                                                                                              • ***
                                                                                                                                                                Mailing List Gold
                                                                                                                                                                • Clowning around
                                                                                                                                                                • Better than succeeding in this case
                                                                                                                                                                • ***
                                                                                                                                                                  1 hr 32 min
                                                                                                                                                                • 72: Common *Sense Approach

                                                                                                                                                                  This week on the show, we'll be talking to Jos Schellevis about OPNsense, a new firewall project that was forked from pfSense. We'll learn some of the backstory and see what they've got planned for the future. We've also got all this week's news and answers to all your emails, on BSD Now - the place to B.. SD.

                                                                                                                                                                  This episode was brought to you by

                                                                                                                                                                  Headlines
                                                                                                                                                                  Be your own VPN provider with OpenBSD
                                                                                                                                                                  • We've covered how to build a BSD-based gateway that tunnels all your traffic through a VPN in the past - but what if you don't trust any VPN company?
                                                                                                                                                                  • It's easy for anyone to say "of course we don't run a modified version of OpenVPN that logs all your traffic... what are you talking about?"
                                                                                                                                                                  • The VPN provider might also be slow to apply security patches, putting you and the rest of the users at risk
                                                                                                                                                                  • With this guide, you'll be able to cut out the middleman and create your own VPN, using OpenBSD
                                                                                                                                                                  • It covers topics such as protecting your server, securing DNS lookups, configuring the firewall properly, general security practices and of course actually setting up the VPN
                                                                                                                                                                  • ***
                                                                                                                                                                    FreeBSD vs Gentoo comparison
                                                                                                                                                                    • People coming over from Linux will sometimes compare FreeBSD to Gentoo, mostly because of the ports-like portage system for installing software
                                                                                                                                                                    • This article takes that notion and goes much more in-depth, with lots more comparisons between the two systems
                                                                                                                                                                    • The author mentions that the installers are very different, ports and portage have many subtle differences and a few other things
                                                                                                                                                                    • If you're a curious Gentoo user considering FreeBSD, this might be a good article to check out to learn a bit more
                                                                                                                                                                    • ***
                                                                                                                                                                      Kernel WX in OpenBSD
                                                                                                                                                                      • WX, "Write XOR Execute," is a security feature of OpenBSD with a rather strange-looking name
                                                                                                                                                                      • It's meant to be an exploit mitigation technique, disallowing pages in the address space of a process to be both writable and executable at the same time
                                                                                                                                                                      • This helps prevent some types of buffer overflows: code injected into it won't execute, but will crash the program (quite obviously the lesser of the two evils)
                                                                                                                                                                      • Through some recent work, OpenBSD's kernel now has no part of the address space without this feature - whereas it was only enabled in the userland previously
                                                                                                                                                                      • Doing this incorrectly in the kernel could lead to far worse consequences, and is a lot harder to debug, so this is a pretty huge accomplishment that's been in the works for a while
                                                                                                                                                                      • More technical details can be found in some recent CVS commits
                                                                                                                                                                      • ***
                                                                                                                                                                        Building an IPFW-based router
                                                                                                                                                                        • We've covered building routers with PF many times before, but what about IPFW?
                                                                                                                                                                        • A certain host of a certain podcast decided it was finally time to replace his disappointing consumer router with something BSD-based
                                                                                                                                                                        • In this blog post, Kris details his experience building and configuring a new router for his home, using IPFW as the firewall
                                                                                                                                                                        • He covers in-kernel NAT and NATD, installing a DHCP server from packages and even touches on NAT reflection a bit
                                                                                                                                                                        • If you're an IPFW fan and are thinking about putting together a new router, give this post a read
                                                                                                                                                                        • ***
                                                                                                                                                                          Interview - Jos Schellevis - [email protected] / @opnsense

                                                                                                                                                                          The birth of OPNsense

                                                                                                                                                                          News Roundup
                                                                                                                                                                          On profiling HTTP
                                                                                                                                                                          • Adrian Chadd, who we've had on the show before, has been doing some more ultra-high performance testing
                                                                                                                                                                          • Faced with the problem of how to generate a massive amount of HTTP traffic, he looked into the current state of benchmarking tools
                                                                                                                                                                          • According to him, it's "not very pretty"
                                                                                                                                                                          • He decided to work on a new tool to benchmark huge amounts of web traffic, and the rest of this post describes the whole process
                                                                                                                                                                          • You can check out his new code on Github right now
                                                                                                                                                                          • ***
                                                                                                                                                                            Using divert(4) to reduce attacks
                                                                                                                                                                            • We talked about using divert(4) with PF last week, and this post is a good follow-up to that introduction (though unrelated to that series)
                                                                                                                                                                            • It talks about how you can use divert, combined with some blacklists, to reduce attacks on whatever public services you're running
                                                                                                                                                                            • PF has good built-in rate limiting for abusive IPs that hit rapidly, but when they attack slowly over a longer period of time, that won't work
                                                                                                                                                                            • The Composite Blocking List is a public DNS blocklist, operated alongside Spamhaus, that contains many IPs known to be malicious
                                                                                                                                                                            • Consider setting this up to reduce the attack spam in your logs if you run public services
                                                                                                                                                                            • ***
                                                                                                                                                                              ChaCha20 patchset for GELI
                                                                                                                                                                              • A user has posted a patch to the freebsd-hackers list that adds ChaCha support to GELI, the disk encryption system
                                                                                                                                                                              • There are also some benchmarks that look pretty good in terms of performance
                                                                                                                                                                              • Currently, GELI defaults to AES in XTS mode with a few tweakable options (but also supports Blowfish, Camellia and Triple DES)
                                                                                                                                                                              • There's some discussion going on about whether a stream cipher is suitable or not for disk encryption though, so this might not be a match made in heaven just yet
                                                                                                                                                                              • ***
                                                                                                                                                                                PCBSD update system enhancements
                                                                                                                                                                                • The PCBSD update utility has gotten an update itself, now supporting automatic upgrades
                                                                                                                                                                                • You can choose what parts of your system you want to let it automatically handle (packages, security updates)
                                                                                                                                                                                • The update system uses ZFS and Boot Environments for safe updating and bypasses some dubious pkgng functionality
                                                                                                                                                                                • There's also a new graphical frontend available for it
                                                                                                                                                                                • ***
                                                                                                                                                                                  Feedback/Questions
                                                                                                                                                                                  • Mat writes in
                                                                                                                                                                                  • Chris writes in
                                                                                                                                                                                  • Andy writes in
                                                                                                                                                                                  • Beau writes in
                                                                                                                                                                                  • Kutay writes in
                                                                                                                                                                                  • ***
                                                                                                                                                                                    Mailing List Gold
                                                                                                                                                                                    • Wait, a real one?
                                                                                                                                                                                    • What's that glowing...
                                                                                                                                                                                    • ***
                                                                                                                                                                                      1 hr 21 min
                                                                                                                                                                                    • 71: System Disaster

                                                                                                                                                                                      This time on the show, we'll be talking to Ian Sutton about his new BSD compatibility wrappers for various systemd dependencies. Don't worry, systemd is not being ported to BSD! We're still safe! We've also got all the week's news and answers to your emails, coming up on BSD Now - the place to B.. SD.

                                                                                                                                                                                      This episode was brought to you by

                                                                                                                                                                                      Headlines
                                                                                                                                                                                      Introducing OPNsense, a pfSense fork
                                                                                                                                                                                      • OPNsense is a new BSD-based firewall project that was recently started, forked from the pfSense codebase
                                                                                                                                                                                      • Even though it's just been announced, they already have a formal release based on FreeBSD 10 (pfSense's latest stable release is based on 8.3)
                                                                                                                                                                                      • The core team includes a well-known DragonFlyBSD developer
                                                                                                                                                                                      • You can check out their code on Github now, or download an image and try it out - let us know if you do and what you think about it
                                                                                                                                                                                      • They also have a nice wiki and some instructions on getting started for new users
                                                                                                                                                                                      • We plan on having them on the show next week to learn a bit more about how the project got started and why you might want to use it - stay tuned
                                                                                                                                                                                      • ***
                                                                                                                                                                                        Code rot and why I chose OpenBSD
                                                                                                                                                                                        • Here we have a blog post about rotting codebases - a core banking system in this example
                                                                                                                                                                                        • The author tells the story of how his last days spent at the job were mostly removing old, dead code from a giant project
                                                                                                                                                                                        • He goes on to compare it to OpenSSL and the hearbleed disaster, from which LibreSSL was born
                                                                                                                                                                                        • Instead of just bikeshedding like the rest of the internet, OpenBSD "silently started putting the beast into shape" as he puts it
                                                                                                                                                                                        • The article continues on to mention OpenBSD's code review process, and how it catches any bugs so we don't have more heartbleeds
                                                                                                                                                                                        • "In OpenBSD you are encouraged to run current and the whole team tries its best to make current as stable as it can. You know why? They eat their own dog food. That's so simple yet so amazing that it blows my mind. Developers actually run OpenBSD on their machines daily."
                                                                                                                                                                                        • It's a very long and detailed story about how the author has gotten more involved with BSD, learned from the mailing lists and even started contributing back - he says "In summary, I'm learning more than ever - computing is fun again"
                                                                                                                                                                                        • Look for the phrase "Getting Started" in the blog post for a nice little gem
                                                                                                                                                                                        • ***
                                                                                                                                                                                          ZFS vs HAMMER FS
                                                                                                                                                                                          • One of the topics we've seen come up from time to time is how FreeBSD's ZFS and DragonFly's HAMMER FS compare to each other
                                                                                                                                                                                          • They both have a lot of features that traditional filesystems lack
                                                                                                                                                                                          • A forum thread was opened for discussion about them both and what they're typically used for
                                                                                                                                                                                          • It compares resource requirements, ideal hardware and pros/cons of each
                                                                                                                                                                                          • Hopefully someone will do another new comparison when HAMMER 2 is finished
                                                                                                                                                                                          • This is not to be confused with the other "hammer" filesystem
                                                                                                                                                                                          • ***
                                                                                                                                                                                            Portable OpenNTPD revived
                                                                                                                                                                                            • With ISC's NTPd having so many security vulnerabilities recently, people need an alternative NTP daemon
                                                                                                                                                                                            • OpenBSD has developed OpenNTPD since 2004, but the portable version for other operating systems hasn't been actively maintained in a few years
                                                                                                                                                                                            • The older version still works fine, and is in FreeBSD ports and NetBSD pkgsrc, but it would be nice to have some of the newer features and fixes from the native version
                                                                                                                                                                                            • Brent Cook, who we've had on the show before to talk about LibreSSL, decided it was time to fix this
                                                                                                                                                                                            • While looking through the code, he also found some fixes for the native version as well
                                                                                                                                                                                            • You can grab it from Github now, or just wait for the updated release to hit the repos of your OS of choice
                                                                                                                                                                                            • ***
                                                                                                                                                                                              Interview - Ian Sutton - [email protected]

                                                                                                                                                                                              BSD replacements for systemd dependencies

                                                                                                                                                                                              News Roundup
                                                                                                                                                                                              pkgng adds OS X support
                                                                                                                                                                                              • FreeBSD's next-gen package manager has just added support for Mac OS X
                                                                                                                                                                                              • Why would you want that? Well.. we don't really know, but it's cool
                                                                                                                                                                                              • The author of the patch may have some insight about what his goal is though
                                                                                                                                                                                              • This could open up the door for a cross-platform pkgng solution, similar to NetBSD's pkgsrc
                                                                                                                                                                                              • There's also the possibility of pkgng being used as a packaging format for MacPorts in the future
                                                                                                                                                                                              • While we're on the topic of pkgng, you can also watch bapt's latest presentation about it from ruBSD 2014 - "four years of pkg"
                                                                                                                                                                                              • ***
                                                                                                                                                                                                Secure secure shell
                                                                                                                                                                                                • Almost everyone watching BSD Now probably uses OpenSSH and has set up a server at one point or another
                                                                                                                                                                                                • This guide provides a list of best practices beyond the typical "disable root login and use keys" advice you'll often hear
                                                                                                                                                                                                • It specifically goes in-depth with server and client configuration with the best key types, KEX methods and encryption ciphers to use
                                                                                                                                                                                                • There are also good explanations for all the choices, based both on history and probability
                                                                                                                                                                                                • Minimal backwards compatibility is kept, but most of the old and insecure stuff gets disabled
                                                                                                                                                                                                • We've also got a handy chart to show which SSH implementations support which ciphers, in case you need to support Windows users or people who use weird clients
                                                                                                                                                                                                • ***
                                                                                                                                                                                                  Dissecting OpenBSD's divert(4)
                                                                                                                                                                                                  • PF has a cool feature that not a lot of people seem to know about: divert
                                                                                                                                                                                                  • It lets you send packets to userspace, allowing you to inspect them a lot easier
                                                                                                                                                                                                  • This blog post, the first in a series, details all the cool things you can do with divert and how to use it
                                                                                                                                                                                                  • A very common example is with intrusion detection systems like Snort
                                                                                                                                                                                                  • ***
                                                                                                                                                                                                    Screen recording on FreeBSD
                                                                                                                                                                                                    • This is a neat article about a topic we don't cover very often: making video content on BSD
                                                                                                                                                                                                    • In the post, you'll learn how to make screencasts with FreeBSD, using kdenlive and ffmpeg
                                                                                                                                                                                                    • There are also notes about getting a USB microphone working, so you can do commentary on whatever you're showing
                                                                                                                                                                                                    • It also includes lots of details and helpful screenshots throughout the process
                                                                                                                                                                                                    • You should make cool screencasts and send them to us
                                                                                                                                                                                                    • ***
                                                                                                                                                                                                      Feedback/Questions
                                                                                                                                                                                                      • Camio writes in
                                                                                                                                                                                                      • ezpzy writes in
                                                                                                                                                                                                      • Emett writes in
                                                                                                                                                                                                      • Ben writes in
                                                                                                                                                                                                      • Laszlo writes in
                                                                                                                                                                                                      • ***
                                                                                                                                                                                                        Mailing List Gold
                                                                                                                                                                                                        • Protocol X97
                                                                                                                                                                                                        • My thoughts echoed
                                                                                                                                                                                                        • Vulnerability sample
                                                                                                                                                                                                        • ***
                                                                                                                                                                                                          1 hr 7 min