Blog 2009

31 posts

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

December (3)

An open compiler translates CUDA for x86 multi-core processors

At the end of 2009 the open source project Ocelot released a just-in-time compiler that runs CUDA programs not only on NVIDIA graphics cards but also on x86 processors with several cores. To do so, it translates the GPU instructions into LLVM's intermediate language and generates machine code for any LLVM target from it. It had been validated against over 100 CUDA applications and was licensed under the New BSD licence.

Trying out IPv6 in the data centre without redundancy at first

In December 2009 Manuel Schmitt reports that an IPv6 uplink in alpha stage has been running in manitu's data centre for a few days. Alpha here means: a single router with limited capacity, a single carrier and no redundancy, but already connected via BGP. There is no schedule yet for tests with DSL or server customers, and Manuel Schmitt explicitly asks people not to send offers to test.

Google launches a public DNS resolver

Google introduces Public DNS, aiming to speed up name resolution through large caches, prefetching and resilient validation. Google Public DNS launched on 3 December 2009.

November (2)

A computer in a wall plug: Debian on the SheevaPlug

In November 2009 I installed Debian Squeeze on a Marvell SheevaPlug, a complete ARM computer in the housing of a plug-in power supply, and booted it from an SDHC card. The way led through the serial console, the U-Boot boot loader and a TFTP server that loaded kernel and installer into the device. This post from my old blog shows the steps of the time, what the device could do and why it was a forerunner of the Raspberry Pi.

October (3)

Software RAID in 2009: my mdadm cheat sheet for disks, spares and GRUB

In October 2009 my server odin ran a software RAID 5 for data and a RAID 1 with a hot spare for the system, managed with mdadm. So that I would not have to search every time a disk was replaced, I noted down the commands: copying partitions, removing and adding disks, swapping spares, writing GRUB to every disk and understanding the auto-read-only state. This post from my old blog explains the steps with the output from back then and shows what has changed since.

September (2)

LPIC-2: Hands-on skills for Linux systems

The LPIC-2 certification is the foundation for running Linux systems professionally, from networks and services to everyday administration. It is still active and valid until 25 August 2029. It requires an active LPIC-1 certification and comprises exams 201 and 202.

August (5)

IPv6: getting over the first hurdles

Jens Link introduces IPv6 and explains addresses, prefixes, automatic configuration and the practical differences from familiar IPv4 operations. IPv6 works more easily as a new operating model than as an enlarged IPv4.

Secure software development according to the “security by design” principle

In 2009 heise Developer presented the “security by design” principle practised by companies such as Adobe, Google, Microsoft, Oracle/Sun and Symantec. Security is planned, implemented and tested as an explicit requirement from the start. Applied consistently, it even postpones delivery until security bugs above a defined threshold have been fixed.

Fixes for security hole in the Linux kernel [second update]

In August 2009 kernels 2.6.27.30 and 2.6.30.5 appeared, closing a hole that had existed since 2001 through which normal users could gain root privileges. Debian and Fedora delivered updates immediately and Ubuntu followed a day later, while Red Hat and SUSE initially only offered workarounds. Red Hat recommended disabling the affected network protocols, which rendered the public exploit ineffective.

Critical hole in the Linux kernel affects all versions since 2001

In 2009 Tavis Ormandy and Julien Tinnes from Google found a hole that affected all Linux kernels 2.4 and 2.6 since May 2001 and allowed local root privileges. With rarely used protocols such as Bluetooth, PPPoX or ISDN, pointers in the socket operations remained uninitialised, which could be exploited via sock_sendpage. Brad Spengler published the exploit “wunderbar_emporium”, which worked on a current Ubuntu 8.10.

July (2)

Redirecting DNS: every query on port 53 ends up at your own resolver

In July 2009 I made a note of how my Linux router redirects every DNS query from the internal networks to its own Bind9, no matter which server a device has configured. Three building blocks were enough: DNAT on port 53, an output rule that only lets the Bind user out, and as an alternative rules for the servers in resolv.conf. This post from my old blog explains the rules, shows them in nftables and says where the method ends today with DNS over TLS and HTTPS.

June (1)

May (1)

April (2)

Is Linux hiding security-relevant kernel patches?

In 2009 Felix von Leitner criticised the Linux developers for no longer marking which kernel patches close security holes. Linux 2.6.29.1 served as an example, with a change in the CIFS code that looked like a buffer overflow that might be exploitable remotely. Without a notice, neither normal users nor specialist media noticed how urgent the update was.

March (4)

Understanding and using Git

At the Chemnitz Linux Days 2009, Stephan Beyer gave an introduction to the distributed version control system Git. Git was already being used for projects such as the Linux kernel, Rails, VLC, Wine and X.org. The talk explained the basic principles and day-to-day work with Git and gave tips for an easy start.

RFC 5424: Syslog: Structured event messages

In March 2009, Rainer Gerhards of Adiscon specified a standardised syslog format in RFC 5424, replacing the BSD practice that RFC 3164 had merely described. Every message carries priority, version, a timestamp according to RFC 3339, host name, application, process ID, message type and optionally structured data. RFC 5424 deliberately separated transport from the format and left it to separate documents for UDP and TLS.

February (1)

January (5)

Network security tool Nessi 2 becomes open source

In January 2009 TU Berlin released the network security simulator Nessi 2 as free software under the Apache License 2.0. Administrators can use it to model networks, simulate attacks using profiles and test countermeasures. Nessi 2 was created at the DAI-Labor on the basis of software for Deutsche Telekom Laboratories.

How a program sits in virtual memory

Gustavo Duarte explains virtual address space, kernel space, stack, heap, mappings and address randomisation using a Linux process as an example. A 32-bit address space theoretically covers four gigabytes.

Sun Java System Web Server as open source

In January 2009, with the Open Web Server, Sun released a free version of its Java System Web Server 7.0 under a BSD licence. It was meant to scale well, handle thousands of simultaneous connections and work together with Glassfish, Tomcat or Geronimo. Compared with the commercial version, however, the administration interface, SNMP, WebDAV and JSP were missing.

Linux kernel 2.6.29 gets two new file systems

In January 2009 the file systems Btrfs and Squashfs were accepted into the development branch for Linux 2.6.29. Squashfs compresses files, directories and inodes and is used mainly for live CDs and embedded systems, but offers no write access. Oracle’s Btrfs was regarded as a possible future standard but was not yet production-ready, which is why Ext4 was to follow Ext3 for the time being.

Bitcoin 0.1 is released

On 8 January 2009 Satoshi Nakamoto announced the first version of Bitcoin on the Cryptography mailing list, an electronic cash system without a central authority that uses a peer-to-peer network to prevent double-spending. The software initially ran only on Windows, came with its C++ source code and asked users to open port 8333 for incoming connections. The mail soberly describes an experiment that grew into a currency with a market value of over a trillion dollars.