BSD Now

BSD Now

Download on the App Store

All BSD Now episodes

  • 135: Speciality MWL

    This week on the show, we interview author Michael W Lucas to discuss his new book in the FreeBSD

    This episode was brought to you by

    Headlines
    OpenBSD 5.9 Released early
    • Finished ahead of schedule! OpenBSD 5.9 has officially landed
    • We’ve been covering some of the ongoing changes as they landed in the tree, but with the official release it’s time to bring you the final list of the new hotness which landed.
    • First up:
      • Pledge - Over 70%! Of the userland utilities have been converted to use it, and the best part, you probably didn’t even notice
      • UEFI - Laptops which are pre-locked down to boot UEFI only can now be installed and used - GPT support has also been greatly improved
      • ‘Less’ was replaced with a fork from Illumos, and has been further improved
      • Xen DomU support - OpenBSD now plays nice in the cloud
      • X11 - Broadwell and Bay Trail are now supported
      • Initial work on making the network stack better support SMP has been added, this is still ongoing, but things are starting to happen
      • 802.11N! Specifically for the iwn/iwm drivers
      • In addition to support for UTF-8, most other locales have been ripped out, leaving only C and UTF-8 left standing in the wake
      • All and all, sounds like a solid new release with plenty of new goodies to play with. Go grab a copy now!
      • ***
        New routing table code (ART) enabled in -current
        • While OpenBSD 5.9 just landed, we also have some interesting work landing right now in -CURRENT as well. Specifically the new routing table code (ART) has landed:
        • “I just enabled ART in -current, it will be the default routing table backend in the next snapshots.

          The plan is to squash the possible regressions with this new routing table backend then when we're confident enough, take its route lookup out of the KERNEL_LOCK(). Yes, this is one of the big steps for our network SMP improvements.
          In order to make progress, we need your help to make sure this new backend works well on your setup. So please, go download the next snapshot and report back.
          If you encounter any routing table regression, please make sure that you cannot reproduce it with your old kernel and include the output of # route -n show
          for the 2 kernels as well as the dmesg in your report.
          I know that simple dhclient(8) based setups work with ART, so please do not flood us too much. It's always great to know that things work, but it's also hard to keep focus ;)
          Thank your very much for your support!”

          • There you have it folks! If 5.9 is already too stale for you, time to move over to -CURRENT and give the new routing tables a whirl.
          • ***
            fractal cells - FreeBSD-based All-In-One solution for software development startups
            • Fractal Cells is a suite that transforms a stock FreeBSD installation into an instant “Startup Software Development Platform”
            • It Integrates ZFS, PostgreSQL, OpenSMTPD, NGINX, OpenVPN, Redmine, Jenkins, Zabbix, Gitlab, and Ansible, all under OpenLDAP common authentication
            • The suite is available under the 2-clause BSD license
            • Provides all of the tools and infrastructure to build your application, including code review, issue tracking, continuous integration, and monitoring
            • An interesting way to make it easier for people to start building new applications and startups on top of FreeBSD
            • ***
              LinuxSecrets publishes guide on installing FreeBSD ezJail
              • Covers all of the steps of setting up ezjail on FreeBSD
              • Includes the instructions for updating the version of the OS in the jail
              • In a number of places the tutorial uses:
              • > cat << EOF >> /etc/rc.conf > setting=”value”
              • Instead, use: sysrc setting=”value”
              • It is safer, and easier to type
              • When you create the jail, if you specify an IP address, it is expected that this IP address is already setup on the host machine
              • If instead you specify: ‘em0|192.168.1.105’ (where em0 is your network interface), the IP address will be added as an alias when the jail starts, and removed from the host when the jail is stopped
              • You can also comma separate a list of addresses to have multiple IPs (possibly on different interfaces) in the jail
              • Although recently posted, this appears as if it might be an update to a previous tutorial, as there are a few old references that have not been updated (pkg_add, rc.d/ezjail.sh), while the start of the article clearly covers pkg(8)
              • ***
                Interview - Michael W. Lucas - [email protected] /

                @mwlauthor

                • New Book: “FreeBSD Mastery: Specialty Filesystems”
                • News Roundup
                  NetBSD on Dreamcast
                  • Ahh the dreamcast, so much promise. So much potential. If you are still holding onto your beloved dreamcast hoping that someday Sega will re-enter the console market… Then give it up now!
                  • In the meantime, you can now do something more interesting with that box taking up space in the closet. We have a link to a GitHub repo where a user has uploaded his curses-based slide-show for the upcoming Fort-Wayne, Indiana meetup.
                  • Aside from the novelty of using a curses-based slide setup, the presenter will also be displaying them from his beloved dreamcast, which “of course” runs NetBSD 7
                  • The slide source code is available, which you too can view / compile and find out details of getting NetBSD boot-strapped on the DC.
                  • ***
                    OPNsense 16.1.7 Released
                    • captive portal: add session timeout to status info
                    • firewall: fix non-report of errors when filter reload errors couldn’t be parsed
                    • proxy: adjust category visibility as not all of them were shown before
                    • firmware: fix an overzealous upgrade run when the package tool only changes options
                    • firmware: fixed the binary upgrade patch from 15.7.x in FreeBSD’s package tool
                    • system: removed NTP settings from general settings
                    • access: let only root access status.php as it leaks too much info
                    • development: remove the automount features
                    • development: addition of “opnsense-stable” package on our way to nightly builds
                    • development: opnsense-update can now install locally available base and kernel sets
                    • ***
                      “FreeBSD Mastery: Advanced ZFS” in tech review
                      • Most of the tech review is finished
                      • It was very interesting to hear from many ZFS experts that they learned something from reading the review copy of the book, I was not expecting this
                      • Many minor corrections and clarifications have been integrated
                      • The book is now being copy edited
                      • ***
                        Why OpenBSD?
                        • Frederic Cambus gives us a nice perspective piece today on what his particular reasons are for choosing OpenBSD.
                        • Frederic is no stranger to UNIX-Like systems, having used them for 20 years now. In particular starting on Slackware back in ‘96 and moving to FreeBSD from 2000-2005 (around the 4.x series)
                        • His adventure into OpenBSD began sometime after 2005 (specific time unknown), but a bunch of things left a very good impression on him throughout the years.
                        • First, was the ease of installation, with its very minimalistic layout, which was one of the fastest installs he had ever done.
                        • Second was the extensive documentation, which extends beyond just manpages, but into other forms of documentation, such as presentations and papers as well.
                        • He makes the point about an “ecosystem of quality” that surrounds OpenBSD:
                        • OpenBSD is an ecosystem of quality. This is the result of a culture of code auditing, reviewing, and a rigorous development process where each commit hitting the tree must be approved by other developers. It has a slower evolution pace and a more carefully planned development model which leads to better code quality overall. Its well deserved reputation of being an ultra secure operating system is the byproduct of a no compromise attitude valuing simplicity, correctness, and most importantly proactivity. OpenBSD also deletes code, a lot of code. Everyone should know that removing code and keeping the codebase modern is probably as important as adding new one. Quoting Saint-Exupery: "It seems that perfection is attained not when there is nothing more to add, but when there is nothing more to remove".

                          • The article then covers security mechanisms, as well as the defaults which are turned specifically with an eye towards security.
                          • All-in-all a good perspective piece about the reasons why OpenBSD is the right choice for Frederic, worth your time to read up on it if you want to learn more about OpenBSD’s differences.
                          • ***
                            BeastieBits
                            • Call for 2016Q1 quarterly status reports
                            • FreeBSD Mastery: Advanced ZFS” sponsorships ending soon
                            • Shawn Webb from HardenedBSD talking about giving away RPi3’s at BSDCan and hacking on them to get FreeBSD working
                            • xterm(1) now UTF-8 by default
                            • Call For Artists: New Icon Theme
                            • Happy 23rd Birthday, src!
                            • Feedback/Questions
                              • Alison - Readahead and Wayland
                              • Kenny - Gear
                              • Ben - IPFW2/3
                              • Brad - ZFS Writeback
                              • Simon - BSD Toonz
                              • ***
                                1 hr 41 min
                              • 134: Marking up the Ports tree

                                This week on the show, Allan and I have gotten a bit more sleep since AsiaBSDCon, which is excellent since there is a LOT of news to cover. That plus our interview with Ports SecTeam member Mark Felder. So keep it

                                This episode was brought to you by

                                Headlines
                                FreeNAS 9.10 Released
                                • OS:
                                  • The base OS version for FreeNAS 9.10 is now FreeBSD 10.3-RC3, bringing in a huge number of OS-related bug fixes, performance improvements and new features.
                                  • +Directory Services:
                                  • You can now connect to large AD domains with cache disabled.
                                  • +Reporting:
                                  • Add the ability to send collectd data to a remote graphite server.
                                  • +Hardware Support:
                                  • Added Support for Intel I219-V & I219-LM Gigabit Ethernet Chipset
                                  • Added Support for Intel Skylake architecture
                                  • Improved support for USB devices (like network adapters)
                                  • USB 3.0 devices now supported.
                                  • +Filesharing:
                                  • Samba (SMB filesharing) updated from version 4.1 to 4.3.4
                                  • Added GUI feature to allow nfsv3-like ownership when using nfsv4
                                  • Various bug fixes related to FreeBSD 10.
                                  • +Ports:
                                  • FreeBSD ports updated to follow the FreeBSD 2016Q1 branch.
                                  • +Jails:
                                  • FreeBSD Jails now default to a FreeBSD 10.3-RC2 based template.
                                  • Old jails, or systems on which jails have been installed, will still default to the previous FreeBSD 9.3 based template. Only those machinesusing jails for the first time (or deleting and recreating their jails dataset) will use the new template.
                                  • +bhyve:
                                    ++In the upcoming 10 release, the CLI will offer full support for managing virtual machines and containers. Until then, the iohyve command is bundled as a stop-gap solution to provide basic VM management support -
                                    ***
                                    Ubuntu BSD's first Beta Release
                                    • Under the category of “Where did this come from?”, we have a first beta release of Ubuntu BSD.
                                    • Specifically it is Ubuntu, respun to use the FreeBSD kernel and ZFS natively.
                                    • From looking at the minimal information up on sourceforge, we gather that is has a nice text-based installer, which supports ZFS configuration and iSCSI volume creation setups.
                                    • Aside from that, it includes the XFCE desktop out of box, but claims to be suitable for both desktops and servers alike right now.
                                    • We will keep an eye on this, if anybody listening has already tested it out, maybe drop us a line on your thoughts of how this mash-up works out.
                                    • ***
                                      FreeBSD - a lesson in poor defaults
                                      • Former BSD producer, and now OpenBSD developer, TJ, writes a post detailing the defaults he changes in a fresh FreeBSD installation
                                      • Maybe some of these should be the defaults
                                      • While others are definitely a personal preference, or are not as security related as they seem
                                      • A few of these, while valid criticisms, but some are done for a reason
                                      • Specifically, the OpenSSH changes.
                                      • So, you’re a user, you install FreeBSD 10.0, and it comes with OpenSSH version X, which has some specific defaults
                                      • As guaranteed by the FreeBSD Project, you will have a nice smooth upgrade path to any version in the 10.x branch
                                      • Just because OpenSSH has released version Y, doesn’t mean that the upgrade can suddenly remove support for DSA keys, or re-adding support for AES-CBC (which is not really weak, and which can be hardware accelerated, unlikely most of the replacements)
                                      • “FreeBSD is the team trying to increase the risk.” Is incorrect, they are trying to reduce the impact on the end user
                                      • Specifically, a user upgrading from 10.x to 10.3, should not end up locked out of their SSH server, or otherwise confronted by unexpected errors or slowdowns because of upstream changes
                                      • I will note again, (and again), that the NONE cipher can NOT allow a user to “shoot themselves in the foot”, encryption is still used during the login phase, it is just disabled for the file transfer phase. The NONE cipher will refuse to work for an interactive session.
                                      • While the post states that the NONE cipher doesn’t improve performance that much, it infact does
                                      • In my own testing, chacha20-poly1305 1.3 gbps, aes128-gcm (fastest) 5.0 gbps, NONE cipher 6.3 gbps
                                      • That means that the NONE cipher is an hour faster to transfer 10 TB over the LAN.
                                      • The article suggests just removing sendmail with no replacement. Not sure how they expect users to deliver mail, or the daily/weekly reports
                                      • Ports can be compiled as a regular user. Only the install phase requires root
                                      • for ntpd, it is not clear that there is an acceptable replacement yet, but I will not that it is off by default
                                      • In the sysctl section, I am not sure I see how enabling tcp blackhole actually increases security at all
                                      • I am not sure that linking to every security advisory in openssl since 2001 is actually useful
                                      • Encrypted swap is an option in bsdinstall now, but I am not sure it is really that important
                                      • FreeBSD now uses the Fortuna PRNG, upgraded to replace the older Yarrow, not vanilla RC4.
                                      • “The resistance from the security team to phase out legacy options makes mewonder if they should be called a compatibility team instead.”
                                      • I do not think this is the choice of the security team, it is the ABI guarantee that the project makes. The stable/10 branch will always have the same ABI, and a program or driver compiled against it will work with any version on that branch
                                      • The security team doesn’t really have a choice in the matter. Switching the version of OpenSSL used in FreeBSD 9.x would likely break a large number of applications the user has installed
                                      • Something may need to be done differently, since it doesn’t look like any version of OpenSSL, (or OpenSSH), will be supported for 5 years ever again
                                      • ***
                                        ZFS Raidz Performance, Capacity and Integrity
                                        • An updated version of an article comparing the performance of various ZFS vdev configurations
                                        • The settings users in the test may not reflect your workload
                                        • If you are benchmarking ZFS, consider using multiple files across different datasets, and not making all of the writes synchronous
                                        • Also, it is advisable to run more than 3 runs of each test
                                        • Comparing the numbers from the 12 and 24 disk tests, it is surprising to see that the 12 mirror sets did not outperform the other configurations. In the 12 drive tests, the 6 mirror sets had about the same read performance as the other configurations, it is not clear why the performance with more disks is worse, or why it is no longer in line with the other configurations
                                        • More investigation of this would be required
                                        • There are obviously so other bottlenecks, as 5x SSDs in RAID-Z1 performed the same as 17x SSDs in RAID-Z1
                                        • Interesting results none the less
                                        • ***
                                          iXSystems
                                          • FreeNAS Mini Review
                                          • Interview - Mark Felder - [email protected] / @feldpos
                                            • Ports, Ports and more Ports
                                            • DigitalOcean
                                              • Digital Ocean's guide to setting up an OpenVPN server
                                              • News Roundup

                                                AsiaBSDCon OpenBSD Papers

                                                • Undeadly.org has compiled a handy list of the various OpenBSD talks / papers that were offered a few weeks ago at AsiaBSDCon 2016.
                                                • Antoine Jacoutot (ajacoutot@) - OpenBSD rc.d(8) (slides | paper)

                                                  Henning Brauer (henning@) - Running an ISP on OpenBSD (slides)
                                                  Mike Belopuhov (mikeb@) - Implementation of Xen PVHVM drivers in OpenBSD (slides | paper)
                                                  Mike Belopuhov (mikeb@) - OpenBSD project status update (slides)
                                                  Mike Larkin (mlarkin@) - OpenBSD vmm Update (slides)
                                                  Reyk Floeter (reyk@) - OpenBSD vmd Update (slides)

                                                  • Each talk provides slides, and some the papers as well. Also included is the update to ‘vmm’ discussed at bhyveCon, which will be of interest to virtualization enthusiasts.
                                                  • ***
                                                    Bitcoin Devs could learn a lot from BSD
                                                    • An interesting article this week, comparing two projects that at first glance may not be entirely related, namely BitCoin and BSD.
                                                    • The article first details some of the woes currently plaguing the BitCoin development community, such as toxic community feedback to changes and stakeholders with vested financial interests being unable to work towards a common development purpose.
                                                    • This leads into the crux or the article, about what BitCoin devs could learn from BSD:
                                                    • First and foremost, the way code is developed needs change to stop the current negative trend in Bitcoin. The FreeBSD project has a rigid internal hierarchy of people with write access to their codebase, which the various Bitcoin implementations also have, but BSD does this in a way that is very open to fresh eyes on their code, allowing parallel problem solving without the petty infighting we see in Bitcoin. Anyone can propose a commit publicly to the code, make it publicly available, and democratically decide which change ends up in the codebase. FreeBSD has a tiny number of core developers compared to the size of their codebase, but at any point, they have a huge community advancing their project without hard forks popping up at every small disagreement. Brian Armstrong commented recently on this flaw with Bitcoin development, particularly with the Core Devs:

                                                      “Being high IQ is not enough for a team to succeed. You need to make reasonable tradeoffs, collaborate, be welcoming, communicate, and be easy to work with. Any team that doesn’t have this will be unable to attract top talent and will struggle long term. In my opinion, perhaps the biggest risk in Bitcoin right now is, ironically, one of the things which has helped it the most in the past: the Bitcoin Core developers.”

                                                      • A good summary of the culture that could be adopted is summed up as follows:
                                                      • The other thing Bitcoin devs could learn from is the BSD community’s adoption of the Unix Design philosophy. Primarily “Worse is Better,” The rule of Diversity, and Do One Thing and Do It Well. “Worse is Better” emphasizes using extant functional solutions rather than making more complex ones, even if they would be more robust. The Rule of Diversity stresses flexibility of the program being developed, allowing for modification and different implementations without breaking. Do one Thing and Do it well is a mantra of the BSD and Unix Communities that stresses modularity and progress over “perfect” solutions. Each of these elements help to make BSD a wildly successful open source project with a healthy development community and lots of inter-cooperation between the different BSD systems. While this is the opposite of what we see with Bitcoin at present, the situation is salvageable provided changes like this are made, especially by Core Developers.

                                                        • All in all, a well written and interesting take on the FreeBSD/BSD project. We hope the BitCoin devs can take something useful from it down the road.
                                                        • ***
                                                          FreeBSD cross-compiling with gcc and poudriere
                                                          • Cross-Compiling, always a challenge, has gotten easier using poudriere and qemu in recent years.
                                                          • However this blog post details some of the particular issues still being face when trying to compile some certain ports for ARM (I.E. rPi) that don’t play nicely with FreeBSD’s default CLANG compiler.
                                                          • The writer (Ben Slack) takes us through some of the work-arounds he uses to build some troublesome ports, namely lsof and libatomic_ops.
                                                          • Note this is not just an issue with cross compile, the above mentioned ports also don’t build with clang on the Pi directly.
                                                          • After doing the initial poudriere/qemu cross-compile setup, he then shows us the minor tweaks to adjust which compiler builds specific ports, and how he triggers the builds using poudriere.
                                                          • With the actual Makefile adjustment being so minor, one wonders if this shouldn’t just be committed upstream, with some if (ARM) - USE_GCC=yes type conditional.
                                                          • ***
                                                            Nvidia releases new Beta graphics driver for FreeBSD
                                                            • Added support for the following GPUs: GeForce 920MX & GeForce 930MX
                                                            • Added support for the Vulkan API version 1.0.
                                                            • Fixed a bug that could cause incorrect frame rate reporting on Quadro Sync configurations with multiple GPUs.
                                                            • Added a new RandR property, CscMatrix, which specifies a 3x4 color-space conversion matrix.
                                                            • Improved handling of the X gamma ramp on GF119 and newer GPUs. On these GPUs, the RandR gamma ramp is always 1024 entries and now applies to the cursor and VDPAU or workstation overlays in addition to the X root window.
                                                            • Fixes for bugs and added several other EGL extensions
                                                            • ***
                                                              Beastie Bits
                                                              • New TN Bug started

                                                              • DragonFlyBSD Network/TCP Performance's gets a bump

                                                              • FreeBSD Foundation introduces a new website and logo

                                                              • Our producer made these based on the new logo:

                                                                • http://q5sys.sh/2016/03/a-new-freebsd-foundation-logo-means-its-time-for-some-new-wallpapers/
                                                                • http://q5sys.sh/2016/03/pc-bsd-and-lumina-desktop-wallpapers/
                                                                • https://github.com/pcbsd/lumina/commit/60314f46247b7ad6e877af503b3814b0be170da8
                                                                • IPv6 errata for 5.7/5.8, pledge errata for 5.9

                                                                • Sponsoring “PAM Mastery”

                                                                • A visualization of FreeBSD commits on GitHub for 2015

                                                                • The VAX platform is no more

                                                                • Feedback/Questions
                                                                  • Hunter - Utils for Blind
                                                                  • Chris - ZFS Quotas
                                                                  • Anonymous - Tun, Tap and Me!
                                                                  • Andrew - Navigating the BSDs
                                                                  • Brent - Wifi on BSD
                                                                  • ***
                                                                    2 hr 6 min
                                                                  • 133: The Tokyo Debrief

                                                                    This week on BSDNow, Allan and I are back from AsiaBSDCon and we have an interview with Brad Davis about the new “Packaging Base” call-for-testing. We’ll be sharing our thoughts and stories on how the week

                                                                    This episode was brought to you by

                                                                    Headlines
                                                                    AsiaBSDCon 2016 - Wrap-up
                                                                    FreeBSD gets Haswell graphics support in time for 11.0-RELEASE
                                                                    • The moment that many have been waiting for has finally arrived, support for Haswell graphics has been committed to FreeBSD -CURRENT
                                                                    • The brings the DRM/i915 code up to date with Linux kernel 3.8.13
                                                                    • Work has already started on updating to Linux kernel 3.9
                                                                    • It is hoped that subsequent updates will be much easier, and much faster
                                                                    • It does not appear to require setting the i915.preliminary_hw_support loader tunable
                                                                    • ***
                                                                      OpenBSD vmm/vmd Update
                                                                      • For the third year running, bhyvecon was held last week, during the lead up to AsiaBSDCon
                                                                      • Bhyvecon has expanded, and now covers all virtualization on BSDs
                                                                      • There were presentations on bhyve, Xen Dom0 on FreeBSD, Xen DomU for OpenBSD, and OpenBSD’s vmm
                                                                      • OpenBSD vmm started at the Brisbane 2015 hackathon in Australia
                                                                      • Work continued through the summer and fall thanks to funding by the OpenBSD Foundation
                                                                      • The presentation answered some outstanding questions, such as, why not just port bhyve?
                                                                      • Initial focus is OpenBSD on OpenBSD
                                                                      • Loader currently supports FreeBSD and NetBSD as well
                                                                      • After the initial commits, other developers joined in to help with the work
                                                                      • Reyk reworked the vmd and vmctl commands, to provide a better user interface
                                                                      • Future plans:
                                                                        • Nested VMX
                                                                        • i386 support
                                                                        • AMD SVM support
                                                                        • Filesystem passthru
                                                                        • Live migration (with ZFS like command syntax)
                                                                        • Other developers are working on related projects:
                                                                          • qemu interface: Allow qemu to be accelerated by the vmm backend, while providing emulated hardware, for legacy systems
                                                                          • KVM interface: Make vmm look like KVM, so existing tools like openstack “just work”
                                                                          • ***
                                                                            Interview - Brad Davis - [email protected] / @so14k
                                                                            • Packaging Base
                                                                            • News Roundup
                                                                              Packaging the base system with pkg(8)
                                                                              • The official call for testing for FreeBSD’s pkg(8)’d base is out
                                                                              • Users are requested to checkout the release-pkg branch, and build it as normal (buildworld, buildkernel)
                                                                              • Instead of installworld, run: make packages
                                                                              • This will produce a pkg repo in the /usr/obj directory
                                                                              • The post to the mailing list includes an example pkg repo config file to point to those packages
                                                                              • Run: pkg update -r FreeBSD-base
                                                                              • This will read the metadata from the new repository
                                                                              • Then run: pkg install -g 'FreeBSD-*'
                                                                              • This will find all packages that start with ‘FreeBSD-’ and install them
                                                                              • In the future, there will be meta packages, so you can just install FreeBSD-base and it will pull in other packages are dependencies
                                                                              • Currently, there are a large number of packages (over 700), because each shared library is packaged separately, and almost all optional features are in a separate package
                                                                              • The number of packages is also increased because there are separate -debug, -profiling, etc versions of each package
                                                                              • New features are being added to pkg(8) to mark important system components, like libc, as ‘vital’, so they cannot be deleted accidently
                                                                              • However, in the case of using pkg(8)’d base to create a jail, the administrator should be able to delete the entire base system
                                                                              • Classic conundrum: “UNIX does not stop you doing something stupid, as that would also stop you doing something clever”
                                                                              • Work is still ongoing
                                                                              • At AsiaBSDCon, after the interview was recorded, bapt@ and brd@ had a whiteboarding session and have come up with how they expect to handle the kernel package, to ensure there is a /boot/kernel.old for you to fall back to incase the newly installer kernel does not work correctly.
                                                                              • ***
                                                                                FreeBSD 10.3-RC2 Now Available
                                                                                • The second release candidate for FreeBSD 10.3 is now available for testing
                                                                                • Notable changes include:
                                                                                  • Import an upstream fix for ‘zfs send -i’ to avoid data corruption in specific instances
                                                                                  • Boot loaders and kernel have been taught to handle ELF sections of type SHT_AMD64_UNWIND. This does not really apply to FreeBSD 10.3, but is required for 11.0, so will make upgrades easier
                                                                                  • Various mkdb commands (/etc/services, /etc/login.conf, etc) commands now use fsync() instead of opening the files as O_SYNC, greatly increasing the speed of the database generation
                                                                                  • From the earlier BETA3, the VFS improvements that were causing ZFS hangs, and the new ‘tryforward’ routing code, have been reverted
                                                                                  • Work is ongoing to fix these issues for FreeBSD 11.0
                                                                                  • There are two open issues:
                                                                                    • A fix for OpenSSH CVE-2016-3115 has not be included yet
                                                                                    • the re-addition of AES-CBC ciphers to the default server proposal list. AES-CBC was removed as part of the update to OpenSSH version 7.1p2, but the plan is to re-add it, specifically for lightweight clients who rely on hardware crypto offload to have acceptable SSH performance
                                                                                    • Please go out and test
                                                                                    • ***
                                                                                      OPNsense 16.1.6 released
                                                                                      • A new point-release of OPNsense has dropped, and apart from the usual security updates, some new features have been included
                                                                                        • firmware: bootstrap utility can now directly install e.g. the development version
                                                                                        • dhcp: all GUI pages have been reworked for a polished look and feel
                                                                                        • proxy: added category-based remote file support if compressed file contains multiple files
                                                                                        • proxy: added ICAP support (contributed by Fabian Franz)
                                                                                        • proxy: hook up the transparent FTP proxy
                                                                                        • proxy: add intercept on IPv6 for FTP and HTTP proxy options
                                                                                        • logging: syslog facilities, like services, are now fully pluggable
                                                                                        • vpn: stripped an invalid PPTP server configuration from the standard configuration
                                                                                        • vpn: converted to pluggable syslog, menu and ACL
                                                                                        • dyndns: all GUI pages have been reworked for a polished look and feel
                                                                                        • dyndns: widget now shows IPv6 entries too
                                                                                        • dns forwarder: all GUI pages have been reworked for a polished look and feel
                                                                                        • dns resolver: all GUI pages have been reworked for a polished look and feel
                                                                                        • dns resolver: rewrote the dhcp lease registration hooks
                                                                                        • dns resolver: allow parallel operation on non-standard port when dns forwarder is running as well
                                                                                        • firewall: hide outbound nat rule input for "interface address" option and toggle bitmask correctly
                                                                                        • interfaces: fix problem when VLAN tags weren't generated properly
                                                                                        • interfaces: improve interface capability reconfigure
                                                                                        • ipsec: fix service restart behaviour from GUI
                                                                                        • captive portal: add missing chain in certificate generation
                                                                                        • configd: improve recovery and reload behaviour
                                                                                        • load balancer: reordered menu entries for clarity
                                                                                        • ntp: reordered menu entries for clarity
                                                                                        • traffic shaper: fix mismatch for direction + dual interfaces setup
                                                                                        • languages: updated German and French
                                                                                        • Call for testing - ASLR patch
                                                                                          • A patch that provides a first pass implementation of basic ASLR (Address Space Layout Randomization) for FreeBSD has been posted to the mailing list
                                                                                          • “Stack gap, WX, shared page randomization, KASLR and other techniques are explicitly out of scope of this work.”
                                                                                          • “ASLR is enabled on per-ABI basis, and currently it is only enabled on native i386 and amd64 (including compat 32bit) ABIs. I expect to test and enable ASLR for armv6 and arm64 as well, later”
                                                                                          • “Thanks to Oliver Pinter and Shawn Webb of the HardenedBSD project for pursuing ASLR for FreeBSD. Although this work is not based on theirs, it was inspired by their efforts.”
                                                                                          • ***
                                                                                            Feedback/Questions
                                                                                            • Daniel - OpenZFS
                                                                                            • Florian - JBODS
                                                                                            • Hunter - SSL on DO
                                                                                            • Ben - Backups
                                                                                            • Damian - Bug’in Me!
                                                                                            • ***
                                                                                              1 hr 17 min
                                                                                            • 132: Scaling up with BSD

                                                                                              This week, Allan and I are away at AsiaBSDCon! (If you aren’t there, you are missing out). We will be back with a live episode next week. However, we’ve been asked for Allan to tell us about ScaleEngine’s

                                                                                              This episode was brought to you by

                                                                                              Interview - Allan Jude - [email protected] / @allanjude
                                                                                              • Spotlight on ScaleEngine
                                                                                              • ***
                                                                                                Beastie Bits
                                                                                                • NetBSD on an RPi Zero

                                                                                                • DragonFly tips for printing with CUPS

                                                                                                • Fighting fraudulent networks using secure connections (SSL) blacklisting with OPNsense. Blocks known-bad certificates as listed at abuse.ch

                                                                                                • Fix for running NetBSD/amd64 7.0 on kvm based virtual machines

                                                                                                • Michael W. Lucas’s new book, FreeBSD Mastery: Specialty Filesystems is now escaping

                                                                                                • The Penguicon Lucas Tech Track

                                                                                                • FreeBSD based nginx/ffmpeg camera recording and live streaming

                                                                                                • CFT: New Jenkins Builder for FreeNAS / PC-BSD

                                                                                                • Status Update: PC-BSD’s SysAdm Server

                                                                                                • Status Update: PC-BSD’s SysAdm Client UI

                                                                                                • 1 hr 5 min
                                                                                                • BSD Behind The Chalkboard | BSD Now 131
                                                                                                  This week on the show, we have an interview with Jamie McParland of the Newburg public school district in Oregon. We are going to get an inside look at how they use BSD in various aspects operations across their network, as well as bringing you the latest news and questions. Keep it tuned to BSDNow, the place to B...SD!
                                                                                                  1 hr 42 min
                                                                                                • 131: BSD behind the chalkboard

                                                                                                  This week on the show, we have an interview with Jamie

                                                                                                  This episode was brought to you by

                                                                                                  Headlines
                                                                                                  BSDCan 2016 List of Talks
                                                                                                  • We are all looking forward to BSDCan
                                                                                                  • Make sure you arrive in time for the Goat BoF, the evening of Tuesday June 7th at the Royal Oak, just up the street from the university residence
                                                                                                  • There will also be a ZFS BoF during lunch of one of the conference days, be sure to grab your lunch and bring it to the BoF room
                                                                                                  • Also, don’t forget to get signed up for the various DevSummits taking place at BSDCan.
                                                                                                  • ***
                                                                                                    What does Load Average really mean
                                                                                                    • Chris Siebenmann, a sysadmin at the University of Toronto, does some comparison of what “Load Average” means on different unix systems, including Solaris/IllumOS, FreeBSD, NetBSD, OpenBSD, and Linux
                                                                                                    • It seems that no two OSes use the same definition, so comparing load averages is impossible
                                                                                                    • On FreeBSD, where I/O does not affect load average, you can divide the load average by the number of CPU cores to be able to compare across machines with different core counts
                                                                                                    • ***
                                                                                                      GPL violations related to combining ZFS and Linux
                                                                                                      • As we mentioned in last week’s episode, Ubuntu was preparing to release their next version with native ZFS support. + As expected, the Software Freedom Conservancy has issued a statement detailing the legal argument why they believe this is a violation of the GPL license for the Linux kernel.
                                                                                                      • It’s a pretty long and complete article, but we wanted to bring you the summary of the whole, and encourage you to read the rest, since it’s good to be knowledgeable about the various open-source projects and their license conditions.
                                                                                                      • “We are sympathetic to Canonical's frustration in this desire to easily support more features for their users. However, as set out below, we have concluded that their distribution of zfs.ko violates the GPL. We have written this statement to answer, from the point of view of many key Linux copyright holders, the community questions that we've seen on this matter. Specifically, we provide our detailed analysis of the incompatibility between CDDLv1 and GPLv2 — and its potential impact on the trajectory of free software development — below.

                                                                                                        However, our conclusion is simple: Conservancy and the Linux copyright holders in the GPL Compliance Project for Linux Developers believe that distribution of ZFS binaries is a GPL violation and infringes Linux's copyright. We are also concerned that it may infringe Oracle's copyrights in ZFS. As such, we again ask Oracle to respect community norms against license proliferation and simply relicense its copyrights in ZFS under a GPLv2-compatible license.”

                                                                                                        • The Software Freedom Law Center’s take on the issue
                                                                                                        • Linux SCSI subsystem Maintainer, James Bottomley, asks “where is the harm”
                                                                                                        • FreeBSD and ZFS
                                                                                                        • ***
                                                                                                          DragonFly i915 reaches Linux 4.2
                                                                                                          • The port of the Intel i915 DRM/KMS Linux driver to DragonFlyBSD has been updated to match Linux kernel 4.2
                                                                                                          • Various improvements and better support for new hardware are included
                                                                                                          • One big difference, is that DragonFlyBSD will not require the binary firmware blob that Linux does
                                                                                                          • François Tigeot explains: "starting from Linux 4.2, a separate firmware blob is required to save and restore the state of display engines in some low-power modes. These low-power modes have been forcibly disabled in the DragonFly version of this driver in order to keep it blob-free."
                                                                                                          • Obviously this will have some disadvantage, but as those modes were never available on DragonFlyBSD before, users are not likely to miss them
                                                                                                          • ***
                                                                                                            Interview - Jamie McParland - [email protected] / @nsdjamie
                                                                                                            • FreeBSD behind the chalkboard
                                                                                                            • ***
                                                                                                              iXsystems
                                                                                                              • My New IXSystems Mail Server
                                                                                                              • News Roundup
                                                                                                                Installing ELK on FreeBSD, Tutorial Part 1
                                                                                                                • Are you an ELK user, or interested in becoming one? If so, Gruppo Utenti has a nice blog post / tutorial on how to get started with it on FreeBSD.
                                                                                                                • Maybe you haven’t heard of ELK, but its not the ELK in ports, specifically in this case he is referring to “ElasticSearch/Logstash/Kibana” as a stack.
                                                                                                                • Getting started is relatively simply, first we install a few ports/packages:
                                                                                                                  • textproc/elasticsearch
                                                                                                                  • sysutils/logstash
                                                                                                                  • textproc/kibana43
                                                                                                                  • www/nginx
                                                                                                                  • After enabling the various services for those (hint: sysrc may be easier), he then takes us through the configuration of ElasticSearch and LogStash. For the most part they are fairly straightforward, but you can always copy and paste his example config files as a template.
                                                                                                                  • Follow up to Installing ELK on FreeBSD
                                                                                                                  • Jumping directly into the next blog entry, he then takes us through the “K” part of ELK, specifically setting up Kibana, and exposing it via nginx publically.
                                                                                                                  • At this point most of the CLI work is finished, and we have a great walkthrough of doing the Kibana configuration via their UI. We are still awaiting the final entry to the series, where the setup of ElastAlert will be detailed, and we will bring that to your attention when it lands.
                                                                                                                  • ***
                                                                                                                    From 1989: An Empirical Study of the Reliablity of Unix Utilities
                                                                                                                    • A paper from 1989 on the results of fuzz testing various unix utilities across a range of available unix operating systems
                                                                                                                    • Very interesting results, it is interesting to look back at before the start of the modern BSD projects
                                                                                                                    • New problems are still being found in utilities using similar testing methodologies, like afl (American Fuzzy lop)
                                                                                                                    • ***
                                                                                                                      Google Summer of Code
                                                                                                                      • Both
                                                                                                                      • FreeBSD
                                                                                                                      • and
                                                                                                                      • NetBSD
                                                                                                                      • Are running 2016 Google Summer of Code projects.
                                                                                                                      • Students can start submitting proposals on March 14th.
                                                                                                                      • In the meantime, if you have any ideas, please post them to the
                                                                                                                      • Summer Of Code Ideas Page on the FreeBSD wiki
                                                                                                                      • Students can start looking at the list now and try to find mentors to get a jump start on their project.
                                                                                                                      • ***
                                                                                                                        High Availablity Sync for ipfw3 in Dragonfly
                                                                                                                        • Similar to pfsync, this new protocol allows firewall dynamic rules (state) to be synchronized between two firewalls that are working together in HA with CARP
                                                                                                                        • Does not yet sync NAT state, it seems libalias will need some modernization first
                                                                                                                        • Apparently it will be relatively easy to port to FreeBSD
                                                                                                                        • This is one of the only features ipfw lacks when compared to pf
                                                                                                                        • ***
                                                                                                                          Beastie Bits
                                                                                                                          • FreeBSD 10.3-BETA3 Now Available

                                                                                                                          • LibreSSL isnt affected by the OpenSSL DROWN attack

                                                                                                                          • NetBSD machines at the Open Source Conference 2016 in Toyko

                                                                                                                          • OpenBSD removes Linux Emulation

                                                                                                                          • Time is an illusion - George Neville-Neil

                                                                                                                          • OpenSSH 7.2 Released

                                                                                                                          • Feedback/Questions
                                                                                                                            • Shane - IPSEC
                                                                                                                            • Darrall - 14TB Zpool
                                                                                                                            • Pedja - ZFS setup
                                                                                                                            • ***
                                                                                                                              1 hr 42 min
                                                                                                                            • 130: Store all the Things | BSD Now 130

                                                                                                                              This week on BSDNow, Allan is back from the Storage Summit in Silicon Valley! We are going to get his thoughts on how the conference went, plus bring you the latest ZFS info discussed. That plus the usual BSD news is

                                                                                                                              This episode was brought to you by

                                                                                                                              Headlines
                                                                                                                              OpenBSD website operators urged to fix mind-alteringly bad bug
                                                                                                                              • We start off a bit light-hearted this week, with the important, breaking news that finally a long-standing OpenBSD bug has been addressed for the HTTP daemon.
                                                                                                                              • Specifically? It changes the default 404 page fonts away from Comic Sans, to a bit more crowd-pleasing alternative:
                                                                                                                                • “For some reason the httpd status pages (e.g. 404) use the Comic Sans typeface. This patch removes comic sans and sets the typeface to the default sans-serif typeface of the client.
                                                                                                                                • “This lowers the number of people contacting website maintainers with typeface complaints bordering on harassment”.
                                                                                                                                • Operators running HTTPD are highly encouraged to update their systems to the latest code, right now……... No seriously, we are waiting for you. Get it done now and then we’ll continue with the show.
                                                                                                                                • Registration for AsiaBSDCon 2016 is now open + Talk Schedule
                                                                                                                                  • After a few delays, the registration for AsiaBSDCon has now opened!
                                                                                                                                  • The conference starts in less than two weeks! now, so be sure to get signed up ASAP.
                                                                                                                                  • In addition the schedule has been posted, and here’s some of the highlights of this year’s conference.
                                                                                                                                  • In addition to FreeBSD and NetBSD dev summits on the first two days, we have some excellent tutorials being given this year by Kirk, Gnn, Dru and more! (https://2016.asiabsdcon.org/program.html.en)
                                                                                                                                  • The regular paper talks also have lots of good ones this year, including this crazy encrypted boot loader one given by our very own Allan Jude!
                                                                                                                                  • ***
                                                                                                                                    OPENBSD ON AWS : AN UNEXPECTED JOURNEY
                                                                                                                                    • We have a blog post from Antoine Jacoutot, talking about the process of getting OpenBSD up and running in AWS
                                                                                                                                    • It starts with his process of creating an AMI from scratch, which ended up not being that bad:

                                                                                                                                      • create and loopback-mount a raw image containing a UFS filesystem extract the OpenBSD base sets (which are just regular tarballs) and kernel enable console output (so that one could “aws ec2 get-console-output”)
                                                                                                                                      • install the boot loader on the image then use the ec2 tools to import the RAW image to S3, convert it into a volume (ec2-import-volume) which we can snapshot (ec2-create-snapshot) and create an AMI from (ec2-register)
                                                                                                                                      • The blog post also has a link to a script which automates this process, so don’t be daunted if you didn’t quite follow all of that.

                                                                                                                                      • Thanks to the recently landed DomU support, the final pieces of the puzzle fell into place, allowing OpenBSD to function as a proper guest (with networking!)

                                                                                                                                      • Next it details the process of injecting a public SSH key into the instances for instant remote access.

                                                                                                                                      • An ec2-init.sh script was created (also on github) which does the following:

                                                                                                                                        • setting the hostname
                                                                                                                                        • installing the provided SSH public key to /root/.ssh/authorized_keys
                                                                                                                                        • executing user-data (if it starts with a shebang)
                                                                                                                                        • displaying the host SSH fingerprints on the console (to match cloud-init)
                                                                                                                                        • With that done, OpenBSD is pretty much AWS ready! He then gives a brief walkthrough of setting up nginx for new users, but if you’ve already done this before then the instance is ready for you to hacking on.

                                                                                                                                        • Start thinking of ideas for things with FreeBSD for Google's 2016 Summer of Code
                                                                                                                                          • Students and Developers, listen up! It’s time to start thinking about GSoC again, and FreeBSD is looking to update its project ideas page.
                                                                                                                                          • There’s some good ones on the list, plus ones that should be pruned (such as GELI boot), but now is the time to start adding new ones before we get too deep into the process.
                                                                                                                                          • This goes for the other BSD’s as well, start thinking about your proposals, or if you are developer, which projects would be a good fit for mentoring.
                                                                                                                                          • (Improving the Linux Compat layer is one I think should be done!)
                                                                                                                                          • Guide to getting started with kernel hacking
                                                                                                                                          • One of the things that’s been asked frequently is how to contribute towards the efforts to bring updated DRM / X drivers to the FreeBSD kernel.
                                                                                                                                          • Jean-Sébastien Pédron has started a great guide on the Wiki which details how to get started with the porting effort, and that developers need not be afraid of helping.
                                                                                                                                          • ***
                                                                                                                                            Storage Summit Roundup
                                                                                                                                            • Earlier this week a number of developers from FreeBSD, as well as various vendors that use FreeBSD, or provide products used with FreeBSD met for a Storage Summit, to discuss the
                                                                                                                                            • future of these technologies
                                                                                                                                            • The summit was co-located with the USENIX FAST (Filesystems And Storage Technologies) conference
                                                                                                                                            • The summit was sponsored by the FreeBSD Foundation and FlightAware
                                                                                                                                            • After a short introduction, the event opened with a Networking Synergy panel
                                                                                                                                            • The focus of this panel was to see if there were techniques and lessons learned in improving the networking stack over the last 10 years that could be applied to improving the storage stack
                                                                                                                                            • A lot of time was spent discussing issues like multi-queue support, CPU scheduling, and ways to modernize the stack
                                                                                                                                            • CAM Scheduling & Locking Revamp
                                                                                                                                              • No notes posted
                                                                                                                                              • User Space Storage Stack
                                                                                                                                                • One of the user space storage stacks discussed was Diskmap
                                                                                                                                                • Like netmap, but for disks (diskmap)
                                                                                                                                                • Kernel bypass for accessing disks
                                                                                                                                                • Ilias Marinos, who is working on diskmap at Cambridge University, described diskmap to the group
                                                                                                                                                • A design discussion then followed in which the memory management was covered as that's an issue for any sort of "IO" map system
                                                                                                                                                  • Action Items:
                                                                                                                                                  • Discuss with Luigi the idea of code merges
                                                                                                                                                  • Need a reset path API
                                                                                                                                                  • Kernel buffer mapping for reliability
                                                                                                                                                  • Support for other interfaces (SATA/SCSI)
                                                                                                                                                  • GEOM layer adaptation
                                                                                                                                                  • Adapting to New Storage Technologies
                                                                                                                                                    • This working group was led by Adrian Palmer, from Seagate
                                                                                                                                                    • SMR
                                                                                                                                                    • Persistent Memory
                                                                                                                                                    • Session 1: Device Identification and the structural requirements
                                                                                                                                                      • Agenda: We'll look over the Identification nuances and what needs to change to support the structure. Support for IO order guarantees, forward-write only requirements, new commands and topology. Dig into CAM and GEOM layers. Solutions should be fast and have as few code paths as possible
                                                                                                                                                      • Results: Small audience. We talked about zoned characteristics, and how it can be used in various workloads, projected to be implemented in years
                                                                                                                                                      • Session 2: Information dissemination and consumption
                                                                                                                                                        • Agenda: Where and how will information from the report_zones command be gathered, stored, combined and used. This will include userspace storage and multi-volume management. Will CAM store this data, or will GEOM? How frequently will this need to be queried/updated/verified from the drive?
                                                                                                                                                        • Results: Merged with ZFS working group to discuss SMR. Came up with idea that could be implemented as circular buffer zone type. Began to discuss solutions among developers
                                                                                                                                                        • ZFS
                                                                                                                                                          • During the first session we discussed how to improve dedup support
                                                                                                                                                          • + A dedup throttle or cap was discussed. When the size of the DDT grows beyond this size, new entries would not be deduped.
                                                                                                                                                            • An alternative to this was also discussed, where when the DDT reached the cap size, it would remove a random entry with only a single reference from the DDT to make room for the new entry. When a block is going to be freed, if it is not found in the DDT, it is assumed to have only 1 reference, and removed.
                                                                                                                                                            • There was also discussion of replacing the DDT with an in-memory hash table and a “log” of increment/decrement operations, that is periodically compacted. The hash table is recreated from the log at pool import time. This would reduce the in-memory footprint of the DDT, as well as speed up all write operations as adding an entry to the dedup log will be less expensive than updating the DDT.
                                                                                                                                                            • There was also discussion of using dedicated device(s) for the DDT, either using the DDT on SSD work by Nexenta, or the Metadata Classes work by Intel
                                                                                                                                                            • The first session also discussed Secure Delete and related things
                                                                                                                                                              • The desire for an implementation of TRIM that uses the “secure erase” functionality provided by some disks was expressed
                                                                                                                                                              • Overwriting sectors with patterns of garbage may be insufficient because SSDs may internally remap where a specific LBA physically resides
                                                                                                                                                              • The possibility of using something like the “eager zero” feature to periodically write zeros over all free blocks in the pool to erase any lingering data fragments
                                                                                                                                                              • Problems with the FreeBSD TRIM implementation were discussed, as well as looking at ways to implement the new ZFS TRIM implementation on FreeBSD
                                                                                                                                                              • ABD (ARC Buf Data) was discussed, a new design that lessens the requirement for contiguous memory. Only a small area of contiguous blocks is reserved at boot, and compressed ARC blocks are constructed of scatter-gather lists of individual pages
                                                                                                                                                              • The second session combined with the SMR group and talked about SMR support in ZFS
                                                                                                                                                                • Later in the second session ZFS Encryption was also discussed, mostly with a focus on what the use cases are
                                                                                                                                                                • The third session combined all of the groups for an overview of upcoming ZFS features including device removal and channel programs
                                                                                                                                                                • There was also a request for code review, for mostly finished projects like Persistent L2ARC, Writeback cache, and Large dnode support
                                                                                                                                                                • Hallway Track
                                                                                                                                                                  • ZFS / VFS Interaction
                                                                                                                                                                  • Adrian Palmer has been a FreeBSD hobbyist since FreeBSD 7, and I think I managed to convince him to start contributing
                                                                                                                                                                  • ***
                                                                                                                                                                    News Roundup
                                                                                                                                                                    One Week with NetBSD 7.0: Back to Unix basics
                                                                                                                                                                    • The author of this blog series is sending a week using NetBSD 7.0, following a previous series on Solaris 10
                                                                                                                                                                    • “This is actually familiar territory, as I've been using BSD variants almost exclusively since 2006. My recent SunOS explorations were triggered last summer by OpenBSD having choked on my current laptop's NVIDIA card, and from what I could see at the time, FreeBSD had the same problem, although I now know NVIDIA drivers exist for that system. The thing that keeps me from going all-in with FreeBSD 10.x, however, is the fact that Firefox crashes and leaves "core dump" messages in its wake, and I'm just not a Chrome kinda guy.”
                                                                                                                                                                    • “For those with a catholic taste in Unix, NetBSD is a keg party at the Vatican. If you're an absolute Unix beginner, or have been living on Ubuntu-based Linux distros for too long, then you may feel stranded at first by NetBSD's sparseness. You'll find yourself staring into the abyss and seeing only a blinking cursor staring back. If you have the presence of mind to type startx, you'll be greeted by twm, a window manager offering little more than an xterm window with the same blinking cursor until you learn how to configure the .twmrc file to include whatever applications you want or need in the right-click menu.”
                                                                                                                                                                    • “As for NetBSD itself, I can't think of any major productivity applications that can't be installed, and most multimedia stuff works fine.”
                                                                                                                                                                    • Issues the author hopes to sort out in later posts:
                                                                                                                                                                      • Audio playback (youtube videos in Firefox)
                                                                                                                                                                      • Wireless
                                                                                                                                                                      • Flash
                                                                                                                                                                      • Digital Camera SD Card readability, video playback
                                                                                                                                                                      • Audacity
                                                                                                                                                                      • A “fancy” desktop like Gnome 2, KDE, or xfce
                                                                                                                                                                      • In a follow-up post, the author got LibreOffice installed and sorted out the audio issues they were having
                                                                                                                                                                      • In a later follow-up XFCE is up and running as well
                                                                                                                                                                      • ***
                                                                                                                                                                        ZFS is for Containers in Ubuntu 16.04
                                                                                                                                                                        • As you may have heard, Ubuntu 16.04 will include ZFS -- baked directly into Ubuntu -- supported by Canonical
                                                                                                                                                                        • “ZFS one of the most beloved features of Solaris, universally coveted by every Linux sysadmin with a Solaris background. To our delight, we're happy to make to OpenZFS available on every Ubuntu system.”
                                                                                                                                                                        • What does “supported by Canonical” mean?
                                                                                                                                                                        • “You'll find zfs.ko automatically built and installed on your Ubuntu systems. No more DKMS-built modules”
                                                                                                                                                                        • “The user space zfsutils-linux package will be included in Ubuntu Main, with security updates provided by Canonical”
                                                                                                                                                                        • The article then provides a quick tutorial for setting up Linux Containers (LXC) backed by ZFS
                                                                                                                                                                        • In the example, ZFS is backed by a file on the existing disk, not by a real disk, and with no redundancy
                                                                                                                                                                        • However, the setup script seems to support using real block devices
                                                                                                                                                                        • The Software Freedom Conservancy is expected to issue a statement detailing their opinion on the legalities and licensing issues of bundling ZFS with Linux.
                                                                                                                                                                        • ***
                                                                                                                                                                          Polling is a Hack: Server Sent Events (EventSource) with gevent, Flask, nginx, and FreeBSD
                                                                                                                                                                          • A tutorial on setting up ‘Server-Sent Events’, also know as EventSource in javascript, to notify website clients of new data, rather than having the javascript constantly poll for new data.
                                                                                                                                                                          • The setup uses FreeBSD, nginx, gevent, Python, and the Flask framework
                                                                                                                                                                          • The tutorial walks through setting a basic Python application using the Flask framework
                                                                                                                                                                          • Then setting up the client side in Javascript
                                                                                                                                                                          • Then for the server side setup, it covers installing and configuring nginx, and py-supervisor on FreeBSD
                                                                                                                                                                          • The tutorial also includes links to additional resources and examples, including how to rate limit the Flash application
                                                                                                                                                                          • ***
                                                                                                                                                                            Why FreeBSD?
                                                                                                                                                                            • An excellent article written by Hamza Sheikh, discussing why FreeBSD is now his clear choice for learning UNIX.
                                                                                                                                                                            • The article is pretty well written and lengthy, but has some great parts which we wanted to share with you:
                                                                                                                                                                            • There were many rough edges in the Linux world and some of them exist even today. Choosing the right distribution (distro) for the task at hand is always the first and most difficult decision to make. While this is a strength of the Linux community it is also its weakness. This is exacerbated with the toxic infighting within the community in the last few years.

                                                                                                                                                                              A herd of voices believes it is their right to bring down a distro community because it is not like their distro of choice. Forking upstream projects has somehow become taboo. Hurling abuse in mailing lists is acceptable. Helping new users is limited to lambasting their distro of choice. Creating conspiracy theories over software decisions is the way to go. Copyleft zealots roam social media declaring non-copyleft free software heretic abominations. It all boils down to an ecosystem soured by the presence of maniacs who have the loudest voices and they seem to be everywhere you turn.

                                                                                                                                                                              Where is the engineering among all this noise? Btrfs - baking for a long time - is still nowhere near ZFS in stability or feature parity. systemd is an insatiable entity that feeds on every idea in sight and just devours indiscriminately. Wayland was promised years ago and its time has yet to arrive. Containers are represented by Docker that neither securely contains applications nor makes them easy to manage in production. Firewalling is dithering between firewalld, nftables, etc. SystemTap cannot match DTrace.

                                                                                                                                                                              In the same time span what do various BSDs offer? pf, CARP, ZFS, Hammer, OpenSSH, jails, pkgsrc, (software) ports, DTrace, hardware portability; just to name a few. Few would deny that BSDs have delivered great engineering with free software licenses to the entire world. To me they appear to be better flag bearers of free software with engineering to back it.

                                                                                                                                                                              • He then goes through some of the various BSD’s and the specifics on why FreeBSD was the logical choice for his situation. But at the end has a great summary on the community as a whole:
                                                                                                                                                                              • Finally - and maybe repeating myself here - I have nothing but praise for the community. Be it BSD Now, mailing lists, Reddit, Twitter, LFNW, or SeaGL, people have encouraged me, answered my questions, and filed bugs for me. I have been welcomed and made a part of the community with open arms. These reasons are (good) enough for me to use FreeBSD and contribute to it.

                                                                                                                                                                                BeastieBits

                                                                                                                                                                                OPNsense 16.1.3 released

                                                                                                                                                                                Copies of "FreeBSD Mastery: Specialty Filesystems" seen in the wild

                                                                                                                                                                                pfsense training available in Europe

                                                                                                                                                                                LiteBSD now has 50 ports in its ports tree

                                                                                                                                                                                Ports tree locked for OpenBSD 5.9

                                                                                                                                                                                “FreeBSD Filesystem Fun” at March semibug

                                                                                                                                                                                Event #46 — Embedded Platforms (BSD, OpenWRT, Plan 9 & Inferno)

                                                                                                                                                                                Feedback/Questions
                                                                                                                                                                                • Frank - ZFS RAM?
                                                                                                                                                                                • David - ARM Porting
                                                                                                                                                                                • Johnny - Lumina Default?
                                                                                                                                                                                • Adam - PC-BSD Install and Q’s
                                                                                                                                                                                • Jeremy - Video Card Q
                                                                                                                                                                                • ***
                                                                                                                                                                                  2 hr 11 min
                                                                                                                                                                                • 129: Synthesize all the Things!

                                                                                                                                                                                  Coming up this week, we will be talking to John Marino about his work on the ports-mgmt utility “Synth” and the cross-pollination between DragonFly and FreeBSD. That plus the latest news and your email here on

                                                                                                                                                                                  This episode was brought to you by

                                                                                                                                                                                  Headlines
                                                                                                                                                                                  glibc and the BSDs
                                                                                                                                                                                  • You have likely already heard about CVE-2015-7547
                                                                                                                                                                                  • “A stack-based buffer overflow was found in the way the libresolv library performed dual A/AAAA DNS queries. A remote attacker could create a specially crafted DNS response which could cause libresolv to crash or,
                                                                                                                                                                                  • potentially, execute code with the permissions of the user running the library.”
                                                                                                                                                                                  • “Note: this issue is only exposed when libresolv is called from the nss_dns NSS service module.”
                                                                                                                                                                                  • More details from Google’s Online Security team blog
                                                                                                                                                                                  • “Naturally, people have started asking whether FreeBSD is affected. The FreeBSD Security Officer has not yet released an official statement, but in the meantime, here is a brief look at the issue as far as FreeBSD is concerned.”
                                                                                                                                                                                  • “First of all: neither FreeBSD itself nor native FreeBSD applications are affected. While the resolver in FreeBSD’s libc and GNU libc share a common parentage, the bug was introduced when the latter was rewritten to send A and AAAA queries in parallel rather than sequentially when the application requests both.”
                                                                                                                                                                                  • The same most likely applies to the other BSDs
                                                                                                                                                                                  • “However, Linux applications running under emulation on a FreeBSD system use the GNU libc and are therefore vulnerable unless patched.”
                                                                                                                                                                                  • A patch to update emulation/linux_base-c6 has been prepared and should be committed soon
                                                                                                                                                                                  • Running ‘pkg audit’ will list any known vulnerable packages installed on your system
                                                                                                                                                                                  • “The issue can be mitigated by only using resolvers you trust, and configuring them to avoid sending responses which can trigger the bug.”
                                                                                                                                                                                  • “If you already have your own resolvers, you can configure them to avoid sending UDP responses larger than 2048 bytes. If the response does not fit in 2048 bytes, the server will send a truncated response, and the client should retry using TCP. While a similar bug exists in the code path for TCP requests, I believe that it can only be exploited by a malicious resolver, and interposing your own resolver will protect affected Linux systems and applications.”
                                                                                                                                                                                  • Dag-Erling’s blog post also includes instructions and configuration examples for locking down your resolver, or setting up your own resolver if you don’t have one already
                                                                                                                                                                                  • ***
                                                                                                                                                                                    OpenBSD Foundation - 2016 Fundraising Campaign
                                                                                                                                                                                    • The OpenBSD foundation has announced their 2016 fundraising campaign, and set the goal of raising $250k for the year.
                                                                                                                                                                                    • While they mention that fundraising for 2015 didn’t hit 2014’s blockbuster numbers, it still exceeded the goal set, with an almost equal mix of corporate and community donors.
                                                                                                                                                                                    • ‘Our goal for 2016 is to increase the amount of support we offer for development, without compromising our regular support for the projects. We would like to:

                                                                                                                                                                                      Plan and support more developer events (hackathons), and allow for more developers to attend these events.
                                                                                                                                                                                      Continue to improve the project infrastructure.
                                                                                                                                                                                      Fund more dedicated developer time for targeted development of specific projects.‘

                                                                                                                                                                                      • To give you an idea of how much OpenBSD technology is used around the world, they broke it down this way:
                                                                                                                                                                                      • If $10 were given for every installation of OpenBSD in the last year from the master site (ignoring the mirrors) we would be at our goal.

                                                                                                                                                                                        If $2 were given for every download of the OpenSSH source code in the last year from the master site (ignoring the mirrors) we would be at our goal.
                                                                                                                                                                                        If a penny was donated for every pf or OpenSSH installed with a mainstream operating system or phone in the last year we would be at our goal.

                                                                                                                                                                                        Getting Started with ION-DTN 3.4.0 on FreeBSD
                                                                                                                                                                                        • “The Interplanetary Overlay Network (ION) software distribution is an implementation of Delay-Tolerant Networking (DTN) architecture as described in Internet RFC 4838, suitable for use in spacecraft”
                                                                                                                                                                                        • This tutorial covers setting up ION 3.4.0 on FreeBSD
                                                                                                                                                                                        • The tutorial starts by downloading the ION software, and installing the relevant build tools
                                                                                                                                                                                        • The instructions allow ION to be installed system-wide, or for a specific user
                                                                                                                                                                                        • The each host is configured
                                                                                                                                                                                        • Then pings are traded between the hosts to ensure everything works
                                                                                                                                                                                        • Then a web page is served over the interplanetary network
                                                                                                                                                                                        • Sadly I don’t have any hosts on other planets to test with.
                                                                                                                                                                                        • The tutorial also includes a troubleshooting guide
                                                                                                                                                                                        • ***
                                                                                                                                                                                          Open Storage Issue – New BSD Mag is Out!
                                                                                                                                                                                          • The next issue of BSDMag (The Open Storage Issue) just landed which features an interview with Matt Olander of iXsystems.
                                                                                                                                                                                          • During the interview, Matt talks about the culture of support for open-source down at iX, not only FreeNAS and PC-BSD, but the FreeBSD foundation, Slackware and more.
                                                                                                                                                                                          • He also gets to extol the virtues of the open-source development model itself, why it tends to lead to better code overall.
                                                                                                                                                                                          • In addition to the lead interview with Matt, this issue also features some other great interviews with Open Source storage vendors, and even some ZFS howto’s about setting up your ZIL devive
                                                                                                                                                                                          • ***
                                                                                                                                                                                            Interview - John Marino - [email protected]

                                                                                                                                                                                            FreeNAS with FreeBSD as its base helped save taxpayers $36,000 for a small public school district

                                                                                                                                                                                            News Roundup
                                                                                                                                                                                            Getting Started With Tor Hidden Services on FreeBSD
                                                                                                                                                                                            • Ever wondered how to setup and use a Tor hidden service? We have a walkthrough posted over on github.io which details how to do that on a FreeBSD -CURRENT system.
                                                                                                                                                                                            • The basics are pretty simple, installing security/tor is the first step (although, he is using portmaster, you may wish to just ‘pkg install security/tor’)
                                                                                                                                                                                            • The walkthrough provides an example server hosting just the date/time on port 8080, which you can use as an example and to verify it works, before serving anything real.
                                                                                                                                                                                            • Once a local server is ready to serve something, the Tor setup is pretty quick, basically just two lines of config in torrc:
                                                                                                                                                                                            • HiddenServiceDir /usr/home/tor/hidden_service/

                                                                                                                                                                                              HiddenServicePort 80 127.0.0.1:8080

                                                                                                                                                                                              • After starting the service, the walkthrough will show you how to get the new hostname for this hidden service and verify its functionality.
                                                                                                                                                                                              • ZFS Remote Mirrors for Home Use
                                                                                                                                                                                                • A recently updated tutorial on remotely mirroring your ZFS files
                                                                                                                                                                                                • Using a spare old computer, or a SBC like a Raspberry Pi, and an (external) hard drive
                                                                                                                                                                                                • It covers installing and configuring FreeBSD for both sides of the remote replication
                                                                                                                                                                                                • The new appendix covers the creation of a Raspberry Pi image, although a prebuilt one is also provided
                                                                                                                                                                                                • The setup uses GELI to ensure the data is encrypted at-rest
                                                                                                                                                                                                • Updating and maintaining both systems is covered in detail
                                                                                                                                                                                                • The article is very detailed, and covers pretty much every aspect of the setup, including suggestions on where to physically locate the remote system, and configuration tips to reduce the chance that local intervention will be required
                                                                                                                                                                                                • Most importantly, it covers the disaster recovery steps. How to get your files back when bad things happen
                                                                                                                                                                                                • ***
                                                                                                                                                                                                  Lumina Desktop 0.8.8 Released
                                                                                                                                                                                                  • PC-BSD’s very own Lumina desktop has issued a new release, 0.8.8
                                                                                                                                                                                                  • Notable in this release is support for NetBSD out of box, improvements to the start menu, and ability to change monitor resolutions in the X configuration tool. (Also the desktop font colors look better!)
                                                                                                                                                                                                  • 0.8.8 is now available in PC-BSD via pkg, and FreeBSD ports/pkg system as well.
                                                                                                                                                                                                  • Lumina Desktop aims for v1.0 in July 2016
                                                                                                                                                                                                  • We also have a blog post from Larry over at FossForce, highlighting that 1.0 of Lumina is still targeted for July(ish)
                                                                                                                                                                                                  • ***
                                                                                                                                                                                                    NetBSD on Google's Compute Engine
                                                                                                                                                                                                    • A NetBSD developer has gotten NetBSD running on Google Compute Engine, a service somewhat similar to Amazon’s EC2, and Microsoft’s Azure
                                                                                                                                                                                                    • Support is still being worked on, but I imagine it will land in NetBSD before too long
                                                                                                                                                                                                    • NetBSD on GCE dmesg
                                                                                                                                                                                                    • OpenBSD on GCE
                                                                                                                                                                                                    • FreeBSD on GCE
                                                                                                                                                                                                    • ***
                                                                                                                                                                                                      BeastieBits

                                                                                                                                                                                                      htop 2.0 released - an interactive process viewer for Unix (including FreeBSD and OpenBSD)

                                                                                                                                                                                                      Full set of binary packages for 7.0 released for ARM v6 and v7 (hf)

                                                                                                                                                                                                      DragonFly 4.4.2 released

                                                                                                                                                                                                      LibertyBSD 5.8 has been released

                                                                                                                                                                                                      Broadwell systems may want to take advantage of the patch by Imre Vadasz

                                                                                                                                                                                                      Finding the hard-to-spot bugs in FreeBSD

                                                                                                                                                                                                      Feedback/Questions
                                                                                                                                                                                                      • Johnny - The Daily Show
                                                                                                                                                                                                      • Randy - Let it BSD
                                                                                                                                                                                                      • Miguel - NullFS
                                                                                                                                                                                                      • Jaek - PC-BSD Hardware
                                                                                                                                                                                                      • ***
                                                                                                                                                                                                        1 hr 44 min
                                                                                                                                                                                                      • 128: The State of BSD

                                                                                                                                                                                                        This week on BSDNow, we interview Nick Wolff about how FreeBSD is used across the State of Ohio and some of the specific technology used. That, plus the latest news is coming your way right now on BSDNow, the place to

                                                                                                                                                                                                        This episode was brought to you by

                                                                                                                                                                                                        title="DigitalOcean">
                                                                                                                                                                                                        src="/images/3.png" alt="Tarsnap - Online Backups for the Truly Paranoid" />

                                                                                                                                                                                                        Headlines
                                                                                                                                                                                                        Doc like an Egyptian: Managing project documentation with Sphinx
                                                                                                                                                                                                        • In case you didn’t make it out to SCALE a few weeks back, we have a great interview with Dru Lavigne over at OpenSource.com which goes over her talk on “Doc like an Egyptian”.
                                                                                                                                                                                                        • In particular she discusses the challenges of running a wiki for documentation for PC-BSD and FreeNAS which prompted the shift to using Sphinx instead.
                                                                                                                                                                                                        • “While the main purpose of a wiki is to invite user contributions and to provide a low barrier to entry, very few people come to write documentation (however, every spambot on the planet will quickly find your wiki, which creates its own set of maintenance issues).

                                                                                                                                                                                                          Wikis are designed for separate, one-ish page infobytes, such as how-tos. They really aren't designed to provide navigation in a Table of Contents or to provide a flow of Chapters, though you can hack your pages to provide navigational elements to match the document's flow. This gets more difficult as the document increases in size—our guides tend to be 300+ pages. It becomes a nightmare as you try to provide versioned copies of each of those pages so that the user is finding and reading the right page for their version of software.

                                                                                                                                                                                                          While wiki translation extensions are available, how to configure them is not well documented, their use is slow and clunky, and translated pages only increase the number of available pages, getting you back to the problems in the previous bullet. This is a big deal for projects that have a global audience.

                                                                                                                                                                                                          While output-generation wiki extensions are available (for example, to convert your wiki pages to HTML or PDF), how to configure them is not well documented, and they provide very little control for the layout of the generated format. This is a big deal for projects that need to make their documentation available in multiple formats.“

                                                                                                                                                                                                          • She then discusses some of the hurdles of migration from the Wiki to Sphinx, and follows up with some of the differences using Sphinx you should be aware of for any documentation project.
                                                                                                                                                                                                          • “While Sphinx is easy to learn, it does have its quirks. For example, it does not support stacked tags. This means, for example, you can not bold italic a phrase using tags—to achieve that requires a CSS workaround. And, while Sphinx does have extensive documentation, a lot of it assumes you already know what you are doing. When you don't, it can be difficult to find an example that does what you are trying to achieve.

                                                                                                                                                                                                            Sphinx is well suited for projects with an existing repository—say, on github—a build infrastructure, and contributors who are comfortable with using text editors and committing to the repo (or creating, say, git pull requests).“

                                                                                                                                                                                                            Initial FreeBSD RISC-V Architecture Port Committed.
                                                                                                                                                                                                            • Touching on a story we mentioned a few weeks back, we have a blog post from from Annie over at the FreeBSD foundation talking about the details behind the initial support for RISC-V.
                                                                                                                                                                                                            • To start us off, you may be wondering what is RISC-V and what makes it special?RISC-V is an exciting new open-source Instruction-Set Architecture (ISA) developed at the University of California at Berkeley, which is seeing increasing interest in the embedded systems and hardware-software research communities.
                                                                                                                                                                                                            • Currently the improvements allows booting FreeBSD in the Spike simulator, from the university of Berkeley, with enough reliability to do various things, such as SSH, shell, mail, etc.
                                                                                                                                                                                                            • The next steps include getting multi-core support working, and getting it working in simulations of Cambridge’s open-source LowRISC System-on-Chip functioning, and ready for early hardware.
                                                                                                                                                                                                            • Both ports and packages are expected to land in the coming days, so if you love hacking on branch new architectures, this may be your time to jump in.
                                                                                                                                                                                                            • ***
                                                                                                                                                                                                              FreeBSD Bhyve hypervisor supporting Windows UEFI guests
                                                                                                                                                                                                              • If you have not been following bhyve lately, you’re in for a treat when FreeBSD 10.3 ships in the coming weeks
                                                                                                                                                                                                              • bhyve now supports UEFI and CSM booting, in addition to its existing FreeBSD userboot loader, and grub-bhyve port
                                                                                                                                                                                                              • The EFI support allows Windows guests to be run on FreeBSD
                                                                                                                                                                                                              • Due to the lack of graphics, this requires making a custom .iso to do an ‘Unattended Install’ of Windows, but this is easily done just editing and including a .xml file
                                                                                                                                                                                                              • The bootrom can now allocate memory
                                                                                                                                                                                                              • Added some SATA command emulations (no-op)
                                                                                                                                                                                                              • Increased the number of virtio-blk indirect descriptors
                                                                                                                                                                                                              • Added a Firmware guest query interface
                                                                                                                                                                                                              • Add -l option to specify userboot path
                                                                                                                                                                                                              • FreeBSD Bhyve Hypervisor Running Windows Server 2012 R2 Standard
                                                                                                                                                                                                              • In related news, TidalScale officially released their product today
                                                                                                                                                                                                              • TidalScale is a commercial product based on bhyve that allows multiple physical machines to be combined into a single massive virtual machine, with the combined processor power, memory, disk I/O, and network capacity of all of the machines
                                                                                                                                                                                                              • ***
                                                                                                                                                                                                                FreeBSD TACACS+ GNS3 and Cisco 3700 Router
                                                                                                                                                                                                                • “TACACS+ – (Terminal Access Controller Access Control System plus) — is a session protocol developed by Cisco.”
                                                                                                                                                                                                                • This tutorial covers configuring FreeBSD and the tac_plus4 port to act as an authentication, authorization, and accounting server for Cisco routers
                                                                                                                                                                                                                • The configuration of FreeBSD, the software, and the router are covered
                                                                                                                                                                                                                • It also includes how to set the FreeBSD server up as a VM on windows, and bridge it to the network
                                                                                                                                                                                                                • I am sure there are some network administrators out there that would appreciate this
                                                                                                                                                                                                                • ***
                                                                                                                                                                                                                  Interview - Nick Wolff - [email protected] / @darkfiberiru
                                                                                                                                                                                                                  News Roundup
                                                                                                                                                                                                                  Papers We Love Presents : Bryan Cantrill on Jails & Solaris Zones
                                                                                                                                                                                                                  • The folks over at NYCBug point us to “Papers We Love”, a New York based meetup group where past papers are presented. They have a talk scheduled for tomorrow (Feb 11th) with Bryan Cantrill discussing Jails and Solaris Zones
                                                                                                                                                                                                                  • The talk starts at 7PM at the Tumblr building, located between 5th and Park Ave South on 21st street
                                                                                                                                                                                                                  • “We're crazy excited to have Bryan Cantrill, CTO of Joyent, formerly of Sun Microsystems, presenting on Jails: Confining the omnipotent root.
                                                                                                                                                                                                                  • by Poul-Henning Kamp and Robert Watson and Solaris Zones: Operating System Support for Consolidating Commercial Workloads by Dan Price and Andy Tucker!”
                                                                                                                                                                                                                  • The abstract posted gives us a sneak peak of what to expect, first covering jails as a method to “partition” the operating system environment, but maintaining the UNIX “root” model.
                                                                                                                                                                                                                  • Next it looks like he will compare and contrast with the Solaris Zones functionality, which creates virtualized application execution environments, within the single OS instance.
                                                                                                                                                                                                                  • Sounds like a fantastic talk, hopefully somebody remembers to record and post it for us to enjoy later!
                                                                                                                                                                                                                  • There will not be a live stream, but a video of the event should appear online after it has been edited
                                                                                                                                                                                                                  • ***
                                                                                                                                                                                                                    FreeBSD Storage Summit
                                                                                                                                                                                                                    • The FreeBSD Foundation will be hosting a Storage Summit, co-located at the USENIX FAST (Filesystems And Storage Technology) conference
                                                                                                                                                                                                                    • Developers and Vendors are invited to work on storage related issues
                                                                                                                                                                                                                    • This summit will be a hackathon focused event, rather than a discussion focused devsummit
                                                                                                                                                                                                                    • After setup and introductions, the summit will start with a “Networking Synergies Panel”, to discuss networking as it relates to storage
                                                                                                                                                                                                                    • After a short break, the attendees will break up into a number of working groups focused on solving actual problems
                                                                                                                                                                                                                    • The current working groups include:
                                                                                                                                                                                                                    • CAM Scheduling & Locking, led by Justin Gibbs: “Updating CAM queuing/scheduling and locking models to minimize cross-cpu contention and support multi-queue controllers”
                                                                                                                                                                                                                    • ZFS, led by Matt Ahrens: topics will include enabling the new cryptographic hashes supported by OpenZFS on FreeBSD, Interaction with the kernel memory subsystem, and other upcoming features.
                                                                                                                                                                                                                    • User Space Storage Stack, led by George Neville-Neil
                                                                                                                                                                                                                    • This event offers a unique opportunity for developers and vendors from the storage industry to meet at an event they will likely already be attending
                                                                                                                                                                                                                    • ***
                                                                                                                                                                                                                      Tor Browser 5.5 for OpenBSD/amd64 -current is completed
                                                                                                                                                                                                                      • “The Tor BSD Diversity Project (TDP) is proud to announce the release of Tor Browser (TB) version 5.5 for OpenBSD. Please note that this version of TB remains in development mode, and is not meant to ensure strong privacy, anonymity or security.”
                                                                                                                                                                                                                      • “TDP (https://torbsd.github.io) is an effort to extend the use of the BSD Unixes into the Tor ecosystem, from the desktop to the network. TDP is focused on diversifying the Tor network, with TB being the flagship project.
                                                                                                                                                                                                                      • Additional efforts are made to increase the number of *BSD relays on the Tor network among other sub-projects”
                                                                                                                                                                                                                      • Help test the new browser bundle, or help diversify the Tor network
                                                                                                                                                                                                                      • ***
                                                                                                                                                                                                                        “FreeBSD Mastery: Advanced ZFS” Table of Contents
                                                                                                                                                                                                                        • We brought you the news about sponsoring the Advanced ZFS book that MWL is working on, now Michael has given us the tentative chapter layout of the (sure to be a classic) tome coming from him and Allan.

                                                                                                                                                                                                                          • 0: Introduction
                                                                                                                                                                                                                          • 1: Boot Environments
                                                                                                                                                                                                                          • 2: Delegation and Jails
                                                                                                                                                                                                                          • 3: Sharing
                                                                                                                                                                                                                          • 4: Replication
                                                                                                                                                                                                                          • 5: zvols
                                                                                                                                                                                                                          • 6: Advanced Hardware
                                                                                                                                                                                                                          • 7: Caches
                                                                                                                                                                                                                          • 8: Performance
                                                                                                                                                                                                                          • 9: Tuning
                                                                                                                                                                                                                          • 10: ZFS Potpourri
                                                                                                                                                                                                                          • In addition to the tease about the upcoming book, michael has asked the community for assistance in coming up with the cover art for it as well.

                                                                                                                                                                                                                          • In particular it should probably be in-line with his previous works, with a parody of some other classic art-work.

                                                                                                                                                                                                                          • If you have something, go tweet out to him at @mwlauthor

                                                                                                                                                                                                                          • Beastie Bits
                                                                                                                                                                                                                            • Online registration for AsiaBSDCon 2016 now open SOON

                                                                                                                                                                                                                            • BhyveCon 2016

                                                                                                                                                                                                                            • NYC*BUG shell-fu talk slides

                                                                                                                                                                                                                            • Possible regression in DragonFly i915 graphics on older Core2Duos

                                                                                                                                                                                                                            • Videos from FOSDEM 2016. BSD dev room was k4601

                                                                                                                                                                                                                            • Feedback/Questions
                                                                                                                                                                                                                              • Andrew - SMART Tests
                                                                                                                                                                                                                              • JT - Secure File Delete
                                                                                                                                                                                                                              • Jordan - Migrate
                                                                                                                                                                                                                              • Lars - Pros and Cons of VM
                                                                                                                                                                                                                              • Alex - IPSEC
                                                                                                                                                                                                                              • ***
                                                                                                                                                                                                                                1 hr 31 min
                                                                                                                                                                                                                              • 127: DNS, Black Holes & Willem

                                                                                                                                                                                                                                Today on the show, we welcome Allan back from FOSSDEM, and enjoy an interview with Willem about DNS and MTU Black Holes. That plus all the weeks news, keep it turned here to BSD

                                                                                                                                                                                                                                This episode was brought to you by

                                                                                                                                                                                                                                Headlines
                                                                                                                                                                                                                                FreeBSD Quarterly Status Report
                                                                                                                                                                                                                                • It is that time of year again, reviewing the progress of the FreeBSD project over the last quarter of 2015
                                                                                                                                                                                                                                • There are a huge number of projects that have recently been completed or that are planned to finish in time for FreeBSD 10.3 or 11.0
                                                                                                                                                                                                                                • This is just a sample of the of the items that stood out most to us:
                                                                                                                                                                                                                                • A number of new teams have been created, and existing teams report in. The Issue Triage, bugmeister, jenkins, IPv6 advocacy, and wiki-admin teams are all mentioned in the status report
                                                                                                                                                                                                                                • Progress is reported on the i915 project to update the Intel graphics drivers
                                                                                                                                                                                                                                • In the storage subsystem: RCTL I/O rate limiting, Warner Losh’s CAM I/O Scheduler is progressing, Mellanox iSCSI Extensions for RDMA (iSER) was added, Chelsio iSCSI offload drivers, Mellanox 100 gbit/s drivers
                                                                                                                                                                                                                                • In Security: Encrypted crash dumps, OpenBSM updates, and a status report on HardenedBSD
                                                                                                                                                                                                                                • For embedded: Support for Ralink/Mediatek MIPS devices, Raspberry Pi Video Code packages, touch screen support for RPI and BBB, new port to the Marvell Armada38x, and the work on arm64 and RISC-V
                                                                                                                                                                                                                                • kib@ rewrote the out-of-memory handler, specifically to perform better in situations where a system does not have swap. Was tested on systems ranging from 32 MB of memory, to 512 GB
                                                                                                                                                                                                                                • Various improvements to the tool chain, build system, and nanobsd
                                                                                                                                                                                                                                • It was nice to see a bunch of reports from ports committers
                                                                                                                                                                                                                                • An overview of the different proposed init replacements, with a report on each
                                                                                                                                                                                                                                • ***
                                                                                                                                                                                                                                  First timer’s guide to FOSS conferences
                                                                                                                                                                                                                                  • This post provides a lot of good information for those considering going to their first conference
                                                                                                                                                                                                                                  • The very first item says the most: “Conference talks are great because they teach you new skills or give you ideas. However, what conference talks are really for is giving you additional topics of conversation to chat with your fellow conference goers with. Hanging out after a talk ends to chat with the speaker is a great way to connect with speakers or fellow attendees that are passionate about a particular subject.”
                                                                                                                                                                                                                                  • The hallway track is the best part of the conference. I’ve ended up missing as much as 2/3rds of a conference, and still found it to be a very valuable conference, sometimes more so than if I attend a talk in every slot
                                                                                                                                                                                                                                  • It is important to remember that missing a talk is not the end of the world, that discussion in the hallway may be much more valuable. Most of the talks end up on youtube anyway. The point of the conference is being in the same place as the other people at the conference, the talks are just a means to get us all there.
                                                                                                                                                                                                                                  • There is even a lot of good advice for people with social anxiety, and those like Allan who do not partake in alcohol
                                                                                                                                                                                                                                  • Know the conference perks and the resources available to you. The author of the post commented on twitter about originally being unaware of the resources that some conferences provide for speakers, but also of discounts for students, and travel grants from Google and others like the FreeBSD Foundation
                                                                                                                                                                                                                                  • There are also tips about swag, including watching out for booth wranglers (not common at BSD events, but many larger conferences have booths where your personal information can be exchanged for swag), as well as advice for following up with the people you meet at conferences.
                                                                                                                                                                                                                                  • Lastly, it provides thoughts on avoiding “Project Passion Explosion“, or what I call “overcharging your BSD battery”, where after hearing about the interesting stuff other people are doing, or about the things other need, you try to do everything at once, and burn yourself out
                                                                                                                                                                                                                                  • I know for myself, there are at least 10 projects I would love to work on, but I need to balance my free time, my work schedule, the FreeBSD release schedule, and which items might be better for someone else to work on.
                                                                                                                                                                                                                                  • ***
                                                                                                                                                                                                                                    FreeBSD 10.1 based WiFi Captive Portal
                                                                                                                                                                                                                                    • Captive portals, the bane of many a traveler’s existence, however a necessary evil in the era of war-driving and other potentially nefarious uses of “free-wifi”.
                                                                                                                                                                                                                                    • This week we have an article from the folks at “unixmen”, showing (in great detail) how they setup a FreeBSD 10.1 based captive portal, and yes those are manual MySQL commands.
                                                                                                                                                                                                                                    • First up is a diagram showing the layout of their new portal system, using multiple APs for different floors of the apartment / hotel?
                                                                                                                                                                                                                                    • The walkthrough assumes you have Apache/MySQL and PHP already installed, so you’ll need to prep those bits beforehand.
                                                                                                                                                                                                                                    • Some Apache configuration is up next, which re-directs all port 80 requests over to 443/SSL and the captive portal web-login
                                                                                                                                                                                                                                    • At this point we have to install “pear” from ports or packages and begin to do the database setup which is fairly typical if you done any SQL before, such as create user / database / table, etc.
                                                                                                                                                                                                                                    • With the database finished, the article provides a nice and clean rc.conf which enables all the necessary services.
                                                                                                                                                                                                                                    • Next up is the firewall configuration, which is using IPFW, specifically DUMMYNET/IPALIAS/IPDIVERT and friends. The article does mention to compile a new minimal kernel with these features, if you plan on doing so they I would recommend starting off with that.
                                                                                                                                                                                                                                    • The article then continues, with setting up DHCP server, SUDO and the PHP file creation that will act as the interface between the client and mysql/firewall rules.
                                                                                                                                                                                                                                    • When it’s all said and done, you end up with a nice web-interface for clients, plus a bonus Admin interface to manage creating and removing users.
                                                                                                                                                                                                                                    • For convenience at the very end is a link to all the files / configurations used, so grab that and avoid some of the copy-n-paste
                                                                                                                                                                                                                                    • ***
                                                                                                                                                                                                                                      Sailor, a 'wannabe' portable container system {their own words!}
                                                                                                                                                                                                                                      • In the world of docker / jails / VMs, containers are all the rage right now, and now we can introduce “Sailor” to this mix
                                                                                                                                                                                                                                      • A unique thing about this new solution, is that its based upon chroot/pkgin, and available on NetBSD / OSX and CentOS
                                                                                                                                                                                                                                      • Since it is not using “jail” or other security mechanism, they to give us this cavet “Note that sailor's goal is not to provide bullet-proof security, chroot is definitely not a trustable isolator; instead, sailor is a really convenient way of trying / testing an environment without compromising your workstation filesystem.”
                                                                                                                                                                                                                                      • Creating a new “ship” is relatively straight-forward, a simple shell define file can supply most of the relevant information. Nginx for example is only a few lines: https://github.com/NetBSDfr/sailor/blob/master/examples/nginx.conf
                                                                                                                                                                                                                                      • In addition to the basic pkg configuration, it also provides methods to do rw/ro mounts into the chroot, as well as IP aliases and copying of specific host binaries into the container
                                                                                                                                                                                                                                      • ***
                                                                                                                                                                                                                                        Interview - Willem Toorop - [email protected] / @WillemToorop
                                                                                                                                                                                                                                        • GetDNS
                                                                                                                                                                                                                                        • vBSDCon 2015 Talk
                                                                                                                                                                                                                                        • ***
                                                                                                                                                                                                                                          News Roundup
                                                                                                                                                                                                                                          A Quarter Century of Unix
                                                                                                                                                                                                                                          • An oldie, but goodie, the book “A Quarter Century of UNIX” is now available for free download via PDF format.
                                                                                                                                                                                                                                          • This provides an invaluable look into the history of UNIX, which of course we wouldn’t have BSD without.
                                                                                                                                                                                                                                          • There is also a print version still available via Amazon (link at the above URL also). If you find the book useful, consider buying a copy, since a % still goes to the original author
                                                                                                                                                                                                                                          • ***
                                                                                                                                                                                                                                            Bjoern Zeeb has been awarded grant to finalize VIMAGE fixes
                                                                                                                                                                                                                                            • “Bjoern Zeeb has been awarded a project grant to finalize and integrate the work done to make the VIMAGE network stack virtualization infrastructure production ready.”
                                                                                                                                                                                                                                            • VIMAGE is the network virtualization kernel component that can be used to give jails their own network interfaces, so they can have their own firewalls, be assign addresses via DHCP, etc.
                                                                                                                                                                                                                                            • Currently, a number of bugs prevent this feature from being enabled by default, or used in production
                                                                                                                                                                                                                                            • The main areas of focus for the work are: network stack teardown, interface ordering, locking, and addressing the remaining memory leaks at teardown
                                                                                                                                                                                                                                            • The work is expected to be completed by the end of March and to be included in FreeBSD 11.0
                                                                                                                                                                                                                                            • ***
                                                                                                                                                                                                                                              Building a smtpd Mail Server on OpenBSD
                                                                                                                                                                                                                                              • The OpenSMTPd FAQ has been updated with a new walkthrough of a complete installation
                                                                                                                                                                                                                                              • Following this guide, the resulting installation will:
                                                                                                                                                                                                                                              • Accepting mails for multiple domains and virtual users
                                                                                                                                                                                                                                              • Allowing virtual users to authenticate and send mails
                                                                                                                                                                                                                                              • Applying anti-spam and anti-virus filters on mails
                                                                                                                                                                                                                                              • Providing IMAP access for the virtual users
                                                                                                                                                                                                                                              • Providing log statistics
                                                                                                                                                                                                                                              • It covers setting up the new filter system, configuring TLS, creating the domain and user tables, configuring spamassassin and clamav, and setting up dovecot
                                                                                                                                                                                                                                              • There is even a crontab to send you weekly stats on what your email server is doing
                                                                                                                                                                                                                                              • ***
                                                                                                                                                                                                                                                Introduction to the FreeBSD Open Source Operating System LiveLessons
                                                                                                                                                                                                                                                • Dr. Kirk McKusick has been one of the foremost authorities on FreeBSD for some time now, as co-author of the D&I of FreeBSD (along with George Neville-Neil and Robert Watson) and teaching numerous classes on the same. (Another good reason to come to a *BSD conference)
                                                                                                                                                                                                                                                • As part of the Addison-Wesley Professional / LiveLessons series, he has made a 10+ hour video lecture you can now purchase to take his class from the comfort of your own home/couch/office/etc
                                                                                                                                                                                                                                                • Aspiring FreeBSD developers, kernel developers, Application Developers and other interested individuals should really consider this invaluable resource in their learning.
                                                                                                                                                                                                                                                  • The video starts with an introduction to the FreeBSD community and explains how it differs from the Linux ecosystem. The video then goes on to provide a firm background in the FreeBSD kernel. The POSIX kernel interfaces are used as examples where they are defined. Where they are not defined, the FreeBSD interfaces are described.
                                                                                                                                                                                                                                                  • The video covers basic kernel services, locking, process structure, scheduling, signal handling, jails, and virtual and physical memory management.
                                                                                                                                                                                                                                                  • The kernel I/O structure is described showing how I/O is multiplexed and the virtual filesystem interface is used to support multiple filesystems.
                                                                                                                                                                                                                                                  • Devices are described showing disk management and their auto-configuration.
                                                                                                                                                                                                                                                  • The organization and implementation of the fast filesystem is described concluding with a discussion of how to maintain consistency in the face of hardware or software failures.
                                                                                                                                                                                                                                                  • The video includes an overview of the ZFS filesystem and covers the socket-based network architecture, layering and routing issues.
                                                                                                                                                                                                                                                  • The presentations emphasize code organization, data structure navigation, and algorithms.
                                                                                                                                                                                                                                                  • Normally the video will set you back $299, but right now you can pick it up for $239 (USD). We can’t recommend this enough, but also don’t forget to try and make it out to BSDCan or MeetBSD, where you can usually talk to Dr. McKusick in person.
                                                                                                                                                                                                                                                  • ***
                                                                                                                                                                                                                                                    BeastieBits
                                                                                                                                                                                                                                                    • Faces of FreeBSD: Sean Bruno

                                                                                                                                                                                                                                                    • Support Michael W. Lucas writing BSD books, and get your name in the credits

                                                                                                                                                                                                                                                    • bhyve windows support merged to stable/10 branch, will be included in FreeBSD 10.3

                                                                                                                                                                                                                                                    • FreeBSD Outsells Windows by almost 2-1

                                                                                                                                                                                                                                                    • A rant about the whois protocol

                                                                                                                                                                                                                                                    • Kris Moore talks about Jails and system management on BSDTalk

                                                                                                                                                                                                                                                    • FOSDEM 2016: Slides from the 5 years of IllumOS talk

                                                                                                                                                                                                                                                    • A tweet from the first day of FOSDEM showed only 1 FreeBSD machine. Many of the FreeBSD developers were at a devsummit offsite that day, and more users arrived for the BSD dev room which was on the Sunday

                                                                                                                                                                                                                                                    • Feedback/Questions
                                                                                                                                                                                                                                                      • Antonio - ZFS Book Formatting
                                                                                                                                                                                                                                                      • Simon - ZFS Corruption?
                                                                                                                                                                                                                                                      • Christian - rm -rOOOPSSS
                                                                                                                                                                                                                                                      • Phillipp - ZFS Send/Recv
                                                                                                                                                                                                                                                      • ***
                                                                                                                                                                                                                                                        2 hr 10 min