
A few months back,
keithp introduced me to
Treehouse/Icehouse as a generic system for gaming, like playing cards. Recently I realized that I didn't actually know many card games, and most of those that I did know I'd forgotten long ago. So today I spent a good chunk of the afternoon learning a few new games and playing them.
John McLeod's site was the first hit I found on Google, and it's a phenomenal resource full of games from all over the world. The games that I learned or re-learned today were
Casino,
500 Rum (which is a Rummy/Gin Rummy variant), and
German Whist.
It's striking how many games are generally unknown these days. We have so many other forms of entertainment available that we've collectively forgotten how to play most of these games. It's fun to be reminded what you can do with a simple deck or two of cards though.
foosel tagged me, whatever that means. Perhaps it’s the English
word for “Stöckchen” (German for “small stick”) of which I always
wondered how the English blogging part of the blogosphere is calling
that kind of coercing
blog posts… ;-)
So these are the rules:
- blog a list with your favorite desktop Linux software (as many or
few you want)
- add links to the software project’s websites
- post these rules
- tag three other Linux using bloggers
Interestingly
splitbrain, who
started the thing just calls it “Meme”, but to me memes are the
same thing just without duress. ;-)
So you want to know about what Linux desktop software I like and use,
hmm? Desktop means
GUI, doesn’t it? There are only a few
GUI
application I really use often since, as you probably know, X is
primarily a terminal multiplexer and screen resolutions are compared
by how many 80×25 xterms with fixed font you can get on one
screen without overlapping. ;-)
But to be honest: Although I’m more the command line guy hacking
cryptic lines into windows with small fonts, there are a few thing
where I don’t want to miss X and the
GUI applications: For all things
web – that means web browser, feed reader, etc. But then there is
also a bunch of
GUI software I use occasionally or as alternative tool
to some text mode or command line software.
Web
- Liferea –
My favuorite feed reader although it takes ages to start and since a
few days also starts crashing, probably since I have configured it to
cache up to 1000 items per feed and have subscribed to several hundred
feeds.
I do not read them all though, but I use them togther with Liferea’s
“search all feeds” feature as a Google News replacement. ;-) I though
read a lot of feeds in it, since I use it for news, blogs, webcomics
and to read missed tweets on Twitter. It organizes the feeds in a tree
structure so I can easily group different types of content
together.
- Opera –
I’m back using Opera as my primary web browser since they offer alpha
versions for 64-bit Linux.
Initally I started using Opera with version 3.60 on Windows 95
somewhere about 10 years ago and I’ve always come back to it when no
current free browser fits my needs.
Although it hasn’t an AddOn possibility as Firefox has, I still prefer
it over the bloaty and leaky and quite unstable Firefox 2, since it
offers nearly every functionality I need (mainly mouse gestures and a
flexible tab management), is fast, needs less RAM and is quite stable
for an alpha version. And Firefox only offers those features I need
via Addons which are often the cause for leaking or crashing. Haven’t
tested Firefox 3 yet, but it’s said to be be less bloaty…
- Kazehakase –
Formerly I used kazehakase as my primary web browser since I really
like its user interface, but the version in Etch is quite slow and
seems to have memory leaks. It’s currently the second browser I have
always open. But since my browsers always have uptimes in terms of
months I don’t need web browsers that are leaking, so I’m thinking
about replacing it with something more stable.
- Conkeror –
A Gecko 1.9 (i.e. Firefox 3) based web browser completely controllable
with the keyboard. And the key bindings are those from Emacs and
partially also from the classic text-mode browser Lynx. Will be
available in Debian Experimental soon.
- Netsurf
looks very promising as it’s a simple and fast browser with it’s own
rendering engine and originating on RISC OS. But since I’m a heavy tab
user (60 tabs in one window are not really seldom), a browser (yet)
without tabs isn’t really that useful for me. But I hope it will get
tabs soon.
- Midori –
The other upcoming new browser in the Linux world is using Apple’s
WebKit (which itself is based on KDE’s KHTML) underneath. Only in
Experimental yet (form a Debian point of view :-). Use it on my
Debian Sid machine to play around with it.
- Twitux –
A simple GTK Twitter client which doesn’t clutter the screen with
unnecessary icons or buttons. Just a small menu bar, status bar and
the tweets.
- Azureus –
In the seldom case where I need to download files via Bittorrent I
either use Opera’s builtin client or Azureus. The nice thing about
Azureus is that you can get nice graphical as well as textual
statistics about all aspects of your downloads.
X / Desktop Environment
- FVWM –
My favourite window manager for normal, big or multiple screens. I use
it since more than 10 years (twm and tvtwm were its predecessors) and
its configuration has evolved since then quite a bit to tinted
transparent window frames and title bars, etc.
I tried other window managers in between (e.g. Sawfish and GNOME’s own
Metacity, each for a month or so and both together GNOME, also played
around with KDE on one machine) and I always came back to FVWM. No
other window manager is so fast and configurable in regards of
keybindings. Handles multiple screen very well and out of the box,
too.
- ratpoison –
My favourite window manager for small screens (less than about
1024×768, e.g. on my EeePC, on the 8” touchscreen connected to
my MicroClient Jr. or on my 1996 ThinkPad 760ED with 133 MHz Pentium
1) since it doesn’t waste screen space for window borders or title
bars. It just maximizes all windows by default to screen resolution.
You then can manage (split, resize, switch, close, kill) windows as
you are used to manage shells and text-mode applications with
screen(1). Doesn’t work that well with multiple xrandr managed screens
though if they don’t have the same size.
- FLWM –
The Fast and Light Window Manager. My favourite low-end but still DAU
compatible window manager. Use that on demo and guest accounts,
especially on low end machines.
- Synergy –
connects displays of other computers (not only X but also even Mac or
Windows) with your mouse and keyboard similar to a KVM switch. I use
it at work to add my laptop as fourth monitor. ;-)
- trayer – A desktop environmen independend system
tray developed by the FVWM Crystal Project. Since I changed from manually
editing /etc/network/interface on my laptop each time I came into a
new wireless LAN to using GNOME’s Network Manager, I needed a system
tray for the nm-applet. Trayer is quite easy to configure using
command line options and can handle tinted transparency as I use with
FVWM and ATerms. So it fits in perfectly.
- ratmenu and dmenu –
For showing generated menus together with ratpoison, I use ratmenu
(e.g. as replacement for ratpoison’s non-interactive window list) and
dmenu (e.g. as application menu using my own wrapper which generates
the menu from some config file). Probably will publish that code once
it proved itself stable.
xtrlock –
the simplest tool to lock you desktop: The mouse turns into a lock and
it only goes away if you enter the right password. No screen saver
included though and everyone can see what’s on your desk. I like it
though. Use it on low-end machines.
XScreenSaver and
Really Slick Screensavers (GLX Port) – Configurable
and command controllable screen saver daemon. Favourite modes:
GLMatrix and Substrate from XScreenSaver and Lattice Sky Rocket and
Hufo’s Smoke from
RSS GLX.
xosview –
my favourite system monitor since more than a decade.
Terminals
- xterm –
there is no better X terminal emulator than the original xterm. I
found no other terminal which is so fast, has no problems with
text-mode applications (aterms break aptitude’s display), no problems
with character set encodings, which can be embedded into other
applications and which has a fully working classic Unix cut &
paste.
- aterm –
When I need a fancy transparent terminal for showing a fancy desktop,
I use the AfterStep Terminal Emulator aterm. In that case, the system
tray, the window borders, the window’s title bar and the terminal on
my desktop have the same fancy tinted transparency.
- yeahconsole –
A wrapper around xterm which works like the pulldown console in quake.
Good for the short shell usage inbetween. ;-)
The other similar pull down consoles I know (KDEish yakuake and
GNOMEish tilda) had some issues with focus and keybindings while
yeahconsole works just out of the box and showed no problems until
now.
Audio and Video
- XMMS and Audacious –
If I want to play a single list of files of the same file format or
single stream, I usually use the command line tools mpg123 and ogg123. But if I need anything more fancy or more flexible, I prefer the
WinAMP clones. Formerly XMMS, nowadays Audacious. Both with some old
skin which I use since more than a decade and which I initially used
with WinAMP 2 on Windows 95.
- mplayer – no fancy GUI, easily controllable with the keyboard, plays
most video file formats I can remember. ;-)
Editing and Developing
- GNU Emacs –
I’ve been raised with GNU Emacs and Lisp at university, so I’m quite
sticked to that. I usually only start one Emacs instance and connect
to it using emacsclient. I also like TRAMP for editing remote files.
but I don’t need it that often.
On machines, where I don’t want a full blown Emacs installation or
under root I prefer GNU Emacs’ little brother GNU Zile (Zile Is a Lossy
Emacs), but that’s text-mode and no GUI software.
- OpenOffice.org –
I think it’s a really great software, but I use it quite seldom,
usually only when I have to open some file in a Microsoft file format.
For writing letters, articles, presentations and so I have LaTeX.
- Gnumeric –
My preferred spreadsheet application. Although for some purposes I use
the OpenOffice.org spreadsheet, usually when Gnumeric has not all
necessary features.
Graphics
- xv –
Yet another tool I use since more than a decade: No other image viewer
is so fast and yet so easy to use with both keyboard and mouse. Open
source, but unfortunately not (yet?) free software.
- keyjnote –
fancy PDF presenter with a lot of interactive features.
- pdfcube –
PDF presenter turning pages as a cube as compiz or Macs do with the
desktop.
Chat
- Pidgin – I usually use irssi inside a screen for IRC as well
as Jabber and ICQ (via Bitlbee), but I also often have a local Jabber
client running which then is Pidgin (formerly known as GAIM).
Other Tools
- Unison –
I use it to synchonise the cache and state of my feed reader between
laptop and workstation. And I do indeed prefer the GUI version over
the text-mode version. I use the text-mode only if I use it from some
remote location.
- XKeyCaps –
The ideal tool to wreck you keyboard layout. ;-)
- XGnokii –
Used it to backup my former Nokia mobile phones, the 6130, the 6210i
and the 6310i. Doesn’t work anymore with my new E51, though.
- Sunbird / Iceowl –
Not really using it yet, but I plan to use it as my primary calendar
tool.
- QEMU / KVM / KQEMU –
My favourite desktop hardware emulator. (For servers, I prefer Xen for
virtualization.)
Games
Non-Desktop Applications
In case someone wonders about my mail client, Jabber client,
IRC
client, ICQ client, file manager, notes taking application, shell and
versioning system – they’re all command line or text-mode
applications:
Who’s next?
That’s difficult:
- maol would be interesting, but since a while he just blogs in
Jeopardy style, so he would need pack all those programs into the
subject of his blog post… No, not a good idea.
- Venty! No, has no
active blog anymore.
- Dieter! No,
no Linux user.
Hmmm, I think I have to look in a different corner of my circle of
friends. Hmm. Ah, now I know:
- dyfa – not
really a Linux user, but I guess FreeBSD is ok, too. :-)
- nion –
this will be really interesting. He even uses more strange software
than I do. ;-)
- alphascorpii – no idea what she prefers (except that
it will be available as Debian package ;-)
And no, I don’t expect posts as comprehensive as mine. :-)

Last week I noticed, that
Kabel Deutschland, a cable provider in germany, returns for any non existing hosts “204.9.89.60″. It seems, thats it is rolled out since last fall. Even for
DNSSEC enabled infrastructure it breaks it totally:
; <<>> DiG 9.3.4 <<>> +dnssec web.pixaco.se @83.169.184.161
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; ANSWER SECTION:
web.pixaco.se. 0 IN A 204.9.89.60
Beside that, this behavour breaks the whole DNS, since many mechanism rely on a negative answer. The most visible effect for the users is, that when having a typo on surfing, he will forwarded to http://suche.kabeldeutschland.de/de.kde.assist/?domain=<domainyoutypedinyourprompt>. Since 204.9.88.0/21 is located at our transatlantic friends from US, there might be some problem with leaking privacy informations. I don’t feel happy, if I had a typo in my URL and getting listed for it on any terror list or providing the newest porno links to my american friends inside the organisations with the tree capitals.
All that for getting some extra money, but racing pricedumping for connectivity, this sucks a lot.
If you are a customer and feel pissed, you can send a friendly note to them:
Kabel Deutschland Vertrieb und Service GmbH & Co. KG
Beschwerdestelle
99116 Erfurt
kundenservice@kabeldeutschland.de
Fax: 01805299925
A quick and dirty workaround for dnsmasq maybe to add “bogus-nxdomain=204.9.89.60″ to your config file. This doesn’t fix the DNSSEC problem.
The problem also pops up at
dns-operations and there are traces at
google too.

It sometimes funny to review web server stats to see what people are looking
for in my blog. I usually expect something like my name and projects I
participate on. But there are some surprises:
- cihar
- gammu
- dosbox games
- pissing
- mpd sonata
- wammu
- phpmyadmin
- project names
- sound juicer mp3
- phpmyadmin themes
For most of them I'm in first page in Google results, even though I have no
idea why are my posts ranked so high even for such generic things as "product
names", but I don't care. What surprises me most is "pissing". I guess I know
what are people looking for when they enter this word to Google ;-). But
according to Google webmaster tools, I'm somewhere near 110th position. Why
the hell does somebody look so deep in results? And why does he go to
one line blog post? I really don't understand this. Maybe I should focus
on this word and bring my post to first page of Google results ;-).

After catching a glimpse of John McCain on Saturday Night Live (SNL) I decided to watch a full show to see if is good enough to add to my daily US news lineup (which currently consists of The Daily Show, The Colbert Report and NBC Daily News).
From the very start the comedy level is pathetic with fake laughter gushing out over something that is apparently was supposed to be funny. Combined with the pretense of “smart comedy” that says - “If you don’t laugh when we laugh, you just don’t get it.” which is pure old brainwashing aimed to make people stop thinking. Very far from anything I would call good TV.
BIG INTRO WITH BIG VOICE. Useless Americanisms. And then Steve Carell does the most stupid and idiotic ‘6 RedBulls’ routine that I’ve ever seen. Are the writers still on strike? “There can be only one Democratic nominee” was a bit better, bit still rather simplistic. “Deal or no deal” was an even dumber one. “Two assholes do karaoke” actually was even worse. “Japanese Office” was nothing but a cheap pun of the *American* version of the Office with a few Japanese words. I think it went on for 5 minutes, which was 4 minutes and 55 seconds too long for something of such horrible production value. Another John McCain appearance, while misreading the teleprompter (not on purpose), was actually the highlight of the show.
That shows two things: John McCain is so desperate that he feels it is acceptable to appear on such a low quality show and that SNL is overrated - even a politician can do a better job at comedy then the SNL staff.
That Usher guy song was on the same level as the jokes of the show, so no hard done there.
News were almost ok. Not nearly as good as The Daily Show, but better then the rest of the show. Not a single item was chosen to make people think, just the opposite. “FitTV” bit was .. well .. pointless. So was CPR bit. And the ‘Bless this child’ bit.
In summary, I’ve never seen a more pointless and badly made show. That thing could pass for good in 60s or maybe even 70s, but to consider that show good nowadays in any country with reasonably developed TV would be just insanely dumb.

Since development kernels 2.6.26-rc*, the iwlwifi drivers (iwl3945, iwl4965)
have LED support. While LED support is nice to have (making it easy to see when
the wireless connection is available), the blinking of the LED whenever there
is data transmitted is annoying.In most networks, there is a constant chatter on the net. Windows server
browsing and announcing, Zeroconf/Bonjour announcements, Printer discovery.
When you're using some instant messaging or chat such as IRC there is some
data transmitted all the time. Your email program might be polling for new
emails, and your weather applet might be fecthing the latest forecasts.
So basically, there always is ome network traffic. Often in the range of less
than 1k/s, but there is.The new iwlwifi drivers don't flicker the LED with each packet received, but
apparently will just set the LED to a blink mode when they received or
transmitted some data, which if find rather irritating.Fortunately, this can easily be configured in Linux, just save this script
in
/etc/network/if-up.d/iwl-no-blink and make it executable:
#!/bin/sh
if [ "$IFACE" = "wlan0" ]; then
for dir in /sys/class/leds/iwl-phy*X; do
echo none > $dir/trigger
done
fi
This is a quick hack, but it does the job well for me - when the device is
connected it will stop blinking on data. It will still blink when connecting
(
leds:iwl-phy*:assoc) and indicate if the connection is available
(
leds:iwl-phy*:radio).
A brilliant commentary on how the mindless war in Iraq has been effecting the lives of people in the USA,
In the Valley of Elah says a lot without speaking much. By the end of the movie, a father -- the same who tells his disturbed soldier-son over the phone: "it is your nerves speaking" -- hangs the US flag upside down.
A full week of high fever kept me down and even the "low hanging fruit" of life went undone. Then, another few days of blood-red eyes, thanks to some stiff antibiotics that I was on. The cause for this
recurring fever seems to be an infection of the throat and tonsils, so it looks like I might have to consider getting my tonsils removed. To some extent,
In the Valley of Elah shook me out of my moroseness. H says that Charlize Theron is a very cerebral actress and I must agree.
On a related note, I was pointed to this neat article titled
Why Do They Hate Us? in which Mohsin Hamid says that the question that US-o-American's should be asking is
Why do they love us?.

Yes Erik,
SourceForge did not do anything. But what is even more "funny" is
that changing keys over web interface does not change
~/.ssh/authorized_keys. So even if you are aware of this problem and change
keys in interface which should do it, it does not work. I just realized this
today when I read your post and wanted to check whether this file is really
world readable...
Tonight at the Halfking is a reading by the
author of
American Nerd, a book that will be high on my reading list (and who knows, maybe I will assign in my course on hackers, as you know, hacking is related to nerd culture too

GNOME has reacted and removed all blacklisted SSH keys from their
authorized_keys, which is the minimum you should do to ensure safety.For all I know, sourceforge.net has not yet done so (I didn't check if I could
have logged in with my old key, though - maybe they installed the blacklist in
the SSH server, not touching the users' keys; there is no blacklist in /etc/ssh
though). authorized_keys files are world-readable, so I can login at
sourceforge and read other users' authorized_keys. With this approach I believe
you could hack dozens of SSH accounts on Sourceforge within a few hours,
without having to employ brute-force.These keys could then be used in turn to inject backdoors and/or trojans into
other OpenSource projects (where at least one developer with write access did
use a vulnerable key).If you were affected by the Debian OpenSSL bug, please replace your SourceForge
key as soon as possible. Please verify any commits made on SourceForge until
they've taken appropriate measures to block bad keys.SourceForge and other operators of such platforms should install blacklists
NOW, and remove any vulnerable keys from their databases.
It has recently been announced that Debian had a serious bug in the OpenSSL code [1], the most visible affect of this is compromising SSH keys - but it can also affect VPN and HTTPS keys.
Erich Schubert was one of the first people to point out the true horror of the problem, only 2^15 different keys can be created [2]. It should not be difficult for an attacker to generate 2^15 host keys to try all combinations for decrypting a login session. It should also be possible to make up to 2^15 attempts to login to a session remotely if an attacker believes that an authorized key was being used - that would take less than an hour at a rate of 10 attempts per second (which is possible with modern net connections) and could be done in a day if the server was connected to the net by a modem.
John Goerzen has some insightful thoughts about the issue [3]. I recommend reading his post. One point he makes is that the person who made the mistake in question should not be lynched. One thing I think we should keep in mind is the fact that people tend to be more careful after they have made mistakes, I expect that anyone who makes a mistake in such a public way which impacts so many people will be very careful for a long time…
Steinar H. Gunderson analyses the maths in relation to DSA keys, it seems that if a DSA key is ever used with a bad RNG then it can be cracked by someone who sniffs the network [4]. It seems that it is safest to just not use DSA to avoid this risk. Another issue is that if a client supports multiple host keys (ssh version 2 can use three different key types, one for the ssh1 protocol, one for ssh2 with RSA, and one for ssh2 with DSA) then a man in the middle attack can be implemented by forcing a client to use a different key type -
see Stealth’s article in Phrack for the details [5]. So it seems that we should remove support for anything other than SSHv2 with RSA keys.
To remove such support from the ssh server edit /etc/ssh/sshd_config and make sure it has a line with “Protocol 2“, and that the only HostKey line references an RSA key. To remove it from the ssh client (the important thing) edit /etc/ssh/ssh_config and make sure that it has something like the following:
Host *
Protocol 2
HostKeyAlgorithms ssh-rsa
ForwardX11 no
ForwardX11Trusted no
You can override this for different machines. So if you have a machine that uses DSA only then it would be easy to add a section:
Host strange-machine
Protocol 2
HostKeyAlgorithms ssh-dsa
So making the default configuration of the ssh client on all machines you manage has the potential to dramatically reduce the incidence of MITM attacks from the less knowledgable users.
When skilled users who do not have root access need to change things they can always edit the file ~/.ssh/config (which has the same syntax as /etc/ssh/ssh_config) or they can use command-line options to override it. The command ssh -o “HostKeyAlgorithms ssh-dsa” user@server will force the use of DSA encryption even if the configuration file requests RSA.
Enrico Zini describes how to use ssh-keygen to get the fingerprint of the host key [6]. One thing I have learned from comments on this post is how to get a fingerprint from a known hosts file. A common situation is that machine A has a known hosts file with an entry for machine B. I want to get the right key in machine C and there is no way of directly communicating between machine A and machine C (EG they are in different locations with no network access). In that situation the command “ssh-keygen -l -f ~/.ssh/known_hosts” can be used to display all the fingerprints of hosts that you have connected to in the past, then it’s a simple matter of grepping the output.
Docunext has an interesting post about ways of mitigating such problems [7]. One thing that they suggest is using fail2ban to block IP addresses that appear to be trying to do brute-force attacks. It’s unfortunate that the version of fail2ban in Debian uses /tmp/fail2ban.sock for it’s Unix domain socket for talking to the server (the version in Unstable uses /var/run/fail2ban/fail2ban.sock). They also mention patching network drivers to add entropy to the kernel random number generator. One thing that seems interesting is the package randomsound (currently in Debian/Unstable) which takes ALSA sound input as a source of entropy, note that you don’t need to have any sound input device connected.
When considering fail2ban and similar things, it’s probably best to start by restricting the number of machines which can connect to your SSH server. Firstly if you put it on a non-default port then it’ll take some brute-force to find it. This will waste some of the attacker’s time and also make the less persistent attackers go elsewhere. One thing that I am considering is having a few unused ports configured such that any IP address which connects to them gets added to my NetFilter configuration - if you connect to such ports then you can’t connect to any other ports for a week (or until the list becomes too full). So if for example I had port N configured in such a manner and port N+100 used for ssh listening then it’s likely that someone who port-scans my server would be blocked before they even discovered the SSH server. Does anyone know of free software to do this?
The next thing to consider is which IP addresses may connect. If you were to allow all the IP addresses from all the major ISPs in your country to connect to your server then it would still be a small fraction of the IP address space. Sure attackers could use machines that they already cracked in your country to launch their attacks, but they would have to guess that you had such a defense in place, and even so it would be an inconvenience for them. You don’t necessarily need to have a perfect defense, you only need to make the effort to reward ratio be worse for attacking you than for attacking someone else. Note that I am not advocating taking a minimalist approach to security, merely noting that even a small increment in the strength of your defenses can make a significant difference to the risk you face.
Update: based on comments I’m now considering knockd to open ports on demand. The
upstream site for knockd is here [8], and
some documentation on setting it up in Debian is here [9]. The concept of knockd is that you make connections to a series of ports which act as a password for changing the firewall rules. An attacker who doesn’t know those port numbers won’t be able to connect. Of course anyone who can sniff your network will discover the ports soon enough, but I guess you can always login and change the port numbers once knockd has let you in.
Also thanks to Helmut for advice on ssh-keygen.
Share This

Let me just point out, that the consequences affect all users of SSH.
Therefore IMHO all other Linux and BSD distributions need to release a
security update to OpenSSH as well, to prevent the use of insecure (too common)
keys, because it threatens the security of their systems as well!Apparently, there are only about 2^15 different keys generated by the SSH
versions shipped with Debian for 2 years. It's really surprising that noone
noticed this earler. This is just about 32767 different keys. (For each type,
size and endianess, but that still makes this number much much much too low)
The weakness is caused by a bad random number generator in the Debian package.Hackers have already generated all these 32767 different keys, for two key
lengths and types. In a few hours, they'll also have generated all the 4096 bit
keys that could have been generated. Other key lengths are uncommon and
sometimes might even be unsupported. Most people use keys with length 1024 or
2048.So we now have about 32767 keys which are used by lots of Debian and Ubuntu
users. That's not very much. Now you have to realize how the keys are used:The key is used to log into a system without a password. Sometimes a key is
protected with a passphrase (you really should do that), but this doesn't help
here, because an unencrypted clone of the key was already generated.Sometimes (or let me even claim 'often') one such key is also used to login as
root into a server. This is equivalent to just 32767 different passwords being
used as root passwords. So with about this number of tries, an attacker might
be able to log into your server as 'root'!Now the weakness is 'distributed' by the users, it's not just a server-side
vulnerability. If your server is running e.g. RedHat, it doesn't mean it is
secure!.In fact, if your server is running Debian and you installed the
Debian security
update for openssh, it will be much more secure than the RedHat server.
Because the Debian server has a
blacklist of keys that are too common.
The other-Linux server who doesn't have this blacklist doesn't know that a
certain 'weak' key is not trustworthy.Fixing the bad key-generation is just half of the deal. "Recalling" all the
keys in use out there is the big challenge, that affects all systems using
SSH (and to a different extend, SSL). The most reliable way is if all other
distributions would release a security update as well,
which refuses to
accept the keys that were generated by vulnerable Debian systems.Let me just repeat it in other words:
Any Linux/Unix/*BSD system is vulnerable that
grants access to a
key that was generated on an affected Debian or Ubuntu system.
(Until the system has a reliable detection method of such weak keys.)
Keys are usually generated on the users workstation, so if any of your users
is or was potentially running Debian or Ubuntu ... you get the idea.Note that if you are not careful, you might lock yourself out from your server.
If you don't have or remember the password, installing the security update
might disable your login key. So if your key is bad,
make sure to generate
a new, secure key and distribute it ASAP. Also remove any vulnerable key
ASAP; remember that hackers now have a list of all possible keys and could use
that to brute-force login.P.S. Since some people still don't seem to get the consequences in full: The
bigger problem is to remove are the weak keys, not to fix the broken
library. The weak keys (especially in the form of public keys!) can live
on tons of other systems, not just on Debian and Ubuntu. This is why
TOR also released a security update and e.g.
CACert urges non-Debian
distributors to also ship and use the blacklists of known weak keys.
Also note that not all keys that can be considered compromised can be detected
this easily. If you've been using a DSA key on an affected system - even when
it was created on a different system - it is to be considered compromised.
Eric, I cann’t claim to 100% understand the situation but after glancing trough the logs of the discussions and of the patches the conclusion I came to was this - OpenSSL used supposed randomness of the uninitialized memory as an added source of entropy (interesting hack, but not an example of good coding as such). Valgring caught that problem and the Debian maintainer during a cleanup fixed it. Making such a fix can be considered a preventive step against possible attack vectors by poisoning the uninitialized memory. He took it up to upstream, they did not raise red flags, but did not quite merge the ‘clean up’ patch either. It fell through the cracks.
The problem is that in the same file, in another function all other sources of entropy were being merged into the pool of randomness using
exactly the same code line as the one code line flagged by Valgrind. The maintainer assumed that the second code line has a similar function to the first and commented that one as well. AFAIK that also did not show up in the emails to the upstream list.
So we have:
- Upstream using clever hacks that rely on uninitialized memory having some randomness to it
- Upstream using same code and same variable names to describe different things
- Upstream having no comments in the code explaining the two things above
- Maintainer slightly over-generalizing a change
- A bug slipping trough the cracks in the review processes
- Another Debian Developer discovering the bug and recognizing its significance despite all of the above
- Debian project coming out and admitting all of the above and scrambling to get fixes out to its users ASAP
I am impressed by the swift action of the people involved in fixing this. And while I think everyone can find some lesson be learned here, I think this is another good example of free software in action. And I hope that in the aftermath of this we will find ways to prevent this from happening in the future without stifling our progress.

I've read some more about this and especially had a look at some of the
source code, so I've completely revised this blog post.There is no doubt that the Debian Maintainer who added this patch screwed up,
seriously. But he's not the only one to blame:
- OpenSSL isn't valgrind-clean. It should be made, since valgrind is
a very important debugging tool; the bad patch was introduced to make OpenSSL
better in this respect due to the request by the users.
- The OpenSSL source code could be better documented in these places.
- There are two instances of this line in OpenSSL which can both generate
the 'using uninitialized data' warning. One is safe to remove (it's supposed
to fill the buffer with random data, and just uses the existing contents as
additional source of randomness), the other is not (it's used to feed
randomness coming from e.g. /dev/random into the pool).
- The Debian maintainer received the reply "if it helps with debugging, I'm
in favour of removing them" by one of the current OpenSSL devs on the
openssl-dev mailing list. Probably just referring to the 'safe one' of the two
locations where this occurs, though?
- Nobody noticed the severity of this change for more than 2 years. We're
all to blame.
I'm really sick of hearing comments like "Still, whoever took out the entire
initialization should not be trusted with security intensive code." (guest
comment on LWN). Yes, he screwed up there. But you bet he's going to be a lot
more careful with any change in the future: he has learned his lesson. Better
than having someone else screw up in a similar way again. And actually he
didn't do this change half as easy-hearted as many people suggest, if you look
at the discussions on the bug report and mailing lists. He was trying to fix
the valgrind bug, and he talked to several people on how to do it properly.The best way the bug could have been avoided was if the OpenSSL upstream
developers had cared more about the valgrind issue themselves. (E.g. by
teaching valgrind to ignore the issue, documenting in the source code why this
is intentional and not an issue, ...)P.S. in the previous version of this blog post I had asked why OpenSSL
apparently relies on uninitialized data for security. It doesn't; the same
lines exist in two places, and it's the other change that caused the problems.
One place will 'usually' generate the warning, and it's not important (that's
the place where you could just remove the line). The other place will generate
the same warning when someone passes uninitialized data into the RNG. As long
as the RNG is sufficiently seeded with other random data that isn't much of a
problem. So if you take a buffer of 1024 bytes and fill it with 1000 bytes of
good random data (e.g. from a hardware randomness source) and feed the whole
buffer to the RNG, it will be seeded quite well, but the warning will be
generated. The 24 uninitizialized bytes won't take the entropy away.(This blog does intentionally not have a comment function. Sorry.)
A little off-topic exercise conducted in the "eye of the storm", when
Ilenia and Helen were still in the hospital:
A
post on Seth Robert's blog brings up the idea that many Chinese restaurants were opened as a way to go into business without competing with native male workers. The post made the rounds of several
other online journals.
That was the push I needed to get up and go collect a few statistics of my own, regarding an idea I've been kicking around for a while. My theory is that the number of restaurants of a given type, divided by the number of immigrants from that country might be an interesting way of guaging the popularity of the cuisine in question.
In order to simplify things just a bit, I actually used data from Italy, for the following reasons:
- Most immigration to Italy is pretty recent, so it's not necessary to account for the length of time different immigrant groups have been present, and the effects that may have had on the diffusion of a given cuisine.
- Immigration statistics were readily available: http://demo.istat.it/str2006/index.html
- Italian the language almost completely corresponds to Italy the country (outside of a chunk of Switzerland, San Marino, and the Vatican), something that makes things that much easier.
- I speak Italian, so it was easy to find out all the information I needed
Unfortunately, finding out the number of restaurants of various types is far from an exact measurement, and since this is a quick fun project, I just went for Yahoo search (they deserve credit for keeping their search API open when Google's was closed) results on terms like "Ristorante Turco" (Turkish), "Ristorante Messicano" (Mexican), and so on. This was the most expedient means of gathering information quickly, but this approach does present a number of obvious problems, listed here in the hope that someone without diapers to change and a business to run might come up with some good answers:
- Some hits likely come from people talking about a restaurant that happens to be in a country, like "ristorante americano". "Nel tipico ristorante americano, ...." or in other words, "In a typical American restaurant", rather than an American-style restaurant in Italy, which is what we were looking for in the first place. This is probably also true of countries close to Italy, where people go on vacation and thus have occasion to write about their experiences in a "ristorante tedesco" (German), rather than going to eat in a German restaurant in Italy. Perhaps the search query could be improved in an attempt to eliminate this sort of false positive.
- Some restaurants probably are not known as, nor brand themselves with a country name, but instead utilize titles like "Middle Eastern", "Arab", "South American", "African", or others that do not correspond with any one country in particular. It would be possible to group countries together with other adjectives, and get statistics for these clusters as well.
- Measuring hits is measuring what people are talking about, rather than simply restaurants that exist, so if restaurants from a certain country are more talked about than others, that would muddy the statistics a bit. However, it seems reasonable that people would mostly talk about restaurants in proportion to their popularity, and I don't see a particular reason why there would be more talk of Vietnamese restaurants, say, than Thai restaurants, compared to the actual numbers.
That said, for a quick project, this approach seemed to work out ok, and the results appear credible. Obviously, the results also reflect people discussing certain cuisines, rather than an actual number of restaurants, but since it does reflect
interest, we'll use the number in any case.
Since the number of restaurants/interest in a type of restaurant was clearly not correlated directly with the number of immigrants, other factors must come into play. For instance, "ristorante giapponese" turns up 125,000 hits, but the stats say only 6873 Japanese nationals live in Italy. As above, hits don't mean actual restaurants, but clearly Japanese cuisine is not being popularized through immigration.
Here's my guess: these statistics show, to some degree, what people in the host country actually like to eat. Food that tastes good means more restaurants. Things that aren't that popular mean few restaurants, even if there are many immigrants. To pick on one country, there are many Philippino immigrants in Italy, but very few search hits - and anecdotally, I've never seen a Philippino restaurant in Italy either, whereas even smaller towns like Padova have Chinese, Mexican (well, it's called that, even if it's a shadow of the real thing), Japanese, various Arab and middle eastern restaurants, and even a few less common things like Eritrean. And I know that many native and foreign restaurants employ Philippino cooks.
Below is the chart I whipped up showing the number of Yahoo hits per immigrant. The Italian names shouldn't be too hard to figure out. A few tricky ones: Giordano-Jordanian, Giamaicano-Jamaican, Spagnolo-Spanish. If you're interested in numbers or source code, contact me.
Imagine, for a moment, that you are a young man in your 20s, trying to make your way in the world. You are married and have a young daughter, just old enough to start to talk. You live in a run-down neighborhood, long passed-over by any economic advances. What schools you had access to barely taught anyone much. The few jobs you can reach have fierce competition, even though the pay is low. You worry about your health, but even more about that of your wife and child. Finding food is a constant concern. Although you are still healthy now, and you are willing and able to be a hard worker, there is simply nobody hiring people in your area. Not to mention the gunfights that erupt between gangs or drug dealers. Oh, and did I mention that your wife is 4 months pregnant?
Your top priority is to do your best to keep your family safe. You're afraid that your whole family will starve, or be killed by an errant bullet. You've tried for a long time -- it seems like forever -- to do everything you can think of, with no success. Finally, you decide that the only way you can have the hope for a better life is to move somewhere where the economy is better, and the drug dealers are fewer.
But moving hundreds or thousands of miles away is no easy task when you have no money to move. Somehow, with some luck, ingenuity, and tenacity, you have finally managed to find a way. You have no job offer in your new town, but conditions are so bleak at home that you just can't risk staying there. So the three of you move 1500 miles away.
You arrive with no money, no apartment, and don't know anybody. But you're a hard worker, and have talked yourself into a job. It pays what passes for minimum wage in your new home, but it's a fortune compared to what you made before. It's backbreaking work, and you work long hours. But soon you can afford a cramped apartment, and keep your refrigerator stocked with food. What a luxury!
Pretty soon your new baby son is born. You can afford to feed him, your daughter, your wife, and yourself, every day. When you're really lucky, you even have some money left over to send to your brother back home, who is still struggling to make ends meet there. You seem to have climbed the first rung on the American Dream ladder.
Years pass. Your old home becomes a memory; your daily life revolves around new struggles now. Your oldest child is in school, your wife finds part-time work sometimes too, cleaning houses for rich people. You've been laid off several times, your income isn't guaranteed, and the others in your new home don't take kindly to strangers -- and they still think you're one. But it's better than flying bullets and never knowing where your next meal will come from.
Then one day, while you are at work, federal agents show up. You are arrested and taken to jail. Agents show up at home, too, arresting your wife. It turns out that they realized you entered the country illegally from Ecuador those years ago. Meanwhile, your wife wonders what will happen to your son that was playing in a neighbor's yard while she was arrested, or to your daugther that was at school.
After months in jail, with little contact with each other, and poor medical care, the government decides to deport you to Mexico. Why Mexico? Well, it's cheaper, and there's no documentation showing where you came from. Apparently you "look" Mexican, and they don't believe your story.
After months in jail with no income, you are once again bankrupt. A government bus takes you to Mexico and drops you down someplace there, with your wife and your oldest child. Your younger child was born in the United States, and so is an American citizen and can't be deported. But the government isn't going to give him a free ride on a prison bus (and Mexico wouldn't take him anyway, since everyone knows he's American). You have no idea where he is. You have no idea how you're going to find food in Mexico, no idea how to find your son, no idea where to find refuge from the ever more prevalent drug dealers. Meanwhile, the Americans think you're scum because you wanted to protect your family, and it's going to be much more difficult to get back in to try to reunite your family.
This story is based on true events.
It's truly easy to demonize illegal immigrants, isn't it? Easy to round them up by the thousands, easy to build a bigger fence, easy to lock them away.
Sometimes it seems like this nation built on freedom, supposedly on Christian values, has lost sight of compassion for the lowly. In this country, we would throw in jail parents that didn't do everything humanly possible to find food for their children. We also throw in jail parents that grew up in other countries that are just doing the same.
How sad that we have people going on TV, suggesting we round up millions of Americans that happened to come here illegally, breaking up millions of families, creating an immense foster child problem, a human tragedy on a mass scale. How incredible that some of these people on TV wear the title "senator" or "candidate for president". How stupid do they think we are, suggesting that a poor South American family would somehow be able to navigate the arcane American immigration system and wait the 15 years to get here legally, if they manage to come up with all the necessary money somehow?
Politicians have been pushing our buttons for too long. We aren't a nation of selfish hoarders; we came together through tough times, survived the Depression, put in place the Berlin Airlift that saved countless lives in West Berlin. But the thought of someone with darkish skin coming to this country and building highways is enough to send some people looking for a rifle.
I hope that we will someday do better.

From Berne, the Swiss capital, hails a band I really like by the
name of
Z ri West. The name itself is a pun: the folks
from Berne love their city (rightfully so!) and join the rest of
Switzerland in looking down a bit upon Zurich, which is
metropolitan and hip and has often been considered the real
capital of Switzerland. Located west of Zurich, Berne is thus Z ri
West , and by using this name, the Bernese band ridicules the
Zurich folks a bit. Well, that s my interpretation anyway and I
make no claim over its correctness, and I
surely don t
want to get mixed up in local politics!
Where was I? Oh yeah:
Z ri West
(
Flash-using homepage] make rock
music, and they re good with their instruments. The result are
groovy and melodic sounds, which
everyone in Switzerland
knows.
What I find particularly amazing about this band are their
lyrics. Kuno, the singer, sings almost all songs in the Bernese
dialect, which I ve learnt to the point of understanding it, though
I can t speak it yet. It s a beautiful dialect, and Kuno displays
magnificent control over it.
When I say beautiful, I do not only mean its sound, but also the
way it allows one to express thoughts, situations, feelings, etc..
It s very lyrical, often poetic, but always very much to the point.
It sounds natural, yet not at all blunt.
In addition,
Z ri West s songs display no haste. Again,
this is a bit ironic since the Bernese are
said to be
slow, but what I mean is that the band is unafraid to take their
time to recount what they have to say. Forget 4/4 beats and
verse-chorus-bridge-verse-chorus, it s a lot more as if the band
shaped the music around the story they re telling.
(Of course I have no reason to claim that the Bernese are
actually slow. According to my dear (Bernese) friend Isabel, they
are just considerate to give the rest of the world enough time to
parse and understand their sophisticated verbal and non-verbal
output).
I won t be able to convey all of the lyrical beauties of their
music to you, but what I want to do is translate my favourite of
their songs, which is based on a story by
Peter Bichsel
and it s called America does not exist .
Keep in mind that their version rhymes, which I won t be able to
achieve in the translation. I ll try to keep the flow though.
Imagine a jazzy, slightly Latin groove to it. And it s sung, not
spoken.
This is the story of Colombo
not the one from the TV show
but of a guy who once lived in Spain
and who was a bit of a freak
capable of nothing
and always telling weird stuff
without giving it much thought
until one day someone told him: you ve got to learn a trade
you have to live your life
nobody takes you for real like this
and most just laugh about you
what are the options
he asked - what do you do
I m an explorer - the other guy said
I sail my ship out to the sea
through the various parts of the globe
that sounds very interesting - I d like that too
and so Colombo said - I ll become a famous explorer
And he told it to everyone
and everyone just started laughing
and he said: just wait and see
and the people didn t believe him
and he got sulky
and the people almost died laughing
and he left the town
and hid somewhere in the forest
where he remained for 13 weeks - 13 weeks in the shrubs
and the people searched and felt ashamed
and noone knew where he might be
and noone laughed anymore when suddenly on a wonderful morning he
was back
then everyone rejoiced
and when he said: i told you so
I discovered a new land
it s out there somewhere in the sea
then everyone listened
and was kind to him
and tried hard to make some dreadfully serious faces
The explorer from the first verse
Amerigo Vespucci is his name
just happened to be in town
and said: good for you, but I won t believe you until I see it
myself
and went off to set sail immediately
and after exactly 13 weeks and a day and a night he was finally
back
and the people all went down to the port
and Colombo was nervous, almost ill because he had lied
and he was horribly frightened
and pale
and looked noone in the eyes
But Vespucci smiled and stood in front of the people
and blinked at Colombo and told that he had found it
and Colombo was so glad that he didn t tell on him
and called out Amerigo Amerigo and the people joined in
And Colombo became famous and until the end of his days
he was never actually sure and never dared to ask
whether America really existed
over time, more people went there and when they came back
they told stories and they tell the same stories until today
and noone knows anything more than he knew before
and everyone saw exactly the same
and that sounds very dodgy
and tastes a bit like screenplay and Hollywood
America doesn t exist
they never found it
America doesn t exist
it s all just a tale
America doesn t exist
it s all lies and made up
America doesn t exist
America is just a rumour
NP:
Z ri West:
Z ri West

Sarah and I are doing the Tour de Cure again this year, like we
did in
2006, again as part of the
Google
team.
This time around we're doing the 50 kilometre ride, since the 25 kilometre
one was a bit of a cakewalk. That said, the fitness levels of both of us are
pretty abominable at the moment, so it'll be interesting.
So this is the obligatory grovel for donations. If you'd like to make one,
you can do it at
http://tour.diabetes.org/goto/andrew_pollock
Here's what I'm not spamming people with:
I recently accepted the challenge of cycling in the American Diabetes
Association's Tour de Cure fund-raising event. The Tour de Cure is a series
of cycling events held in over 80 cities nationwide. The Tour is a ride, not
a race; it features different route lengths from a leisurely 10-mile course
to a demanding 100-mile journey. I have joined thousands of others to pedal
in support of the Association's mission: to prevent and cure diabetes and to
improve the lives of all people affected by diabetes.
I am asking you to help by supporting my fund-raising efforts with a
donation. Your tax-deductible gift will make a difference in the lives of
more than 20 million Americans who suffer from diabetes and another 54
million people in the United States with pre-diabetes.
Any amount, great or small, helps in the fight against this deadly disease.
I greatly appreciate your support and will keep you posted on my progress.
If you want to do even more to help, please consider joining me in this
great event. Our efforts will help set the pace in the fight against
diabetes.
More information on the American Diabetes Association, its programs and
diabetes in general can be found at the Association's Web site:
www.diabetes.org.
For more information on Tour de Cure, please visit www.diabetes.org/tour.
Surveillance, massive patent litigation, and toxic trails are just a few of the atrocities that are part and parcel of the global giant Monsanto. They do not just produce a lot of the worlds GE crops but some MAJOR FUD with real muscle as this
disturbing in-depth article demonstrates . Whether it is their shadowy, relentless fight against American farmers to “protect” their patents or their fight to scare dairy farmers from labeling their milk BST free, they deploy an astonishing range of legal and extra-legal tactics to make sure they stay on top.
Below is a smattering of some of their creepiest tactics, which kinda make the RIAA look angelic in comparison.
“To gather leads, the company maintains an 800 number and encourages farmers to inform on other farmers they think may be engaging in seed piracy. Once Pilot Grove had been targeted, Monsanto sent private investigators into the area. Over a period of months, Monsanto s investigators surreptitiously followed the co-op s employees and customers and videotaped them in fields and going about other activities. At least 17 such surveillance videos were made, according to court records
“Studies by health authorities consistently found elevated levels of PCBs in houses, yards, streams, fields, fish, and other wildlife and in people. In 2003, Monsanto and Solutia entered into a consent decree with the E.P.A. to clean up Anniston. Scores of houses and small businesses were to be razed, tons of contaminated soil dug up and carted off, and streambeds scooped of toxic residue. The cleanup is under way, and it will take years, but some doubt it will ever be completed the job is massive. To settle residents claims, Monsanto has also paid $550 million to 21,000 Anniston residents exposed to PCBs, but many of them continue to live with PCBs in their bodies. Once PCB is absorbed into human tissue, there it forever remains.”
The company contends that advertising by Kleinpeter and other dairies touting their no rBGH milk reflects adversely on Monsanto s product. In a letter to the Federal Trade Commission in February 2007, Monsanto said that, notwithstanding the overwhelming evidence that there is no difference in the milk from cows treated with its product, milk processors persist in claiming on their labels and in advertisements that the use of rBST is somehow harmful, either to cows or to the people who consume milk from rBST-supplemented cows.
Monsanto called on the commission to investigate what it called the deceptive advertising and labeling practices of milk processors such as Kleinpeter, accusing them of misleading consumers by falsely claiming that there are health and safety risks associated with milk from rBST-supplemented cows.