Blog 2019

33 posts

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

December (5)

Hyperbola switches from GNU/Linux to OpenBSD

At the end of 2019 Hyperbola GNU/Linux, a distribution recognised by the FSF as completely free, announced a hard fork of OpenBSD. Under the name HyperbolaBSD, a new operating system was to be created whose GPL-incompatible and non-free parts would be replaced by new code under GPLv3 and LGPLv3. Among the reasons the project gave were DRM in the Linux kernel, planned Rust code and forced dependencies such as systemd and PulseAudio.

A business card that runs Linux

George Hilliard develops an inexpensive business card board that boots Linux and offers a shell, storage and personal information via USB. The card boots a Linux kernel.

SSH can do much more than open terminals

On Hackaday, Al Williams collects SSH tricks that go beyond the plain terminal. The focus is on host entries in ~/.ssh/config, shared connections with ControlMaster and remote commands whose output is processed locally. A speed test with pv and a pointer to sshfs complete the list.

Debugging Bash scripts systematically

On Hackaday, Al Williams shows how to debug Bash scripts systematically instead of scattering echo everywhere. Tracing with -x prints every executed line, and the bashdb debugger offers breakpoints, single-stepping and watches like gdb. bashdb is itself written in Bash and uses a trap provided specifically for debuggers.

November (3)

Renaming a Linux network interface immediately

In November 2019 Manuel Schmitt notes, as a reminder to self, how to rename a Linux network interface immediately. Instead of running udevadm control and udevadm trigger after changing udev rules, the command ip link set OLDNAME name NEWNAME is enough. Up to and including Linux 6.1, however, this only works while the interface is down.

October (2)

Apple in 2019 is reminiscent of Linux in 2000

Jussi Pakkanen compares frustrating macOS problems with early desktop Linux and questions the reputation of platforms that supposedly just work. After deleting more than 40 GB, df still only reported 8 GB of free space.

September (3)

Home directories for modern Linux systems

Lennart Poettering presents systemd-homed, which combines Linux home directories with encryption, portable identities, modern authentication and structured user records. A decades-old directory model now carries authentication, encryption and mobility at the same time.

Richard Stallman and the importance of free software

In September 2019, Richard Stallman resigned from the MIT Computer Science and Artificial Intelligence Laboratory and as president of the Free Software Foundation. The occasion was remarks made in connection with the scandal over Jeffrey Epstein’s donations to the MIT Media Lab. Despite all personal difficulties, Felix von Leitner honoured Stallman as founder of the GNU Project and uncompromising advocate of free software.

August (4)

PGP encryption for web browsers: BSI project improves open source software Mailvelope

In 2019 the German Federal Office for Information Security (BSI) presented the results of a funded project that improved the Mailvelope browser extension for PGP-encrypted email. New features included the ability for website operators to encrypt contact forms end to end, with keys retrieved via the Web Key Directory. An audit by SEC Consult found and closed four holes in Mailvelope and three in the OpenPGP.js library.

CERT-Bund warns of unpatched holes in Cisco’s Firepower firewall software

In August 2019 CERT-Bund warned of four unpatched holes in Cisco’s Firepower firewall software through which attackers could bypass the filter rules without logging in. While CERT-Bund rated the risk as high, Cisco rated all four holes only as “Medium” with CVSS 5.8. At the time of the report there were neither updates nor workarounds.

Biometric database with 27.8 million entries unsecured on the net

In 2019 researchers from vpnMentor found the “Biostar 2” biometric database of the manufacturer Suprema largely unprotected on the net. Using a normal browser, they reached 27.8 million entries totalling 23 gigabytes, including unencrypted user names and passwords, more than a million fingerprints and facial images. The system controlled access control, including via Nedap’s AEOS platform at more than 5,700 organisations in 83 countries.

Farewell to Linux Journal

After decades of coverage, Linux Journal announces its closure, revealing how economically vulnerable independent specialist media are. Linux Journal started in 1994.

July (1)

June (2)

A folding desk PC

In 2019 DIY Perks showed how to build a complete PC into a folding desk. The computer disappears into the desk, which also provides the work surface, cooling and cable management; components included an RTX 2080 and water cooling parts from Alphacool. A folding mechanism makes the hardware accessible for maintenance.

May (1)

April (3)

Dragonblood: weaknesses in WPA3

In April 2019 Mathy Vanhoef and Eyal Ronen published attacks under the name Dragonblood against WPA3’s Dragonfly handshake, which was supposed to make password guessing impossible. Through downgrade attacks and timing and cache side channels, attackers within radio range could still recover the Wi-Fi password. The Wi-Fi Alliance responded with recommendations, which according to Vanhoef themselves proved hard to implement securely.

Packet loss on the route to EUserv

Connections to my EUserv server and to the provider’s website lost about ten percent of their packets; the problem became visible from the network node 149.14.211.218 onwards. The measurement showed roughly ten percent packet loss.

March (3)

Proxmox VE and Ceph as a hyperconverged platform

At the Chemnitz Linux Days 2019, Alwin Antreich of Proxmox Server Solutions showed how to build a hyper-converged cluster on standard hardware with Proxmox VE and Ceph. Hyper-converged means that virtualisation, network, storage and management are closely combined into one software-defined unit. The cluster can be managed like a single system through a central web interface.

RFC 8555: ACME: Managing certificates automatically

In March 2019, Richard Barnes, Jacob Hoffman-Andrews, Daniel McCarney and James Kasten standardised the ACME protocol in RFC 8555, with which software requests and renews certificates without human intervention. The authors included staff from Let's Encrypt and the EFF, and Let's Encrypt used the protocol even before standardisation. An account signs every message, and the server verifies control over a domain with challenges such as http-01 or dns-01.

February (2)

DNSpionage: When the registrar becomes the attack path

Brian Krebs traces the DNSpionage campaign through passive DNS data and shows that in late 2018 attackers redirected the DNS records of more than 50 government agencies and companies in the Middle East. The route ran through stolen registrar credentials, which the attackers used to send changes straight to the registries via EPP. Netnod and Packet Clearing House describe how far DNSSEC protected them and where it failed.

January (4)

Kernel developers discuss a subsystem for AI accelerators

In 2019 kernel developers discussed a dedicated subsystem for AI accelerators, whose drivers had until then been scattered across various areas of the kernel. Olof Johansson proposed patches and wanted to maintain the subsystem together with Greg Kroah-Hartman. Developers of the graphics drivers considered the idea wrong because the differences from GPUs were minimal.

A practical guide to Linux hardening

Trimstray collects verifiable measures for the boot chain, kernel, file systems, network, SSH, logging and restricting services. The guide is maintained publicly on GitHub.

Linux kernel to get drivers for Z-Wave and LoRa

In January 2019 SUSE developer Andreas Färber published an experimental Linux driver for the home automation protocol Z-Wave. Färber called it a proof of concept, tested with the Pine64 Z-Wave module and written without documentation of the UART protocol. Drivers for the LoRa radio protocol had also been in the works for some months.

Security hole in SCP allows files to be swapped

In January 2019 Harry Sintonen of F-Secure found five holes in the SCP implementations of OpenSSH, PuTTY and WinSCP. SCP does not check whether received files correspond to the requested ones, so a malicious server can swap files or place additional ones unnoticed. This could be used, for example, to replace .bashrc and execute malicious code the next time a program is called.