Uncategorized

How to get saslauthd to work in postfix chroot environment

This article is about getting saslauthd working in a chroot’d postfix, but I’ll explain how I got here to start with. I was working on a Gentoo box that has been a slight nightmare for me (actually, complete nightmare). It was built outside of Gentoo portage (basically image’d from another Gentoo box). Because of this,… Continue reading How to get saslauthd to work in postfix chroot environment

Uncategorized

Snort upgrade from 2.4 to 2.6 Part 2

Ok. I figured out what the problem was with the preprocessors. Looks like there is a USE flag that needs to be set to bring in the dynamicpreprocessors (+dynamicplugin). Here are the USE flags that I have set: net-analyzer/snort-2.6.1.2 USE="dynamicplugin mysql -flexresp -flexresp2 -gre -inline -linux-smp-stats -odbc -perfprofiling -postgres -prelude -react (-selinux) -sguil -snortsam -timestats"

Uncategorized

Creating a Intrusion Prevention System (IPS) using Snort and SnortSam

This article discusses how to use Snort and SnortSam to create a intrusion prevention system. Normally Snort is referenced as a IDS Intrusion Detection System, but you can use snort to actually stop attacks on the server. Snort is a very popular application which uses rules to monitor network traffic. If alerts are triggered they… Continue reading Creating a Intrusion Prevention System (IPS) using Snort and SnortSam

Uncategorized

Creating tmpfs and swap space after partitions have already been written.

This how-to describes a process of creating a tmpfs and swap file system on your existing server, after the partition table has been written. I’ll start off with a little history first. I was presented with a production server where there was only a / root partition and 500MB of swap allocated. We need to… Continue reading Creating tmpfs and swap space after partitions have already been written.