Linux IPSEC using strongswan

Recently I took a look at some techniques I always wanted to take a look at. IPSEC for example is one of those techniques. Remembering how long it took my work-colleague to setup an ipsec connection I thought this would be a nightmare. Took him a few days to get a working ipsec connection to a customer appliance – seems that had nothing to do with ipsec. The horrible part was the documentation or rather the lack of proper documentation for that specific Peplink appliance. Anyway, here’s how you can setup ipsec pretty simple and fast.
Continue Reading

my first steps with zfs send and zfs recv

Well, playing around with zfs send and zfs recv for the first time turned out to be a little nightmare. Most of that nightmare has nothing to do with ZFS itself. Probably 50% pebkac and 50% buggy implementation in ZFS on Linux. Actually more funny is the fact that I had first used ZFS back in 2008 and never played with zfs send and recv before.
Continue Reading

inotifywait based virus scanning

few months ago I’ve built my NAS and configured it so that my wife can store her files on it, too. Due to the fact that she uses Windows I thought it might be reasonable to scan files on the NAS for viruses. My first approach which I called „hashclamscan“ just searched all files, created checksums and scanned modified files. Here’s an inotifywait based solution, which uses clamscan (and if available sophos savscan) and makes use of CDB for the hashes…
Continue Reading