Blog

OSSEC, Drupal, and different Syslog identities per site

I really like OSSEC, the open-source intrusion detection system, and deploy it wherever I'm working. Not only is it great from a security point of view (detecting brute force attacks, crawlers, XSS injection attempts, bad permissions on files, modificatons to files, notification of installed/removed packages, presence of rootkits etc etc), but it's also really good at exposing the general state of things on your infrastructure that might otherwise go unnoticed (even if they're logged).

Tags: 

Kippo deb package updated to 0.8

I have updated my Kippo Debian package to be using the latest 0.8 release of Kippo and also to run on the current Debian stable release, 'Wheezy'.

Installing

1. Add this line to /etc/apt/sources.list or create a new file called /etc/apt/sources.list.d/mig5.list

deb http://debian.mig5.net/debian/ wheezy main

2. My repo is signed with my GPG public key. To fetch the key:

Tags: 

Trying to automate the initial OSSEC installation steps

I haven't got around to packaging OSSEC for Debian yet - mainly because I haven't decided how to handle the fact that OSSEC uses a server->agent model that depends on the generation/importing of unique keys for communication (not unlike Puppet with SSL certificates), from an automation/Puppet perspective.

Tags: 

Kippo deb package updated

The Debian package that I made for Kippo last year, was a few commits behind (though not by much!).

When recently firing up a fresh Kippo sensor, I realised there were some bugs in the postinst script on a fresh install - additionally, there were some other bugs when removing and re-installing Kippo.

These have been fixed, and the Kippo package is now in-line with revision r219 of the subversion repo maintained by desaster.

Tags: 

Excluding IPs from HTTP auth when Apache is behind Varnish

I had a situation whereby I had to protect a site with HTTP auth, but exclude a certain IP address or two from having to use HTTP auth (e.g loadtesting).

The problem was, the site was also behind a Varnish proxy. So I couldn't do 'Allow from (ip)' in the Apache settings, because the IP would always be the IP address of the Varnish server at this point.

And obviously, I couldn't 'Allow from (varnish ip)' because that's the same as not having any HTTP auth at all :)

Tags: 

Video: Continuous Integration & Jenkins deployment, DC Toulouse 2011

Way back in November 2011, I did an unusual thing: I co-presented a talk about Drupal and Continuous Integration/Deployment at DrupalCamp Toulouse, except that I was Skyped in from my home town of Melbourne, Australia :)

The talk is actually mainly presented by Greg Harvey of Code Enigma, one of my clients, and I just provide - well, I don't know, comic relief with my Australian accent? :)

Tags: 

Aegir video from DrupalDownUnder 2012

Last weekend (on the 15th January) I delivered a talk on Aegir at DrupalDownUnder 2012. I tried to do something we've not done before in Aegir demos: demonstrate basic usage along with more advanced, automated use of Aegir.

Overall I was happy with my talk - I ran out of time, as I was a bit too ambitious, but I really wanted to show the advanced stuff without alienating the newbies.

Tags: 

Pages

Subscribe to Blog