BSD Now

BSD Now

Download on the App Store

All BSD Now episodes

  • 145: At the Core of it all

    It’s BSDCan time! Allan and I are both enjoying what is sure to be a super-busy week, but don’t think we’ve forgotten about

    This episode was brought to you by

    alt="DigitalOcean - Simple Cloud Hosting, Built for Developers" />
    src="/images/3.png" alt="Tarsnap - Online Backups for the Truly Paranoid" />

    Interview - Benno Rice - [email protected] / @jeamland
    • Manager, OS & Networking at EMC Isilon

    • Emily Dunham: Community Automation

    • iXsystems
      • 1U Rackmount Server - 4 Bay Hot-Swap SAS/SATA Drive Bays 400W Redundant Power Supply - Single Socket Embedded CPU (48 cores) - 8 DIMM Slots with

      • 16GB DIMMs for a total of 128GB RAM – Dual Gigabit LAN, Dual 10GbE SFP+ and 1 x 40Gb QSFP+ port, (1) PCI-E Expansion Slots + IPMI Dedicated LAN -
        Cavium ThunderX ARM CN8890 48 Core ThunderX CPU - 2.5GHz per core

      • System has 128GB RAM, 4 x 2TB SATA HDD, Additional Intel i350 (2 x 1GbE)

      • Beastie Bits
        • file considered harmful

        • An open source talk on ZFS. “Intro to ZFS” as a set of open source slides for the community to build on, and to reuse. Go give this talk at your local conference.

        • ARMv7 now has a bootloader

        • SHA256/512 speed improvements in FreeBSD 11

        • pkgsrc 50th release interviews - Joerg Sonnenberg

        • DFly versus PC-BSD on a Laptop

        • FreeBSD ifconfig can print subnet masks in CIDR or dotted-quad, finally

        • Feedback/Questions
          • Eli - Getting rid of ports?
          • Morgan - Best way to admin jails?
          • Simon - Use existing pkgs in poudriere
          • Pete - Lots of Q’s
          • Van - Made the switch
          • ***
            1 hr 12 min
          • 144: The PF life

            It’s only one-week away from BSDCan, both Allan and I are excited to meet some of you in person! However, the show keeps on

            This episode was brought to you by

            Headlines
            dotSecurity 2016 - Theo de Raadt - Privilege Separation and Pledge
            • Video
            • Slides
            • Interested in Privilege Separation and security in general? If so, then you are in for a treat, we have both the video and slides from Theo de Raadt at dotSecurity 2016.
            • Specifically the the talk starts off looking at Pledge (no copyright issues with the pictures I hope??) and how their NTP daemon uses it.
            • After going through some internals, Theo reveals that around 10% of programs “pledged” so far were found to be trying to do actions outside of their security scope.
            • On the future-work side, they mention going back and looking at OpenSSH privilege separation next, as well as working with other OS’s that may want pledge support.
            • ***
              bhyve now supports UEFI GOP
              • The log awaited UEFI GOP (Graphics Output Protocol) features has landed in bhyve
              • This provides emulated graphics via an internal VNC server, allowing users to have full graphical access to the guest OS
              • This allows installation of Windows guests without needing to create a modified ISO with an unattended installation script
              • The code has not actually landed in FreeBSD head yet, but has been committed to a project branch
              • Following a few simple commands, you can compile the new bhyve binary on your -CURRENT system and get started right away
              • This feature is expected to be included in the upcoming FreeBSD 11.0
              • This commit drop also brings with it:
                • XHCI -- an emulated usb tablet device that provides exact mouse positioning in supported OSs
                • PS2 mouse for fallback if the guest does not support XHCI (Windows 7)
                • PS2 keyboard
                • “The code has been tested with Windows 7/8/8.1/10 and Server 2k12/2k16, Ubuntu 15.10, and FreeBSD 10.3/11-CURRENT”
                • “For VNC clients, TightVNC, TigherVNC, and RealVNC (aka VNC Viewer) have been tested on various hosts. The OSX VNC client is known not to work.”
                • The VNC server supports an optional ‘wait’ parameter, that causes the VM to not actually boot until the VNC client connects, allowing you to interrupt the boot process if need be
                • Related user blog post
                • SVN commit
                • ***
                  zfsd lands in FreeBSD HEAD, in time for 11.0-RELEASE
                  • zfsd has been committed to FreeBSD -CURRENT in time to be included in FreeBSD 11.0
                  • zfsd is the missing piece required to make ‘hot spares’ work properly in FreeBSD ZFS
                  • “zfsd attempts to resolve ZFS faults that the kernel can't resolve by itself. It listens to devctl(4) events, which is how the kernel notifies of events such as I/O errors and disk removals. Zfsd attempts to resolve these faults by activating or deactivating hotspares and onlining offline vdevs.”
                  • “The administrator never interacts with zfsd directly. Instead, he controls its behavior indirectly through zpool configuration. There are two ways to influence zfsd: assigning hotspares and setting pool properties. Currently, only the autoreplace property has any effect. See zpool(8) for details.”
                  • So, what example does it do?
                  • Device Removal: “When a leaf vdev disappears, zfsd will activate any available hotspare.”
                  • Device Arrival: “When a new GEOM device appears, zfsd will attempt to read its ZFS label, if any. If it matches a previously removed vdev on an active pool, zfsd will online it. Once resilvering completes, any active hotspare will detach automatically.”
                  • So if you disconnect a drive, then reconnect it, it will automatically be brought back online. Since ZFS is smart, the resilver will only have to copy data that has changed since the device went offline.
                  • “If the new device has no ZFS label but its physical path matches the physical path of a previously removed vdev on an active pool, and that pool has the autoreplace property set, then zfsd will replace the missing vdev with the newly arrived device. Once resilvering completes, any active hotspare will detach automatically.”
                  • If the new drive is in the same slot in your hot swap array as a failed device, it will be used as a replacement immediately.
                  • vdev degrade or fault events: “If a vdev becomes degraded or faulted, zfsd will activate any available hotspare. If a leaf vdev generates more than 50 I/O errors in a 60 second period, then zfsd will mark that vdev as FAULTED. zfs(4) will no longer issue any I/Os to it. zfsd will activate
                  • a hotspare if one is available.” Same for checksum errors.
                  • So if zfsd detects a drive is going bad, it brings the hotspare online before it is too late
                  • Spare addition: “If the system administrator adds a hotspare to a pool that is already degraded, zfsd will activate the spare.”
                  • Resilver complete: “zfsd will detach any hotspare once a permanent replacement finishes resilvering.”
                  • Physical path change: “If the physical path of an existing disk changes, zfsd will attempt to replace any missing disk with the same physical path, if its pool's autoreplace property is set.”
                  • In general, this tool means less reliance on the system administrator to keep the pool healthy
                  • ***
                    WX now mandatory in OpenBSD
                    • We’ve talked a bit about WX in the past. (Refresher: Memory being writable and executable at once)
                    • Well, this major security no-no is no-more on OpenBSD. Theo has committed a change which now prevents violations of this policy:
                    • “WX violations are no longer permitted by default. A kernel log message is generated, and mprotect/mmap return ENOTSUP. If the sysctl(8) flag kern.wxabort is set then a SIGABRT occurs instead, for gdb use or coredump creation.”

                      • There are a few cases where you may still need WX, which Theo points out can be enabled on a file-system basis.
                      • “WX violating programs can be permitted on a ffs/nfs filesystem-basis, using the "wxallowed" mount option. One day far in the future upstream software developers will understand that WX violations are a tremendously risky practice and that style of programming will be banished outright. Until then, we recommend most users need to use the wxallowed option on their /usr/local filesystem. At least your other filesystems don't permit such programs.”

                        • This is a great ability to grow, since now users can begin doing auditing of programs that violate this principle and making noise to upstream.
                        • ***
                          Interview - Kristof Provost - [email protected] @kprovst
                          • pf improvements on FreeBSD
                          • ***
                            News Roundup
                            GELI Support for the EFI Loader
                            • We’ve had Allan’s work to bring GELI support to the GPT / BIOS / ZFS loader for a while now, but the missing piece has been support for EFI.
                            • No longer, Eric McCorkle has posted a blog entry (with relevant github links) introducing us to his work to bring GELI encryption support to EFI.
                            • First the bad-news. This won’t make it into 11.0. (Maybe PC-BSD, TBD)
                            • Next he explains why this is more than just a new feature, but a re-factor of the EFI boot code:
                            • I have already written extensively about my EFI refactoring here. The reason for undertaking this effort, however, was driven by GELI support. Early in my work on this, I had implemented a non-EFI “providers” framework in boot1 in order to support the notion of disk partitions that may contain sub-partitions.

                              • This was deeply unsatisfying to me for several reasons:
                                • It implemented a lot of the same functionality that exists in the EFI framework.
                                • It involved implementing a GPT partition driver to deal with partition tables inside GELI partitions (GPT detection and support is guaranteed by the EFI spec).
                                • The interface between the EFI framework and the custom “providers” framework was awkward.
                                • The driver was completely boot1-specific, and exporting it to something like GRUB probably involved a total rewrite.
                                • Implementing it within loader was going to involve a lot of code duplication.
                                • There was no obvious was to pass keys between boot1, loader, and the kernel.
                                • With the issues known, Eric seems pleased with the results of the conversion so far:
                                  • The GELI driver can be extracted from the FreeBSD codebase without too much trouble.
                                  • While I was unable to go all the way to the EFI driver model, the only blocker is the bcache code, and once that is resolved, we can have hotplug support in the boot loader!
                                  • The boot1 and loader codebases are now sharing all the backend drivers, and boot1 has been reduced to one very small source file.
                                  • An interesting read, looking forward to playing with EFI more in the future!
                                  • ***
                                    Faces of FreeBSD 2016: Michael W. Lucas
                                    • On this edition of “Faces of FreeBSD”, Michael W Lucas tells the story of how he got started with FreeBSD
                                    • After an amusing re-telling of his childhood (The words “Purina Monkey Chow” were mentioned), he then tells us how he got into BSD.
                                    • His being thrown into the project may sound familiar to many:
                                    • I came in at 11 PM one night and was told “The DNS administrator just got walked out the door. You’re the new lead DNS administrator. Make those servers work. Good luck.”

                                      • From there (because he wanted more sleep), he began ripping out the systems that had been failing and waking him up at night. Good-bye UnixWare, Good-bye Solaris, hello BSD!
                                      • A very amusing read, check it out!
                                      • ***
                                        High Availability with PostgreSQL on FreeBSD
                                        • A talk by Sean Chittenden, who we interviewed previously on episode Episode 95
                                        • Explains how to setup Multi Data Center High Availability for PostgreSQL using consul
                                        • Goes into how consul works, how it does the election, the gossip protocol, etc
                                        • The HA setup uses DNS Failover, and the pros and cons of that approach are discussed
                                        • Then he walks through the implementation details, and example configuration
                                        • ***
                                          New FreeBSD i915 testing images
                                          • Still need users to test the Linux Kernel 4.6 DRM update to FreeBSD’s graphics stack
                                          • Download the test image and write it to a USB stick and boot from it
                                          • It will not modify your installed system, it runs entirely off of the USB drive
                                          • Allows you to test the updated drivers without having to install the development branch on your device
                                          • you can tell them that ATI/AMD support will be coming shortly
                                          • and that stability has been steadily improving
                                          • and that I'll do another announcement as soon as I've had a chance to test the newest Xorg bits
                                          • ***
                                            Beastie Bits
                                            • Comfortable on the CLI: Series Part 1
                                            • FreeBSD Booting on the Netgate uFW, a smaller-than-a-raspberry-pi dual port firewall
                                            • Picture of uFW
                                            • uFW OpenSSL Benchmarks
                                            • ***
                                              1 hr 4 min
                                            • 143: One small step for DRM, one giant leap for BSD

                                              This week on BSDNow, we have an interview with Matthew Macy, who has some exciting news to share with us regarding the state of graphics

                                              This episode was brought to you by

                                              Headlines
                                              How the number of states affects pf’s performance of FreeBSD
                                              • Our friend Olivier of FreeNAS and BSDRP fame has an interesting blog post this week detailing his unique issue with finding a firewall that can handle upwards of 4 million state table entries.
                                              • He begins in the article with benchmarking the defaults, since without that we don’t have a framework to compare the later results. All done on his Netgate RCC-VE 4860 (4 cores ATOM C2558, 8GB RAM) under FreeBSD 10.3.
                                              • “We notice a little performance impact when we reach the default 10K state table limit: From 413Kpps with 128 states in-used, it lower to 372Kpps.”
                                              • With the initial benchmarks done and graphed, he then starts the tuning process by adjusting the “net.pf.states_hashsize”sysctl, and then playing with the number of states for the firewall to keep.
                                              • “For the next bench, the number of flow will be fixed for generating 9800 pf state entries, but I will try different value of pf.states_hashsize until the maximum allowed on my 8GB RAM server (still with the default max states of 10k):”
                                              • Then he cranks it up to 4 million states
                                              • “There is only 12% performance penalty between pf 128 pf states and 4 million pf states.”
                                              • “With 10M state, pf performance lower to 362Kpps: Still only 12% lower performance than with only 128 states”
                                              • He then looks at what this does of pfsync, the protocol to sync the state table between two redundant pf firewalls
                                              • Conclusions:
                                              • There need to be a linear relationship between the pf hard-limit of states and the pf.states_hashsize; RAM needed for pf.states_hashsize = pf.states_hashsize * 80 Byte and pf.states_hashsize should be a power of 2 (from the manual page); Even small hardware can manage large number of sessions (it's a matter of RAM), but under too lot's of pressure pfsync will suffer.

                                                Introducing the BCHS Stack = BSD, C, httpd, SQLite
                                                • Pronounced Beaches
                                                • “It's a hipster-free, open source software stack for web applications”
                                                • “Don't just write C. Write portable and secure C.”
                                                • “Get to know your security tools. OpenBSD has systrace(4) and pledge(2). FreeBSD has capsicum(4).”
                                                • “Statically scan your binary with LLVM” and “Run your application under valgrind”
                                                • “Don't forget: BSD is a community of professionals. Go to conferences (EuroBSDCon, AsiaBSDCon, BSDCan, etc.)”
                                                • This seems like a really interesting project, we’ll have to get Kristaps Dzonsons back on the show to talk about it
                                                • ***
                                                  Installing OpenBSD's httpd server, MariaDB, PHP 5.6 on OpenBSD 5.9
                                                  • Looking to deploy your next web-stack on OpenBSD 5.9? If so this next article from rootbsd.net is for you.
                                                  • Specifically it will walk you through the process of getting OpenBSD’s own httpd server up and running, followed by MariaDB and PHP 5.6.
                                                  • Most of the setup is pretty straight-forward, the httpd syntax may be different to you, if this is your first time trying it out.
                                                  • Once the various packages are installed / configured, the rest of the tutorial will be easy, walking you through the standard hello world PHP script, and enabling the services to run at reboot.
                                                  • A good article for those wanting to start hosting PHP/DB content (wordpress anyone?) on your OpenBSD system.
                                                  • ***
                                                    The infrastructure behind Varnish
                                                    • Dogfooding. It’s a term you hear often in the software community, which essentially means to “Run your own stuff”. Today we have an article by PKH over at varnish-cache, talking about what that means to them.
                                                    • Specifically, they recently went through a website upgrade, which will enable them to run more of their own stuff.
                                                    • He has a great quote on what OS they use:“So, dogfood: Obviously FreeBSD. Apart from the obvious reason that I wrote a lot of FreeBSD and can get world-class support by bugging my buddies about it, there are two equally serious reasons for the Varnish Project to run on FreeBSD: Dogfood and jails.Varnish Cache is not “software for Linux”, it is software for any competent UNIX-like operating system, and FreeBSD is our primary “keep us honest about this” platform.“
                                                    • He then goes through the process of explaining how they would setup a new Varnish-cache website, or upgrade it.
                                                    • All together a great read, and if you are one of the admin-types, you really should pay attention to how they build from the ground up. Some valuable knowledge here which every admin should try to replicate.
                                                    • I can not reiterate the value of having your config files in a private source control repo strongly enough
                                                    • The biggest take-away is: “And by doing it this way, I know it will work next time also.”
                                                    • ***
                                                      Interview - Matt Macy - [email protected]Graphics Stack Update
                                                      News Roundup
                                                      Followup on packaging base with pkg(8)
                                                      • In spite of the heroic last minute effort by a team of contributors, pkg’d base will not be ready in time for FreeBSD 11.0
                                                      • There are just too many issues that were discovered during testing
                                                      • The plan is to continue using freebsd-update in the meantime, and introduce a pkg based upgrade mechanism in FreeBSD 11.1
                                                      • With the new support model for the FreeBSD 11 branch, 11.1 may come sooner than with previous major releases
                                                      • ***
                                                        FreeBSD Core Election
                                                        • It is time once again for the FreeBSD Core Election
                                                        • Application period begins: Wednesday, 18 May 2016 at 18:00:00 UTC
                                                        • Application period ends: Wednesday, 25 May 2016 at 18:00:00 UTC
                                                        • Voting begins: Wednesday, 25 May 2016 at 18:00:00 UTC
                                                        • Voting ends: Wednesday, 22 June 2016 at 18:00:00 UTC
                                                        • Results announced Wednesday, 29 June 2016
                                                        • New core team takes office: Wednesday, 6 July 2016
                                                        • As of the time I was writing these notes, 3 hours before the application deadline, the candidates are:
                                                        • Allan Jude: Filling in the potholes
                                                        • Marcelo Araujo: We are not vampires, but we need new blood.
                                                        • Baptiste Daroussin (incumbent): Keep on improving
                                                        • Benedict Reuschling: Learn and Teach
                                                        • Benno Rice: Revitalising The Community
                                                        • Devin Teske: Here to help
                                                        • Ed Maste (incumbent): FreeBSD is people
                                                        • George V. Neville-Neil (incumbent): There is much to do…
                                                        • Hiroki Sato (incumbent): Keep up with our good community and technical strength
                                                        • John Baldwin: Ready to work
                                                        • Juli Mallett: Caring for community.
                                                        • Kris Moore: User-Focused
                                                        • Mathieu Arnold: Someone ask for fresh blood ?
                                                        • Ollivier Robert: Caring for the project and you, its developers
                                                        • The deadline for applications is around the time we finish recording the live show
                                                        • We welcome any of the candidates to schedule an interview in the next few weeks. We will make an attempt to hunt many of them down at BSDCan as well.
                                                        • ***
                                                          Wayland/Weston with XWayland works on DragonFly
                                                          • We haven’t talked a lot about Wayland on BSD recently (or much at all), but today we have a post from Peter to the dragonfly mailing list, detailing his experience with it.
                                                          • Specifically he talks about getting XWayland working, which provides the compat bits for native X applications to run on WayLand displays.
                                                          • So far on the working list of apps:
                                                          • “gtk3:
                                                            • gedit
                                                            • nautilus
                                                            • evince
                                                            • xfce4:

                                                              • xfce4-terminal
                                                              • atril

                                                                • firefox
                                                                • spyder
                                                                • scilab”
                                                                • A pretty impressive list, although he said “chrome” failed with a seg-fault
                                                                • This is something I’m personally interested in. Now with the newer DRM bits landing in FreeBSD, perhaps it’s time for some further looking into Wayland.
                                                                • ***
                                                                  Broadcom WiFi driver update
                                                                  • In this blog post Adrian Chadd talks about his recent work on the bwn(4) driver for Broadcom WiFi chips
                                                                  • This work has added support for a number of older 802.11g chips, including the one from 2009-era Macbooks
                                                                  • Work is ongoing, and the hope is to add 802.11n and 5ghz support as well
                                                                  • Adrian is mentoring a number of developers working on embedded or wifi related things, to try to increase the projects bandwidth in those areas
                                                                  • If you are interested in driver development, or wifi internals, the blog post has lots of interesting details and covers the story of Adrian’s recent adventures in bringing the drivers up
                                                                  • ***
                                                                    Beastie Bits

                                                                    The Design of the NetBSD I/O Subsystems (2002)

                                                                    ZFS, BTRFS, XFS, EXT4 and LVM with KVM – a storage performance comparison

                                                                    Swift added to FreeBSD Ports

                                                                    misc@openbsd: 'NSA addition to ifconfig'

                                                                    Papers We Love: Memory by the Slab: The Tale of Bonwick's Slab Allocator

                                                                    Feedback/Questions
                                                                    • Lars - Poudriere
                                                                    • Warren - .NET
                                                                    • Eddy - Sys Init
                                                                    • Tim - ZFS Resources
                                                                    • Morgan - Ports and Kernel
                                                                    • ***
                                                                      2 hr
                                                                    • 142: Diving for BSD Perls

                                                                      This week on the show, we have all the latest news and stories! Plus an interview with BSD developer Alfred Perlstein, that you

                                                                      This episode was brought to you by

                                                                      Headlines
                                                                      The May issus of BSDMag is now out
                                                                      • GhostBSD
                                                                      • Reusing OpenBSD's arc4random in multi-threaded user space programs
                                                                      • Securing VPN's with GRE / Strongswan
                                                                      • Installing XFCE 4.12 on NetBSD 7
                                                                      • Interview with Fernando Rodriguez, the co-founder of KeepCoding
                                                                      • ***
                                                                        A rundown of the FPT_WX_EXT.1 security reqiurement for General Purpose Operating Systems by the NSA
                                                                        • NIST/NSA Validation Scheme Report
                                                                        • The SFR or Security Functional Requirement requires that; "The OS shall prevent allocation of any memory region with both write and execute permissions except for [assignment: list of exceptions]."
                                                                        • While nearly all operating systems currently support the use of the NX bit, or the equivalent on processors such as SPARC and ARM, and will correctly mark the stack as non-executable, the fact remains that this in and of itself is deemed insufficient by NIST and NSA.
                                                                        • OpenBSD 5.8, FreeBSD, Solaris, RHEL, and most other Linux distro have failed.
                                                                        • HardenedBSD passes all three tests out of the box.
                                                                        • NetBSD will do so with a single sysctl tweak. Since they are using the PaX model, anything else using PaX, such as a grsecurity-enabled Linux distribution pass these assurance activities as well.
                                                                        • OpenBSD 5.9 does not allow memory mapping due to WX being enforced by the kernel, however the kernel will panic if there are any attempts to create such mappings.
                                                                        • ***
                                                                          DistroWatch reviews new features in FreeBSD 10.3
                                                                          • DistroWatch did a review of FreeBSD 10.3
                                                                          • They ran into a few problems, but hopefully those can be fixed
                                                                          • An issue with beadm setting the canmount property incorrectly causing the ZFS BE menu to not work as expected should be resolved in the next version, thanks to a patch from kmoore
                                                                          • The limitations of the Linux 64 support are what they are, CentOS 6 is still fairly popular with enterprise software, but hopefully some folks are interested in working on bringing the syscall emulation forward
                                                                          • In a third issue, the reviewer seemed to have issues SSHing from inside the jail. This likely has to do with how they got a console in the jail. I remember having problems with this in the past, something about a secure console.
                                                                          • ***
                                                                            BSD Unix: Power to the people, from the code
                                                                            • Salon.com has a very long article, chronicling much of the history behind BSD UNIX.
                                                                            • It starts with detailing the humble origins of BSD, starting with Bill Joy in the mid-70’s, and then goes through details on how it rapidly grew, and the influence that the University of Berkeley had on open-source.
                                                                            • “But too much focus on Joy, a favorite target for business magazine hagiography, obscures the larger picture. Berkeley’s most important contribution was not software; it was the way Berkeley created software. At Berkeley, a small core group — never more than four people at any one time — coordinated the contributions of an ever-growing network of far-flung, mostly volunteer programmers into progressive releases of steadily improving software. In so doing, they codified a template for what is now referred to as the “open-source software development methodology.” Put more simply, the Berkeley hackers set up a system for creating free software.”

                                                                              • The article goes on to talk about some of the back and forth between Linux and BSD, and why Linux has captured more of the market in recent years, but BSD is far from throwing in the towel.
                                                                              • “BSD patriots argue that the battle is far from over, that BSD is technically superior and will therefore win in the end. That’s for the future to determine. What’s indisputable is BSD’s contribution in the past. Even if, by 1975, Berkeley’s Free Speech Movement was a relic belonging to a fast-fading generation, on the fourth floor of Evans Hall, where Joy shared an office, the free-software movement was just beginning.”

                                                                                • An excellent article (If a bit long), but well worth your time to understand the origins of what we consider modern day BSD, and how the University of Berkley helped shape it.
                                                                                • ***
                                                                                  iXsystems
                                                                                  • #ServerEnvy: It's over 10,000 Terabytes!
                                                                                  • ***
                                                                                    Interview - Alfred Perlstein - [email protected] / @splbio
                                                                                    • Using BSD for projects
                                                                                    • ***
                                                                                      News Roundup
                                                                                      .NET framework ported to NetBSD
                                                                                      • This pull request adds basic support for the .NET framework on NetBSD 7.x amd64
                                                                                      • It includes documentation on how to get the .NET framework installed
                                                                                      • It uses pkgsrc to bootstrap the required tools
                                                                                      • pkgsrc-wip is used to get the actual .NET framework, as porting is still in progress
                                                                                      • The .NET Core-CLR is now available for: FreeBSD, Linux, NetBSD, and OS X
                                                                                      • ***
                                                                                        OpenBSD SROP mitigation – call for testing
                                                                                        • A new technique for exploiting flaws in applications and operating systems has been developed, called SROP
                                                                                        • “we describe Sigreturn Oriented Programming (SROP), a novel technique for exploits and backdoors in UNIX-like systems. Like return-oriented programming (ROP), sigreturn oriented programming constructs what is known as a ‘weird machine’ that can be programmed by attackers to change the behavior of a process. To program the machine, attackers set up fake signal frames and initiate returns from signals that the kernel never really delivered. This is possible, because UNIX stores signal frames on the process’ stack.”
                                                                                        • “Sigreturn oriented programming is interesting for attackers, OS developers and academics. For attackers, the technique is very versatile, with pre-conditions that are different from those of existing exploitation techniques like ROP. Moreover, unlike ROP, sigreturn oriented programming programs are portable. For OS developers, the technique presents a problem that has been present in one of the two main operating system families from its inception, while the fixes (which we also present) are non-trivial. From a more academic viewpoint, it is also interesting because we show that sigreturn oriented programming is Turing complete.”
                                                                                        • Paper describing SROP
                                                                                        • OpenBSD has developed a mitigation against SROP
                                                                                        • “Utilizing a trick from kbind(2), the kernel now only accepts signal returns from the PC address of the sigreturn(2) syscall in the signal trampoline. Since the signal trampoline page is randomized placed per process, it is only known by directly returning from a signal handler.”
                                                                                        • “As well, the sigcontext provided to sigreturn(2) now contains a magic cookie constructed from a per-process cookie XOR'd against the address of the signal context.”
                                                                                        • This is just a draft of the patch, not yet considered production quality
                                                                                        • ***
                                                                                          Running Tor in a NetBSD rump unikernel
                                                                                          • We’ve talked about “rump” kernels before, and also Tor pretty frequently, but this new github project combines the two!
                                                                                          • Specifically, this set of Makefile and scripts will prep a system to run Tor via the Unikernel through Qemu.
                                                                                          • The script mainly describes how to do the initial setup on Linux, using iptables, but could easily be adapted to a BSD if somebody wants to do so. (Send them a pull request with the instructions!)
                                                                                          • All in all, this is a fascinating way to run a Tor node or relay, in the most minimal operating environment possible.
                                                                                          • ***
                                                                                            An update on SSH protocol 1 ("we're most of the way towards fully deprecating SSH protocol 1"
                                                                                            • Damien Miller has given us an update on the status of the “SSH protocol 1”, and the current plans to deprecate it in an upcoming version of openssh.
                                                                                            • “We've had this old protocol in various stages of deprecation for almost 10 years and it has been compile-time disabled for about a year.

                                                                                              Downstream vendors, to their credit, have included this change in recent OS releases by shipping OpenSSH packages that disable protocol 1 by default and/or offering separate, non-default packages to enable it.

                                                                                              This seems to have proceeded far more smoothly than even my most optimistic hopes, so this gives us greater confidence that we can complete the removal of protocol 1 soon. We want to do this partly to hasten the demise of this cryptographic trainwreck, but also because doing so removes a lot of legacy code from OpenSSH that inflates our attack surface. Having it gone will make our jobs quite a bit easier as we maintain and refactor.”

                                                                                              • The current time-line looks like removing server-size protocol 1 support this August after OpenSSH 7.4 is released, leaving client-side disabled.

                                                                                              • Then a year from now (June 2017) all protocol 1 code will be removed.

                                                                                              • Beastie Bits
                                                                                                • Last day to get your BSDNow Shirts! Order now, wear at BSDCan!

                                                                                                • Move local government (Austin TX) from Microsoft Windows (incl. Office) to Linux and/or PC-BSD

                                                                                                • Plan9 boot camp is back... and already at capacity. Another opportunity may come in September

                                                                                                • Smaller is better - building an openbsd based router

                                                                                                • Baby Unix

                                                                                                • Security Update for FreeBSD & Another security update for FreeBSD

                                                                                                • Feedback/Questions
                                                                                                  • Eric - The iX experience
                                                                                                  • Mike - Building Ports
                                                                                                  • David - ZFS Backups
                                                                                                  • James - BSD VPS
                                                                                                  • Rich - ZFS Followup
                                                                                                  • ***
                                                                                                    1 hr 37 min
                                                                                                  • 141: BSD Likes Ike!

                                                                                                    This week on the show, we have all the latest news and stories! Plus we’ll be hearing more about OpnSense from the man himself, Ike!

                                                                                                    This episode was brought to you by

                                                                                                    Headlines
                                                                                                    Regarding Embargoes
                                                                                                    • Our buddy TedU has a great thought piece today on the idea of “embargoes” for security advisories.
                                                                                                    • This all stemmed from a recent incident with LibreSSL patches from embargoed OpenSSL vulns, that accidentally got committed too early.
                                                                                                    • Ted makes a pretty good case on the difficulties of having embargos, and maybe the reason there shouldn’t be. Couple of quotes to give you a taste:
                                                                                                    • “There are several difficulties maintaining embargoes. Keeping secrets is against human nature. I don’t want to be the one who leaks, but if I see something that looks like the secret is out, it’s a relief to be able to speak freely. There is a bias towards recognizing such signs where they may not really exist. (Exacerbated by broad embargoes where some parts leak but other parts don’t. It’s actually very hard to tell what’s not publicly known when you know everything.)

                                                                                                      The most thorough embargo and release timeline reconstruction is the heartbleed timeline. It’s another great case study. Who exactly decided who were the haves and have nots? Was it determined by who needed to know or who you needed to know? Eventually the dam started to crack.”

                                                                                                      “When Cloudflare brags that they get advance notice of vulnerabilities, attracting more customers, and therefore requiring even more early access, how are smaller players to compete? What happens if you’re not big enough to prenotify?

                                                                                                      Sometimes vulnerabilities are announced unplanned. Zero day cyber missiles are part of our reality, which means end users don’t really have the luxury of only patching on Tuesday. They need to apply patches when they appear. If applying patches at inconvenient times is a problem, make it not a problem. Not really a gripe about embargoes per se, but the scheduled timing of coordinated release at the end of the embargo is catering to a problem that shouldn’t exist.”

                                                                                                      • I will admit that CloudFlare bragging around Heartbleed was upsetting
                                                                                                      • The biggest issue here is the difficulty with coordinating so many open source projects, which are often done by volunteers, in different countries and time zones
                                                                                                      • The other issue is determining when the secret is “out of the bag”
                                                                                                      • ***
                                                                                                        MAJOR ABI BREAK: csu, ld.so, libc, libpthread update
                                                                                                        • OpenBSD warns those following the -current (development) branch to be careful as they upgrade because of a major ABI break that will result in applications not working
                                                                                                        • “Handling of single-threaded programs is now closer to multi-threaded, with ld.so and libc.a doing thread information base (TIB) allocation. Threaded programs from before the 2016/03/19 csu and ld.so update will no longer run. An updated ld.so must be built and installed before running make build.”
                                                                                                        • A special note for those on PowerPC: “PowerPC has been updated to offset the TIB from the hardware register. As a result, all threaded programs are broken until they have been rebuilt with the new libc and libpthread. perl must be built after building the libraries and before building the rest of base.”
                                                                                                        • “The definitions of environ and __progname for dynamically linked programs have been moved from the C startup code to ld.so(1). An updated ld.so must be built and installed before running make build.”
                                                                                                        • The link provides instructions on how to update your system properly
                                                                                                        • ***
                                                                                                          How to install FreeBSD 10.3 on VMWare Workstation 12 Pro
                                                                                                          • This tutorial starts at the very basics, running through the FreeBSD installer
                                                                                                          • But then it goes on to configuring the machine specifically for VMWare
                                                                                                          • After the system has been booted, the tutorial walks through installing the VMWare tools
                                                                                                          • Then networking is configured in both VMWare and FreeBSD
                                                                                                          • A small hack is required to make the VMWare tools startup script wait until the network is up
                                                                                                          • A very nice tutorial for people using VMWare
                                                                                                          • I am working on a patch to bsdinstall to ensure that the swap partition is put before the main partition, so it can more easily be resized if you later decide you need more space in your VM
                                                                                                          • the camcontrol reprobe subcommand has been added ,
                                                                                                          • “This makes it possible to manually force updating capacity data after the disk got resized. Without it it might be necessary to reboot before FreeBSD notices updated disk size under eg VMWare.”
                                                                                                          • ***
                                                                                                            BSD Router project releases v1.59
                                                                                                            • We’ve talked about the BSD Router project a bit in the past, but today we have a brand new release to bring to you.
                                                                                                            • For those who don’t remember, the BSDrp is a router aimed at replacing more of your big-commercial type systems.
                                                                                                            • First up in the new hotness, we have it based upon recently released FreeBSD 10.3!
                                                                                                            • In addition, there is a new package: New package: mlvpn (aggregated network links in order to benefit from the bandwidth of multiple links)
                                                                                                            • Other packages have gotten a bump with this release as well:

                                                                                                              • bsnmp-ucd to 0.4.2
                                                                                                              • dma to 0.11
                                                                                                              • dmidecode to 3.0
                                                                                                              • exabgp to 3.4.15
                                                                                                              • iperf3 to 3.1.2
                                                                                                              • monit to 5.17
                                                                                                              • mpd5 to 5.8
                                                                                                              • openvpn to 2.3.10
                                                                                                              • python to 2.7.11
                                                                                                              • quagga to 1.0.20160315
                                                                                                              • strongswan to 5.4.0
                                                                                                              • What are you waiting for? Amd64 and i386 images are ready for you to download now.

                                                                                                              • Interview - Isaac (.Ike) Levy -
                                                                                                                • See Ike again at SEMIBug in Troy, Michigan on May 17th
                                                                                                                • ***
                                                                                                                  News Roundup
                                                                                                                  Tredly - Prebuilt containers on FreeBSD
                                                                                                                  • Discussion regarding its GPLv3 licensing
                                                                                                                  • A new “container” solution called “Trendly” has started making some news around various tech sites.
                                                                                                                  • In particular, this new project uses FreeBSD as its base OS and jail functionality in the backend.
                                                                                                                  • Their solution seems based around the idea of shipping containers as manifests, such as lists of packages to install and configuration knobs.
                                                                                                                  • The project is still rather new, and we’ll be keeping an eye on it for the future.
                                                                                                                  • One notable change already though, it was (for some reason) released under GPLv3. Understandably this caused quite a ruckus with various folks in the community, since it’s built specifically on BSD. Since this, the code has been re-licensed as MIT, which is far more in the spirit of a traditional BSD license.
                                                                                                                  • ***
                                                                                                                    NVMe driver added to NetBSD - ported from OpenBSD
                                                                                                                    • NetBSD has gained support for Non-Volatile Memory Express, the new standard for PCIe attached Flash Memory
                                                                                                                    • The change of interface from SATA to NVMe offers a number of advantages, mostly, it doesn’t require the device to pretend to be a spinning disk
                                                                                                                    • One of the biggest advantages is that it supports completing multiple operations at once, with the Intel hardware I have tested, 63 I/Os can happen concurrently, so a very large queue depth is required to keep the device busy. The 64th I/O channel is reserved for administrative commands, to keep them from being delayed by the large queue depth
                                                                                                                    • The device I tested could read at 3800 MB/s, and write 1700MB/s, something that wouldn’t be possible with a normal SSD
                                                                                                                    • It is interesting that NetBSD took the NVMe support from OpenBSD, whereas the FreeBSD implementation was contributed directly by Intel
                                                                                                                    • This may have to do with that fact that OpenBSD’s device model is closer to that of NetBSD
                                                                                                                    • Commit Log
                                                                                                                    • ***
                                                                                                                      New BSDNow T-Shirts
                                                                                                                      • By popular demand, we have created a more subtle BSDNow shirt
                                                                                                                      • Featuring only the smallish BSDNow logo over the left breast
                                                                                                                      • Available in a number of styles (T-Shirt, Women’s T-Shirt, Long Sleeve, and Hoodie) as well as a number of colours: Black, Blue, Grey, and White
                                                                                                                      • The hope is that enough orders come though so we can get them shipped in and your sweaty little hands in time for BSDCan. (I’ll be wearing mine, will you B...SD?)
                                                                                                                      • If you still want one of our now-famous “The Usual BSD’s” t-shirts, you can also indicate your interest here, and once 10 or more shirts are ordered, a reprint will happen automatically
                                                                                                                      • ***
                                                                                                                        PC-BSD 11-CURRENT with Package Base
                                                                                                                        • Looking for a way to play with the new FreeBSD base package system?
                                                                                                                        • This month’s PC-BSD -CURRENT image now used packages for base system installation, and is asking for testers to help find bugs.
                                                                                                                        • Known issues so far:
                                                                                                                          • setuid binaries (Fix in works)
                                                                                                                          • Missing tzone files
                                                                                                                          • Distrib packages
                                                                                                                          • If all that doesn’t scare you away, then give it a whirl! Upgrades for previous APRIL images are now online also.
                                                                                                                          • ***
                                                                                                                            BeastieBits
                                                                                                                            • HardenedBSD + LibreSSL

                                                                                                                            • Michael Dexter's talk at LFNW 2016 is the 2nd highest youtube views from this years conference

                                                                                                                            • Why OpenBSD is important to me

                                                                                                                            • Study of nginx-1.9.12 performance/latency on DragonFlyBSD-g67a73

                                                                                                                            • Running FreeBSD / OpenBSD / NetBSD as a virtualised guest on Online.net

                                                                                                                            • The interesting story of how IllumOS syscalls work

                                                                                                                            • The BeaST is the FreeBSD based dual-controller reliable storage system concept with aim to implement ZFS and in-memory cache.

                                                                                                                            • Francois Tigeot updates the drm/i915 driver to match what’s in Linux kernel 4.3

                                                                                                                            • FreeBSD is working on the update to Linux Kernel 4.6, we may finally get ahead of Dragonfly!

                                                                                                                            • Feedback/Questions
                                                                                                                              • Oskar - Torrent Jail
                                                                                                                              • Shane - ZFS Delete
                                                                                                                              • Adam - Zimbra Port
                                                                                                                              • Ray - PC-BSD - FrameBuffer
                                                                                                                              • Richard - ZFS Backups
                                                                                                                              • ***
                                                                                                                                1 hr 42 min
                                                                                                                              • 140: Tracing it back to BSD

                                                                                                                                This week on BSDNow, Allan is back in down from Europe! We’ll get to hear some of his wrap-up and get caught up on the latest BSD

                                                                                                                                This episode was brought to you by

                                                                                                                                Headlines
                                                                                                                                FreeBSD Quarterly Report
                                                                                                                                • This quarterly status report starts with a rather interesting introduction by Warren Block
                                                                                                                                • ASLR
                                                                                                                                • Porting CEPH to FreeBSD
                                                                                                                                • RCTL I/O Rate Limiting
                                                                                                                                • The Graphics Stack on FreeBSD (Haswell is in, work is progressing on the next update)
                                                                                                                                • CAM I/O Scheduler
                                                                                                                                • NFS Server updates, working around the 16 group limit, and implementing pNFS, allowing NFS to scale beyond a single server
                                                                                                                                • Static Analysis of the FreeBSD Kernel with PVS Studio
                                                                                                                                • PCI-express HotPlug
                                                                                                                                • GitLab Port committed!
                                                                                                                                • WITH_FAST_DEPEND and other improvements to the FreeBSD build system
                                                                                                                                • Lots of other interesting stuff
                                                                                                                                • ***
                                                                                                                                  A Prog By Any Other Name
                                                                                                                                  • Ted Unangst looks at what goes into the name of a program
                                                                                                                                  • “Sometimes two similar programs are really the same program with two names. For example, grep and egrep are two commands that perform very similar functions and are therefore implemented as a single program. Running ls -i and observing the inode number of each file will reveal that there is only one file. Calling the program egrep is a shorthand for -E and does the same thing.”
                                                                                                                                  • So BSD provides __progname in libc, so a program can tell what its name is
                                                                                                                                  • But, what if it has more than one name?
                                                                                                                                  • “In fact, every program has three names: its name in the filesystem, the name it has been invoked with, and whatever it believes its own name to be.”
                                                                                                                                  • Of course it is not that easy.
                                                                                                                                  • “there’s another set of choices for each name, the full path and the basename”
                                                                                                                                  • “It’s even possible on some systems for argv[0] to be NULL.”
                                                                                                                                  • He then goes on to rename doas (the OpenBSD light replacement for sudo) to banana and discuss what happens
                                                                                                                                  • “On that note, another possible bug is to realize that syslog by default uses progname. A user may be able to evade log monitoring by invoking doas with a different name. (Just fixed.)”
                                                                                                                                  • Another interesting article from our friend Ted
                                                                                                                                  • ***
                                                                                                                                    FreeBSD and NetBSD Google Summer of Code projects have been announced
                                                                                                                                    • Some FreeBSD highlights:
                                                                                                                                      • Add SCSI passthrough to CTL (share an optical drive via iSCSI)
                                                                                                                                      • Add USB target mode driver based on CTL (share a USB device via iSCSI)
                                                                                                                                      • API to link created /dev entries to sysctl nodes
                                                                                                                                      • Implement Ethernet Ring Protection Switching (ERPS)
                                                                                                                                      • HD Audio device model in userspace for bhyve
                                                                                                                                      • Some NetBSD highlights:
                                                                                                                                        • Implement Ext4fs support in ReadOnly mode
                                                                                                                                        • NPF and blacklistd web interface
                                                                                                                                        • Port U-Boot so it can be compiled on NetBSD
                                                                                                                                        • Split debug symbols for pkgsrc builds
                                                                                                                                        • ***
                                                                                                                                          libressl - more vague priomises
                                                                                                                                          • We haven’t had a Ted U article on the show as of late, however this week we get several! In his next entry “LibreSSL, more vague promises”
                                                                                                                                          • He then goes into some detail on what has happened with LibreSSL in the past while, as well as future plans going forward.
                                                                                                                                          • “With an eye to the future, what new promises can we make? Some time ago I joked that we only promised to make a better TLS implementation, not a better TLS. Remains true, but fortunately there are people working on that, too. TLS 1.3 support is on the short term watchlist. The good news is we may be ahead of the game, having already removed compression. How much more work can there be?”
                                                                                                                                          • “LibreSSL integrated the draft chacha20-poly1305 construction from BoringSSL. The IETF has since standardized a slightly different version because if it were the same it wouldn’t be different. Support for standard variant, and the beginning of deprecation for the existing code, should be landing very shortly. Incidentally, some people got bent out of shape because shipping chacha20 meant exposing non IANA approved numbers to Internet. No promises that won’t happen again.”
                                                                                                                                          • ***
                                                                                                                                            Interview - Samy Al Bahra - @0xF390
                                                                                                                                            • Backtrace
                                                                                                                                            • ***
                                                                                                                                              News Roundup
                                                                                                                                              systrace(1) is removed for OpenBSD 6.0
                                                                                                                                              • OpenBSD has removed systrace, an older mechanism for limiting what syscalls an application can make
                                                                                                                                              • It is mostly replaced by the pledge() system
                                                                                                                                              • OpenBSD was the first implementation, most others have been unmaintained for some time
                                                                                                                                              • The last reported Linux version was for kernel 2.6.1
                                                                                                                                              • NetBSD removed systrace in 2007
                                                                                                                                              • ***
                                                                                                                                                pfSense Video Series: Comprehensive Guide To pfSense 2.3
                                                                                                                                                • A series of videos (11 so far), about pfSense
                                                                                                                                                • Covers Why you would use it, how to pick your hardware, and installation
                                                                                                                                                • Then the series covers some networking basics, to make sure you are up to speed before configuring your pfSense
                                                                                                                                                • Then a comprehensive tour of the WebUI
                                                                                                                                                • Then goes on to cover graphing, backing up and restoring configuration
                                                                                                                                                • There are also videos on running DHCP, NTP, and DNS servers
                                                                                                                                                • ***
                                                                                                                                                  DuckDuckGo announces its 2016 FOSS Donations
                                                                                                                                                  • The theme is “raising the standard of trust online”
                                                                                                                                                  • Supported projects include:
                                                                                                                                                  • OpenBSD Foundation announces DuckDuckGo as a Gold Sponsor
                                                                                                                                                  • the Freedom of the Press Foundation for SecureDrop
                                                                                                                                                  • the Freenet Project
                                                                                                                                                  • the CrypTech Project
                                                                                                                                                  • the Tor Project
                                                                                                                                                  • Fight for the Future for Save Security
                                                                                                                                                  • Open Source Technology Improvement Fund for VeraCrypt (based on TrueCrypt)
                                                                                                                                                  • Riseup Labs for LEAP (LEAP Encryption Access Project)
                                                                                                                                                  • GPGTools for GPGMail
                                                                                                                                                  • ***
                                                                                                                                                    Larry the BSD Guy hangs up his hat at FOSS Force
                                                                                                                                                    • After 15 years, Larry the BSD Guy has decided to hang it up, and walk into the sunset! (Figuratively of course)
                                                                                                                                                    • After wrapping up coverage of recent LinuxFest NorthWest (Which he didn’t attend), Larry has decided it’s time for a change and is giving up his column over at FOSS Force, as well as stepping away from all things technical.
                                                                                                                                                    • His last write-up is a good one, and he has some nice plugs for both Dru Lavigne and Michael Dexter of the BSD community.
                                                                                                                                                    • He will be missed, but we wish him all the luck with the future! He also puts out the plug that FOSS Force will be needing a new columnist in the near future, so if you are interested please let them know!
                                                                                                                                                    • ***
                                                                                                                                                      Beastie Bits
                                                                                                                                                      • If you sponsored “FreeBSD Mastery: Advanced ZFS”, check your mail box
                                                                                                                                                      • pkg-1.7.0 is an order of magnitude slower than pkg-1.6.4 -- Caused by a problem not in pkg
                                                                                                                                                      • LinuxFest Northwest 2016 Recap
                                                                                                                                                      • Dru Lavigne's 'Doc like an Egyption' talk from LFNW
                                                                                                                                                      • Michael Dexters' 'Switching to BSD from Linux' talk from LFNW
                                                                                                                                                      • Michael Dexters' 'Secrets to enduring user groups' talk from LFNW
                                                                                                                                                      • January issue of Freebsd Journal online for free
                                                                                                                                                      • Ghost BSD releases 10.3 Alpha1 for testing
                                                                                                                                                      • EuroBSDcon 2016 - Call for Papers - Dealine: May 8th
                                                                                                                                                      • KnoxBUG Initial Meeting
                                                                                                                                                      • Photos, slides, and videos from the Open Source Data Center Conference
                                                                                                                                                      • ***
                                                                                                                                                        Feedback/Questions
                                                                                                                                                        • Mohammad - Replication
                                                                                                                                                        • John - Rolling new packages
                                                                                                                                                        • Clint - Unicast
                                                                                                                                                        • Bill - GhostBSD
                                                                                                                                                        • Charles - BSD Videos
                                                                                                                                                        • ***
                                                                                                                                                          1 hr 32 min
                                                                                                                                                        • 139: Cheri-picking BSD

                                                                                                                                                          This week, Allan is out of town, but since when has that ever stopped us from bringing you a new episode of BSDNow? We have news,

                                                                                                                                                          This episode was brought to you by

                                                                                                                                                          Headlines
                                                                                                                                                          Unix's file durability problem
                                                                                                                                                          • Another article by Chris Siebenmann from the University of Toronto
                                                                                                                                                          • This time, the issue was a lost comment on his Python based blog which uses files on disk rather than a database
                                                                                                                                                          • After an unexpected restart of the system, a recently posted comment no longer existed
                                                                                                                                                          • The post goes on to investigate what the ‘right way’ to ensure file durability is
                                                                                                                                                          • The answer, as you might expect, is “it depends…”
                                                                                                                                                          • Normally, fsync() should work, but it seems with ext4 and some other file systems, you must also fsync() the directory where the file was created, or it might not be possible to find the file after a crash
                                                                                                                                                          • Do you need to fsync() the parent of that directory too? Then what is fdatasync() for? What about just calling sync()?
                                                                                                                                                          • “One issue is that unlike many other Unix API issues, it's impossible to test to see if you got it all correct and complete. If your steps are incomplete, you don't get any errors; your data is just silently sometimes at risk. Even with a test setup to create system crashes or abrupt power loss (which VMs make much easier), you need uncommon instrumentation to know things like if your OS actually issued disk flushes or just did normal buffered writes. And straightforward testing can't tell you if what you're doing will work all the time, because what is required varies by Unix, kernel version, and the specific filesystem involved.”
                                                                                                                                                          • Second post by author: How I'm trying to do durable disk writes
                                                                                                                                                          • Additional Discussion on Hacker News
                                                                                                                                                          • The discussion on HN also gets into AIO and other more complicated facilities, but even those seem to be vague about when your data is actually safe
                                                                                                                                                          • At least ZFS ensures you never get half of your new data, and half of your old data.
                                                                                                                                                          • ***
                                                                                                                                                            Build a FreeBSD 10.3-release Openstack Image with bsd-cloudinit
                                                                                                                                                            • Are you using FreeBSD and OpenStack or would you like to be? We next have a great tutorial which explains the ins-and-outs of doing exactly that.
                                                                                                                                                            • Remy van Elst brings us a great walkthrough on his site on how to get started, and hint it involves just a few ‘pip’ commands.
                                                                                                                                                            • After getting the initial Python tools bootstrapped, next he shows us how to save our OpenStack settings in a sourceable shell command, which comes in handy before doing admin on a instance.
                                                                                                                                                            • Next the ‘glance’ and ‘cinder’ tools are used to upload the target OS ISO file and then create a volume for it to install onto.
                                                                                                                                                            • Next the VM is started and some specific steps are outlined on getting FreeBSD 10.3 installed into the instance. It includes some helpful hints as how to fix a mountroot error, if you installed to ada0, but need to mount via vtdb0 instead now.
                                                                                                                                                            • After the installation is finished, the prep for ‘cloudinit’ is done, and the resulting image is compressed and made ready for deployment.
                                                                                                                                                            • We’ve kinda stepped through some of the more gory steps here, but if OpenStack is something you work with, this tutorial should be at the top of your “must read” list.
                                                                                                                                                            • ***
                                                                                                                                                              Undeadly and HTTPS
                                                                                                                                                              • Undeadly, the OpenBSD journal, is thinking of moving to HTTPS only
                                                                                                                                                              • In order to do this, they would like some help rewriting part of the site
                                                                                                                                                              • Currently, when you login to post comments, this is done over HTTPS, but to an stunnel instance running a custom script that gives you a cookie, and sends you back to the non-HTTPS site
                                                                                                                                                              • They would like to better integrate the authentication system, and otherwise improve the code for the site
                                                                                                                                                              • There is some pushback as well, questioning whether it makes sense to block users who are unable to use HTTPS for one reason or another
                                                                                                                                                              • I think it makes sense to have the site default to HTTPS, but, maybe HTTPS only doesn’t make sense. There is nothing private on the site, other than the authentication system which is optional, not required to post a comment.
                                                                                                                                                              • There is also some discussion about the code for the site, including the fact that when the code was released, the salt for the password database was included
                                                                                                                                                              • This is not actually a security problem, but the discussion may be interesting to some viewers
                                                                                                                                                              • ***
                                                                                                                                                                FreeBSD Journal March/April Edition
                                                                                                                                                                • The next issue of the FreeBSD Journal is here, and this time it is about Teaching with Operating Systems
                                                                                                                                                                • In addition to the usual columns, including: svn update, the ports report, a conference report from FOSDEM, a meetup report from PortsCamp Taipei, A book review of "The Algorithm Design Manual", and the Events Calendar; there are a set of feature articles about teaching
                                                                                                                                                                • Teaching with FreeBSD through Tracing, Analysis, and Experimentation
                                                                                                                                                                • CHERI: Building a foundation for secure, trusted computing bases
                                                                                                                                                                • A brief history of Fast Filesystems
                                                                                                                                                                • There is also an interview with Gleb Smirnoff, a member of the Core team, release engineering, and the deputy security officer, as well as a senior software developer at Netflix
                                                                                                                                                                • Get the latest issue from your favourite mobile store, or the “Desktop Edition” directly in your browser from the FreeBSD Foundation’s website
                                                                                                                                                                • ***
                                                                                                                                                                  Interview - Brooks Davis - [email protected] / @brooksdavis
                                                                                                                                                                  • CHERI and Capabilities
                                                                                                                                                                  • ***

                                                                                                                                                                    TrueNAS Three-Peats!!!

                                                                                                                                                                    News Roundup
                                                                                                                                                                    UbuntuBSD Is Looking To Become An Official Ubuntu Flavor
                                                                                                                                                                    • You may recall a few weeks back that we were a bit surprised by the UbuntuBSD project and its longevity / goals.
                                                                                                                                                                    • However the project seems to be pushing forward, with news on softpedia.com that they are now seeking to become an ‘official’ Ubuntu Flavor.
                                                                                                                                                                    • They’ve already released a forth beta, so it seems the project currently has some developers pushing it forward:
                                                                                                                                                                    • "I would like to contribute all my work to Ubuntu Community and, if you think it is worthy, make ubuntuBSD an official Ubuntu project like Xubuntu or Edubuntu," said Jon Boden. "If you're interested, please let me know how would you like me to proceed."

                                                                                                                                                                      It's Just Bits
                                                                                                                                                                      • We have next an interesting blog post talking about the idea that “It’s just all bits!”
                                                                                                                                                                      • The author then takes us down the idea of no matter how old or mysterious the code may be, in the end it is ending up as bits arranged a certain way.
                                                                                                                                                                      • Then the article transitions and takes us through the idea that old bits, and bits that have grown too large should often be good candidates for replacement by “simpler” bits, using OpenBSD as an example.
                                                                                                                                                                      • “The OpenBSD community exemplifies this in many ways by taking existing solutions and simplifying them. Processing man pages is as old as Unix, and even in the 21st century OpenBSD has taken the time to rewrite the existing solution to be simpler and safer. It's just bits that need to be turned into other bits. Similarly, OpenBSD has introduced doas as an alternative to sudo. While not replacing sudo entirely, doas makes the 99.99% case of what people use sudo for easier and safer. They are just bits that need to be authenticated. “

                                                                                                                                                                        • All in all, a good read, and it reinforces the point that nothing is really truly “finished”. As computing advances and new technologies / practices are made available, sometimes it makes a lot of sense to go back and re-write things in order to simplify the complexity that has snuck in over time.
                                                                                                                                                                        • ***
                                                                                                                                                                          Disk IO limiting is coming to FreeBSD
                                                                                                                                                                          • A much requested feature for both Jails and VM’s on FreeBSD has just landed with experimental support in -HEAD, Disk IO limiting!

                                                                                                                                                                          • The Commit message states as follows:

                                                                                                                                                                          • “Add four new RCTL resources - readbps, readiops, writebps and writeiops,

                                                                                                                                                                            for limiting disk (actually filesystem) IO.

                                                                                                                                                                            Note that in some cases these limits are not quite precise. It's ok,

                                                                                                                                                                            as long as it's within some reasonable bounds.

                                                                                                                                                                            Testing - and review of the code, in particular the VFS and VM parts - is

                                                                                                                                                                            very welcome.”

                                                                                                                                                                            • Well, what are you waiting for? This is a fantastic new feature which I’m sure will get incorporated into other tools for controlling jails and VM’s down the road.
                                                                                                                                                                            • If you give it a spin, be sure to report back bugs so they can get quashed in time for 11.
                                                                                                                                                                            • ***
                                                                                                                                                                              BeastieBits
                                                                                                                                                                              • PC-BSD 10.3 Is the Last in the Series, PC-BSD 11.0 Arrives Later This Year

                                                                                                                                                                              • ASLR now on by default in NetBSD amd64

                                                                                                                                                                              • Daniel Bilik's fix for hangs on Baytrail

                                                                                                                                                                              • Don’t forget about PGCon 2016

                                                                                                                                                                              • Get your paper in for EuroBSDCon 2016, deadline is May 8th

                                                                                                                                                                              • Feedback/Questions
                                                                                                                                                                                • John - Destroy all Dataset
                                                                                                                                                                                • Thomas - Misc Questions
                                                                                                                                                                                • Ben - ZFS Copy
                                                                                                                                                                                • Bryson - SysV IPC
                                                                                                                                                                                • Drin - IPSEC
                                                                                                                                                                                • ***
                                                                                                                                                                                  1 hr 10 min
                                                                                                                                                                                • 138: Rushing into BSD

                                                                                                                                                                                  This week on the show, we will be talking to Benedict Reushling about his role with the FreeBSD foundation and the journey that took him

                                                                                                                                                                                  This episode was brought to you by

                                                                                                                                                                                  Headlines
                                                                                                                                                                                  HardenedBSD introduces full PIE support
                                                                                                                                                                                  • PIE base for amd64 and i386
                                                                                                                                                                                  • Only nine applications are not compiled as PIEs
                                                                                                                                                                                  • Tested PIE base on several amd64 systems, both virtualized and bare metal
                                                                                                                                                                                  • Hoped to be to enabled it for ARM64 before or during BSDCan.
                                                                                                                                                                                  • Shawn will be bringing ten Raspberry Pi 3 devices (which are ARM64) with to BSDCan, eight of which will be given out to lucky individuals. “We want the BSD community to hack on them and get ARM64/Aarch64 fully functional on them.”
                                                                                                                                                                                  • ***
                                                                                                                                                                                    Lessons learned from 30 years of MINIX
                                                                                                                                                                                    • Eat your own dog food.
                                                                                                                                                                                    • By not relying on idiosyncratic features of the hardware, one makes porting to new platforms much easier.
                                                                                                                                                                                    • The Internet is like an elephant; it never forgets.
                                                                                                                                                                                    • When standards exist (such as ANSI Standard C) stick to them.
                                                                                                                                                                                    • Even after you have adopted a strategy, you should nevertheless reexamine it from time to time.
                                                                                                                                                                                    • Keep focused on your real goal, Einstein was right: Things should be as simple as possible but not simpler.
                                                                                                                                                                                    • ***
                                                                                                                                                                                      pfSense 2.3 released
                                                                                                                                                                                      • Rewrite of the webGUI utilizing Bootstrap
                                                                                                                                                                                      • TLS v1.0 disabled for the GUI
                                                                                                                                                                                      • Moved to a FreeBSD 10.3-RELEASE base
                                                                                                                                                                                      • PHP Upgraded to 5.6
                                                                                                                                                                                      • The "Full Backup" feature has been deprecated
                                                                                                                                                                                      • Closed 760 total tickets of which 137 are fixed bugs
                                                                                                                                                                                      • Known Regressions
                                                                                                                                                                                      • OpenVPN topology change
                                                                                                                                                                                      • IP aliases with CARP IP parent lose their parent interface association post-upgrade
                                                                                                                                                                                      • IPsec IPComp does not work.
                                                                                                                                                                                      • IGMP Proxy does not work with VLAN interfaces.
                                                                                                                                                                                      • Many other updates and changes
                                                                                                                                                                                      • ***
                                                                                                                                                                                        OPNsense 16.1.10 released
                                                                                                                                                                                        • openvpn: revive windows installer binaries
                                                                                                                                                                                        • system: improved config history and backup pages layout
                                                                                                                                                                                        • system: increased backup count default from 30 to 60
                                                                                                                                                                                        • system: /var /tmp MFS awareness for crash dumps added
                                                                                                                                                                                        • trust: add “IP security IKE intermediate” to server key usage
                                                                                                                                                                                        • firmware: moved reboot, halt and defaults pages to new home
                                                                                                                                                                                        • languages: updates to Russian, French, German and Japanese
                                                                                                                                                                                        • Many other updates and changes
                                                                                                                                                                                        • ***
                                                                                                                                                                                          Interview - Benedict Reuschling - [email protected]
                                                                                                                                                                                          • FreeBSD Foundation in Europe
                                                                                                                                                                                          • ***
                                                                                                                                                                                            News Roundup
                                                                                                                                                                                            Write opinionated workarounds
                                                                                                                                                                                            • Colin Percival has written a great blog post this past week, specifically talking about his policy of writing “opinionated workarounds”.
                                                                                                                                                                                            • The idea came about due to his working on multi-platform software, and the frustrations of dealing with POSIX violations
                                                                                                                                                                                            • The crux of the post is how he deals with these workarounds. Specifically by only applying them to the particular system in which it was required. And doing so loudly.
                                                                                                                                                                                            • This has some important benefits. First, it doesn’t potentially expose other systems to bugs / security flaws when a workaround doesn’t
                                                                                                                                                                                            • “work” on a system for which it wasn’t designed. Secondly it’s important to complain. Loudly. This lets the user know that they are running on a system that doesn’t adhere to POSIX compliance, and maybe even get the attention of a developer who could remedy the situation.
                                                                                                                                                                                              ***
                                                                                                                                                                                              Privilege escalation in calendar(1)
                                                                                                                                                                                              • File this one under “Ouch that hurts” a new security vuln has been posted, this time against NetBSD’s ‘calendar’ command.
                                                                                                                                                                                              • Specifically it looks like some of the daily scripts uses the ‘-a’ flag, which requires super-user privs in order to process all users calendar files and mail the results.
                                                                                                                                                                                              • However the bug occurred because the calendar command didn’t drop priv properly before executing external commands (whoops!)
                                                                                                                                                                                              • To workaround you can set run_calendar=NO in the daily.conf file, or apply the fixed binary from upstream.
                                                                                                                                                                                              • ***
                                                                                                                                                                                                PGCon 2016
                                                                                                                                                                                                • PGCon 2016 is now only 4 weeks away
                                                                                                                                                                                                • The conference will be held at the University of Ottawa (same venue as BSDCan) from May 17th to 20th
                                                                                                                                                                                                • Tutorials: 17-18 May 2016 (Tue & Wed)
                                                                                                                                                                                                • Talks: 19-20 May 2016 (Thu-Fri)
                                                                                                                                                                                                • Wednesday is a developer unconference.
                                                                                                                                                                                                • Saturday is a user unconference.
                                                                                                                                                                                                • “PGCon is an annual conference for users and developers of PostgreSQL, a leading relational database, which just happens to be open source. PGCon is the place to meet, discuss, build relationships, learn valuable insights, and generally chat about the work you are doing with PostgreSQL. If you want to learn why so many people are moving to PostgreSQL, PGCon will be the place to find out why. Whether you are a casual user or you've been working with PostgreSQL for years, PGCon will have something for you.”
                                                                                                                                                                                                • New to PGSQL? Just a user? Long time developers? This conference has something for you. A great lineup of talks, plus unconference days focused on both users and developers
                                                                                                                                                                                                • ***
                                                                                                                                                                                                  CfP EuroBSDCon 2016
                                                                                                                                                                                                  • The call for papers has been issued for EuroBSDCon 2016 in Belgrade, Serbia
                                                                                                                                                                                                  • The conference will be held from the 22nd to 25th of September, 2016
                                                                                                                                                                                                  • The deadline for talk submissions is: Sunday the 8th of May, 2016
                                                                                                                                                                                                  • Submit your talk or tutorial proposal before it is too late
                                                                                                                                                                                                  • ***
                                                                                                                                                                                                    Beastie Bits
                                                                                                                                                                                                    • “FreeBSD Mastery: Advanced ZFS” has officially been released

                                                                                                                                                                                                    • Support of OpenBSD pledge(2) in programming Languages

                                                                                                                                                                                                    • pkgsrcCon 2016 -Call for Presentations

                                                                                                                                                                                                    • Christos Zoulas talks about blacklistd

                                                                                                                                                                                                    • Penguicon 2016 Lucas Track Schedule

                                                                                                                                                                                                    • Feedback/Questions
                                                                                                                                                                                                      • Peter - NVME
                                                                                                                                                                                                      • Jeremy - Wireless Gear
                                                                                                                                                                                                      • Ted - Rpi2 Packages - Cross Building Wiki
                                                                                                                                                                                                      • Geoff - Jail Failover
                                                                                                                                                                                                      • Zach - Graphical Bhyve?
                                                                                                                                                                                                      • ***
                                                                                                                                                                                                        1 hr 37 min
                                                                                                                                                                                                      • 137: FreeNAS Mini XL

                                                                                                                                                                                                        This week on BSD Now, I’m out of town for the week, but we have a special unboxing video to share with you, that you won’t want to miss. That, plus the latest BSD news, is coming your way right now!

                                                                                                                                                                                                        This episode was brought to you by

                                                                                                                                                                                                        Headlines
                                                                                                                                                                                                        Example of a FreeBSD bug hunting session by a simple user
                                                                                                                                                                                                        • Don’t be fooled, Olivier Cochard-Labbé is a bit more than just a FreeBSD user
                                                                                                                                                                                                        • Original founder of the FreeNAS project many years ago, and currently leads the BSD Router Project (designed as a replacement for “Big Iron” routers like Cisco’s etc)
                                                                                                                                                                                                        • However, he is not actually a committer on any of the BSD projects, and is mostly focused on networking, rather than development, so it is fair to call him a user
                                                                                                                                                                                                        • He walks us through a bug hunting session that started when he updated his wireless router
                                                                                                                                                                                                        • “My wireless-router configuration was complex: it involves routing, wireless in hostap mode, ipfw, snort, bridge, openvpn, etc.”
                                                                                                                                                                                                        • Provides helpful advice on writing problem reports to developers, including trying to reproduce your issue with as minimal a setup as possible. This both reduces the amount of setup a developer has to do to try to recreate your issue, and can often make it more obvious where the problem actually lies
                                                                                                                                                                                                        • As you might expect, the more he researched the problem, the more questions he had
                                                                                                                                                                                                        • The journey goes through the kernel debugger, learning dtrace, and reading some source code
                                                                                                                                                                                                        • In the end it seems the problem is that the bridge interface marks itself as down if none of the interfaces are in an ‘UP’ state. The wireless interface was in the unknown state, and was actually up, but when the wired interface was disconnected, this caused the bridge to mark it self as down.
                                                                                                                                                                                                        • ***
                                                                                                                                                                                                          How-to Install OpenBSD 5.9 plus XFCE desktop and basic applications
                                                                                                                                                                                                          • Now this is the way to do videos. Over at the RibaLinux blogspot site, we have a great video showing how to setup and install OpenBSD 5.9 with XFCE and basic desktop applications.
                                                                                                                                                                                                          • Along with the video tutorial, another nicety is the commands-used script, so you can see exactly how the setup was done, without having to pause/rewind the video to keep up. How to install PC-BSD 10.3
                                                                                                                                                                                                          • In addition to the OpenBSD 5.9 setup video, they just published a PC-BSD 10.3 installation video as well, check it out!
                                                                                                                                                                                                          • ***
                                                                                                                                                                                                            FreeBSD on xhyve tutorial
                                                                                                                                                                                                            • Originally only able to boot linux, xhyve, a “sort of” port of bhyve to OS X, can now run FreeBSD
                                                                                                                                                                                                            • This tutorial makes it much easier, providing a script
                                                                                                                                                                                                            • There are a few small command line flag differences from bhyve on FreeBSD
                                                                                                                                                                                                            • The tutorial also covers sharing a directory between the guest and the host, resizing and growing the disk for the guest, and converting a QEMU image to be run under xhyve
                                                                                                                                                                                                            • ***
                                                                                                                                                                                                              How to Configure SSHguard With IPFW Firewall On FreeBSD
                                                                                                                                                                                                              • It’s been a while, but UNIXMen has dropped on us another FreeBSD tutorial, this time on how to setup IPFW and ‘sshguard’ to protect your system.
                                                                                                                                                                                                              • In this tutorial they first lay down the rationale for picking IPFW as the firewall, but the reasons mainly boil down to IPFW being developed primarily on FreeBSD, and as such isn’t lagging behind when it comes to features / support.
                                                                                                                                                                                                              • Interestingly enough, they also go the route of adding their own /usr/local/etc/rc.firewall script which will be used to specify TCP/UDP ports to open through IPFW via the rc.conf file
                                                                                                                                                                                                              • Once that setup is complete (which you can just copy-n-paste) they then move onto ‘sshguard’ setup.
                                                                                                                                                                                                              • Specifically you’ll need to be sure to install the correct port/pkg, sshguard-ipfw in order to work in this setup, although sshguard-pf and friends are available also.
                                                                                                                                                                                                              • The article mentions that the name ‘sshguard’ can also be misleading, since it can be used to detect brute force attempts into a number of services.
                                                                                                                                                                                                              • From there a bunch of configuration is thrown at you, which will allow you to start making the most out of sshguard’s potential, well worth your read if you are using IPFW, or even PF and want to get the basics down of using sshguard properly.
                                                                                                                                                                                                              • ***
                                                                                                                                                                                                                FreeNAS Mini XL Video Unboxing
                                                                                                                                                                                                                Beastie Bits

                                                                                                                                                                                                                Amazon lists FreeBSD as 'Other Linux'

                                                                                                                                                                                                                sbin/hammer: Make hammer commands print root volume path

                                                                                                                                                                                                                sbin/hammer: Print volume list after volume-add|del

                                                                                                                                                                                                                Front cover reveal for the upcoming 'FreeBSD Mastery: Advanced ZFS" book

                                                                                                                                                                                                                If you don’t already have one, get your FreeBSD Pillow

                                                                                                                                                                                                                Feedback/Questions
                                                                                                                                                                                                                • Daniel - SysVIPC
                                                                                                                                                                                                                • Shane - OpenToonz
                                                                                                                                                                                                                • ***
                                                                                                                                                                                                                  40 min
                                                                                                                                                                                                                • 136: This is GNN

                                                                                                                                                                                                                  This week on the show, we will be interviewing GNN of the FreeBSD project to talk about the new TeachBSD initiative. That plus the latest BSD headlines, all coming your way right now!

                                                                                                                                                                                                                  This episode was brought to you by

                                                                                                                                                                                                                  Headlines
                                                                                                                                                                                                                  FreeBSD 10.3-RELEASE Announcement
                                                                                                                                                                                                                  • FreeBSD 10.3 has landed, with extended support until April 30, 2018
                                                                                                                                                                                                                  • This is likely to be the last extended support release, as starting with 11, the new support model will encourage upgrading to the latest minor version by ending support for the previous minor version approximately 2 months after each point release. The Major version / stable branch will still be supported for the same 5 year term. This will allow the FreeBSD project to move forward more quickly, while still providing the same level of long term support
                                                                                                                                                                                                                  • The UEFI boot loader is much improved, and now supports booting root-on-ZFS, and the beastie menu
                                                                                                                                                                                                                  • The beastie menu itself has been updated with support for ZFS Boot Environments
                                                                                                                                                                                                                  • The CAM Target Layer (CTL) now supports High Availability, allowing the construction of much more advanced storage systems
                                                                                                                                                                                                                  • The 64bit Linux Emulation Layer was backported
                                                                                                                                                                                                                  • Reroot support was added, allowing the system to boot off of a minimal image, such as a mfsroot and then reload all of userland from a different root file system (such as iSCSI, NFS, etc)
                                                                                                                                                                                                                  • The version of xz(1) has been updated to support multi-threaded compression
                                                                                                                                                                                                                  • sesutil(8) has been introduced, making it easier to manage large storage nodes
                                                                                                                                                                                                                  • Various ZFS updates
                                                                                                                                                                                                                  • As usual, a huge number of driver updates are also included
                                                                                                                                                                                                                  • ***
                                                                                                                                                                                                                    How to use OpenBSD with Libreboot: detailed instructions
                                                                                                                                                                                                                    • This tutorial covers installing OpenBSD on a Thinkpad X200 using Libreboot, a replacement for the traditional BIOS/firmware that comes from the manufacturer
                                                                                                                                                                                                                    • “Since 5.9, OpenBSD supports EFI boot mode, which means that it also have had to support framebuffer out of the box, so lack of proprietary VGA BIOS blob is no longer a problem and you can boot it with unmodified Libreboot binary release 20150518.”
                                                                                                                                                                                                                    • “In order to install OpenBSD on such a machine you will need someadditional preparations, since regular install59.fs won't work because bsd.rd doesn't have a framebuffer console.”
                                                                                                                                                                                                                    • A few extra steps are required to get it going, but they are outlined in the post
                                                                                                                                                                                                                    • This may be very interesting to those who prefer not to depend on binary blobs
                                                                                                                                                                                                                    • ***
                                                                                                                                                                                                                      Linking the FreeBSD base system with lld -- status update
                                                                                                                                                                                                                      • The FreeBSD Foundation’s Ed Maste provides an update on the LLVM mailing list about the progress of replacing the GNU linker with the lld in the FreeBSD base system
                                                                                                                                                                                                                      • “I'm pleased to report that I can now build a runnable FreeBSD system using lld as the linker (for buildworld), with a few workarounds and work-in-progress patches. I have not yet extensively tested the result but it is possible to login to the resulting system, and basic sanity tests I've tried are successful. Note that the kernel is still linked with ld.bfd.”
                                                                                                                                                                                                                      • Outstanding Issues
                                                                                                                                                                                                                        • Symbol version support (PR 23231). FreeBSD uses symbol versioning for backwards compatibility
                                                                                                                                                                                                                        • Linker script expression support (PR 26731). The FreeBSD kernel linker scripts contain expressions not currently supported by lld
                                                                                                                                                                                                                        • Library search paths. GNU LD automatically searches /lib, and lld does not
                                                                                                                                                                                                                        • the -N flag makes the text and data sections RW and does not page-align data.
                                                                                                                                                                                                                        • It is used by boot loader components.
                                                                                                                                                                                                                        • The -dc flag assigns space to common symbols when producing relocatable output (-r). It is used by the /rescue build, which is a single binary assembled from a collection of individual tools (sh, ls, fsck, ...)
                                                                                                                                                                                                                        • -Y adds a path to the default library search path. It is used by the lib32 build, which provides i386 builds of the system libraries for compatibility with i386 applications.
                                                                                                                                                                                                                        • With the ongoing work, it might be possible for FreeBSD 11 to use lld by default, although it might be best to wait to throw that particular switch
                                                                                                                                                                                                                        • ***
                                                                                                                                                                                                                          Your favorite billion user company using BSD just flipped on encryption for all their users -- and it took 15 Engineers to do it
                                                                                                                                                                                                                          • With the help of Moxie Marlinspike’s Open Whisper Systems, WhatsApp has integrated the ‘Signal’ encryption system for all messages, class, pictures, and videos sent between individuals or groups
                                                                                                                                                                                                                          • It uses public key cryptography, very similar to GPG, but with automated public key servers
                                                                                                                                                                                                                          • It also includes a system of QR codes to verify the identity of individuals in person, so you can be sure the person you are talking to is actually the person you met with
                                                                                                                                                                                                                          • WhatsApp runs their billion user network, using FreeBSD, with only about 50 engineers
                                                                                                                                                                                                                          • Only 15 of those engineers we needed to work on the project that has now deployed complete end-to-end encryption across the entire network
                                                                                                                                                                                                                          • The Wired article is very detailed and well worth the read
                                                                                                                                                                                                                          • ***
                                                                                                                                                                                                                            Interview - George Neville-Neil - [email protected] / @gvnn3

                                                                                                                                                                                                                            Teaching BSD with Tracing

                                                                                                                                                                                                                            News Roundup
                                                                                                                                                                                                                            Faces of FreeBSD 2016: Scott Long
                                                                                                                                                                                                                            • It’s been awhile since we’ve had a new entry into the “Faces of FreeBSD” series, but due to popular demand it’s back!
                                                                                                                                                                                                                            • This installment features developer Scott Long, who currently works at NetFlix, previously at Yahoo and Adaptec.
                                                                                                                                                                                                                            • Scott got a very early start into BSD, first discovering i386BSD 0.1 on a FTP server at Berkeley, back at 1992. From there on it’s been a journey, following along with FreeBSD since version 1.0 in 1993.
                                                                                                                                                                                                                            • So what stuff can we blame Scott for? In his own words:
                                                                                                                                                                                                                            • I’ve been a source committer since 2000. I got my start by taking over maintainership of the Adaptec ‘aac’ RAID driver. From 2002-2006 I was the Release Engineer and was responsible for the 5.x and 6.x releases. Though the early 5.x releases were not great, they were necessary stepping stones to the success of FreeBSD 6.x and beyond. I’m exceptionally proud of my role in helping FreeBSD move forward during that time.

                                                                                                                                                                                                                              I authored and maintained the ‘mfi’ and ‘mps’ storage drivers, the ‘udf’ filesystem driver, and several smaller sound and USB drivers. I’ve maintained, or at least touched, most of the storage device drivers in the system to some extent, and I implemented medium-grained locking on the CAM storage stack. Recently I’ve been working on overall system scalability and performance.

                                                                                                                                                                                                                              ASCII Flow
                                                                                                                                                                                                                              • A website that lets to draw and share ASCII diagrams
                                                                                                                                                                                                                              • Great for network layout maps, rack diagrams, protocol analysis etc
                                                                                                                                                                                                                              • Use it in your presentations and slides
                                                                                                                                                                                                                              • Sample
                                                                                                                                                                                                                              • ***
                                                                                                                                                                                                                                System Under Test: FreeBSD
                                                                                                                                                                                                                                • Part of a series looking at testing across a number of projects
                                                                                                                                                                                                                                • Outlines the testing framework of FreeBSD
                                                                                                                                                                                                                                • Provides a mini-tutorial on how to run the tests
                                                                                                                                                                                                                                • There are some other tests that are now covered, but this is due to a lack of documentation on the fact that the tests exist, and how to run them
                                                                                                                                                                                                                                • There is much ongoing work in this area
                                                                                                                                                                                                                                • ***
                                                                                                                                                                                                                                  Worst April Fools Joke EVER!
                                                                                                                                                                                                                                  • While a bad April Fool’s joke, it also shows some common misconceptions
                                                                                                                                                                                                                                  • The FreeBSD Foundation does not own the source repository, it is only the care taken of the trademark, and other things that require a single legal entity
                                                                                                                                                                                                                                  • OpenBSD and NetBSD are not ‘sub brands’ of FreeBSD
                                                                                                                                                                                                                                  • Bash was not ported to Windows, but rather Windows gained a system similar to FreeBSD’s linux_compat
                                                                                                                                                                                                                                  • It would be nice to have ZFS on Windows
                                                                                                                                                                                                                                  • ***
                                                                                                                                                                                                                                    Beastie Bits
                                                                                                                                                                                                                                    • Credit where credit's due...

                                                                                                                                                                                                                                    • M:Tier's OpenBSD packages and binpatches updated for 5.9

                                                                                                                                                                                                                                    • NYC BUG Meeting (2016-04-06) - Debugging with LLVM, John Wolfe

                                                                                                                                                                                                                                    • Need to create extremely high traffic loads? kq_sendrecv is worth checking out

                                                                                                                                                                                                                                    • If you're in the Maryland region, CharmBug has a meetup next week

                                                                                                                                                                                                                                    • How to get a desktop on DragonFly

                                                                                                                                                                                                                                    • Linux vs BSD Development Models

                                                                                                                                                                                                                                    • Feedback/Question
                                                                                                                                                                                                                                      • Paulo - ZFS Setup
                                                                                                                                                                                                                                      • Jonathan - Installation
                                                                                                                                                                                                                                      • Andrew - Career / School
                                                                                                                                                                                                                                      • 1 hr 36 min