Blog 2024

46 posts

Projects, Linux, networks, systems, finds and internet standards from 2024.

December (6)

Simple agents that write actions as code

smolagents reduces agent logic to small, comprehensible components and lets models control tools through generated code. The approach favours readability over extensive orchestration frameworks. smolagents supports code agents and classic tool calls.

We know where your car is parked

Michael Kreil and Flüpke show how movement data from 800,000 electric cars, including owner information, was accessible without protection and revealed sensitive routines. The two of them gave the talk together.

Building your own LoRa mesh network

WillCrash leads from LoRa and ESP nodes through antenna choice and site planning to a robust mesh network that communicates independently of conventional infrastructure. Independent communication comes more from a good topology than from particularly expensive hardware.

The US considers banning TP-Link routers

According to a Wall Street Journal report at the end of 2024, US authorities were considering banning routers from Chinese manufacturer TP-Link on national security grounds. The Commerce, Defense and Justice departments were investigating the company separately; it held about 65 percent of the US market for home and small business routers. In October, Microsoft had reported that Chinese attackers were misusing thousands of TP-Link routers to attack Western targets.

Transmitting surround sound by laser light

In 2024 DIY Perks built a surround system in which the digital audio signal travels through the air to the speakers by laser light. It is based on SPDIF/Toslink converters, which normally send light through an optical fibre cable. The speakers consist of Dayton Audio drivers, a four-channel amplifier and a DSP in cases made of acrylic tubes.

November (3)

Routing Linux audio between programs and computers

On Hackaday, Al Williams describes how he routes the audio output of one program into the audio input of another on Linux. The reason was remote operation of his amateur radio station, whose digital modes such as FT8 expect software with a sound card. With PipeWire, the qpwgraph interface and a device created with pw-loopback, he connects radio and decoder permanently.

Faster output through self-speculative decoding

LayerSkip uses early layers of the same model as a fast draft and checks the proposals with the complete model. This makes a separate draft model unnecessary. Self-speculative decoding uses the same model for drafting and verification.

Seer: GDB with a graphical interface

Ernie Pasveer develops Seer as a Qt interface that makes GDB functions visually accessible while keeping them directly controllable. Seer requires Linux, GDB with the MI interpreter and Qt 6.

October (4)

The security architecture of Gradio 5

The security overview describes changes to file paths, network access and browser boundaries in Gradio 5. Public ML demos are thereby explicitly treated as web applications with an attack surface. Gradio 5 tightens the handling of accessible files and paths.

RFC 9669: The eBPF instruction set as a standard

Dave Thaler published the BPF instruction set architecture as an IETF standard in RFC 9669, dated October 2024. The text originated from the file instruction-set.rst in the Linux kernel and describes instruction encoding, registers and instructions independently of any single implementation. According to the RFC, BPF no longer stands for anything, although it once meant Berkeley Packet Filter.

September (3)

Real-time Linux has arrived in the kernel

The article describes PREEMPT_RT's inclusion in mainline after decades of development towards more predictable Linux latencies. PREEMPT_RT was largely integrated into the mainline kernel with Linux 6.12.

Fine-tuning language models to 1.58 bits

The article applies ternary weights to existing language models and shows an accessible fine-tuning path. Extreme quantisation promises small models but requires careful quality measurement. 1.58 bits correspond to the information content of three possible weight values.

A race condition in FreeBSD’s mutex implementation

Felix von Leitner called a FreeBSD vulnerability published in 2024 a candidate for the shortest computer science joke: a race condition in the implementation of mutexes. Through a use-after-free in the userspace mutexes, umtx for short, local users could gain root privileges from FreeBSD 11.0 onwards. The joke behind it: mutexes are precisely the tool meant to prevent race conditions.

August (6)

Wednesday: Meta annoys AR developers, security hole at internet providers

Alongside Meta ending third-party AR effects and the Polaris Dawn launch, heise’s news round-up of 28 August 2024 reported an attack on internet providers. An unpatched hole in the network software Versa Director (CVE-2024-39717) was used to gain a foothold in at least four ISPs. There the attackers intercepted customer credentials in plain text before they were stored hashed; Lumen attributed the attack to the Chinese group Volt Typhoon.

Security holes: network monitoring tool Zabbix can leak passwords

In August 2024 Zabbix closed eight security holes in its network monitoring. The most serious was CVE-2024-22116, through which administrators with restricted rights could execute code in the context of the ping script. In addition, the frontend’s audit log displayed passwords in plain text.

CPU security hole in AMD processors enables malware infections

At DEF CON 2024, IOActive researchers Enrique Nissim and Krzysztof Okupski presented the “Sinkclose” hole, which affects AMD processors of roughly the last ten years up to Ryzen 7000. Attackers with kernel access can use it to execute code in the privileged System Management Mode and hide from the operating system and protective software. Such an infection even survives a reinstallation and can only be prevented by a firmware update.

XetHub brings block-based storage to the Hub

XetHub joins Hugging Face to version large model and data set files more efficiently. Content-based deduplication is meant to transfer changed blocks instead of complete files. Xet works with block-based, content-addressed storage.

July (3)

Serving thirty LoRA models with one server

Text Generation Inference loads many LoRA adapters on top of a shared base model and serves them together. This avoids complete model copies and improves utilisation. The demonstration serves 30 LoRA models through one TGI instance.

RFC 9580: OpenPGP modernised

In July 2024, Paul Wouters, Daniel Huigens of Proton, Justus Winter of Sequoia PGP and Yutaka Niibe published a thoroughly renewed version of OpenPGP in RFC 9580. The document replaces RFC 4880 from 2007 and introduces version 6 keys, authenticated encryption and Argon2 for passphrases. Ed25519 and X25519 are now mandatory, while new RSA keys should no longer be generated.

June (2)

Switching between DeepSpeed and FSDP

Accelerate unifies configurations for DeepSpeed and PyTorch FSDP so that training code stays largely stable. The article compares the concepts and migration paths of both sharding systems. DeepSpeed ZeRO and FSDP distribute model states across several devices.

Swift Static Linux SDK

The Swift team explains cross-platform, fully statically linked Linux programs with the official Static Linux SDK. The SDK supports static Linux builds with musl.

May (2)

A free, self-hosting RISC-V computer

Sébastien Bourdeauducq and contributors build a free 64-bit RISC-V computer that can host its own FPGA toolchain. The project uses a 64-bit RISC-V CPU in an FPGA.

Longer generation through a quantised KV cache

The article quantises the key-value cache, which takes up a growing share of GPU memory with long contexts. This leaves more memory free for longer sequences or larger batches. The KV cache grows with sequence length, number of layers and batch size.

April (3)

Multipath TCP on Linux

The MPTCP community explains how Linux spreads one logical TCP connection across several network paths. RFC 8684 describes Multipath TCP version 1.

Why hosting backups do not replace your own backup

In April 2024 Manuel Schmitt explains from the perspective of the host manitu why web hosting customers need their own external backups despite multi-stage provider backups. Hosts back up mainly to restore entire systems, while single files, mails or tables from a given point in time take considerable effort. Six scenarios show when existing backups are still out of reach for the customer.

A joint security analysis with Wiz

Hugging Face and Wiz Research examine the risks of loading foreign models and of isolated execution environments. The article shows how model artefacts can become a supply chain for executable code. Wiz Research reported security findings to Hugging Face.

March (6)

Linux crisis tools

Brendan Gregg recommends a prepared toolbox so that performance outages can be measured immediately instead of improvised. Gregg's minimum list includes procps, util-linux, sysstat, iproute2 and tracing packages.

Quanto as a PyTorch backend for quantisation

Quanto brings weight and activation quantisation into a PyTorch-centred workflow. Models therefore remain easier to examine and do not have to be exported to a foreign runtime straight away. Quanto is a quantisation backend for Hugging Face Optimum.

Proxmox VE and Proxmox Backup Server

At the Chemnitz Linux Days 2024, Jonas Sterr of Thomas-Krenn.AG presented Proxmox VE and Proxmox Backup Server. The path led from a single server via clusters to high availability, with a live demonstration of a cluster of three Proxmox nodes with Ceph. There were also deployment variants and benchmarks for Ceph, as well as experience from use with customers.

BlackCat: Ransom does not buy trust

Brian Krebs reports on signs that Change Healthcare paid the BlackCat ransomware group about 22 million US dollars while the attack disrupted the dispensing of prescription drugs across the United States. An affiliate of the group complained publicly about being cheated out of their share and claimed to still hold the stolen data. BlackCat then shut down and displayed what appeared to be a copied FBI seizure notice.

February (3)

Merging LoRA adapters

PEFT adds methods for combining several trained adapters. This allows specialisations to be mixed without training a complete model from scratch each time. PEFT supports several merge methods for LoRA adapters.

Asahi Linux and OpenGL on Apple Silicon

The article describes Asahi Linux's conformant OpenGL implementation for Apple GPUs and its lead over Apple's macOS driver. In 2024 Asahi achieved conformant OpenGL 4.6 on Apple Silicon.

RFC 9535: JSONPath: Queries for JSON documents

Stefan Gössner of Fachhochschule Dortmund, Glyn Normington and Carsten Bormann of the University of Bremen published the query language JSONPath in RFC 9535 in February 2024. Gössner had already proposed JSONPath in February 2007 as XPath for JSON, and numerous implementations adopted the idea in their own variants. The RFC creates a binding grammar for the first time and frees JSONPath from eval() and other quirks of individual programming languages.

January (5)

Quantising and accelerating StarCoder on Xeon

The article combines 8-bit and 4-bit quantisation with speculative decoding for StarCoder on Xeon processors. It shows several independent routes to faster code generation. StarCoder is optimised for CPU inference with Optimum Intel.

Linux kernel to get Windows API for synchronisation

In January 2024 Codeweavers developer Elizabeth Figura proposed the NTSync kernel driver, which implements functions of Windows NT thread synchronisation directly in the Linux kernel. Predecessors such as Esync and Fsync/Futex2 reached their limits because the complex NT semantics could not be reproduced correctly with existing primitives. In some games NTSync is said to increase the frame rate by 50 to 150 percent, while in others it changes hardly anything.

US winter storm forces a break in kernel development

In January 2024 Linus Torvalds announced an enforced break in kernel development because a winter storm in Oregon had knocked out power and internet at Torvalds’ home. The Finnish-born developer remarked sarcastically that “storm” and “winter” meant little more than some wind and just under minus ten degrees there. Around 100,000 people in the Portland area were without power; during a similar outage, repairs had taken more than a week.

OpenWrt community wants to build its own hardware

In January 2024 the OpenWrt project announced its own router hardware for the first time with the OpenWrt One, fully usable with free software and for under 100 US dollars. Planned were a MediaTek MT7981B SoC, Wi-Fi for 2.4 and 5 GHz, 2.5 GbE and 1 GbE ports, 1 GByte of RAM, NAND flash, an M.2 slot and power via USB-C. Only the Ethernet and Wi-Fi firmware and the DRAM calibration were to remain proprietary.