Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

BSD Now

BSD Now artwork

349: Entropy Overhaul

May 7, 202058 minAudio
ShareXLinkedInFacebookWhatsAppEmail

Encrypted Crash Dumps in FreeBSD, Time on Unix, Improve ZVOL sync write performance with a taskq, central log host with syslog-ng, NetBSD Entropy overhaul, Setting Up NetBSD Kernel Dev Environment, and more. Headlines EKCD - Encrypted Crash Dumps in FreeBSD Some time ago, I was describing how to configure networking crash dumps. In that post, I mentioned that there is also the possibility to encrypt crash dumps. Today we will look into this functionality. Initially, it was implemented during Google Summer of Code 2013 by my friend Konrad Witaszczyk, who made it available in FreeBSD 12. If you can understand Polish, you can also look into his presentation on BSD-PL on which he gave a comprehensive review of all kernel crash dumps features. The main issue with crash dumps is that they may include sensitive information available in memory during a crash. They will contain all the data from the kernel and the userland, like passwords, private keys, etc. While dumping them, they are written to unencrypted storage, so if somebody took out the hard drive, they could access sensitive data. If you are sending a crash dump through the network, it may be captured by third parties. Locally the data are written directly to a dump device, skipping the GEOM subsystem. The purpose of that is to allow a kernel to write a crash dump even in case a panic occurs in the GEOM subsystem. It means that a crash dump cannot be automatically encrypted with GELI. Time on Unix Time, a word that is entangled in everything in our lives, something we’re intimately familiar with. Keeping track of it is important for many activities we do. Over millennia we’ve developed different ways to calculate it. Most prominently, we’ve relied on the position the sun appears to be at in the sky, what is called apparent solar time. We’ve decided to split it as seasons pass, counting one full cycle of the 4 seasons as a year, a full rotation around the sun. We’ve also divided the passing of light to the lack thereof as days, a rotation of the earth on itself. Moving on to more precise clock divisions such as seconds, minutes, and hours, units that meant different things at different points in history. Ultimately, as travel got faster, the different ways of counting time that evolved in multiple places had to converge. People had to agree on what it all meant. See the article for more News Roundup Improve ZVOL sync write performance by using a taskq A central log host with syslog-ng on FreeBSD - Part 1 syslog-ng is the Swiss army knife of log management. You can collect logs from any source, process them in real time and deliver them to wide range of destinations. It allows you to flexibly collect, parse, classify, rewrite and correlate logs from across your infrastructure. This is why syslog-ng is the perfect solution for the central log host of my (mainly) FreeBSD based infrastructure. HEADS UP: NetBSD Entropy Overhaul This week I committed an overhaul of the kernel entropy system. Please let me know if you observe any snags! For the technical background, see the thread on tech-kern a few months ago: https://mail-index.NetBSD.org/tech-kern/2019/12/21/msg025876.html. Setting Up NetBSD Kernel Dev Environment I used T_PAGEFLT’s blog post as a reference for setting my NetBSD kernel development environment since his website is down I’m putting down the steps here so it would be helpful for starters. Beastie Bits You can now use ccache to speed up dsynth even more. Improving libossaudio, and the future of OSS in NetBSD DragonFlyBSD DHCPCD Import dhcpcd-9.0.2 with the following changes Reminder: watch this space for upcoming FreeBSD Office Hours, next is May 13th at 2pm Eastern, 18:00 UTC Feedback/Questions Ghislain - ZFS Question Jake - Paypal Donations Oswin - Hammer tutorial Send questions, comments, show ideas/topics, or stories you want mentioned on the show to feedback@bsdnow.tv Your browser does not support the HTML5 video tag.

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Hosts and Guests

Hosts

  • Allan Jude Host Feed-stated
  • Benedict Reuschling Host Feed-stated

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. 690: 64K, no more, no less

    Nov 19, 20261 hr 7 minAudio

    NOTES This episode of BSDNow is brought to you by Tarsnap and the BSDNow Patreon Headlines The invention of the MMO FreeBSD's Base Comes From One Team News Roundup The indigoparadox Web Zone The Editor Wars How to setup...

    Credit the people on this episode

  2. 689: Start, restart, stop

    Nov 12, 20261 hr 16 minAudio

    Biggest ZFS Misconfigurations, FreeBSD rc.d explained, ATX Power and how it works, GEFS and more... NOTES This episode of BSDNow is brought to you by Tarsnap and the BSDNow Patreon Headlines Biggest ZFS...

    Credit the people on this episode

  3. 688: Eighty

    Nov 5, 202650 minAudio

    OpenBSD 8.0, vmd(8), WebZFS has reached BETA3, HardenedBSD updates and more... NOTES This episode of BSDNow is brought to you by Tarsnap and the BSDNow Patreon Headlines Biggest ZFS Misconfigurations and How to Fix...

    Credit the people on this episode

  4. 687: Long Term Support

    Oct 29, 202657 minAudio

    NOTES This episode of BSDNow is brought to you by Tarsnap and the BSDNow Patreon Headlines FreeBSD Release Cycles and Enterprise Requirements: Why LTS Matters August/September Newsletter News Roundup All About the...

    Credit the people on this episode

  5. 686: Yell in your Shell

    Oct 22, 202641 minAudio

    ! marks in shell, learning at scale, Thinkcenters and BSD, and more... NOTES This episode of BSDNow is brought to you by Tarsnap and the BSDNow Patreon Headlines A shell exclamation mark is not for yelling. Be lazy....

    Credit the people on this episode