Sec, blogmal!

Categories:

Everything

Februar '10

MoDiMiDoFrSaSo
1234567
891011121314
15161718192021
22232425262728

Archive:

Thu, 12 Nov 2009

Wikimedia mini-fail

Wie sagt man so schön? Traue keiner Statistik die du nicht selber gefälscht hast.

Aus dem Tätigkeitsbericht 2008 der Wikimedia Deutschland. (Ja, genau die, die Kritik nicht vertragen.

Fällt euch was auf?

Neueintritte Wikimedia Deutschland 2004 bis 2008:
Bild: Neueintritte Wikimedia Deutschland

So macht man sich elegant mal eben doppelt so groß :-)

– Sec


posted at: 12:32 | Category: /soapbox | permanent link to this entry | 1 comment (trackback)

Mon, 02 Nov 2009

Yet Another xkcd-titles greasemonkey script update

The Greasemonkey-script to insert xkcds image title tags broke yet again. This time Randall Munroe added a link around the image which my script didn't expect. Seeing that the last breakage is over a year in the past, I think this is a good track record :-)

Without much further ado, here is the fixed version: xkcd-titles.v4.
– I hope it works for you :)

– Sec


posted at: 13:37 | Category: /tidbits | permanent link to this entry | 0 comments (trackback)

Sat, 31 Oct 2009

Firefox-Addons und die Startreihenfolge

(Oder auch: Hilfe, mein Echofon ist nicht mehr rechts :-)

Ich bin ja seit längerem Fan von echofon (also, damals als es noch Twitterfox hieß). Beim letzten Update/Neustart von Firefox war das Icon von Echofon nicht mehr rechts unten in der Ecke der Statuszeile sondern deutlich weiter links. Verdrängt von lauter anderen Extension-Icons (NoScript, Operator, HTML Validator, Greasemonkey, Firebug, FoxyProxy, CookieSafe, Ghostery, RefControl, Adblock Plus, NoSquint, Read It Later)

(Wann gründet eigentlich mal jemand die Selbsthilfegruppe anonymer Extension-Süchtiger?)

Naja, zumindest war das Icon nicht mehr rechts, was ich ja noch verschmerzen könnte, aber auch das Popup-Window war über dem Icon, und somit Mitten in der Seite.

Nun, was tut der findige Geek? Nachdem man die Position nicht konfigurieren kann, muss sie wohl an der Startreihenfolge der Add-Ons liegen. Also flugs mal Echofon ans ende der Liste gepackt, und siehe da, beim nächsten restart ist Echofon wieder brav am rechten Rand. Yay!

Welche Liste, fragt ihr? %PROFILEDIR%/extensions.ini.
Die enthält lauter Zeilen der Form: Extension%nummer%=%EXTENSIONPFAD%

Nun einfach Echofon mit dem letzten Platz der Liste vertauschen. Nicht vergessen die Nummer am Anfang der Zeile anzupassen, und fertig.

Echofon ist übrigens die Extension die mit "twitternotifier@naan.net" aufhört.

– Sec


posted at: 17:19 | Category: /tidbits | permanent link to this entry | 1 comment (trackback)

Wed, 07 Oct 2009

Viele bunte Passwörter

Grade geisterte durch die Medien das eine Liste mit 10000 hotmail Passwörtern aufgetaucht sei. Das hat mich als Sysadmin natürlich gleich interessiert.

10 Minuten, und einen Bittorrent-Client später hatte ich dann auch ein File:

karoshi:~>cat hotmail.csv|wc -l
11017

Nun aber die Preisfrage weshalb mich das File interessiert hatte:

Was ist das häufigste Passwort in der Liste?

Mehr nach dem Weiterklick...
posted at: 19:26 | Category: /tidbits | permanent link to this entry | 1 comment (trackback)

Thu, 17 Sep 2009

Hilfe, ich seh' nix mehr!

Unter Ubuntu gibt es mittlerweile eine sogenannte Bildschirmlupe die man hervorragend aus Versehen aktivieren kann. In Wirklichkeit ist das aber keine Lupe, denn es wird einfach nur der gesamte Bildschirm um ca. Faktor 4 vergrößert. Verstellen kann man die Vergrößerung dann per Windows+Mausrad.

Wer das loswerden will, dem sei hier ein:

sudo gconftool-2 -u /desktop/gnome/applications/at/screen_magnifier_enabled

und/oder ein

killall magnifier

empfohlen.

– Sec


posted at: 14:19 | Category: /tidbits | permanent link to this entry | 1 comment (trackback)

Wed, 16 Sep 2009

Piraten in München

Heute fast direkt vor der Arbeit auf dem Weg zum Mittagessen gesehen:

Klarmachen zum Ändern!
Klarmachen zum Ändern!
(48°7'44.64"N,11°35'38.61"E)

Yay! für Piratenwerbung. Ich hoffe sie hilft.
Wählen darf ich hier ja leider nicht.

– Sec


posted at: 23:48 | Category: /moblog | permanent link to this entry | 0 comments (trackback)

Fri, 07 Aug 2009

Eine Regenbogen-Welt ist das hier

Gerade auf dem Weg zum Mittagessen auf dem Boden entdeckt:

Graffiti
(Graffiti, 48°7'44.76"N,11°35'37.70"E)

Bizarr. Erinnert mich spontan irgendwie an Planet Unicorn. :-)

– Sec


posted at: 16:09 | Category: /moblog | permanent link to this entry | 1 comment (trackback)

Wed, 22 Jul 2009

Was dreidimensionales drucken

Der Münchner CCC hat seit einer Weile auch einen funktionsfähigen RepRap, sprich einen 3D-Drucker rumstehen, und letzte Woche hatte ich eine Idee was ich mal drucken könnte.

Bei einem meiner Geduldspiele (Hara's diabolical cube) fehlte mir ein Stein, der wohl im Laufe der Jahre mal verloren gegangen ist. Ich habe dann mit dem hervorragenden Programm Burr Tools (zu dem ich auch mal was schreiben wollte %-) ein STL-File des fehlenden Steins erzeugt.

Mit skeinforge kann man dann den für den RepRap gcode erzeugen, und das File auf SD-Card zum ausdrucken bringen.

Ca. 10 Minuten später kann man dann das 2g schwere Stück in der Hand halten:

Bild: einzelner Stein

Und es passt (bis auf die Farbe) auch wunderbar in das Puzzle:

Bild: aufgeräumtes Puzzle

posted at: 01:21 | Category: /misc | permanent link to this entry | 1 comment (trackback)

Wed, 01 Jul 2009

Filmfest München 2009

Das Filmfest hat dieses Jahr irgendwie schneller angefangen als ich schauen konnte, drum ist auch dieses Posting leicht verspätet. Dieses Jahr trete ich etwas kürzer und habe mir nur für 17 Filme Karten besorgt. Wenn jemand in einen gleichen Film geht kann er sich ja noch melden ;-)

Samstag, 27.06.:
22:15 MaxX 1 Paper Soldier
Sonntag, 28.06.:
15:00 Forum 2 High-Rise
19:30 Forum 1 The Girlfriend Experience
22:30 MaxX 3 Das Geheimnis der Geisha
Montag, 29.06.:
19:30 MaxX 2 Moon
22:00 Forum 1 Nighmare Detective 2
Dienstag, 30.06.:
17:00 MaxX 5 Unter Verdacht: Tausend Augen
19:00 MaxX 4 Humpday
21:30 Rio 1 The Sky Crawlers
Mittwoch, 01.07.:
22:30 MaxX 6 Schottentor
Donnerstag, 02.07.:
19:45 MaxX 1 Fish Tank
22:30 MaxX 6 Know your Mushrooms
Freitag, 03.07.:
17:00 MaxX 2 $ 5 a day
22:00 Forum 1 LaMB
24:00 Rio 1 Keep Surfing
Samstag, 04.07.:
17:00 CoS Achilles and the Tortoise
22:15 MaxX 5 This is not a Robbery

posted at: 00:22 | Category: /misc | permanent link to this entry | 0 comments (trackback)

Fri, 26 Jun 2009

Bald ist Filmfest

Am Wochenende fängt wieder das allseits beliebte Münchner Filmfest an. Und um euch alle schonmal schön neidisch zu machen, seht her was ich dieses Jahr bekommen habe:

2 Freikarten

Ja, es lohnt sich tatsächlich beim Gewinnspiel mitzumachen :-)

– Sec


posted at: 11:54 | Category: /misc | permanent link to this entry | 0 comments (trackback)

Wed, 17 Jun 2009

Bookcrossing jetzt auch in München

Gerade beim Weg in die S-Bahn gesehen:

Einsames Buch
(Einsames Buch, 48°8'03.42"N,11°34'56.99"E)

... jetzt wenn es noch ein interessanter Titel gewesen wäre.

– Sec


posted at: 10:10 | Category: /moblog | permanent link to this entry | 0 comments (trackback)

Mon, 25 May 2009

Heute ist Handtuchtag!
Handtuch beim Mittagessen
(Handtuch beim Mittagessen, 48°7'42.86"N,11°35'52.03"E)

Hoffe, ihr habt es nicht vergessen, und führt es brav aus.

– Sec


posted at: 13:28 | Category: /moblog | permanent link to this entry | 0 comments (trackback)

Sun, 15 Mar 2009

Xorg 7.4, hald and a German keyboard

Just now I tried to update the (sadly neglected) FreeBSD installation on my Laptop. One of the bigger changes was the upgrade to Xorg 7.4 which introduces hald. Hald, for those who don't know, is the Hardware Abstraction Layer Daemon, a linuxy invention which spreads it tentacles throughout your system to fix problems FreeBSD didn't yet have – But I digress.

After starting the freshly updated X server you will be in for a treat. It starts all right, but nothing will work, neither keyboard nor mouse. Not even Ctrl+Alt+Backspace.

Ok. Ctrl+Alt+F1 works. So get back to the console and kill the X server.

The problem is, Xorg now tries to use hald by default and if it isn't running, you loose.

The quick fix is to add the following to your xorg.conf:

 Section ServerFlags
Option AutoAddDevices off
EndSection

But if you want to do it the new way...
– Sec


posted at: 23:23 | Category: /tidbits | permanent link to this entry | 0 comments (trackback)

Thu, 12 Mar 2009

Flashblock on sevenload

Just now I noticed that with flashblock enabled, I can't view any videos on the sevenload.com web page.

Some debugging later I found out that they have a tag in their CSS which explicitly sets that very <div> that flashblock internally creates to visibility: hidden;.

I am unsure whether this is just some unlucky circumstance or an explicit attempt to annoy users of the flashblock extension. Nonetheless, this needs to be fixed.

So the obvious thing (after filing a quick bug report with the flashblock people) was to fix that problem. Greasemonkey to the rescue!

Have fun with the resulting small flashblock-fix userscript.

– Sec

P.S.: (15.3.09) the new unstable version of flashblock already contains a fix for that problem. Hooray for quick reaction time.


posted at: 01:13 | Category: /tidbits | permanent link to this entry | 0 comments (trackback)

Tue, 10 Feb 2009

The case of the unknown socket.

A few days ago knarf noticed something strange on one of his boxes:

netstat showed an open socket, but both sockstat or lsof didn't list it at all.

A quick test with telnet confirmed that the port was indeed open.

The port number did not ring a bell - although it was below 1024 (so it was a privileged port) - it was not listed in /etc/services.

Trying to find out where that socket came from we discussed a few ideas - starting with the obvious: A rootkit. It would be unlikely that both sockstat and lsof would be patched to skip that socket and netstat would've been forgotten, but it was still an option.

The second idea was, that lsof/sockstat didn't show anything, because there was no process there. – As the socket did react to connection attempts, this meant that the kernel had to be involved.

Checking the system include headers, the struct socket was quickly located and contained an interesting looking field named so_upcall.

To look at the socket in question, we first need to find it in memory. The easiest way is to get netstat -A. This command gives us the address of the tcp control block (tcpcb) for tcp sockets or the address of the internet protocol control block (inpcb) for udp sockets:

netstat -Aan | grep ' \*\.portno .* LISTEN'

The tcpcb structure contains a pointer to the inpcb structure which in turn has a pointer to the stuct socket which we're currently interested in.

So, lets fire up kgdb and look at the so_upcall element:

p ((struct tcpcb*)0xc1a6bde0)->t_inpcb->inp_socket->so_upcall (for tcp)
p ((struct inpcb*)0xc1a6bde0)->inp_socket->so_upcall (for udp)

A quick test on the ssh socket returned:

$1 = (void (*)(struct socket *, void *, int)) 0

Which is the expected result, as there is an actual process listening, and no upcall necessary.

Our mysterious socket returned:

$2 = (void (*)(struct socket *, void *, int)) 0xc0974250 <svc_vc_soupcall>

So now we can be sure that it is the kernel listening here.

Another quick search for the svc_vc_soupcall function returns a hit in rpc/svc_vc.c pointing us to the source of the socket: The sunrpc subsystem.

And 'lo and behold, a call of rpcinfo listed the strange socket as belonging to nlockmgr, the locking manager for nfs.

Case closed.

- Sec


posted at: 10:08 | Category: /tidbits | permanent link to this entry | 0 comments (trackback)
<< older

powered by blosxom
in 0.00 s