Postscreen in Werking

Vanaf v2.8 is postscreen beschikbaar, de nieuwe zombie blocker tool van postfix in de strijd tegen spam. Postscreen houdt zich bezig met mail zombies en botnets zodat de echte mail processen zich kunnen bezighouden met waar ze voor bedoeld zijn, namelijk met het mail proces!

Postscreen kan in het kort gezegd een aantal checks doen vóór de 220 SMTP Greeting en een aantal NA de Greeting. De checks vóór de Greeting kunnen zelfs live overhandigd worden aan het postfix SMTP proces. De tests NA de Greeting (mits passed) ketst hij af met een 4XX status, de afgeketste server kan dan onmiddelijk weer contact maken om mail af te leveren. Read the rest of this entry »

2012 – Is Here

Enkele fotos en videos van Erasmusbrug Rotterdam tijdens nieuwjaar 2011-2012.
Read the rest of this entry »

PostgreSQL Autobackup and Autoremove Script

Here’s a little script I wrote to automate PostgreSQL database backups. The nice thing about this script is that it also deletes old backups after some (configurable) time. That way it prevents your hard disk getting full with old backups and no need to delete them manually.

Output format will be: “<databasename><Year-Month-Day.Hour:Minute>.pgsql
Example backup file “pgdatabase-2011-09-18.15:10.pgsql

pg_backup.sh Read the rest of this entry »

Jail update with freebsd-update

Ezjail is really a great tool for managing your FreeBSD jails. V3.0 introduced a nice feature to update your base jail using binary updates. This means you can update your jails invoking the freebsd-update utility. Assuming you allready installed and configured your jails with the ezjail-admin tool.

First update host with freebsd-update
# freebsd-update fetch
# freebsd-update install

Use option -u to update base jail with freebsd-update
# ezjail-admin update -u

You will see something like this:
Read the rest of this entry »

arp moved from to on bge0

Seeing annoying messages like this filling up your logs ?
+arp: 192.168.x.x moved from 00:0c:29:3d:xx:xx to 00:0c:29:3d:xx:xx on bge0
+arp: 192.168.x.x moved from 00:0c:29:3d:xx:xx to 00:0c:29:3d:xx:xx on bge0
+arp: 192.168.x.x moved from 00:0c:29:3d:xx:xx to 00:0c:29:3d:xx:xx on bge0
+arp: 192.168.x.x moved from 00:0c:29:3d:xx:xx to 00:0c:29:3d:xx:xx on bge0

So howto get rid of this annoying messages ? Read the rest of this entry »

Netatalk fix after Ubuntu upgrade

Apples Time Machine is really a wonderfull piece of software for automating the backup process of my Macbook Pro. Networked Time Machine backup requires an AFP Volume. So I installed Netatalk on my Ubuntu desktop (which have tons of GB disk space), made a 100 GB image on it with Apples Disk Utility and pointed my Macbook to backup to that image with Time Machine. Read the rest of this entry »

Chinese Dictionary

Trying to bruteforce user accounts via ssh is quite common for all those evil bots out there. Sometimes if I am bored I just randomly check some IP’s where they all come from. This one turned out to be chinese.
Strange, I always thought chinese people had other dictionaries then us 😉
Read the rest of this entry »

SLiM Simple login manager on FreeBSD

fbsd Couple of days ago I decided to throw away GDM as login manager for my laptop and to install SLiM, a simple and nice independent graphical login manager for X11. Installing was easy as always thanks to the great job of the port maintainers.

Enabling SLiM in FreeBSD is as easy as appending slim_enable=”YES” to your /etc/rc.conf file.
Read the rest of this entry »

Change owner or group of a symbolic link

According to the chown(8) man page:
The chown utility changes the user ID and/or the group ID of the specified files. Symbolic links named by arguments are silently left unchanged unless -h is used.

So, what does this really mean. Read the rest of this entry »

Howto install and make a nice ZSH command prompt on FreeBSD Mac OSX and Linux

So you want to start enjoying arguable worlds best shell zsh (Z shell).
Well, I will show you how to install zsh on FreeBSD, Mac and Linux and how to customize the zsh prompt to get a nice coloured and informative command prompt which will update your current working path.
Also I will show you how to use editor vi with coloured syntax highlighting Read the rest of this entry »

Toyota MR2

mr2-lv  Vandaag “even” een Toyota MR2 opgehaald. De MR2 …. een naam met betekenis.
– M van Middenmotor, voor een betere wegligging (gewichtsverdeling)
– R van Rear wheel drive, dus achterwielaandrijving
– 2 van 2-zitter, meer past er gewoon niet in 😉
Read the rest of this entry »