News for hackers. Stuff that matters.
Re:Securing Ubuntu by jiggy2011 on Sunday January 20, 2013 @11:50AM (#5087347)
Is there any straightforward guide to getting started with mod_security?

I installed it on a box with some ruleset and it seems to basically block everything. The configuration format also seems far from simple.

Re:Securing Ubuntu by curiouscats on Sunday January 20, 2013 @06:25PM (#5088744)
Re:Securing Ubuntu by druiid on Monday January 21, 2013 @12:06AM (#5089962)
Well, I'm not sure if I'd suggest looking at mod_security in a 'straightforward' manner particularly. Doing so will likely get you frustrated with the interaction you are likely to have with any default rule-set.

A good way to look at it is to start by installing it and a good rule-set. A good one could be the gotroot/ASL kit http://updates.atomicorp.com/channels/rules/

From that point your best bet would perhaps be one of the freely available 'getting started' guides like https://www.feistyduck.com/books/modsecurity-handbook/gettin...

Mostly though, my suggestion is to deploy it, have your application break (you should be doing this all in a staging environment), figure out if unbreaking your application can be done with scripting changes, bypassing rules, etc.