Blog 2012

31 posts

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

December (2)

Building a mobile Raspberry Pi computer yourself

At the end of 2012 a blog post presented the Pi-to-Go, a home-built mobile computer based on the Raspberry Pi. A 3D-printed case held a small LCD, a battery for around ten hours and a 64 GB SSD. The Raspberry Pi itself cost 35 US dollars at the time and had only been on the market for a few months.

November (3)

A quiet self-built wooden PC

In November 2012 the British channel DIY Perks presented a home-built, almost silent PC in a wooden case. Unlike many quiet computers, it did not skimp on performance: a Core i7-2600K overclocked to 4.4 GHz, a GeForce GTX 460, 24 GB of RAM, an SSD and 3 TB of hard disk space. The video shows the case’s features and how it was built.

October (2)

The scrap value of a hacked PC

In October 2012 Brian Krebs updates a chart from the time at The Washington Post that shows how criminals turn a hacked computer into money. New additions are extortion through ransomware and the abuse of social network profiles. The chart is aimed at people who believe there is nothing worth taking on their computer.

September (3)

DNS dampening: Slowing attacks, keeping resolvers alive

In September 2012 Lutz Donnerhacke tests a home-made BIND patch that scores DNS queries with penalty points and temporarily ignores conspicuous sources. The measurements bring surprises: internal check scripts triggered the dampening, and a missing minus sign made penalty points grow exponentially instead of decaying. After the fixes, the patch detected attacks within about 40 packets without disturbing normal queries.

August (6)

State trojan maker allegedly loses its own malware

In 2012 Martin Münch of Gamma Group told the New York Times that the FinSpy surveillance software found on dissidents’ computers had not been sold but stolen from the company’s own servers. Felix von Leitner called this the worst excuse of all time. A maker of state trojans whose own software gets stolen hardly recommends itself as a trustworthy supplier.

hß Security update check shut down because of a security hole

In August 2012 heise Security shut down its online update check because it required Java, and Java 7 had just been found to have a highly critical hole that was already being exploited. The hole affected all browsers with the Java 7 plugin; modules for the Blackhole exploit kit were already circulating, and no patch from Oracle had been announced yet. As an alternative, heise recommended the locally installed Personal Software Inspector.

Wi-Fi mesh as an emergency radio network

In 2012 researchers at TU Darmstadt used wardriving to investigate whether private Wi-Fi routers in cities could form an emergency radio network for first responders. In half a square kilometre they found 1,971 Wi-Fi cells; with a range of 30 metres, each node had an average of ten neighbours and only 2 percent were isolated. However, the routers would need mesh firmware and a power supply that holds up in disasters.

New Linux kernels bring performance improvements

In 2012 kernels 3.0.39 and 3.2.25 were the first to deliberately bring performance optimisations into the stable and longterm branches. Mel Gorman and Greg Kroah-Hartman had extended the rules to also allow changes that fix important performance or interactivity problems. Typical systems were hardly expected to get faster, but on an SGI UV system with 640 cores, throughput when writing to tmpfs rose from 300 to 430 MByte/s.

RFC 6698: DANE: Binding TLS keys via DNSSEC

In August 2012, Paul Hoffman and Jakob Schlyter described DANE in RFC 6698, a scheme with which a domain operator specifies in DNSSEC-secured DNS which certificates or keys apply to their TLS services. For this it introduces the record type TLSA, which sits under names such as _443._tcp.www.example.com. DANE has caught on mainly between mail servers, while browsers never adopted it.

July (1)

June (1)

May (2)

Railuino: Controlling Märklin digital with Arduino

Jörg Pleumann replaces expensive Märklin control units with Arduino, CAN bus and inexpensive connection boxes to control a digital model railway openly. Understanding an existing bus can replace proprietary control units with small adapters.

April (2)

RFC 6585: Additional HTTP status codes

In April 2012, Mark Nottingham and Roy Fielding added four status codes to HTTP in RFC 6585: 428, 429, 431 and 511. They name situations for which servers previously had to use unsuitable codes, from lost updates to rate limiting to login pages in hotel Wi-Fi. The ten-page document is an example of how small standards noticeably improve everyday operation.

March (2)

Freifunk: wireless community networks

At the Chemnitz Linux Days 2012, Klaus Kruse presented Freifunk, a Germany-wide movement that builds free and open Wi-Fi networks locally. Off-the-shelf routers with customised firmware based on OpenWrt are used. The talk explained the motivation, the technology and how anyone can take part in building a Freifunk network.

February (2)

Repairing a Debian system that no longer boots after upgrades

In February 2012 Manuel Schmitt records a customer's guide to repairing a Debian system that no longer boots after upgrades from Lenny to Squeeze. The cause was a missing linux-image package: /boot only held a bzImage, so the GRUB update generated an empty grub.cfg. In the rescue system, chroot with bind mounts, a regenerated mdadm.conf and installing a kernel package fix it.

January (5)

LPIC-3 Core: Linux at enterprise level

My LPIC-3 Core certification from the Linux Professional Institute is still active and valid until 25 August 2029. It stands for in-depth Linux knowledge and many years of experience with professional Linux environments. The core exam 301 of the time focused on directory services with LDAP.

Root privileges possible via memory exploit

In January 2012 a hole became known in the Linux kernel from version 2.6.39 through which local users could gain root privileges via /proc/pid/mem. Since 2.6.39 write access had been possible there, and the check via self_exec_id could be bypassed with a child process. Jason A. Donenfeld explained the bug, and shortly afterwards exploits via the setuid program su were circulating; Android was affected too.

Bug in network protocol causes crashes

Since Linux 2.6.36 the IGMP code of the IPv4 stack had contained a bug that could trigger a kernel panic (CVE-2012-0207). Simon McVittie found it after a notebook crashed several times: a crash log recorded with netconsole revealed a division by zero when processing an IGMP packet. The bug was fixed in 3.0.17, 3.1.9 and 3.2.1.

Git in a few practical steps

Roger Dudler's Git guide leads concisely from repository and staging area to branches, remotes, merging and tagging. The guide is freely available online.

Aptosid and Siduction with Linux kernel 3.1

The Debian Unstable-based distributions Aptosid and Siduction appeared in new versions in early 2012. Aptosid had emerged from Sidux after a dispute between developers and the association, and Siduction in turn split off from Aptosid in summer 2011. Aptosid 2011-03 brought kernel 3.1, Wake-on-WLAN for Broadcom and Realtek cards and booting on UEFI systems.