Blog 2020

38 posts

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

December (4)

Linux kernel ported to the Nintendo 64

On Christmas Day 2020, Lauri Kasanen, who had previously worked on Mesa and the Linux graphics stack, announced a new port of the Linux kernel to the Nintendo 64. It was not the first Linux attempt on the console, but the first aimed at being accepted into the official kernel. Kasanen gave porting emulators and games as the purpose, but above all: because it is possible.

SolarWinds: Trusted updates as a way in

A few days after the news broke, Brian Krebs summarises what was known about the SolarWinds breach: attackers had slipped malicious code into updates for the Orion network monitoring platform. According to a stock exchange filing, about 33,000 of more than 300,000 customers used Orion, and fewer than 18,000 may have installed a tainted version. Microsoft had taken over the malware's central control domain and should be able to see which systems were still calling in.

November (6)

A small VPN replacement with SSH

On Hackaday, Al Williams shows how to build a simple VPN between two computers with existing SSH access. SSH creates a tun device on both sides and routes traffic over the encrypted connection; the NetworkManager plugin for SSH turns this into an ordinary connection. It requires root on both sides and suitable settings in the SSH server.

MicroOS relies on atomic Linux updates

Hackaday tests openSUSE MicroOS, whose transactional updates, Btrfs snapshots and separated applications are meant to keep the system in a robust state. MicroOS comes from the openSUSE project.

Watching Linux disks with iotop and iostat

On Hackaday, Al Williams presents tools that quickly show what the disks of a Linux system are doing. iotop shows read and write load per process, iostat per device, duf the used space at a glance and lsof the open files. As an addition he mentions atop, which combines process and disk load in one view.

Porting a fairseq translation model

Hugging Face documents the transfer of a WMT19 translation model from fairseq to Transformers. The focus is on reproducible weight mapping, tokenisation and identical outputs. The ported system comes from fairseq and was trained for WMT19.

October (4)

How big a modern GPU driver gets

Michael Larabel puts the enormous AMDGPU share of Linux 5.9 into context and shows the complexity of modern graphics support. AMDGPU was one of the largest driver areas in Linux 5.9.

Understanding transformers as encoder-decoders

The article takes apart encoder-decoder transformers and explains how they differ from pure encoder or decoder models. Cross-attention in particular connects the representation of the input with the step-by-step output. The encoder processes the input sequence bidirectionally.

September (2)

Setting up an IPv6 home network properly

James Bottomley describes the practical set-up of an IPv6 home network with prefix delegation, router advertisements, DNS and a stateful firewall. IPv6 uses 128-bit addresses.

Block-sparse matrices for smaller language models

The article explains how block-wise sparsity reduces parameters and computation without managing every single zero separately. It combines a structured model format with efficient GPU kernels. Block-sparse matrices store only selected dense sub-blocks.

August (5)

Rust support for the Linux kernel

Jonathan Corbet describes early proposals to introduce Rust in a controlled way as a second language for memory-safe drivers and kernel modules. The discussion took place at the Linux Plumbers Conference in 2020.

Network storage: Amazon cloud cuts off API for backups from NAS

In 2020 Amazon discontinued the programming interfaces for Amazon Drive and Amazon Photos, so that from 1 November NAS systems such as Synology could no longer write backups there. Synology’s Cloud Sync and Hyper Backup were affected, and by the nature of the change other manufacturers such as QNAP as well. Amazon recommended its own apps, which, however, offered no encryption and did not exist for NAS; S3 remained unaffected.

Wi-Fi routers targeted by hackers

According to Trend Micro, unauthorised login attempts on home routers rose from 23 to 249 million between September and December 2019. Attackers want to take over the devices by brute force and integrate them into botnets for DDoS attacks, especially as more company data moved into home offices. An analysis of 127 routers by Fraunhofer FKIE also showed that many had not received updates for years and ran on very old Linux kernels.

KDE Linux desktop: security hole in Ark allowed remote attacks

In 2020 the KDE archive manager Ark contained a path traversal hole (CVE-2020-16116) through which prepared archives could write files to arbitrary locations in the home directory. This could be used, for example, to place a manipulated .bashrc or a script in the autostart folder, but the user had to extract the archive. Ark 20.08.0 prevented this and also issued a warning.

RFC 8890: The internet is for end users

Mark Nottingham wrote RFC 8890 for the Internet Architecture Board, and it appeared in August 2020. The document argues why the IETF should decide in favour of end users when their interests conflict with those of other parties. It explicitly does not see protocol development as value-neutral and names concrete ways to represent user interests in the standards process.

July (3)

Linux Mint and the Snap question

LWN examines why Linux Mint restricted the automatic installation of Snap, thereby raising the issue of control over package sources and updates. Linux Mint 20 contained the new block.

Reformer for long sequences

Reformer reduces the memory and computing requirements of classic transformers through locality-sensitive hashing and reversible layers. This makes much longer inputs possible on limited hardware. Reformer replaces full attention with locality-sensitive hashing.

Blocking WordPress brute-force attacks automatically at the hosting edge

In July 2020 Manuel Schmitt announces a free firewall in all of manitu's web hosting packages that monitors and blocks brute-force attacks on WordPress admin logins. The feature works without activation, no matter in which directory a WordPress instance lives. Only sites whose WordPress paths have been renamed unusually via .htaccess fall outside the detection.

June (2)

May (1)

April (1)

March (2)

WireGuard 1.0 reaches Linux 5.6

Jason A. Donenfeld announces WireGuard 1.0 and the inclusion of the lean VPN protocol in the mainline Linux kernel. Version 1.0 was announced on 29 March 2020.

How decoding changes the text output

The article compares greedy search, beam search, sampling, top-k and nucleus sampling. It shows that the same model weights produce completely different texts depending on the decoding strategy. Beam search keeps several continuations in parallel and compares their overall probability.

February (3)

When security products become a risk themselves

In February 2020, Felix von Leitner collected three reports in which security products themselves became the problem. McAfee bought a browser isolation company, a large provider filtered unusually small network packets on its routers as supposed attack protection and thereby broke, among other things, libraries’ Onleihe e-lending service, and the IOTA cryptocurrency stopped its network after a theft. The common denominator: security is promised but implemented without understanding.

Training a language model from scratch

Using Esperanto as an example, Hugging Face shows how the tokenizer, data set and transformer are built up from scratch together. The experiment makes visible which decisions finished models usually hide. The example model has six transformer layers and around 84 million parameters.

January (5)

WireGuard merged into the main branch of the Linux kernel

In January 2020 Linus Torvalds merged the net-next branch, and with it the WireGuard VPN, into the main branch of the Linux kernel. This set WireGuard for Linux 5.6 in April, after Jason Donenfeld had proposed it for inclusion the previous summer. The network code comprises only around 7,000 lines, whereas OpenVPN and IPsec run to several hundred thousand.

New projects from old, broken laptops

In 2020 DIY Perks showed what can still be built from old, broken laptops. Displays, webcams, speakers, battery cells and motherboards become standalone devices such as a second screen, a smart mirror, a surveillance camera or a media PC. With more than 14 million views, it is one of the channel’s most successful videos.

L1DES and VRS make Intel chips vulnerable

In January 2020 Intel disclosed two further variants of Microarchitectural Data Sampling, found by the University of Michigan and VU Amsterdam. With L1DES, alias CacheOut (CVE-2020-0549), data is evicted from the L1 data cache into the fill buffer and can be read there; with VRS, vector registers are affected. Kaby Lake, Coffee Lake, Whiskey Lake and Cascade Lake, among others, were affected, and Intel announced microcode updates.

The tricks with the Google security hole

In early 2020 Trend Micro found malicious apps in the Google Play Store that exploited an Android hole previously used by customers of the spyware maker NSO. Google itself had discovered the hole around a year and a half earlier. The apps Camero and Filecrypt Manager served as droppers and secretly installed the spy app Callcam.