❯ Demoscene: Tensile by Horology
Three students from ETH Zurich, their second production, and a 64k intro of 61,440 bytes that came second at Revision 2013. The group are called Horology, which is the craft of clocks, and the intro ends in clockwork.
⠀
Watch it: https://t.co/Xv5S7K3LzT
⠀
It opens on a black cube in a cone of light. The cube turns slowly, as if somebody were checking it for flaws, until it finds one and falls apart into a cloud of dark shards. Branches push out of the wreckage and climb into a row of enormous letters that spell out an invitation, putting out small white blossoms on the way. Less than three minutes after the first frame, a cube built entirely of gears is turning in the dark.
⠀
■ WHAT A HOROLOGIST BUILDS
⠀
Pouët credits algorias and Noobody with code and graphics, and westlicht with the same plus the music. Westlicht is Simon Kallweit, and the capture is on his own channel, uploaded on Easter Sunday 2013. The group had not been at it long. Their first 64k, Wheels within wheels, won Demodays 2012, and Noobody told Adok of the diskmag Hugi that only a couple of years earlier the 4k Elevated had "looked like pure wizardry". For a second production, Tensile punches well above its weight, and its ending has its own fan club on Pouët: "That ticking mechanism in the last scene. <3"
⠀
■ THREE MACHINES, ONE FRAMEWORK
⠀
The Revision rules give a 64k intro 65,536 bytes for the executable and add: "All other files in the archive will be deleted before showing the entry in the competition." The music comes from westlicht's own synthesiser, which he turned into a VST plugin "as I wanted to use a proper sequencer to write the music", and his framework "had to be cross platform as we all worked on different platforms."
⠀
That condition is visible in the release archive on https://t.co/lfvh9F801Z, where three programs lie side by side. The Windows file is 61,440 bytes (precisely fifteen times 4,096, should anyone be keeping count), packed with kkrunchy from Farbrausch, so 4,096 bytes of the allowance were never touched. The Linux build of 116,556 bytes and the Mac build of 111,907 were deleted before the show, which means they were made for the people at home. One of them thanked the group for an intro that runs "natively on Linux" and "well on my ancient (by PC standards) graphics card."
⠀
■ EASTER IN SAARBRÜCKEN
⠀
Revision is held each Easter in Saarbrücken, and the 2013 edition ran from 29 March to 1 April in the E-Werk. Six 64k intros were shown: Turtles all the way down by Brain Control 1,221 points, Tensile 1,019, A l'ancienne by X-Men 868, Signify by Inque 798, Wolfram Theta by Youth Uprising 669, invitro by z brothers 578. Finishing behind the winner is no disgrace for anybody, and Tensile kept 151 points over the rest. Westlicht, it turns out, had been able to come to Revision for its last day only. The closing card reads "MEET US AT DEMODAYS 23/24/25 AUGUST 2013 OLTEN/SWITZERLAND".
⠀
Horology fitted a whole invitation into 61,440 bytes and left 4,096 of them unused, which in a watch would be called a tolerance.
⠀
#Demoscene #64k #Revision #Horology #ComputerArt
👉 Full essay: https://t.co/rJqHVG25ZP
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Video, capture by westlicht: https://t.co/Xv5S7K3LzT
• Pouët, Tensile: https://t.co/MK8i7oSS3N
• Demozoo, Tensile: https://t.co/ujpQnRdewr
• Revision 2013, results: https://t.co/BY4mBMpLeS
• Revision 2013, PC competition rules: https://t.co/iWGaMieyz2
• Revision 2013, the party: https://t.co/CXS9rFUEpU
• Release archive: https://t.co/e3wrmDgQge
• Hugi 38, interview with Horology: https://t.co/fDKqFQ8bps
• Pouët, Horology, all productions: https://t.co/yJgSBgCFlp
• Pouët, Turtles all the way down by B
❯ Socket ownership: sockstat Shows Who Listens
One FreeBSD command names the process behind every port, in every jail, from a binary of 33,880 bytes. Before it asks the kernel a single question, it has locked itself into a Capsicum sandbox.
⠀
A host runs twenty jails, and on a Friday afternoon the web server in one of them refuses to start. The log says address already in use. That is true, and on a machine with twenty tenants it helps nobody. One line settles it:
⠀
sockstat -4l -p 443
⠀
The table that comes back is spot on: an nginx somebody started for a test on Tuesday and forgot about. The same line gives the user it runs as and the process ID to send the signal to. Dag-Erling Smørgrav imported the tool as a Perl script on 14 April 1999 and rewrote it in C in July 2002, under a commit that reads "Sponsored by: DARPA, NAI Labs", which is a fair bit of sponsorship for a program that lists sockets.
⠀
■ TWO QUESTIONS TO THE KERNEL
⠀
sockstat keeps no state of its own and learns nothing about sockets from a file. It asks the kernel for its socket lists, each record carrying the address of the socket structure, and for the file table, which the kernel builds by walking every process and listing each open file with its owner. sockstat matches the two addresses, and a socket has an owner. The kernel filters both answers before they leave it, so inside a jail the tool sees that jail and nothing else.
⠀
On Linux, ss fetches the sockets over netlink, and those records carry a user and an inode number but no process. To name the owners, ss -p opens the descriptor directory of every process on the machine and reads each link inside.
⠀
■ LOCKED IN BEFORE IT LOOKS
⠀
Since March 2021 the order is fixed in the source: step into the jail if one was named, start Casper, enter capability mode, and only then open the services for sysctl, address lookup, protocol names and the password database. I traced one run on FreeBSD 15.1 with ktrace. sockstat -46ln made 2,863 system calls across seven processes, the tool and six from Casper. In the tool's own process, cap_enter was call number 170, after nothing but the linker and the start of Casper, and the tool made no direct sysctl call at all. The source of ss holds no sandbox.
⠀
■ A JAIL, BY NAME
⠀
sockstat -j staging takes the jail's name. Most jails share the host's network stack, so their sockets appear in the host's list and -j narrows it to one jail. A VNET jail keeps its sockets apart, and there sockstat attaches itself to the jail and asks from inside, with the same line. A Linux container with its own namespace is invisible to ss on the host; the way in is nsenter, given the process ID of something inside, which the container runtime has to supply first.
⠀
■ THE SHEET
⠀
Code: 1,871 lines in FreeBSD 15.1; the main file of ss alone 4,854
Size: 33,880 bytes stripped; ss in Debian 13 211,968, six times as much
Time: 36 ms per run with names, 27 ms without, on twenty jails and 170 processes
Security: Capsicum since 2021, and none of 750 FreeBSD advisories names sockstat
History: 169 commits since 1999, libxo output added by a GSoC student in 2025
Stability: the six options and seven columns of 2002 are still there, in the same order
⠀
■ THE LIMIT
⠀
Round-trip times and window sizes per connection belong to DTrace's tcp provider in the base system. The filters cover port, protocol, jail and loopback, as it happens the questions asked most, and anything beyond them goes through grep or the libxo output. The host-wide list does not name the jail, which is one -j away, and a VNET jail always wants its -j. Six helper processes start and stop with every run, inside its 27 milliseconds.
⠀
A tool that asks the kernel who holds every socket on the machine ought to be trusted with very little, and sockstat has arranged, before it asks, to be trusted with nothing else.
⠀
#TechnicalBeauty #FreeBSD #sockstat #Capsicum #Jails #SysAdmin #Unix #Linux
👉 Full essay: https://t.co/zS2unQeg68
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Own measurement, FreeBSD 15.1-RELEASE base set: https://t.co/k8iUchYAEc
• Debian 13, iproute2 6.15.0-1: https://t.co/NL3E4RaXHi
• FreeBSD, sockstat manual page: https://t.co/iV5sNRG92m
• FreeBSD, sockstat main.c: https://t.co/wi9cvWAVqH
• FreeBSD, kern_descrip.c: https://t.co/h27KxD8v55
• FreeBSD, tcp_subr.c: https://t.co/HWcLOGqwHV
• FreeBSD, import of lsock, 1999: https://t.co/NBP6zD76LY
• FreeBSD, total rewrite, 2000: https://t.co/2kClJehSXM
• FreeBSD, rewrite in C, 2002: https://t.co/FX8CfUmelQ
• FreeBSD, jail option, 2012: https://t.co/HApo4U0d20
• FreeBSD, VNET jails, D24413: https://t.co/mL8EwXVitl
• FreeBSD, Capsicum through Casper, D26958: https://t.co/qzne6KHSfK
• FreeBSD, libxo support, GSoC 2025: https://t.co/QaSVjtAD9k
• FreeBSD, security advisories: https://t.co/uhmD21B46Y
• iproute2, ss.c: https://t.co/5mOKn2lyKx
• iproute2, ss manual page: https://t.co/27FpAE9LkI
• util-linux, nsenter manual page: https://t.co/3s46phJh8D
• Vivian Voss, netstat vs ss: https://t.co/pSw4XxOnJu
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀
❯ Kernel security: The Kernel Loads Only on Orders
An nginx worker with no privileges asks for a protocol the server has never used, and the Linux kernel loads it without asking who wants it. On FreeBSD the same request returns an error and the kernel stays as it was.
⠀
That request is the second half of NGINX2Root. Xint found five nginx bugs that give an attacker code as the worker; the widest of them sits in HTTP/2 flow control, has been there since nginx 1.9.5, and is reachable by serving static files. Of 11.94 million nginx hosts showing a version, 98.9 per cent fell in the affected range. The worker then opens a socket for SCTP, the signalling protocol of telephone networks. The kernel does not have it, so it runs modprobe with full privileges, loads the module and hands over the socket. A use-after-free in that module, present since Linux 4.15 and without a patch at the time of writing, ends in root on the host. Sysdig's lab confirmed that one socket from the worker loads the module, which then stays until the next reboot. From a Docker container it works the same, since containers share the host's kernel.
⠀
■ THE HATCH LEFT ON THE LATCH
⠀
The operators did it by the book: the worker without privileges, a container, one open port and a scanned image. Then the kernel, the one part every container shares, takes delivery of new code for a process with no rights at all, rather like a bank vault whose night porter lets in anyone who asks politely for a room. The mechanism is no secret to Ubuntu, whose kmod package blocks eight rare protocol families "so that unprivileged users cannot use them by default". SCTP is missing, and so is DCCP, although Debian 13 still ships the DCCP module that gave unprivileged processes kernel code execution in 2017, by the very route LWN described that December.
⠀
■ WHAT IS ON THE SHELF
⠀
Few operators know what their kernel holds, and I had to count myself. Debian 13's kernel package carries 4,230 loadable modules, 487 for networking alone, SCTP, DCCP, RDS and TIPC among them, each one a socket call away from any process on the machine. Nobody chose them; they come with the package one installs to get a kernel.
⠀
■ THE STRONGEST CASE
⠀
A distribution builds one kernel for millions of machines it has never seen, and loading on demand is how it copes; for hardware it works beautifully. SCTP has real users in telecoms and in some Kubernetes network plugins, who would rather not file a ticket at every boot. Linux can switch autoloading off by emptying the modprobe sysctl, and one line in the modprobe configuration blocked SCTP in Sysdig's lab. All of it is opt-in, and the repair has to be made on each machine by hand.
⠀
■ ON FREEBSD
⠀
FreeBSD 15.1 keeps 858 modules on its shelf, and every one stays there until somebody entitled to take it down does so. A socket call for a missing protocol earns the caller EPROTONOSUPPORT, since the socket code never calls the loader. The loader checks the securelevel and the privilege to load against the thread that asked, and where the kernel loads on its own, for a filesystem at mount, it uses the same check. Inside a jail even root is refused, and at securelevel 1 nobody loads anything until the next boot. SCTP has been out of the GENERIC kernel since 13.0.
⠀
■ THE LIMIT
⠀
The nginx bug is nginx's own and wants the update to 1.31.9 or 1.30.7 on every platform; on FreeBSD the attack ends in an unprivileged worker inside a jail, with no way of adding a line to the kernel. Kernel code that is compiled in or loaded on purpose is maintained with the base system and updated by freebsd-update. A telecom host that needs SCTP loads it as root, deliberately. Where FreeBSD loads by itself, for new hardware or root's mount, the same privilege check applies.
⠀
A kernel that loads code because somebody asked has made the asking the only credential, and the politest process on the machine is rarely the most trustworthy one.
⠀
#ITPhilosophy #FreeBSD #Linux #Security #nginx #SysAdmin
👉 Full essay: https://t.co/eqZbKWR3f5
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Own count, Debian 13 kernel 6.12.117: https://t.co/2HdUxcFjtj
• Own count, FreeBSD 15.1 kernel set: https://t.co/xqXJJTaDYw
• Xint, NGINX2Root: https://t.co/UKR3RX4QBk
• Sysdig, NGINX2Root: https://t.co/5CtFkWpYwx
• Linux, af_inet.c: https://t.co/kKTZlPw7Bi
• Linux, sctp protocol.c: https://t.co/05fPPti0wT
• Linux, kmod.c: https://t.co/RBJagkbGv0
• Linux, sysctl documentation: https://t.co/PPYB1xioJz
• LWN, Restricting automatic kernel-module loading: https://t.co/luYrzZDBTA
• oss-security, CVE-2017-6074: https://t.co/gAcUEUsOvR
• Ubuntu 24.04, blacklist-rare-network: https://t.co/dsMv1iQ2qu
• Debian, kmod 34.4-1: https://t.co/yVPto6osGw
• FreeBSD, uipc_socket.c: https://t.co/SNGQBrteV1
• FreeBSD, kern_linker.c: https://t.co/nB1IuEykUA
• FreeBSD, vfs_init.c: https://t.co/IT2XPu7TIk
• FreeBSD, kern_jail.c: https://t.co/QSR9IBkgXM
• FreeBSD, security manual page: https://t.co/cgLDdodFA5
• FreeBSD, D25611: https://t.co/wKmobOePpI
• FreeBSD, GENERIC: https://t.co/fksaNS3uY1
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀
❯ Telemetry: FreeBSD's Base Takes No Census
Ubuntu Server reports to Canonical twice a day, CPU model included. Fedora counts its machines every week, and openSUSE gives each one a number. FreeBSD's base system sends nothing at all.
⠀
A fresh Ubuntu 24.04 server is a minute old when its motd-news timer fires for the first time; after that it fires at midnight and at noon, with up to twelve hours of random delay. Its script asks Canonical's news server for a line of news for the login screen, and the user agent describes the machine as it goes: the release, the kernel version, the architecture, the CPU model as the kernel reports it and the name of the cloud. Its settings file reads ENABLED=1, and the ubuntu-server metapackage depends on the package that ships it, so it comes with the server as part of the furniture.
⠀
■ THE GREETING THAT PHONES AHEAD
⠀
Canonical's legal notice is admirably frank. The system information lets Canonical "make users aware of new features of Ubuntu or services from Canonical", a polite way of describing an advertisement, and its example, a Windows installer for MicroK8s, is an odd thing to find on the console of a server. The data "is stored in our systems", and Canonical is "unable to provide you with a copy of the system information or to delete the system information on request". The notice still lists the uptime, which the current script has dropped. Using the login screen of a production server as an advertising slot is, one might say, a bit cheeky.
⠀
■ WHY ANYBODY COUNTS
⠀
Fedora puts the case for counting better than anyone. Its proposal for countme opens with the problem: it used to count unique IP addresses, which comes out too low behind NAT and too high for laptops that roam, and a project that plans mirrors and talks to sponsors needs a better figure.
⠀
It then built the counter with real care. No machine-id, "or in fact any UUID at all". Once a week, on one request picked at random, dnf adds countme=1 to countme=4, an age bracket and nothing else, and the week is fixed to the calendar so that two counts cannot be linked. The user agent adds the release and whether it is the server or the workstation variant. All of this is on by default, with countme=1 in the repository files of Fedora and of EPEL, so every server in the Red Hat family that uses EPEL is counted as well, whoever's logo is on the box.
⠀
■ THE NUMBER THAT STAYS
⠀
Fedora's proposal names the road it did not take: "a UUID to distinguish unique systems, as openSUSE does". In libzypp, the library under zypper, a small function writes a random UUID into a small file of its own, "used for download statistics", and every request to openSUSE's classic download host carries it in a header. zypper's configuration has no setting for it, and if the file goes, zypper writes a new one at its next start.
⠀
This spring the main repositories of Tumbleweed and Leap moved to a CDN, and the code adds the header for one host name only. The old host still serves Slowroll and every Open Build Service repository, and the number waits on every machine.
⠀
■ WHO COLLECTS AND WHO IS COUNTED
⠀
The projects collect a figure for their statistics pages. Canonical collects a census by release, kernel, CPU and cloud, twice a day, and a line on every login that it writes itself. The administrator pays in a currency no invoice shows, and has to know a different switch for each distribution: ENABLED=0 on Ubuntu, countme=0 per repository on Fedora, nothing at all on openSUSE beyond the choice of mirror.
⠀
Debian's popularity-contest asks during installation, and its template says "Default: false". Arch puts pkgstats in a package of its own. Counting by default is a decision.
⠀
■ THE BASE THAT KEEPS ITS COUNSEL
⠀
On FreeBSD 15.1 the message of the day is a file. At boot, the motd start script writes the kernel's version line above the administrator's motd template and writes out the result, 62 lines of shell with the licence on top and no network code. pkg sets its user agent to "pkg/" and its version, and the repository path names the ABI so the server can hand over the right packages. No identifier, no counter, and the rc scripts and repository configuration come from the same tree as the rest of the base system.
⠀
■ THE LIMIT
⠀
FreeBSD does not know how many machines run it. Its only census, the opt-in port sysutils/bsdstats, has been broken since July 2025 and is gone, and a project without a number has a harder time with sponsors. Each pkg request shows a mirror the machine's address, and the path carries the ABI, as with any download anywhere. The daily security run fetches a fresh vulnerability list when its copy is older than two days, for the administrator. Fedora's count is carefully anonymous; the objection is to the default, which does the asking on the administrator's behalf.
⠀
FreeBSD has no idea how many servers it runs on, which is precisely how those servers would have wanted it.
⠀
#LeanSoftware #FreeBSD #Linux #Ubuntu #Fedora #openSUSE #Privacy
👉 Full essay: https://t.co/OmilGyKksQ
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Ubuntu 24.04, motd-news.timer: https://t.co/H5WwfHrEVj
• Ubuntu 24.04, 50-motd-news: https://t.co/2UbYQEsZk6
• Ubuntu 24.04, motd-news settings: https://t.co/SnEr4yIELP
• Ubuntu 24.04, ubuntu-server: https://t.co/KFTI61nbZN
• Canonical, MOTD legal notice: https://t.co/S7qpbwhGFE
• Fedora, DNF Better Counting: https://t.co/tyK5bqIPTb
• Fedora, fedora.repo: https://t.co/4LjUala1no
• EPEL 10, epel.repo: https://t.co/uqTcH44BfG
• dnf5, repo_downloader.cpp: https://t.co/pRmJMDy0bv
• dnf5, config_main.cpp: https://t.co/zZIzJffuYn
• libdnf, Repo.cpp: https://t.co/grE5yWD3fx
• libzypp, https://t.co/4YMynn60rc: https://t.co/GsBj3LAnJb
• libzypp, https://t.co/K5WaA3dCL0: https://t.co/bPmwHqzfDW
• openSUSE-repos: https://t.co/MV50UDSUQq
• Debian, popularity-contest templates: https://t.co/5iqQSwOBga
• ArchWiki, pkgstats: https://t.co/wm9pw5yoaZ
• FreeBSD, rc.d/motd: https://t.co/94yYWy2nI0
• FreeBSD, FreeBSD.conf.quarterly: https://t.co/bd1pRTHV79
• pkg, pkg_config.c: https://t.co/03dVArMy2S
• pkg, 410.pkg-audit: https://t.co/6O7oxr5meM
• FreshPorts, sysutils/bsdstats: https://t.co/80QesdgfZj
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀
❯ Kernel: dumpon Needs No Second Kernel
When a FreeBSD server panics, the kernel that panicked writes its own dump into swap, and the next boot files it under /var/crash. Linux's kdump keeps a second kernel waiting in reserved memory for the same job, and on a large Ubuntu server that comes to 4 GiB, held back from boot onwards.
⠀
Near the end of a FreeBSD 15.1 installation there is a list of services, and most people press Enter on it without reading. sshd is ticked, moused is not, and at the very bottom sits a line that is ticked already: "Enable kernel crash dumps to /var/crash". The installer reads the box with ${dumpdev:-on}, so the answer is yes unless someone says otherwise, and it writes one line into rc.conf: dumpdev="AUTO". That line is the whole arrangement.
⠀
■ WHAT THE TICK BOX SETS IN MOTION
⠀
AUTO means the first swap partition in fstab, and rc.d/dumpon hands it to the kernel early in the boot: "Enable it early so a crash early in the boot process can be caught." The kernel writes to the device itself, for a reason dumpon(8) gives in one sentence: "Because the file system layer is already dead by the time a crash dump is taken, it is not possible to send crash dumps directly to a file." In kern_shutdown.c it walks its list of configured dump devices and stops at the first that takes the dump; each disk driver has a routine for that moment, adadump() for SATA. What it writes is a minidump, the pages in use by the kernel, so a 256 GiB server full of application data writes the part a developer will actually read.
⠀
The next boot does the filing. savecore copies the dump to /var/crash/vmcore.0 with a summary in info.0, and crashinfo, on by default, writes core.txt.0 with the backtrace, the process list, the memory statistics and the message buffer. For the backtrace it wants the gdb package; without it, it says "Unable to find a kernel debugger." and stops, which is about as polite as a crash report gets.
⠀
■ THE SPARE KERNEL
⠀
The Linux habit trusts a panicked kernel with nothing at all. "Kdump uses kexec to quickly boot to a dump-capture kernel", and the old memory is "preserved across the reboot". The fresh kernel lives in memory reserved at boot so that "ongoing Direct Memory Access (DMA) from the system kernel does not corrupt the dump-capture kernel".
⠀
The reservation slides with the RAM. Ubuntu's default, crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M, climbs with every step of RAM until a large server gives up 4 GiB. The RHEL family reserves 256 MiB from 2 GiB and 512 MiB from 64 GiB, and Debian's kdump-tools 192 MiB from 512 MiB, so every server with kdump starts its day a few hundred megabytes short. On a 256 GiB Ubuntu host four gibibytes sit idle from the first second of uptime, a modest virtual machine's worth, waiting for an event nobody wants.
⠀
Since 24.10 Ubuntu enables it by default where the machine passes four tests at installation: amd64 or s390x (or arm64 with UEFI), four CPU threads, "at least 6GB of RAM, and less than 2TB of RAM", and free space in /var "more than 5 times the amount of RAM and swap space". Debian leaves it to whoever installs the package. Changing the size means update-grub and a reboot to test it, and a reservation too small can cause "the dump to fail due to an 'out of memory'" error. It works, mind, at the price of a second kernel and a slice of memory on standby all year.
⠀
■ WHAT COMES WITH THE LINE
⠀
The GENERIC kernel of 15.1 carries every option the rest needs. dumpon -k encrypts the dump: "A random, one-time symmetric key is automatically generated", chacha20 by default, readable only with the private key. -Z compresses with zstd. netdump, in base since 12.0, sends the dump across the network and "eliminates the need to reserve space for crash dumps". Since 13.0 the targets form a list, so netdump can go first with the swap behind it. savecore -L takes a dump of the running system without any panic at all. Installer, rc.d, kernel, driver, savecore and crashinfo come out of one tree and one release.
⠀
■ THE LIMIT
⠀
A dump to disk needs a working disk driver; should the driver itself have come a cropper, FreeBSD's fallback list puts netdump first. The swap has to hold the minidump, and with compression dumpon "cannot verify that the device has sufficient space for a dump". The backtrace needs gdb from packages, though savecore saves the dump without it. The encryption "does not provide integrity nor authentication". Linux can also write its dump to an encrypted volume, on x86_64 for now.
⠀
A server that writes down its own last words needs nobody standing by to take dictation.
⠀
#FreeBSD #Linux #kdump #Kernel #SysAdmin
👉 Full essay: https://t.co/DKgapvBIkE
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• FreeBSD, bsdinstall services: https://t.co/oonXo8unPn
• FreeBSD, rc.conf defaults: https://t.co/Pehdpmb7ue
• FreeBSD, rc.d/dumpon: https://t.co/GDtdNDJITt
• FreeBSD, rc.d/savecore: https://t.co/Nlpoy8ZflF
• FreeBSD, kern_shutdown.c: https://t.co/tpmelYutUw
• FreeBSD, ata_da.c: https://t.co/yrDqNXgR4r
• FreeBSD, GENERIC amd64: https://t.co/fksaNS3uY1
• FreeBSD, dumpon(8): https://t.co/0PZkAKVm8I
• FreeBSD, savecore(8): https://t.co/iORLGnD3K8
• FreeBSD, crashinfo(8): https://t.co/ytEFWjEcFU
• Linux, Documentation for Kdump: https://t.co/6t0x7UjBa1
• Ubuntu Server, Kernel crash dump: https://t.co/fCoobaRw7c
• kdump-utils, https://t.co/ROexE5AOy1: https://t.co/5ivUpLc24U
• Debian, kdump-tools grub default: https://t.co/0xRJLKKAwr
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀
❯ Package management: pkg Checks What It Installs
Debian's packaging is designed not to need a secure network: one signature vouches for every file, and the wire is allowed to stay open. On 4 November that design met its second transport hole in seven years, found by the same researcher, and APT could install a package that had been replaced after it was verified.
⠀
That afternoon a good many administrators added one line to their APT configuration, Acquire::Retries 0, as the advisory suggested, and went back to their tea. It switches off a default APT has carried since version 2.3.2. Read in the current source, the download worker takes the number of attempts from that setting and falls back to three.
⠀
The advisory, DSA 6607-1, put it in plain words: "APT can merge two different package downloads after an HTTP redirect gives them the same URI." A resumed download then allowed "a man-in-the-middle attacker to replace a package after verification, resulting in the execution of arbitrary code as root." Every default installation from Debian 12 and Ubuntu 22.04 onwards had the hole open, and Debian shipped APT 3.0.4 for trixie the same day.
⠀
■ A NETWORK NOBODY HAS TO TRUST
⠀
Secure APT arrived with APT 0.6 in 2003, Debian moved to it in 2005, and the idea is sound. The archive signs a Release file, the Release file lists the hashes of the indices, the indices list the hashes of the packages. Mirrors run by volunteers need no trust, because anything they hand over is checked against a hash only the archive could have signed. The one condition is taken as read: the file that is checked must be the file that is installed.
⠀
■ THE SAME DOOR, TWICE
⠀
Max Justicz has been through that door before. In January 2019 he showed that APT's HTTP worker copied a redirect's Location header into its report to the parent process unchecked, and "The parent process will trust the hashes returned in the injected 201 URI Done response". In 2026 the parent computed the hashes properly, and a merged, resumed download changed the file afterwards. Both times the signatures held, and both times the attack went round them through the machinery that carries bytes from the mirror into the cache, which is a bit of a palaver for something whose job is to fetch a file.
⠀
■ WHERE PKG LOOKS
⠀
On FreeBSD 15.1 the default repository in /etc/pkg/FreeBSD.conf uses pkg+https and signature_type fingerprints. The catalogue is accepted only if its key matches a fingerprint shipped in /usr/share/keys/pkg, and it carries the SHA-256 of every package. In libpkg/repo/binary/fetch.c the package lands in the cache, and pkg_checksum_validate_file() reads that file from disk and compares it with the catalogue, the whole file even after a resume. A stale cached file that fails is fetched once more; a fresh download that fails stops with "failed checksum from repository". No worker reports a hash on pkg's behalf, and the file that is hashed is the file that is installed.
⠀
■ THE LIMIT
⠀
APT checks hashes too; both holes were transport bugs, fixed the day they were announced. pkg's bootstrap had errata in 2014 and 2015, one of which made an unsupported signature type behave "as if signature_type is set to "none"", though the default configuration was not affected and the check pkg itself performs was never at fault. HTTPS became the default with FreeBSD 14.1, committed by Baptiste Daroussin in June 2023, and 14.0 still fetched over plain HTTP. TLS keeps the bytes honest in transit; the signed catalogue does the verifying.
⠀
pkg asks for less perfection. It hashes the file it is about to install, and if the file has changed, it refuses.
⠀
#FreeBSD #pkg #Debian #APT #Security
👉 Full essay: https://t.co/HxYEygzVds
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Debian Security Advisory DSA 6607-1, CVE-2026-109518, via oss-security, 4 November 2026: https://t.co/uXGgarxwPR
• The Hacker News, Debian and Ubuntu APT flaw, default exposure and Ubuntu rating: https://t.co/uEEr77y57I
• Own reading of APT at 342699f (18 November 2026), https://t.co/ZiaRJTbaV4, Acquire::Retries with a default of 3: https://t.co/tErsDrrmOg
• Max Justicz, Remote Code Execution in apt/apt-get, 22 January 2019: https://t.co/bLzJPYVN8S
• Debian security tracker, CVE-2019-3462: https://t.co/mw1V6t8rtV
• Debian wiki, SecureApt, APT 0.6 in 2003, Debian in 2005: https://t.co/HVjUAPaGfh
• Debian wiki, SourcesList, http by design: https://t.co/JP1KcfBkYc
• FreeBSD 15.1, /etc/pkg/FreeBSD.conf (FreeBSD.conf.quarterly): https://t.co/bd1pRTHV79
• Commit d557a86c879, "pkg: use https by default", 8 June 2023: https://t.co/i3dGdrmtcY
• Own check of FreeBSD.conf.quarterly on 23 November 2026: releng/14.0 pkg+http, releng/14.1 pkg+https: https://t.co/UbEkiV7YoH
• Own reading of pkg at 4efff4e (20 November 2026), libpkg/repo/binary/fetch.c, pkg_checksum_validate_file() and the single retry: https://t.co/FkcpfpgYh1
• pkg, libpkg/pkg_repo.c, catalogue checked against fingerprints: https://t.co/9oAqGtmQvJ
• FreeBSD-EN-14:03.pkg, 13 May 2014: https://t.co/pkP4wWZQhJ
• FreeBSD-EN-15:15.pkg, 25 August 2015: https://t.co/PdDfE5z0QJ
• Vivian Voss, "Integrated by Design", chapter 8, Vossscher Verlag: https://t.co/CIWN2z0Iwo
⠀
❯ Demoscene: Spooky Town by Ghostown
An Amiga 500 from 1987, one floppy disk of 901,120 bytes, a 68000 at seven megahertz. At Xenium 2026 that was enough to beat three demos written for the Amiga 1200, which arrived five years later with a far richer chipset.
⠀
Watch it: https://t.co/vmxse9Wzue
⠀
I counted the sectors of the disk image this morning. There are 1,760 of them, each 512 bytes, and 105 are empty; the rest is ghosts, skeletons, a haunted town and its music.
⠀
■ TEN NAMES ON ONE DISK
⠀
Ghostown's list on Pouët runs to first places at Revision in 2011 and 2012, a https://t.co/aMIu3i7dMj Award for the graphics of Human Traffic and, two summers ago, first at Xenium 2024 with Cockbusters. Spooky Town is the work of ten people. Cahir, Zuko, Polprog and Tygrys wrote the code. Codi, Slizgi, Szudi and Mycz built the 3D, Slayer drew the graphics, and Jazzcat wrote the music.
⠀
Jazzcat names every source himself. The loader tune arranges "Haunted Graveyard" by Ayako Mori from Ghosts 'n Goblins, the middle section remixes the opening of Tim Follin's Stage One music from Ghouls 'n Ghosts, and the bassline of the skeleton dance carries "a small fragment" of "Thriller" by Rod Temperton. Two arcade ghost stories and the most famous zombie video ever made in one Amiga soundtrack is a rather neat piece of casting.
⠀
■ SEVEN MEGAHERTZ AND THE ORIGINAL CHIPS
⠀
Pouët files it under OCS/ECS, the chipset the Amiga 500 shipped with. The title screen asks for "OCS 512+512", an Amiga 500 with the usual memory card in its trapdoor, and every pixel of vector animation and every bump-mapped surface has to come out of a 68000 at seven megahertz and that chipset, which is no mean feat. One visitor called it "a certified banger and a technical achievement!", and another, by their own account, fell out of their chair at the RGB bump map.
⠀
■ ŁÓDŹ, LATE AUGUST
⠀
Xenium 2026 ran in Łódź from 27 to 30 August. Five demos entered the Amiga competition: Spooky Town 1,260 points, Lupus Animus by Mystic and TRSI 969, Supersonic by Nah-Kolor 951, Amentet by Duskwave 792, Loosen Up by Abuse 477. Three of the four behind it were AGA productions. "winners dont use aga!" one comment reads, and Tedy left the kindest line of the night: "Losing a competition with you was a pleasure."
⠀
■ AFTER THE PARTY
⠀
Ghostown carried on. On 18 September they released a fixed version and a hard-disk version. It no longer waits for the motor of an Amiga 500 with a Chinon drive, it survives the disk switching sides on a Gotek, it starts from its Workbench icon and runs from start to finish on an Amiga 1200 launched from AmigaOS, and it tells a 68020 from a 68030. The crash screen shows the full register dump and the exact build, and "A photo of it can be decoded on a PC to report the problem." Somebody on the crew is a dab hand at support.
⠀
Ghostown took a seven-megahertz machine from 1987 past three demos for its younger, stronger sister, and then made sure it would run on the sister as well.
⠀
#Demoscene #Amiga #Amiga500 #Xenium2026 #Ghostown
👉 Full essay: https://t.co/gJRwFt7917
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Video, official capture by Ghostown: https://t.co/vmxse9Wzue
• Live recording from the hall at Xenium 2026: https://t.co/3eZGKuX8VW
• Release archive with the fixed ADF, the HD version and info.txt, 18 September 2026: https://t.co/o0aXboA1mE
• Own measurement on 21 November 2026: spooky_town_fixed.adf 901,120 bytes, 1,760 sectors of 512 bytes, 105 of them empty: https://t.co/o0aXboA1mE
• Pouët, Spooky Town by Ghostown, platform, credits, ranking and comments: https://t.co/bkXYfr2Cd2
• Xenium 2026, results of the Amiga demo competition: https://t.co/ySca4eGLsW
• Xenium 2026, Łódź, 27 to 30 August 2026: https://t.co/iFEpnDJsEF
• Pouët, Ghostown, earlier productions: https://t.co/xIYKf5LBOQ
• Demozoo, Spooky Town: https://t.co/GHlX2tyS2l
• Amiga 500, 68000 at 7.09 MHz, 512 KB chip memory, 901,120-byte disks: https://t.co/d2XGL3vnlI
• Amiga 1200 and the AGA chipset, October 1992: https://t.co/layGo2sY2a
⠀
❯ Storage layers: GEOM Stacks Disks Like Pipes
A sentence in FreeBSD's storage manual has said "more to come" since March 2002, and the framework it describes has carried every layer under the file system ever since: mirror, partitions, encryption, a test layer that fails on request, and ZFS itself. Its core is 3,017 lines.
⠀
Two new disks sit in a server that has not yet been asked to do anything. The administrator wants a mirror, and on the mirror an encrypted partition for the customer data. On FreeBSD that comes to four lines, each taking the device the line before it has just made:
⠀
gmirror label -v gm0 ada0 ada1
gpart create -s gpt mirror/gm0
gpart add -t freebsd-ufs -l data mirror/gm0
geli init -s 4096 /dev/gpt/data
⠀
After geli attach, the encrypted volume appears as /dev/gpt/data.eli, and geom -t prints the whole stack as a tree. To see what the mirror does with a failing disk before anyone's invoices live on it, gnop create -w 50 ada1 lays a layer over the second disk that fails half of its writes on purpose. Build the mirror on ada1.nop instead, and the test rig is the production layout with one class more, which makes the exercise a doddle.
⠀
Poul-Henning Kamp wrote GEOM with NAI Labs under a DARPA contract and committed it on 11 March 2002, "to make it easier for people to test and play with this". FreeBSD 5.0 made it the default on 19 January 2003. Pawel Jakub Dawidek wrote most of the classes in use today, the first of them gnop in May 2004.
⠀
■ TWO WORDS FOR EVERY LAYER
⠀
A class is one kind of transformation. A running instance takes a provider from below through a consumer and offers a provider above, "a disk-like thing which appears in /dev". Since every layer has the same shape on both sides, any layer can sit on any other, the way programs that read text and write text sit in a pipe. The single rule is that "cycles in the graph will not be allowed". Even ZFS plays along: on FreeBSD it declares its own class, zfs::vdev, and attaches to disks like any other.
⠀
■ WHEN A DISK LEAVES THE ROOM
⠀
Tasting builds the graph: every new provider is offered to every class, so gmirror finds its metadata in the last sector at boot and reassembles itself without configuration. Spoiling protects it: once a disk is opened for writing from outside, the layers built on its metadata stand down, and a fresh tasting brings them back when the writer has finished. Orphanization handles the rest: a vanished disk sends the news up the tree, a partition on it disappears, and the mirror carries on with the disk it still has. Requests are cheap to pass along: a class sends a modified clone of the request down, and cloning it does not copy the data area. Since October 2013 a request even travels down in the thread that sent it.
⠀
■ THE SAME LAYERS, FROM SEPARATE PARTS
⠀
Linux runs software RAID in md and leaves the rest of the work to device-mapper, and where the two frameworks must meet, a target joins them that its documentation calls "a bridge from DM to MD". In userland each piece is a project of its own with its own metadata, which makes the set fiddly to combine. Counted without comments and blank lines, mdadm alone is 47,692 lines, and with lvm2 and cryptsetup the total reaches 255,462. The GEOM userland for all its classes is 8,632.
⠀
■ THE SHEET
⠀
Kernel core: 3,017 lines; device-mapper 6,249 plus md 8,300
Userland: 8,632 lines; the Linux tools for the same jobs 255,462
History: first commit 11 March 2002, 2,449 commits to sys/geom since
Security: two advisories name a GEOM tool, both in userland, none the framework
Stability: the gmirror example from FreeBSD 5.3 still works word for word
Housekeeping: five old classes left in FreeBSD 13.0, each with a named successor
⠀
■ THE LIMIT
⠀
Thin provisioning and caching have device-mapper targets on Linux and are ZFS's job on FreeBSD. Tasting reads the metadata of every disk plugged in, unless kern.geom.notaste is set. Linux LVM volumes cross over to FreeBSD when they are linear.
⠀
Unix taught programs to pass text along a pipe, and GEOM taught disks the same manners, so the order of the layers became the administrator's business and nobody else's.
⠀
#TechnicalBeauty #FreeBSD #GEOM #ZFS #Storage
👉 Full essay: https://t.co/nDc8BcotxG
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Own count on 20 November 2026, freebsd-src releng/15.1 at bb03631, without comments and blank lines: GEOM core 3,017; sys/geom 60,222; sbin/geom 1,742; lib/geom 5,676; libgeom 1,214: https://t.co/6QRsb4B4j6
• Own count on 20 November 2026, Linux v7.3 at c03c1a1: device-mapper core 6,249; md.c 8,300; block/partitions 4,708: https://t.co/YfxmNe8xmD
• Own count on 20 November 2026, mdadm at a866a31: 47,692: https://t.co/fT2xz56Xkl
• Own count on 20 November 2026, lvm2 at 58d0a27, lib, tools, libdm and libdaemon: 152,077: https://t.co/3qCspqxo62
• Own count on 20 November 2026, cryptsetup at b16f041, lib and src: 55,693: https://t.co/shE3jEo5z3
• geom(4), FreeBSD 15.1, terminology, topology, tasting, spoiling, orphanization, history: https://t.co/PHngcG2AS9
• geom(4), FreeBSD 5.0, the page of March 2002: https://t.co/ol8JAkwb5D
• geom(8), FreeBSD 15.1, the common front end and -t: https://t.co/k1oFrnMW3k
• gnop(8), FreeBSD 15.1, failure and delay probabilities: https://t.co/un4OW1wtjo
• gmirror(8), FreeBSD 15.1, metadata in the last sector: https://t.co/FuHJAs3c1r
• gmirror(8), FreeBSD 5.3, the same example: https://t.co/rwNU9w3qMU
• First commit of GEOM, 11 March 2002: https://t.co/ynap0WjtIC
• gnop added, May 2004: https://t.co/jVyfFxvxhQ
• gmirror added, July 2004: https://t.co/Ej735tuc7D
• geom_linux_lvm added, February 2008: https://t.co/2niijEc0zg
• Direct dispatch merged, October 2013: https://t.co/rN4a9fqGbT
• g_linux_lvm.c, only a single linear stripe: https://t.co/NkvzEW3odg
• geom_io.c, g_io_request() and the direct dispatch decision: https://t.co/PMpqbbIso0
• vdev_geom.c, the zfs::vdev class: https://t.co/ZNLo2LLbYQ
• FreeBSD 5.0 announcement, 19 January 2003: https://t.co/49RCHIU3JB
• FreeBSD-SA-21:14.ggatec: https://t.co/i94FHdUjkF
• FreeBSD-SA-23:01.geli: https://t.co/cFlcWyzCoR
• Linux dm-raid, a bridge from DM to MD: https://t.co/wd4FVDgpBR
• LVM2 and device-mapper userland: https://t.co/hXUJpHLKaZ
• Vivian Voss, "Integrated by Design", chapter 6, Vossscher Verlag: https://t.co/CIWN2z0Iwo
⠀
❯ Cloud contracts: Your SLA Is a Refund Policy
The SLA is the document a board is shown as proof of resilience. It promises four nines, pays a share of one month's bill when they fail, and calls that share the customer's sole and exclusive remedy.
⠀
The credit note arrives in the middle of June, a single line on the invoice of an ordinary online shop. Its servers ran in one zone of Amazon's us-east-1, and on 7 May that zone lost power in a thermal event; the servers "automatically shut down when the temperatures exceeded the operating thresholds", and the cooling was back at full strength twenty-one and a half hours later. The compute bill for May was 8,000 euros, the credit is 30 per cent of it, and on a normal day the shop takes 40,000. Finance read the line twice, which is about once more than it deserved.
⠀
■ WHAT THE FOUR NINES BUY
⠀
Amazon's EC2 contract promises 99.99 per cent for a region and pays 10 per cent of the monthly bill below that, 30 below 99.0 and the whole month only below 95, claimed through support "by the end of the second billing cycle". In time, 99.99 per cent is 4.32 minutes a month, and the full refund starts after thirty-six hours. Google's Compute Engine terms climb in the same steps, with 25 in the middle, and the credit goes to future bills. Cloudflare promises "100% of the time without qualification" and then pays back the outage minutes, capped at one month's fee a year. Each contract settles how much the provider owes and how that amount stays small, and the customer's revenue is in none of them, which is no oversight. A contract protects whoever drafted it.
⠀
■ THE YEAR SO FAR
⠀
In February a transformer failed in Azure West US and "a cascading failure within a control system prevented the automated transfer" to the generators: 20 hours and 26 minutes. On 29 May "a severe thunderstorm produced lightning strikes" near West US 2, the cooling went into a protective lockout, and two zones stayed down for up to 22 hours. In July a three-millisecond voltage drop took a Google zone in the Netherlands out for 14 hours and 55 minutes. Last week Microsoft 365 suffered what its own preliminary report calls a "global outage for the networking gateway", from 16:20 UTC on 12 November to 16:10 the next day. And after drone strikes in the Gulf in March, Amazon said on 15 September that it was "unable to restore access to the resources and data hosted exclusively" in one UAE zone and in the Bahrain region.
⠀
Put into the contracts, every one of them lands at 10 or 30 per cent. Amazon and Google also exclude outages "caused by factors outside of our reasonable control, including any force majeure event", and lightning, a grid fault and a war are this year's longest causes.
⠀
■ THE ATTACKER'S ARITHMETIC
⠀
Organised attackers keep accounts as well. In 2024 the broker Crowdfense offered up to seven million dollars for one zero-click chain into the iPhone, and a purchase at that price needs a return, which a platform supplies. Stolen passwords gave one group about 165 Snowflake customers in 2024, and on 11 November Huntress was tracking "6 compromised MSPs and 286+ endpoints" across 47 organisations after a ScreenConnect campaign. A firm that administers its own servers yields one victim for the same effort and falls outside every budget planned in millions. The cloud customer pays for the defence with each invoice and joins the queue on the day it fails. A large provider adds its own attack surface to yours, and its contract leaves the cost of the day it fails with you. The SLA stays silent about all of it, because it measures uptime, and a mailbox read by a stranger is, technically, up.
⠀
■ THE STRONGEST CASE
⠀
Amazon's guidance makes the customer responsible for "deploying Amazon EC2 instances across multiple locations", and says that spreading across zones protects against "power outages, lightning strikes, tornadoes". On that view the shop built its own outage. It also means the SLA was never evidence of resilience, and May showed lightning reaching two zones at once. Owning the answer is modest work: two machines at two providers, a ZFS snapshot sent every few minutes and a DNS switch rehearsed once a quarter, which on FreeBSD is a periodic job and a page of notes.
⠀
■ THE LIMIT
⠀
The large clouds achieve uptimes most server rooms never reach, and outages per site have fallen for five years. The same organised groups run cheap automated campaigns too, with ransomware in 88 per cent of small-business breaches in Verizon's 2025 report, so patches and keys stay on the list. Enterprise agreements can carry better terms, a business interruption policy may pay for a lost day, and a second site costs money a small firm may reasonably decide to keep.
⠀
An SLA tells you what the outage will cost the provider, which is the one figure nobody in your company asked for.
⠀
#Cloud #SLA #Resilience #AWS #Azure
👉 Full essay: https://t.co/hNEqGyrLP9
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Amazon EC2 SLA: https://t.co/HfZxI2ea3v
• Google Compute Engine SLA: https://t.co/7vMJTIh02G
• Cloudflare Business SLA: https://t.co/8GDjG2ddZW
• Azure, PIR _SVS-5_G, West US: https://t.co/2F230PVvd6
• Azure, PIR GHRP-84G, West US 2: https://t.co/TiRoZf1c3W
• Google Cloud, europe-west4 incident: https://t.co/dfmo0W3kei
• Microsoft 365, preliminary PIR MO1550821: https://t.co/zJw8JcB0un
• AWS Middle East, data not restorable: https://t.co/wDqzNQAU0b
• Network World, us-east-1 thermal event: https://t.co/yeaswkIMDZ
• The Register, AWS Middle East strikes: https://t.co/drkHESPhpW
• Control Plane, Cloud Outage Tracker: https://t.co/6KTeM5Bu3a
• Uptime Intelligence, Annual Outage Analysis 2026: https://t.co/X5p3YKXc8P
• Crowdfense price list, SecurityWeek: https://t.co/kzAA0UPxJU
• Mandiant, UNC5537 and Snowflake: https://t.co/TvpDrlSLQJ
• ScreenConnect attacks on MSPs: https://t.co/b7NMyqvdqd
• AWS, shared responsibility for resiliency: https://t.co/767yclUIwX
• Verizon, 2025 DBIR SMB snapshot: https://t.co/A9A8YdlGkb
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀
❯ Security fixes: The Ports Tree Patches for Free
Every one of ImageMagick's eleven security fixes for Ubuntu 24.04 this year sat behind a subscription. On FreeBSD the ports tree has one shelf, and its fixes reach every server.
⠀
Picture a web server on Ubuntu 24.04 LTS that serves the company's webmail through Roundcube, with ImageMagick doing the thumbnails. Its administrator reads the notices, as one should. ImageMagick had eleven this year, and each fix reached 24.04 in the same place: esm-apps, a repository a server can read only with an Ubuntu Pro subscription. Roundcube's two went the same way. Nothing had run out of time; 24.04 is barely halfway through its five standard years. The fixes exist, Canonical built them, and they sit on the second shelf.
⠀
■ TWO SHELVES
⠀
Canonical's own page explains the arrangement, and fairly. Main started with about 1,000 packages and has grown to "about 2,300 per Ubuntu release", patched for five years "free of charge". Universe is "a much bigger repository of over 36,000 packages per release", drawn from Debian and the community, and the legal description of Pro says: "Only Ubuntu Pro subscriptions cover packages in the Ubuntu Universe until the end of Ubuntu Pro Support (esm-apps)."
⠀
The reason deserves to come first. No company can patch 36,000 packages on its own money, Pro is free for personal use on up to five machines, and the community still fixes what it fixes. The trouble is where the line falls, because ImageMagick, ffmpeg, Roundcube and Valkey all sit beyond it, and a good many servers exist for exactly those programs.
⠀
■ WHAT THE SECOND SHELF HELD THIS YEAR
⠀
Ubuntu publishes its notices through an API, so this morning, 18 November 2026, I asked it for every notice about 24.04 since January. There are 879. In 161 the fix for 24.04 came only through esm-apps, in 6 more partly: 167, or 19 per cent.
⠀
Ubuntu grades every CVE itself, and the grading is worth reading before anyone gets excited. The 167 notices cover 512 CVEs; most are medium, 13 are high, none critical. Among the high ones are Roundcube Webmail and PostfixAdmin, two programs that face the open internet with the company's mail behind them.
⠀
One notice shows the mechanism. USN-8313-1, 27 May 2026: "It was discovered that Expat, vendored in XML-RPC, incorrectly handled certain files. An attacker could possibly use this issue to cause a crash or execute arbitrary code." The flaws are from 2022, fixed in Expat that year. The copy inside xmlrpc-c belonged to nobody in particular, and four years later it was closed for 24.04, through esm-apps. That is the seam my book is about.
⠀
■ THE ARITHMETIC
⠀
Ubuntu Pro without support costs $500 per server a year, "with unlimited VMs", and $25 per desktop; forty servers come to $20,000, which is a tidy sum for patches Expat gave away in 2022. Canonical collects, sensibly from where it sits, and its Pro client counts the esm-apps updates in apt's output so the shelf stays visible. The administrator pays in money, or in tracking the second shelf by hand, or with the ImageMagick from January.
⠀
Most of Universe comes from Debian's main archive, which Debian's security team covers without a subscription; only contrib and non-free sit outside. Debian patches the same ImageMagick for anyone who asks, which makes the second shelf a decision Canonical took.
⠀
■ ONE SHELF ON FREEBSD
⠀
FreeBSD never drew the line. The last ports report counts "37,163 (up from 36,605) ports" in INDEX, all built into one repository for everyone. The quarterly branch, which releases use by default, takes the fixes; the Handbook says quarterly branches "aim to receive security fixes", and in 2025Q3 that came to 898 commits by 61 committers. Every flaw in any port goes into VuXML (658 entries so far this year), and pkg audit checks the installed packages against it every night, switched on by default.
⠀
■ THE LIMIT
⠀
Volunteers maintain ports too, and an orphaned port can wait; its flaw lands in VuXML and the morning mail regardless, and a port left vulnerable tends to be marked deprecated with an expiry date. Pro costs nothing for small use, so the bill reaches the company with forty servers. Most of the 167 notices are medium, and a server cannot choose which half of the shelf it needs. Debian needs no subscription, though its administrator assembles the nightly check from other tools, where FreeBSD ships it with pkg.
⠀
A security fix behind a subscription is still a fix, provided the attacker has subscribed as well.
⠀
#LeanSoftware #FreeBSD #Ubuntu #Linux #Security
👉 Full essay: https://t.co/DDNJhB39Rx
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Ubuntu, notices API, release noble: https://t.co/nV9ARox8YY
• Ubuntu, Expanded Security Maintenance: https://t.co/B2omjOA2qk
• Canonical, Ubuntu Pro description: https://t.co/eoQ9Z81zaP
• Ubuntu Pro pricing: https://t.co/RqUBH6eU3H
• Ubuntu Pro, personal use: https://t.co/aiahjVknvB
• Ubuntu, USN-8313-1: https://t.co/bwFzuwQjBT
• Ubuntu Pro client, apt hook: https://t.co/XZFKHLg5I3
• Debian, security FAQ: https://t.co/hh5OAlOIW8
• FreeBSD, Ports status Q3 2025: https://t.co/2w8cz7UmAw
• FreeBSD Handbook, ports branches: https://t.co/AFHI3QhjuL
• FreeBSD, VuXML 2026: https://t.co/gxkHpG8Zh5
• pkg, 410.pkg-audit: https://t.co/6O7oxr5meM
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀
❯ Storage: ZFS Rebuilds Only What You Wrote
A new disk in a Linux mirror receives a faithful copy of every empty sector, and nothing on it is checked. ZFS on FreeBSD skips the empty ones and checks the rest.
In my test that came to 301 MiB of a 4 GiB mirror, with the deleted data left behind.
⠀
The courier brought the replacement at half past ten, which is decent going for a fault reported at three in the morning. The server had spent the night on one leg: two 16 TB disks in an mdadm mirror, one of them now a paperweight, two terabytes of data between them. One command, mdadm --manage /dev/md0 --add /dev/sdb1, puts the new disk to work, and /proc/mdstat starts a progress bar that is in no hurry. md copies the surviving disk from the first sector to the last, all sixteen terabytes, at a default ceiling of 200,000 KiB a second. That is a little under twenty-two hours, provided the disks keep up, with the data on a single disk throughout.
⠀
■ WHAT THE MIRROR KNOWS
⠀
md does a narrow job well. It sits underneath the filesystem and presents two disks as one block device, so ext4 or XFS on top never learns there are two, and it fits under any filesystem or encryption layer. The price of that modesty is ignorance: md knows sectors and cannot tell which of them hold a file.
⠀
mdadm asks, when an array is created, whether to "enable write-intent bitmap", and the bitmap is worth having for a disk that drops out and returns, since only the regions written in its absence need copying. A brand-new disk gets everything, and the kernel's own source says so: "By default, the old bitmap framework will recover all data". md keeps no checksums either, so the one disk left standing is the only authority there is, rotten sectors and all.
⠀
■ THE SAME DISK ON FREEBSD
⠀
zpool replace tank ada1
⠀
The new disk sits in the old bay, so the old name is enough. ZFS is the volume manager and the filesystem in one piece of software, so it keeps the tree that points to every live block, and the resilver walks that tree from the top. Empty space is never visited. Every block is checked against its checksum on the way, and a block that fails never reaches the new disk.
⠀
I tried it on 17 November 2026 on FreeBSD 15.1 with OpenZFS 2.4.2: a mirrored test pool of two 4 GiB files, 600 MiB of random data written, half of it deleted, one side replaced with an empty file. "resilvered 301M in 00:00:01 with 0 errors". The new file occupied 307,861 KiB, the replaced one 615,569 KiB; the deleted 300 MiB stayed on the old disk and the empty 3.4 GiB was never touched. md would have copied all 4 GiB. Back on the courier's morning, the arithmetic is no great shakes: two terabytes, each byte verified. Still a fair old while, but the right two.
⠀
The rest lives in the same tree. The installer offers a mirrored root. zfsd, in the base system since 11.0, brings in a hot spare when a disk fails and, with autoreplace=on, replaces a disk slotted into the same bay without being asked. periodic mails every pool's health each night once daily_status_zfs_enable="YES" is set.
⠀
■ THE NEW BITMAP
⠀
In the autumn of 2025 Linux 6.18 took a first step in the same direction: the lockless llbitmap by Yu Kuai, whose source promises "in the case creating new array or replacing with a new disk, there is no need to do a full disk resync/recovery". mdadm 4.6 has created such arrays since March 2026, and its manual calls the option "experimental".
⠀
It shows what the old habit cost, and what md still cannot know. The new bitmap records where data has ever been written, so a deletion reaches it only if a discard travels down through every layer, and in my test the deleted 300 MiB would most likely have been copied as well. It checks no checksums. Debian 13 runs kernel 6.12 with mdadm 4.4 and has neither.
⠀
Btrfs replace duplicates "the data … which is currently stored on the source device", and OpenZFS runs on Linux as a module outside the kernel tree, rebuilt for every kernel update. Both prove the design right. On FreeBSD it has been in the base system since 7.0 in 2008, with its fault daemon beside it.
⠀
■ THE LIMIT
⠀
A nearly full pool narrows the gap, and a fragmented one reads in the order of its block tree; OpenZFS has ordered its reads since 0.8, and zpool replace -s copies a mirror sequentially, then scrubs, because "Checksums are not verified during sequential reconstruction". RAID-Z has no sequential option. Encrypted XFS on md is md's home ground; ZFS wants the whole stack and brings its own encryption and volumes to make it worth the trade. Linux gets there with Btrfs or OpenZFS, kept by hand beside every kernel; FreeBSD ships it with the release.
⠀
A mirror that does not know what it holds has to copy everything it might be holding.
⠀
#FreeBSD #ZFS #Linux #mdadm #SysAdmin
👉 Full essay: https://t.co/g0J0fiD5Cu
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Linux, md-llbitmap.c: https://t.co/YX8cd5cfbq
• Linux, md.c, speed_limit_max: https://t.co/pGMrpVxdQL
• Linux, lockless bitmap patch for 6.18: https://t.co/KSVrZgTdT3
• mdadm, mdadm.c: https://t.co/PsqhJWUY7a
• mdadm(8): https://t.co/qYdbXxMJb8
• mdadm 4.6: https://t.co/PUsmUFf6H6
• Debian 13, mdadm: https://t.co/HLh8BeVg5b
• Debian 13, kernel: https://t.co/mb6UnpnKIL
• btrfs-replace(8): https://t.co/LljUIIVkE7
• OpenZFS, zpool-replace(8): https://t.co/yVa4z2ku2s
• FreeBSD, zfsd(8): https://t.co/24dqp41ikf
• FreeBSD Handbook, ZFS: https://t.co/Jqeso39wo1
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀
❯ Boot: FreeBSD's init Stands Alone
Debian's first process needs fifteen libraries from twelve projects before it can start. FreeBSD's has needed none since 19 November 2003. On the morning glibc breaks, that difference decides how your day goes.
⠀
Red Hat keeps a knowledge base article for that morning. Every command on the machine fails with the same line, "relocation error: /usr/lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file", ls included, and after a reboot the kernel stops with "Attempted to kill init!" The article covers RHEL 6 to 9.
⠀
■ WHY ONE LIBRARY CAN STOP A MACHINE
⠀
The kernel starts exactly one program by itself. On Debian and Ubuntu /sbin/init is a link to systemd, and because that file names an interpreter in its ELF header, the dynamic loader runs first: it finds every library, maps it, resolves the symbols and only then jumps into the program. Should any of that fail, process number one dies before its own code has run, and the kernel has a firm view about a dead process number one: it panics.
⠀
Arch met the same wall in September 2017, when glibc 2.26-2 left a machine with "No working init found". Four months earlier the busybox in Arch's initramfs, the very shell meant for a boot gone wrong, had crashed after a glibc update on 32-bit machines, and the maintainer's remedy was to link it statically.
⠀
■ NOVEMBER 2003
⠀
On 19 November 2003 Gordon Tetlow committed one line to the Makefile of FreeBSD's init: "Make init statically linked by default. It's not worth the pain of having a dynamically linked init as recently seen by ia64 woes." releng/15.0 still reads NO_SHARED?= YES.
⠀
The timing was deliberate. FreeBSD 5.2, out on 12 January 2004, moved most of /bin and /sbin to shared libraries, for loadable PAM and NSS modules and a smaller root. The project took the shared libraries and kept two exceptions: init, and a new /rescue by Tim Kientzle with statically linked repair tools, rebuilt at every buildworld.
⠀
I unpacked base.txz of FreeBSD 15.0 this morning. sbin/init is a static executable of 1,245,488 bytes. /rescue holds 150 entries, 149 of them hard links to one static file of 19,939,888 bytes made by crunchgen; the odd one out is dhclient-script, a shell script. Among the 149 are sh, vi, mount, fsck_ffs, tar and fetch, and with them zfs, zpool, zdb and bectl. After a bad upgrade, /rescue/mount -uw / and /rescue/bectl activate hand the next boot to yesterday's boot environment without loading a single shared object. Belt and braces, worn since 2004.
⠀
■ WHAT DEBIAN'S FIRST PROCESS LOADS
⠀
I unpacked systemd 257.13 from Debian 13 and read its ELF headers with a small parser of my own. Count one level down and PID 1 needs fifteen distinct libraries from twelve projects: libc and libm, libsystemd-core and libsystemd-shared, libselinux and libapparmor, libaudit, libseccomp, libcap, libacl, libmount and libblkid, libcrypt, libpam, and libcrypto from OpenSSL. Each comes with its own upstream and its own calendar, and any one of them can stop the boot.
⠀
A security fix in any of those libraries reaches PID 1 with the next upgrade and no rebuild, which is the whole case for shared libraries. Since version 262 of 22 September, systemd "can now be built as a single statically linked PID 1/executor binary suitable for very small containers". A Debian server still installs the dynamic binary.
⠀
The Linux remedy is the initramfs, with its own copies of the libraries and a shell. It works, touch wood. It is also a second little system, rebuilt by a hook whenever the kernel or a relevant package changes, and on Debian 13 the full busybox in it is only a recommendation. busybox-static, "intended to be used as a rescue shell, in the event that you screw up your system", is an optional package someone has to have installed beforehand.
⠀
■ THE LIMIT
⠀
Static tools cannot make full use of the locale or of PAM, so they are kept for repair. A libc fix reaches init only through a rebuild, which on FreeBSD is the ordinary base update: init and /rescue come from the same tree as libc and are replaced with it. And the failure is rare; a careful administrator with snapshots may never need either remedy.
⠀
■ THE RECEIPT
⠀
On Linux the receipt for that morning is a live medium, a chroot, the right glibc and a rebuilt initramfs. On FreeBSD it is two lines typed from /rescue and a reboot.
⠀
The kernel will not let the first process die, so FreeBSD saw to it that the first process needs nobody else to live.
⠀
#UnixUniverse #FreeBSD #Linux #systemd #Debian #SysAdmin
👉 Full essay: https://t.co/Jyq2qytpmq
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• FreeBSD, init statically linked, Gordon Tetlow, 2003: https://t.co/RpffyyXNQA
• FreeBSD, sbin/init/Makefile, releng/15.0: https://t.co/UDN5wUQC3J
• FreeBSD 5.2 release notes: https://t.co/jMIGWPcZFD
• FreeBSD 5.2 announced, 12 January 2004: https://t.co/lQaJay89uM
• rescue(8), FreeBSD 15.0: https://t.co/L7qn9vS3Er
• FreeBSD 15.0 base.txz, own measurement: https://t.co/Rid5IWEWyF
• Debian systemd 257.13 packages, own measurement: https://t.co/t1Q694yZET
• systemd v262 NEWS: https://t.co/DmQVj1AaVL
• systemd 262 release date: https://t.co/HQQfiLpXV7
• Red Hat, relocation error and "Attempted to kill init!": https://t.co/JzkNe6oe5X
• Arch Linux FS#55620: https://t.co/YuBrws9tuw
• Arch Linux FS#54240: https://t.co/iwiv6k7ZFR
• Debian 13, initramfs-tools-core: https://t.co/FYYefj3AWd
• Debian 13, busybox-static: https://t.co/FtQ2aUwYpM
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀
❯ Music: Do You Know Nandi? You Should Do
Dave Grohl lost a drum-off to a ten-year-old in 2020 and wrote her a song by way of a rematch.
Six years on, a three-time Grammy winner is producing her first album.
⠀
Her site: https://t.co/k1ezHxnX8l
Her channel: https://t.co/XfCUhtnMcR
⠀
Nandi Bushell was born in Durban in 2010 and grew up in Ipswich. She started drum lessons at six, and the first week, in her words, was "really hard, but then I just got it." Her father filmed the results. By 2019 Lenny Kravitz had her at his sound check at the O2, and in August 2020 she posted "Everlong" and challenged Grohl. He answered with a song of his own band Them Crooked Vultures. When he lost the next round he said so in public and wrote her a theme song, which is a proper rock star's way of asking for a rematch. In December 2019 she had been on Ellen DeGeneres's show and gone home with a bass guitar; in February 2021 Cartoon Network made her its first musician-in-residence.
⠀
■ THE FORUM AND WEMBLEY
⠀
The rematch came on 26 August 2021 at the Forum in Los Angeles. The crew wheeled out "a small-but-mighty pink drum set", and Variety watched an eleven-year-old close the Foo Fighters' show "absolutely shredding" "Everlong" whilst Taylor Hawkins put his feet up. The same review said she "didn't miss a beat and sounded like she'd been touring with Foos for the past 26 years", though they had met in person for the first time that night. A year later, at the Wembley concert for Hawkins, she played "Learn to Fly" with sticks he had given her, and Grohl called her "the biggest rock star on the bill", with Paul McCartney on the same bill.
⠀
■ EVERY PART HERSELF
⠀
She plays drums, guitar, bass, piano and saxophone, sings, and plays the flute on her own recordings as well. Her cover of Muse's "Plug In Baby", every instrument her own, earned her a signature guitar from Matt Bellamy. The original was produced by David Bottrill, who now produces her songs. "The Shadows" (2022) she wrote and performed entirely herself; Guitar World heard "a slow march" building on "a snare roll" towards the guitars. "Sweet Nightmares" followed in 2023, with Josh Brolin, of all people, on backing vocals, and in March 2025 her band Blu Reflection released its first song.
⠀
■ THE PROFESSION TAKES NOTE
⠀
The youngest cover artist Modern Drummer has had. The first Tony Williams Award from Drumeo, for a young drummer who has "made a memorable impact". Blue Peter's Gold badge, the programme's highest honour. And in June 2022 the drums for Jax Jones at the Party at the Palace, in front of 22,000 people on The Mall, with the Jubilee Pageant the next day.
⠀
■ HER OWN STAGE
⠀
The album is gathering its audience on her own site, where fans hear every song in full and talk back to her. The producer, Bottrill, has Tool's "Lateralus" among his records as well as that Muse single. The credits list vocals, drums, guitars, bass, piano and flute against her name, and she arranged the strings too. In her words: "I've written and performed pretty much everything you hear with the help of a few session musicians on violin, cello, trombone and trumpet." The rule for release is one line: "I need 10,000 fans before my music comes out." So far: 1,103. No title and no date yet; the songs already there are plenty to go on.
⠀
I have followed her since she was eight, and she has not stopped surprising me. Perhaps she will fascinate you as she does me; joining her site costs nothing.
⠀
Dave Grohl conceded round one to her at fifty-one; the rest of us can at least concede a listen.
⠀
#Music #Drums #NandiBushell #FooFighters #RisingArtist #TheOpeningAct
👉 Full essay: https://t.co/MaQK0kYZFG
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Nandi Bushell, official site: https://t.co/k1ezHxnX8l
• Nandi Bushell, YouTube channel: https://t.co/XfCUhtnMcR
• Variety, Foo Fighters at the Forum: https://t.co/oqOgPJQkIm
• ITV, Party at the Palace: https://t.co/nvNg2Vu344
• ITV, Taylor Hawkins tribute at Wembley: https://t.co/saijffRrLU
• MusicRadar, the drum-off: https://t.co/qZDBBI3M7A
• Drumeo, the Tony Williams Award: https://t.co/XaEumkTYpU
• Guitar World, The Shadows: https://t.co/qNXCuhaJZ3
• NME, Blu Reflection: https://t.co/VYxqx0Qag9
• Wikipedia, Nandi Bushell: https://t.co/xR1ZHaVIx2
• Photo, Wembley 2022, Raph_PH: https://t.co/r58k31UUhQ
• Licence CC BY 2.0: https://t.co/YD7CjHUVsr
• Photo, December 2022, John Bushell: https://t.co/GcLHxwaxb1
• Licence CC BY-SA 4.0: https://t.co/7XaIw0DYpT
⠀
❯ Resource limits: rctl Limits a Jail in One Line
The rule a FreeBSD admin wrote in 2012 still works today, character for character, and root inside the jail it limits cannot remove it. Twenty resources then, twenty-five now, and the syntax has not changed once.
⠀
A build server runs two jails. One compiles whatever the developers push; the other serves the documentation. A branch arrives with make -j32, the compiler starts hogging memory like a lodger who has found the biscuit tin, and the documentation stops loading. One line puts it right:
⠀
rctl -a jail:ci:vmemoryuse:deny=8g
⠀
The compiler's next request for memory returns an error, the build fails as it should, and the other jail carries on without a single restart.
⠀
rctl came from Edward Tomasz Napierała, under sponsorship from the FreeBSD Foundation. His first commit, on 30 March 2011, reads "Add rctl.", and the command has been in the base system since FreeBSD 9.0.
⠀
■ ONE LINE, FOUR KINDS OF TENANT
⠀
A rule has the shape subject:subject-id:resource:action=amount/per. The subject is a process, a user, a login class or a jail. Twenty-five resources can be counted, among them resident memory, swap, open files, processes, threads, CPU percentage and the rate of reads and writes. The action is deny, log, devctl to hand an event to a script, a signal, or throttle for reads and writes. Rules that should survive a reboot go into /etc/rctl.conf in the same format, and rctl -hu jail:web shows what a jail is using. That is the whole interface, and it pulls its weight.
⠀
■ WHERE THE COUNTING HAPPENS
⠀
racct keeps the accounts inside the kernel, at the moment a resource is handed out, for the process, its user, its login class and its jail in one call. rctl checks the rules before the allocation goes through. Address space is refused outright: vm_mmap.c asks before it maps and returns ENOMEM. Resident memory cannot be refused page by page, so the page daemon moves pages out until the process fits. Nothing polls from outside, and the code for all of it, including the command, comes to 3,314 lines.
⠀
Every system call that touches a rule asks for a privilege of the PRIV_RCTL family. Inside a jail, prison_priv_check() has no entry for those and ends in "deny the privilege request". The tenant may be root in every other sense and still cannot take the line off.
⠀
■ A JAIL INSIDE A JAIL
⠀
Jails have nested since FreeBSD 8.0, and a child never gets more than its parent. rctl follows the hierarchy: usage is counted up the chain of parents, so the parent shows what the whole family uses, and a rule on the parent reaches every process in every nested jail, each jail held to the figure on its own count. The parent may run its own processes beside its children. A customer who needs a smaller ceiling gets a line of their own.
⠀
■ THE SAME JOB, ASSEMBLED
⠀
Linux wanted what the jail offered and built it in parts: namespaces from 2002 onwards, and resource control as a separate tree, cgroups, whose own manual says the early development was "largely uncoordinated". A second version became official in Linux 4.5, and systemd 258 has removed the first. A runtime such as runc or systemd ties the tree to the container. cgroups v2 goes a fair bit further than a flat list of rules. It adds weights and pressure figures, and it asks in return for a second structure to learn and a rule that processes may live only in its leaves.
⠀
■ THE SHEET
⠀
Code: 3,314 lines in FreeBSD 15.1, the command included
Linux 7.3: 8,830 for kernel/cgroup without cpuset, 4,031 for the memory controller, 1,361 for the block controller
History: first commit 30 March 2011, 52 commits to kern_rctl.c since
Stability: rctl -a user:joe:vmemoryuse:deny=1g from the 9.0 manual works unchanged in 15.1
⠀
■ THE LIMIT
⠀
racct is switched off in the default kernel; one loader tunable and one reboot turn it on for good. A rule on the parent holds each child on its own count, so a ceiling for the family's sum takes a line per child. The read and write counters are approximations, and paging out resident memory can make a busy machine thrash. There are no proportional weights between jails and no pressure gauge.
⠀
The limit is one line on the jail, and nobody inside the jail can take it down.
⠀
#TechnicalBeauty #FreeBSD #rctl #Jails #SysAdmin #Linux #cgroups
👉 Full essay: https://t.co/zmWmq5oBoO
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• FreeBSD source, releng/15.1: https://t.co/LTL0KCUxdy
• Linux v7.3, kernel/cgroup: https://t.co/BefJatY7gt
• rctl(8), FreeBSD 15.1: https://t.co/bs6SISJL37
• rctl(8), FreeBSD 9.0: https://t.co/f7tNN3jkRM
• rctl.conf(5): https://t.co/BmwSge4g50
• kern_racct.c: https://t.co/axSVH3JO7i
• kern_rctl.c: https://t.co/jVpwMIlRvp
• kern_jail.c: https://t.co/QSR9IBkgXM
• vm_mmap.c: https://t.co/Wu7RtlpLnb
• vm_swapout.c: https://t.co/5miJiC0yBL
• GENERIC, amd64: https://t.co/fksaNS3uY1
• kern_rctl.c history: https://t.co/WUs5EuR3CA
• jail(8): https://t.co/MGIEBw3MQ1
• cgroups(7): https://t.co/WmaT5oQuGI
• cgroup v2 documentation: https://t.co/8bhSutotKT
• systemd NEWS: https://t.co/mtPud55DbG
• Lean Software, Docker, Kubernetes and the Meter: https://t.co/UblGX2Ln74
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀
Its called Sylve and after this addition [VMs Live Migration] ... and with Jails and all other stuff Sylve brings - including native OpenZFS and FreeBSD - Proxmox seems like bad idea to say the least :)
❯ Higher education: AI Detectors Accuse at Scale
Vanderbilt sent 75,000 papers to Turnitin in a year. At the vendor's own figure of one per cent, that makes about 750 students wrongly flagged, and the machine doing the flagging is itself a language model.
⠀
On 7 November 2024 Orion Newby, a freshman at Adelphi University, handed in an essay written with a tutor from the university's own support programme. Turnitin returned an "AI-generated score of 100%". Grammarly's detector and zeroGPT reported "a 0% chance". The university went with the score that accused him, and on 28 January 2026 a court in Nassau County found the case "without valid basis and devoid of reason".
⠀
The worry behind it is the right one. An essay exists for the thinking that goes into it, and a student who hands that thinking to a machine learns nothing. Good use looks different: the writer thinks with the machine and comes out knowing more than before. The question is whether the instrument can tell the two apart.
⠀
■ A MODEL ASKED ABOUT A MODEL
⠀
The makers write down what sits underneath. OpenAI called its withdrawn classifier "a language model fine-tuned on a dataset of pairs of human-written text and AI-written text". Turnitin's white paper names a "transformer classifier" that had read more than 250 million papers by June 2024. Pangram is "a transformer-based neural network", GPTZero dropped perplexity for deep learning in autumn 2023, and Binoculars reads the text through two Falcon models. The student, meanwhile, was not allowed to use one. In 2004 the CAPTCHA was described as a program that grades tests it cannot pass "(much like some professors)"; the detector grades a test its own relatives pass without effort.
⠀
■ WHAT A MODEL FINDS PREDICTABLE
⠀
Plain, regular English looks predictable to a model, so it looks like a model. Liang's Stanford team gave seven detectors 91 TOEFL essays written before ChatGPT: 61.22 per cent were flagged on average, and 89 of the 91 by at least one. Simplify the word choice in American eighth-graders' essays and the rate rises from 5.19 to 56.65 per cent.
⠀
■ WHAT ONE PER CENT COSTS
⠀
Turnitin promised "a less than 1% false positive rate", then reported that "real-world use is yielding different results from our lab", called its own behaviour below 20 per cent "inconsistent" and raised the minimum length from 150 words to 300. Australian Catholic University accused some 6,000 students in 2024, dismissed about a quarter of the referrals and dropped the tool in March 2025. A test of 14 tools found false positives between 0 and 50 per cent.
⠀
■ THE STRONGEST CASE
⠀
An NBER working paper of 2025 put Pangram below a false positive rate of 0.005 on 1,992 human passages, and Binoculars reports 0.01 per cent, so on the right material detection works. The right material is long and unedited, and the NBER paper records the rate rising on shorter passages. A paraphraser took DetectGPT from 70.3 to 4.6 per cent, look-alike Cyrillic letters took Originality from 85.0 to 9.3, and a request for "literary language" dropped detection from as much as 100 per cent to at most 13. The cheat paraphrases and passes, and the plain writer, who never knew there was anything to evade, is the one flagged.
⠀
■ WHY RECOGNISING MATTERS
⠀
Knowing who wrote a text matters for who stands behind it and for what the writer can do alone. At ACL 2025 five readers who use ChatGPT heavily misjudged one article in 300, with no human text wrongly accused, and caught every "humanised" article, where Binoculars at its strict setting caught none. People who rarely use the tools caught 56.7 per cent whilst flagging 51.7 per cent of human texts, which is a coin toss with paperwork.
⠀
■ THE LIMIT
⠀
On long, unedited text the best tools come close to their laboratory figures, and a high score is a fair reason to talk to the student. Reading does not scale to 250 million papers, so a score may sort the pile, and the decision stays with a person after a conversation. One reader is not enough; the study used five, and it was their majority that reached 99.3 per cent. Drafts and an oral defence tell a teacher more than any score, which is cold comfort for a budget and still cheaper than a court.
⠀
Any student may fairly ask the professor to prove it without a machine, and the professor who can usually turns out to have used one.
⠀
#AI #HigherEducation #AcademicIntegrity #Turnitin #EdTech
👉 Full essay: https://t.co/HJIwBpUnQl
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Matter of Newby v Adelphi Univ., 2026: https://t.co/V6j82KLpUn
• GPTZero, perplexity and burstiness, update 2023: https://t.co/8yIMdMtAwL
• OpenAI, AI classifier, 2023: https://t.co/I10DOVJ1zF
• Turnitin, AI writing detection white paper, 2024: https://t.co/6j40qr1mfr
• Pangram technical report: https://t.co/FcPdLHvVRj
• Binoculars, ICML 2024: https://t.co/uW0FsgCZME
• Liang et al., GPT detectors and non-native writers: https://t.co/6lKVNf0G1O
• von Ahn, Blum, Langford, CAPTCHA, CACM 2004: https://t.co/YdYKgJy0Uh
• Turnitin, false positives, March 2023: https://t.co/FnvTjUrAB5
• Turnitin, update from the chief product officer, May 2023: https://t.co/ZevyLkWnic
• Vanderbilt, disabling Turnitin's AI detector: https://t.co/cj596J9x16
• ABC News, Australian Catholic University: https://t.co/asnbIXVtkj
• Weber-Wulff et al., 14 detection tools: https://t.co/CRtRRfJQeR
• Jabarian, Imas, NBER Working Paper 34223: https://t.co/9rDMKXj4C2
• Krishna et al., paraphrasing evades detectors: https://t.co/svvFdqfd0k
• Dugan et al., RAID benchmark: https://t.co/bQlxvXhULr
• Russell, Karpinska, Iyyer, ACL 2025: https://t.co/bZ2uXkVmqw
• IT Philosophy, The Evaluation Penalty: https://t.co/XDmH4nTJRn
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀
❯ Cloud costs: Docker, Kubernetes and the Meter
Between 1.16 and 1.32 Kubernetes switched off thirty versions of its own API. Amazon charges six times the hourly rate to anyone who needs longer than fourteen months to keep up. FreeBSD solved the job underneath in March 2000.
⠀
Every Kubernetes cluster on Amazon has a line on the bill that reads $0.10 an hour. Fourteen months after its version arrived, the same line reads $0.60, which over a year (8,760 hours, leap years aside) is $876 against $5,256. Amazon's documentation: "Extended support is enabled by default for new clusters, and existing clusters." And: "Once your cluster has entered extended support, you cannot disable it." Google charges the same extra $0.50.
⠀
Amazon has a fair claim to the money. Kubernetes ships about three versions a year with a year of patches each, and Amazon backports fixes for 26 months. The more interesting question is why so many teams pay a fair whack to wait.
⠀
■ WHAT AN UPGRADE SWAPS
⠀
I counted the Kubernetes migration guide this morning: thirty API versions "no longer served" from 1.16 to 1.32, twelve in 1.22 alone, and PodSecurityPolicy gone in 1.25 along with its admission controller. Each removal is a manifest to rewrite. Beneath that, Amazon stopped publishing Amazon Linux 2 node images on 26 November 2025, and Amazon Linux 2023 brings cgroup v2 and the newer metadata service by default. Several layers move at their own pace, and the fee buys the time to find out which of them changed under the bonnet.
⠀
■ THE JOB, DONE IN 2000
⠀
FreeBSD 4.0 shipped the jail in March 2000: one object in the kernel, created by one system call, whose root user is root only inside it. Linux professionals wanted the same, which is a compliment, and Linux gained that isolation in parts. Mount namespaces came in 2002, time namespaces in 2020, the rest in between, and cgroups beside them, written a second time because the first grew "largely uncoordinated, with the result that many inconsistencies arose".
⠀
Why rebuild at all? BSD spent the early nineties in court, until a settlement on 4 February 1994. Torvalds, in 1993: "If 386BSD had been available when I started on Linux, Linux would probably never have happened." More than one Linux kernel developer has told me much the same.
⠀
■ THE FAMILY
⠀
Docker joined the parts in 2013 and met a genuine need: one image that ran alike on every distribution. Its announcement of 2014 praised libcontainer because it "insulates Docker from the side-effects introduced across versions and distributions of LXC", and listed BSD Jails among the tools it hoped to drive. Node.js runs JavaScript on "one Event Loop"; cluster and worker_threads exist, yet the habit became one container per core. Kubernetes arrived in June 2014 to herd them, with an exam at $445. Sysdig's 2023 report: "87% of container images have high or critical vulnerabilities", which is par for the course when every image brings a distribution of its own.
⠀
■ WHO COLLECTS AND WHO PAYS
⠀
The platforms collect for every cluster, and six times over for every slow one, with an industry of courses and consultants alongside. The operator pays the fee and the idle capacity: Cast AI measured 10% CPU and 23% memory use in the Kubernetes clusters of more than 2,100 organisations in 2024.
⠀
■ THE SAME JOB ON FREEBSD
⠀
A jail is a few lines in jail.conf and service jail start, with no daemon and no control plane to rent. zfs send moves it and its data to the next host, and CARP hands an address to a neighbour when a host fails. The Committer's Guide: "The FreeBSD-STABLE branch must maintain ABI and API compatibility with earlier versions of that branch." The Handbook names POLA, the principle of least astonishment, and counts merely rearranging the startup variables in the default rc.conf as a breach. FreeBSD 15 is supported until 31 December 2029 at no charge, and freebsd-update can take a boot environment before it installs.
⠀
■ THE LIMIT
⠀
Kubernetes manifests do not run on FreeBSD, so a team moves out service by service, each into a jail with its data in a ZFS dataset; Nomad with a jail driver sits in the ports for anyone who wants a scheduler. A major upgrade comes every two years, and two supported branches overlap long enough to take it calmly. FreeBSD cut a branch's life from five years to four in 2024, which still leaves four years without a fee.
⠀
On FreeBSD the only meter in the server room is the one on the wall, and it measures electricity.
⠀
#FreeBSD #Kubernetes #Docker #AWS #Linux #CloudCosts
👉 Full essay: https://t.co/UblGX2Ln74
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• Kubernetes, Deprecated API Migration Guide: https://t.co/SNq0j5f8wM
• Amazon EKS pricing: https://t.co/qXNlyWMwF0
• Amazon EKS, Kubernetes version lifecycle: https://t.co/41yOGYmSVx
• Amazon EKS, cluster upgrade policy: https://t.co/JBw4pPjCeD
• Google Cloud, GKE extended support: https://t.co/EYCztkHcqG
• Kubernetes release cycle: https://t.co/wIJ9AzV48X
• Amazon EKS, end of Amazon Linux 2 node images: https://t.co/9i0u2R0rNH
• Amazon EKS, Amazon Linux 2023: https://t.co/0mzwYspGUe
• FreeBSD jail(8): https://t.co/gTGKQeaE5E
• Linux clone(2): https://t.co/ieBu7v4tH3
• Linux unshare(2): https://t.co/EfA48lQwXA
• Linux cgroups(7): https://t.co/WmaT5oQuGI
• BSDI on the USL settlement, 1994: https://t.co/5XQgXwK5vs
• Salon, The unknown hackers: https://t.co/3Wg7hFMwU6
• Docker 0.9 and libcontainer: https://t.co/jByLnzJydw
• Node.js, Don't Block the Event Loop: https://t.co/d4JOqp04hw
• Node.js, worker_threads: https://t.co/mPV89vPCej
• Kubernetes, 10 Years of Kubernetes: https://t.co/DD9AXPXnwR
• Linux Foundation, CKA exam: https://t.co/j22hJMti3j
• Sysdig 2023 report: https://t.co/4Cn15MYKAG
• Cast AI 2025 Kubernetes Cost Benchmark: https://t.co/KavIF2YhGt
• FreeBSD Committer's Guide: https://t.co/zN6coUcKi3
• FreeBSD Handbook, glossary: https://t.co/CUci2WRVHn
• FreeBSD support period, July 2024: https://t.co/3ee3apIo1c
• FreeBSD security information: https://t.co/8EWR289gOT
• freebsd-update.conf(5): https://t.co/rnARUJ1YWE
• FreshPorts, nomad-pot-driver: https://t.co/6ScQoBxoCR
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀
❯ DNS: systemd-resolved Skips DNSSEC
Fedora builds its resolver with one line: -Ddefault-dnssec=no. Debian does the same, and Ubuntu inherits it. On FreeBSD the resolver in the base system has validated every answer since 2014, and switching it on takes one line in rc.conf.
⠀
A server needs a local resolver that caches its lookups and can tell a genuine answer from a forged one. On Fedora and on the Debian family that job falls to systemd-resolved, and resolvectl status sums up its care in two words: DNSSEC setting: no.
⠀
■ THE HABIT
⠀
resolved earns its place. It caches, and it gives each network link its own DNS servers, so a company VPN only hears about the company's own names and nothing leaks to the wrong place. Ubuntu made it the default in 16.10, Fedora with release 33 in 2020.
⠀
DNSSEC lets a resolver check, along a chain of signatures up to the root zone, that an answer came from the owner of the name. Upstream builds resolved to try with allow-downgrade, and its own manual is spot on about the cost: the mode makes validation "vulnerable to "downgrade" attacks", because an attacker can fake a reply suggesting that DNSSEC is not supported.
⠀
The distributions switched it off altogether. I read their build files on 10 November 2026: Fedora's spec for systemd 262.2 passes -Ddefault-dnssec=no, with -Ddefault-dns-over-tls=no on the next line, although the Fedora change of 2020 had expected DNS over TLS "in the near future". Debian's rules carry -Ddefault-dnssec=no, and Ubuntu's packaging for 26.04 has carried it since 17.04. RHEL 9 lists resolved as an unsupported Technology Preview.
⠀
The reason is a real one. Ubuntu's bug of 2017 says DNSSEC "prevents network access in certain intra and extra net cases", and Fedora pointed to access points that mangle DNS. A distribution that validates by default inherits the bug reports of every hotel router, and Fedora was "not prepared to handle an influx of DNSSEC-related bug reports". It did not expect DNSSEC by default "in the foreseeable future, or perhaps ever".
⠀
■ THE SAME JOB ON FREEBSD
⠀
local_unbound_enable="YES"
service local_unbound start
⠀
The installer offers the same as a tick box, "Local caching validating resolver". On first start the setup script, written by Dag-Erling Smørgrav in 2013, takes the old nameservers as forwarders (or lets Unbound recurse from the root when there are none), runs the daemon in a chroot, fetches the root key with unbound-anchor and tracks its rollovers by RFC 5011. Then it points every program at the local resolver and steers resolvconf into Unbound's forwarders.
⠀
That was deliberate. When FreeBSD 10 swapped BIND for Unbound, Smørgrav blocked resolvconf "to avoid failing over from the DNSSEC-aware local resolver to a potentially non-DNSSEC-aware remote resolver". In 2013 FreeBSD ruled out by design the fallback that allow-downgrade performs on purpose. Unbound 1.24.1 in FreeBSD 15.0 keeps harden-dnssec-stripped on by default: a signed zone arriving without its signatures "becomes bogus", and the forgery never reaches the application.
⠀
Ask drill -D for a signed name and the reply carries the flag ad, authenticated data, which RFC 4035 permits only when every record checked out. Unbound brought LDNS into the base system, and FreeBSD's OpenSSH is built against it, so ssh can trust host keys published in DNS when the local validator vouches for them.
⠀
■ THE DIFFERENCE
⠀
Both sides switch their resolver with one line, so the effort is a wash. On Fedora that line overrules a decision the distribution took on purpose, along with its bug reports. On FreeBSD it turns on a validation the project chose in 2013 and has shipped in every release since 10.0.
⠀
■ THE LIMIT
⠀
On a laptop hopping between hotel Wi-Fi and VPNs, resolved's per-link routing earns its keep; Unbound wants a forward-zone per VPN, and the hotel portal a minute of patience. Strict validation breaks badly signed zones, and domain-insecure exempts the one zone that needs it. local_unbound stays off until rc.conf or the installer says otherwise; once on, it needs no further word. Unbound runs on Linux as well, kept by hand beside a resolved that still wants its port. On FreeBSD the job is sorted by the release itself.
⠀
A resolver that agrees to stop checking whenever someone asks it nicely is, in the end, a cache with good manners.
⠀
#FreeBSD #Linux #DNS #DNSSEC #systemd #Fedora
👉 Full essay: https://t.co/ylSPES152H
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• systemd, meson_options.txt: https://t.co/mfyZY2qyzl
• systemd, resolved.conf(5): https://t.co/2GGJKtk3P1
• Fedora, systemd.spec: https://t.co/2q9UcrqM3Y
• Fedora, Changes/systemd-resolved: https://t.co/D4zuItu6HT
• Debian, systemd debian/rules: https://t.co/0V07HjQ6rz
• Ubuntu, systemd debian/rules for 26.04: https://t.co/qha3K1tqjZ
• Ubuntu, bug 1682499: https://t.co/qsBx8QoEVk
• RHEL 9, Technology Previews: https://t.co/2LrUaMDeh2
• Dag-Erling Smørgrav, DNS in FreeBSD 10: https://t.co/gHIQyH67Ea
• FreeBSD, https://t.co/akDkvTrafn: https://t.co/RfvjnlUBp3
• FreeBSD, rc.d/local_unbound: https://t.co/knAxcWWcSQ
• FreeBSD, bsdinstall services: https://t.co/jwQoXEYa0E
• FreeBSD, Unbound 1.24.1: https://t.co/MfTzaptI2D
• FreeBSD, libssh with LDNS: https://t.co/NDrw38Kril
• RFC 4035, the AD bit: https://t.co/6bkX9VVafy
• FreeBSD, drill(1): https://t.co/SbngTnN5fO
• Unbound 1.24.1, unbound.conf(5): https://t.co/y2sCotCdbR
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀
❯ Security: Alpine's sshd Matched a Star
A star in the password field has meant no password since 1980. On Alpine, until the 5 November fix, it also took any password of 257 characters or more. FreeBSD would have refused the same login twice, for reasons settled in one tree.
⠀
The password file of 3BSD, as it stood in 1980, gives the account daemon a single star where the hash belongs, with "The devil himself" in the name field. No hash function can produce a star, so Unix has marked accounts that must never take a password in this way ever since.
⠀
This autumn Özgün Kültekin of Wakefield built sshd against glibc and against musl, each with PAM and without, and threw some 17,600 odd logins at the results. Every build agreed with every other on every login, apart from one: musl without PAM let a password of three hundred characters into an account whose field held nothing but that star.
⠀
■ THREE SENSIBLE DECISIONS
⠀
On 9 August 2012 musl, the C library under Alpine, stopped returning a null pointer when crypt() fails, because "a large portion of programs which call crypt are not prepared for its failure". It returns "an unmatchable hash" instead, and the string chosen was a star. Twenty days later SHA-512 crypt arrived with a cap of 256 bytes on the password, "added for DoS protection".
⠀
In July 2016 OpenSSH closed a timing leak (CVE-2016-6210): sshd now hashes every attempt, even for accounts without a usable hash, with a salt borrowed from another account, so that a stopwatch can no longer tell real users from invented ones. A field of one star is rather short, so it goes the same way.
⠀
Alpine builds openssh-server --without-pam, so sshd checks passwords itself against the shadow file. Since about 3.16 root ships with a lone star in that field, and so does any key-only user created without a password. The tiny-cloud images from 3.18.11 to 3.24.3 add a starred user called alpine with passwordless doas.
⠀
■ WHERE THE STARS MEET
⠀
Send 300 characters for a starred account. sshd borrows a $6$ salt and passes the lot to musl. musl refuses the length and answers with a star. The two stars match, and the visitor is in. The window closes at 1,024, which is sshd's own limit. Getting in takes a spot of preparation, namely the name of a starred account and one other account with a real hash; PermitRootLogin keeps root itself out, while the alpine user with doas reaches it by another door. For a daemon whose whole job is to say no, that is not on.
⠀
OpenSSH released 10.6p2 on 5 November and wrote: "We consider the root cause of this bug to be outside sshd, but it is exploitable via sshd and can be avoided there." sshd now ignores stored fields shorter than four characters. Alpine shipped fixed packages the same day for every branch back to 3.16, and reminded everyone that the upgrade does not replace the running daemon. None of the three projects had a bug its own tests could see: OpenSSH is tested on OpenBSD and glibc, and musl does not test sshd.
⠀
■ THE SAME LOGIN ON FREEBSD
⠀
FreeBSD took OpenSSH into the base system with 4.0 in March 2000 and builds it against its own C library and OpenPAM, a PAM library written for the project. The defaults are its own, too. sshd_config(5) on 15.0 gives PasswordAuthentication "no" and UsePAM "yes", so sshd never runs its own crypt() comparison.
⠀
Switch both and the login still fails. I read crypt.c and crypt-sha512.c in releng/15.0 this morning: the SHA-512 code limits salt and rounds and sets no limit on the password, so 300 characters give an ordinary $6$ hash, which is not a star. Where crypt() does fail, it returns NULL, as the 1997 standard asked, and sshd's comparison begins by checking for exactly that. Everything sshd touches sits in one tree and leaves in one release, so what crypt() says on failure is decided by people who can see every caller.
⠀
■ THE LIMIT
⠀
One tree does not make OpenSSH free of bugs: FreeBSD-SA-24:04.openssh fixed a pre-authentication flaw on 1 July 2024. What changes is who answers for the joins between the parts. Alpine's 3.24.4 minirootfs is 3,704,088 bytes against about 165 MB for FreeBSD 15.0's base.txz; thin jails pay that once per host, because they share the base system. And a container that runs no sshd was never exposed.
⠀
■ THE BILL
⠀
The bill went to whoever ran such an image with password logins at OpenSSH's default: read three changelogs, upgrade, restart, and search the log for an accepted password on an account that has none. On FreeBSD it came to nothing.
⠀
A star in the password field has meant nobody since 1980, and on Alpine for ten years it also meant anybody with enough letters.
⠀
#UnixUniverse #FreeBSD #Alpine #OpenSSH #Linux #Security #SysAdmin #musl
👉 Full essay: https://t.co/uxTm2EeDIy
⠀
Disclaimer: these pieces are written between half past seven and half past ten most mornings. AI serves as my secretary and as a second pair of eyes on the facts, so that what reaches you has been checked. Nothing here is automated apart from the deployment to the blog. The argument, the opinions, the examples and the measurements are mine.
⠀
• FreeBSD libcrypt, releng/15.0: https://t.co/8MmDTAPOEl
• OpenSSH 10.6p2 release notes: https://t.co/rVtyCpVqkz
• Alpine Linux, security advisory: https://t.co/tY5izoysZK
• The researcher's account: https://t.co/HvpU5DNu0e
• musl, commit b3c4cc12: https://t.co/L26ZaytiA7
• musl, crypt_sha512.c: https://t.co/7YxGJLs3Na
• OpenSSH, salt for invalid users, 2016: https://t.co/P2SrwVQrXu
• OpenSSH portable, auth-passwd.c: https://t.co/2MDT5Q0zlF
• Alpine aports, openssh APKBUILD: https://t.co/WxabI5qMzh
• Single UNIX Specification, crypt(): https://t.co/DS22jKidyE
• 3BSD, the password file of 1980: https://t.co/3I1e8Awom5, branch BSD-3
• crypt(3), FreeBSD 15.0: https://t.co/jzcPPfMHA4
• sshd_config(5), FreeBSD 15.0: https://t.co/HCRQHVEnwL
• FreeBSD sshd_config in the tree: https://t.co/JfhAOFzz1s
• FreeBSD 4.0 release notes: https://t.co/Z31CfZF0kK
• FreeBSD-SA-24:04.openssh: https://t.co/UhAMqvkKOD
• Alpine 3.24 releases: https://t.co/ZyC5kTUorp
• FreeBSD Handbook, Thin Jails: https://t.co/wSU4CElKea
• Vivian Voss, Integrated by Design: https://t.co/CIWN2z0Iwo
⠀