Blog 2010

31 posts

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

December (5)

Russia is to switch to GNU/Linux

At the end of 2010 Vladimir Putin, then Russian prime minister, signed an order for the federal authorities to move to GNU/Linux and free software. It also provided for a central repository of free software for the executive bodies. Earlier Russian projects with free software, especially in education, had not really got off the ground until then.

November (1)

A small scheduler patch improves desktop responsiveness

LWN puts into context a much-discussed Linux patch that treats interactive loads more fairly against large build jobs through automatically formed task groups. Perceived speed depends more on latency spikes than on maximum total throughput.

October (1)

Firesheep makes unencrypted sessions visible

Eric Butler releases a Firefox extension that captures session cookies on open Wi-Fi networks and thus demonstrates the consequences of incomplete HTTPS use. Security problems get priority as soon as exploiting them becomes cheap and easy to grasp.

September (5)

Stuxnet hits industrial Siemens systems

In autumn 2010 Stuxnet was blamed for all sorts of things, even satellite failures, as Felix von Leitner mocked. A reader also sent in a letter in which a Siemens partner offered customers a paid security check for the WinCC and PCS 7 control systems. The post criticised the manufacturer of the attacked systems for turning the incident into a consulting business.

Stuxnet: The attack does not end at the Windows PC

In September 2010 Brian Krebs reports that the Stuxnet worm uses at least three further, previously unknown Windows vulnerabilities in addition to the flaw in Windows shortcuts. Microsoft closed the print spooler hole on the same day, while two privilege escalations were still open. Joe Weiss stresses that the real targets are Siemens controllers, whose injected code Stuxnet hides from programmers.

August (7)

Installing GRUB on all disks of a software RAID 1

In August 2010 Manuel Schmitt reminds readers that with Linux software RAID 1 the GRUB bootloader must be set up on every disk so that the system still boots after one drive fails completely. The guide from an internal list enters every disk as hd0 in device.map and runs setup for each drive in the GRUB shell. The background is that the numbering changes when booting with a missing drive, but an hd0 is always present.

Why GNU grep is so fast

Mike Haertel explains how GNU grep reduces search work, reads input efficiently and only examines the bytes that can affect the result. The fastest processing step is often the one an algorithm can provably skip.

Virtualisation with KVM

Andre Steincke explains KVM as part of the Linux kernel and covers guest management, migration, high availability and graphical tools such as virt-manager. Kernel integration ties virtualisation directly to Linux scheduling and memory management.

Root privileges through Linux kernel bug [Update]

In 2010 Rafal Wojtczuk described a problem in Linux memory management in which the stack and shared memory segments could grow into each other. Using the X server as an example, Wojtczuk showed how an attacker could overwrite return addresses on the stack by writing to the shared memory and gain root privileges. The fix, a guard page between the stack and other areas, came in 2.6.32.19, 2.6.34.4 and 2.6.35.2, although SUSE had offered a fix as early as 2004.

Main development phase of Linux kernel 2.6.36 completed

With Linux 2.6.36-rc1, the merge window, in which most new features enter the main branch, ended in August 2010. Among other things, the AppArmor security framework was accepted after years of attempts, as were fanotify for virus scanners and a driver for Intel’s Intelligent Power Sharing. As with 2.6.35, Torvalds wanted to accept strictly only bug fixes in the following stabilisation phase.

Linux kernel 2.6.35 released

In August 2010, Linus Torvalds released Linux kernel 2.6.35, just under eleven weeks after 2.6.34. New features included power saving for Radeon graphics and H.264 decoding on Intel’s Ironlake processors. Changes to the network stack and to the use of CPU power-saving states were expected to speed up some systems considerably.

RFC 5961: Hardening TCP against blind reset and SYN attacks

In August 2010, Anantha Ramaiah, Randall Stewart and Mitesh Dalal described in RFC 5961 how TCP can be hardened against RST, SYN and data segments injected by off-path attackers. Instead of accepting a suspicious segment immediately, the receiver answers with a challenge ACK that only the real peer can answer correctly. Of all things, the recommended throttling of these replies became a vulnerability itself in the Linux kernel in 2016.

July (1)

Which expressions a compiler really optimises

Ridiculous Fish uses concrete machine code to examine which seemingly expensive calculations modern compilers simplify and where assumptions fail. Optimisation is only correct if it preserves all observable language rules.

June (1)

Unix Toolbox: commands for practical system operation

Colin Barschel collects compact command examples for processes, networking, storage, cryptography, archives and diagnostics on Unix-like systems. A cheat sheet does not replace understanding, but it can reliably reactivate knowledge you already have.

May (2)

Tabnabbing: phishing via forgotten browser tabs

Aza Raskin shows how an unattended browser page changes its appearance and title and poses as a familiar login service when the user returns. Phishing exploits memory and attention just as deliberately as technical vulnerabilities.

April (1)

How the SR-71 flies at extreme altitude

Brian Shul recounts an SR-71 flight and makes the speed, altitude, navigation and extraordinary systems work of the crew tangible. Technology at the limit requires disciplined procedures because the usual margins for error disappear.

March (2)

Content-Aware Fill reconstructs missing image areas

Adobe demonstrates how Content-Aware Fill synthetically replaces marked parts of an image with matching structures from their surroundings. Tools become disruptive when they turn individual manual steps into a controllable selection.

DNSSEC: secure name resolution on the internet

At the Chemnitz Linux Days 2010, Heiko Schlittermann, an IT service provider from Dresden, explained DNSSEC, the security extension of the Domain Name System. DNS translates names into IP addresses and is thus a foundation of the internet. DNSSEC ensures that DNS answers are genuine and unaltered.

February (1)

Understanding Mercurial from the ground up

Joel Spolsky's Hg Init is a practical guide to distributed version control, local history, merging and collaboration with remote repositories. Distributed version control separates backup, publication and collaboration from each other.

January (4)

Linux kernel 2.6.33-rc5 released

In January 2010 the fifth release candidate of Linux 2.6.33 brought a driver for DVB cards with the widely used Mantis chipset into the main branch. The Intel graphics driver gained support for embedded DisplayPorts, and there were fixes for Radeon KMS, XFS and eCryptfs. According to the report, Nouveau, DRBD and Ceph had made it into the kernel before, while Btrfs was still considered experimental.

Wi-Fi analysis software Zap becomes open source

In January 2010 Ruckus Wireless released the source code of its Wi-Fi test program Zap. Zap measures the throughput of wireless networks over time and predicts the minimum performance a network achieves 99.5 percent of the time. It was originally developed to characterise the real-time behaviour of IP video streaming.

Git flow: a successful branching model

Vincent Driessen describes a strict Git model with long-lived main branches and short-lived branches for features, releases and bug fixes. An understandable model can improve coordination and still be too heavyweight for small teams.

Exploits for IE security hole circulate on the internet

In January 2010 exploits were circulating for the Internet Explorer hole through which attackers had previously attacked Google and other companies. According to The Register, both Metasploit and Immunity Canvas had the code, which allowed control of the computer through an invalid pointer access. In tests it worked in IE 6 and 7 under Windows XP SP3, while IE 8 initially only crashed.