Blog 2021

40 posts

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

December (4)

Who pays for fixes to open source software?

The Log4Shell vulnerability in the Java library Log4j threatened banks, technology companies, governments and almost every other organisation in December 2021. Slashdot raised the question of who actually pays to fix such open source infrastructure. The vulnerability had been reported by an engineer at Alibaba, but unpaid volunteers had to fix it.

Linux touchpad gestures at MacBook level

Bill Harding describes the progress of touchpad gestures under Linux and the interplay of libinput, Wayland, desktop and applications. GNOME 40 integrated workspace gestures particularly visibly.

Linux runs on M1 Pro and M1 Max MacBooks

The Asahi Linux team reports how new drivers brought the M1 Pro and M1 Max up to the Linux level of the first M1 devices shortly after their release. The M1 Pro and M1 Max were released in October 2021.

Training CodeParrot from scratch

CodeParrot documents how a GPT-2-like code generator was built, from data collection to training. The article also shows how licence filtering and duplicates shape the data. The model was trained on publicly available Python code from GitHub.

November (2)

Distributed PyTorch training on Intel hardware

The article combines Transformers, oneCCL and Intel extensions for distributed CPU training. It shows that acceleration is not limited to GPUs but requires careful software tuning. oneCCL provides optimised collective communication for Intel systems.

October (2)

Why Linux users report so many bugs

The developer of ΔV: Rings of Saturn shows that Linux players contributed a disproportionate number of high-quality bug reports, mostly about platform-independent problems. At the time the game had sold a little more than 12,000 copies.

Machine learning as versionable code

The article describes the shift from isolated models to collaborative, versioned artefacts. Models, data sets and applications are meant to be developed with working methods similar to those for source code. The Hub uses Git-based repositories for models and data sets.

September (3)

A summer of joint open source work

The review brings together projects from an open mentoring programme around NLP, audio, computer vision and tools. It shows how small, clearly defined projects lead new contributors into complex ecosystems. The programme brought students together with mentors from the Hugging Face ecosystem.

RFC 9106: Argon2 for password hashing

In September 2021, Alex Biryukov, Daniel Dinu, Dmitry Khovratovich and Simon Josefsson described the password hashing function Argon2 in version 1.3 in RFC 9106. Argon2 deliberately makes each computation memory-hungry so that attackers cannot guess passwords massively in parallel on graphics cards or special hardware. The document gives priority to the Argon2id variant and names two concrete parameter sets.

August (4)

Data breach at T-Mobile US: hacker exploited devastating security hole

In August 2021 John Binns claimed responsibility for the break-in at T-Mobile US, in which data of more than 50 million customers and prospects was leaked. According to the Wall Street Journal, the attacker used a publicly available scanner to find an unprotected router and penetrated the network from there. Stolen data included names, addresses, social security, driving licence and IMEI numbers.

Intel closes security holes in laptops, Linux drivers and more

In August 2021 Intel published updates for several holes in drivers and hardware. The most dangerous was CVE-2021-0084 in the Linux RDMA driver for the X722 and 800 series Ethernet controllers, through which attackers could gain higher privileges. Further holes affected NUC laptop kits, graphics drivers, Optane PMem and the 800 series Ethernet adapters.

July (2)

spaCy models in the Hugging Face Hub

The integration brings spaCy pipelines into the Hub and gives them discoverable metadata. This makes classic NLP pipelines versionable and shareable alongside transformer models. spaCy packages can be distributed and installed via the Hub.

June (3)

Sentence Transformers in the Hub

Sentence Transformer models get a shared home with metadata and a directly usable loading function. This makes semantic search and similarity comparison easier to reproduce. Sentence Transformers produce fixed vectors for sentences and texts.

A NixOS ISO becomes fully reproducible

NixOS developers report a bit-for-bit reproducible minimal ISO, demonstrating verifiable build paths for complete system images. The minimal x86-64 ISO from NixOS unstable became reproducible.

Building a portable 1,200 watt power station

In 2021 DIY Perks built a portable power station with 1,200 watts of output, USB-C ports and other connections. The parts list names lithium-ion cells of the Molicel P42A type, various battery management systems, voltage converters, a 90 watt USB-C charger and a spot welder for the cell connections. The result is a home-built alternative to commercial power stations.

May (5)

Combining models with Gradio

Gradio 2.0 makes models interactively usable with a few lines of Python and allows chained demos. This lowers the hurdle for checking model behaviour visibly with real inputs. Gradio generates web interfaces directly from Python functions.

Humanity’s ultimate limit of reach

KG shows how the accelerating expansion of the universe limits the cosmic space we can reach for good, however advanced our technology becomes. Physical limits remain real even when technical limits are pushed very far.

FIDO U2F as a second factor in the customer menu

In May 2021 Manuel Schmitt announces that the customer portal mein.manitu.de now offers FIDO U2F as a second factor alongside SMS and OATH-TOTP. As with GitHub, all physical and virtual security keys following the U2F standard are supported, explicitly including biometric methods on smartphones or notebooks. The feature is on the list for the web hosting administration as well, but requires other technical groundwork first.

RFC 9000: QUIC: Secure transport over UDP

In May 2021, Jana Iyengar and Martin Thomson published the transport protocol QUIC in RFC 9000, which runs on UDP and builds in TLS 1.3. Together with RFC 8999, RFC 9001 and RFC 9002 it describes connections with independent streams, encrypted control data and connection IDs that survive a change of IP address. According to the acknowledgements, the design draws significantly on work by Jim Roskind at Google.

April (3)

Simplifying distributed training with Accelerate

Accelerate encapsulates device selection, mixed precision and distributed training behind a small interface. Existing PyTorch code is meant to scale without a complete framework rebuild. Accelerate supports CPU, single and multiple GPUs as well as TPU configurations.

Two-factor authentication for your own SSH server

Florian Winkler shows how SSH can be extended with a second factor via PAM and which configuration steps effectively secure your own Linux server. More factors only increase security if recovery and bypasses are designed just as carefully.

March (5)

A problematic WireGuard port for FreeBSD and pfSense

Netgate, the company behind the pfSense firewall, had commissioned a WireGuard port for the FreeBSD kernel, and in 2021 the code had landed in the main branch shortly before the release of FreeBSD 13.0. When the WireGuard developers around Jason Donenfeld examined it, they found buffer overflows, severe crypto errors, unimplemented parts of the protocol and kernel panics. After two weeks of work nothing of the original code remained, and FreeBSD 13.0 was released without WireGuard in the kernel.

Automating server security with Ansible

At the Chemnitz Linux Days 2021, Dr. Benjamin Aleritsch showed how server security can be automated with Ansible. It is based on two established frameworks: SCAP standardises the automatic discovery of vulnerabilities and checking against security guidelines, while STIG provides specific requirements for hardening systems. The English-language talk gave an introduction to this process.

Fire at the OVH data centre in Strasbourg

In the night to 10 March 2021 a fire broke out at 00:47 at the Strasbourg site of OVHcloud, one of Europe’s largest hosting providers. For firefighting, power to the entire site with four data centres was switched off; according to OVHcloud about 120,000 services were fully or partially affected. The fire became a lesson in the fact that backups at the same location are no backups.

Transformers for long documents

The literature review classifies methods that avoid the quadratic cost of full attention. Local windows, sparsity and compressed representations trade a global view for scalability. Full self-attention grows quadratically with the sequence length.

February (2)

Distributing RAG with Ray

The article combines retrieval-augmented generation with Ray to scale index search and generation across several processes and devices. Knowledge retrieval thus becomes an independent, distributed part of inference. RAG combines a retriever with a generative sequence model.

January (5)

Fritzbox maker open to an update for Deutsche Glasfaser

In January 2021 AVM said it was prepared to give its new FRITZ!Box 5530 Fiber an adapted firmware for the Deutsche Glasfaser network if needed. The Broadband Forum had just certified the box for GPON, but there could be hurdles in practical use. However, a firmware update would not solve Deutsche Glasfaser’s actual problem with router freedom.

Mashing keys disables a screen lock

An unusual Cinnamon screensaver bug shows how masses of input can crash a security-critical desktop component and expose the session. Linux Mint then released fixed packages.

Router freedom through a Fritzbox firmware update

In 2021 Deutsche Glasfaser wanted to resolve the dispute over router freedom through talks with AVM and a FRITZ!Box firmware update. It installed an active, mains-powered fibre modem (ONT) at customers’ premises, although according to the law only passive network termination points are allowed. It charged 60 euros for removing it and threatened service restrictions.

Deutsche Glasfaser charges 60 euros for router freedom

In early 2021 Deutsche Glasfaser charged customers 60 euros if they wanted to connect their own router directly to the fibre instead of the operator’s ONT, and then refused contract changes. The online magazine Deskmodder reported on a complaint to the consumer advice centre and the Federal Network Agency. The operator understood router freedom to mean that customers may connect any devices via LAN behind its ONT.

Accelerating transformer inference a hundredfold

The article describes an inference platform that combines batching, model optimisation and specialised hardware. What matters is not a single trick but tuning the entire processing chain. For certain workloads, Hugging Face reports up to a hundredfold acceleration.