Archive for September, 2008

Udev and its traps

Wednesday, September 24th, 2008

I’ve got 3 network interfaces and I wanted them to have consistent names across reboots. I read somewhere that this can be achieved with udev by adding a small script

angband:/home/leszek# cat /etc/udev/netinterfaces.rules
KERNEL==”eth*”,SYSFS{address}==”00:0E:2E:57:22:23″,NAME=”eth0″
KERNEL==”eth*”,SYSFS{address}==”00:50:BA:01:93:3F”,NAME=”eth1″
KERNEL==”eth*”,SYSFS{address}==”00:13:D4:EF:4B:EC”,NAME=”eth2″

and a link to it

angband:/etc/udev/rules.d# ls -l /etc/udev/rules.d/ | grep netinterfaces
lrwxrwxrwx 1 root root 22 2006-03-04 23:00 010_netinterfaces.rules -> ../netinterfaces.rules

… turns out the above is not entirely correct.

(more…)

SMTP via a SSH tunnel

Wednesday, September 17th, 2008

Suppose you have an email account and a shell account on a Unix server. Furthermore, suppose that you yourself use a laptop and download your mail from the server by POP3 or IMAP, and send it via SMTP using the server as a smarthost. Now imagine that for some reason ( your dynamic IP, or your geographic location ) SMTP access is denied. What can you do?

(more…)

Fun with Intel 4965 wireless + kismet +aircrack-ng

Wednesday, September 17th, 2008

I thought I’d share with you how the latest iwl4965 wireless drivers are doing w/ respect to kismet, monitor mode, packet injection, cracking WEP, etc

(more…)