October 31, 2008

ddclient update script

Filed under: OpenBSD,dns,internet,linux — @ 21:04

A couple of people mailed me a couple of times saying that when they run ddclient in daemon mode their hostnames sometimes get blocked because of abuse (to frequent update requests). I run an update script from cron every time, the script is rather straightforward but might prove useful for some.

February 9, 2008

Differences of tcpdump linux / openbsd

Filed under: Open Source,OpenBSD,Security,linux — @ 20:07

One of the nicer options of tcpdump under Linux is the -C (that is a capital C). This allows you to write the captured traffic to a file and have the file rotated at a given size. According to the man-pages :

-C
Before writing a raw packet to a savefile, check whether the file is currently larger than file_size and, if so, close the current savefile and open a new one. Savefiles after the first savefile will have the name specified with the -w flag, with a number after it, starting at 1 and continuing upward. The units of file_size are millions of bytes (1,000,000 bytes, not 1,048,576 bytes).

How long before someone adds this to the openbsd version of tcpdump?

December 11, 2007

Install PHP5 on OpenBSD 4.2

Filed under: OpenBSD,php — @ 10:09

PHP needs expat; this is included in the base set xbase42. If you didn’t install it at install-time you can get it with

cd /
ftp http://ftp.belnet.be/mirror/ftp.openbsd.org/4.2/i386/xbase42.tgz
tar xzvpf xbase42.tgz

May 8, 2007

Firewalling with OpenBSD’s PF packet filter

Filed under: Open Source,OpenBSD,Security,geek — @ 23:22

A tutorial by Peter Hansteen on PF.