Archive for the tag 'sysadmin'

Media Player (Dvico 3100) + Netgear WGT634U = Cheap Wifi Media Player

This year, for my birthday I have a very nice Media Player M3100. This stuff is really usefull, no need to use a noisy computer to watch recorded Divx. It’s pretty kool to watch films from beds you know..
The only issue: I need to take it back to my computer when I want to upload [...]

admin April 5th, 2007

Arpwatch on WRT54G

While running my access point in public mode, i want to know when people log in. This can be a good way to find intruders too, but not my purpose.
I decided to run arpwatch on my linksys access point, but this is not so easy ..

1) Mail
First you need to have sendmail on the WRT. [...]

admin May 12th, 2005

Tcpdump rules !

Tcpdump is clearly one of my favorite tool. Here a little example to filter the traffic of my OSPF router.
tcpdump -i eth0 ip[9] == 89
And the result:
12:43:48.219432 IP p2b.soif.fr > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), length: 48
12:43:48.560817 IP wrt.soif.fr > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), length: 48
Wonderfull no ? :)

admin February 6th, 2005

Full featured SMTP in Python ?

In a recent post Ian explain he get a lot of trouble w/ the configuration of his mail system. I ran into the same issues a little time ago. Now i’m using postfix and courier-imap and maildrop to dispatch the mail between. This setup is really easy because Postfix just accept incomming mail, and maildrop [...]

admin September 1st, 2004

Blog post / Mutt IMAP Cache Vs Courier-Cone ?

The thing every blogger likes: Comments ? No ? Really ?
Anyways, i just added a RSS comment Feed to this blog. (No I won’t put the url somewhere since NewsAggregators eat a bunch of bandwith only to see nobody post, i will only give it to friends .. :)
But, this is not the main stuff, [...]

admin July 31st, 2004

SpamBayes server compliant w/ spamassassin

I’m using spambayes for a long time now. But when i decide to install it for all the curent users of my setup (w/ some virtual domains..), i just discover that spambayes don’t have a system-wide deamon like spamassasin (spamd).
So the first try:

install spamassassin :) .. This mail filtering is just a bulshit ! Even [...]

admin April 24th, 2004

Mail Archives / mdirarchive.py

Since i totally switched my mail system to imap, i’m looking for a way to keep the folders ’small as possible’. I talked w/ Phil about this, and he (http://base-art.net/wk/Article/3.html) hacked a existing python script. The main difference between his hack and the orginal one, is that now the folder are archived in a ‘normal’ [...]

admin April 19th, 2004

Securing courier-imap

I spent part of the day to install a virtual mail server, and i discover that there is a really simple way to secure courier-imap. By defaut when you use this kind of server the auth is made against the standard pam module. This is really simple, but what happend if someone is able to [...]

admin February 29th, 2004

Enjoy Mutt

I get it! I managed to use mutt w/ my imap folders, with hooks and everything fine. This is not really hard, but :

libsas-modules break the SSL certification (without any error message)
mutt really lack of header cache for imap (there is a patch for Maildir but no for imap)

### IMAP ########################################
set imap_user=”soif”
set spoolfile=imaps://mail.larsen-b.com/
set folder=imaps://mail.larsen-b.com/INBOX
set record=imaps://mail.larsen-b.com/INBOX.Sent
mailboxes [...]

admin February 18th, 2004

Pam_USB

Pam_USB is a pam_module that allow you to log in w/ a usb-key (or a cdrom/ floppy .. any removable device w/ a serial number or a free space to hold DSA keys.)
This is pretty kool since, this kind of stuff can be usefull. I think about:

security of course ( using Additional directive )
or usefull [...]

admin December 19th, 2003