Archive for Linux

Rate limiting connections with iptables

You may find this iptables based method of limiting packets useful. For example, to drop connection from from someone who is trying to brute force your passwords via ssh.
I have a particular case, where a customer wants to be notified if more than X number of SMTP connections are being generated from a particular [...]

Read more

Rename a filesystem, or change a mount point

I was just asked today to provide a quick overview of the steps necessary to rename a filesystem. And here is what I came up with. Please use this information at your own risk, and always ensure you have a backup just in case something does not go well.

Read more

XEN Virtualization notes

I have recently been working on virtualizing Windows and Linux machines using Xen. A few things popped up along the way and a bit of research was done to make things work properly, these are some of the notes I took.
Depending on the requirements, LVM may make sense for your implementation. One particular advantage [...]

Read more