Monthly Archives: February 2008
mod_log_forensic howto
mod_log_forensic is an often forgotten yet very handy tool in debugging webservers. It gives each request a unique ID which you can then track through your log. It first writes the request prefixed with the unique ID, then it writes … Continue reading
Tail with action
Just thought I’d share a little python script I wrote the other day and have found helpful on several occasions already. It’s basically the same as `tail -f file | grep pattern`, but, if it finds a match, it allows … Continue reading
PHP 5.1 and 5.2 and MySQL 5.1.20+
Today I fell victim of a gotcha when custom compiling PHP 5.1.4 for a customer which runs MySQL 5.1.22. The customer in question requires the mysqli component which appears to be broken with these versions (fixed in 5.2.4 though). So … Continue reading
Hacked webapps
Disclaimer: I say ‘hack’ and ‘hacker’, both you jargon puritans out there and myself know they’re not. Really. But it’s a short and easy to spell word and with this disclaimer, everyone will know what I mean. Including the audience … Continue reading
pam_shield succeeding blockhosts.py
I’ve since a while back suggested blockhosts to customers who are unable to use firewalls for one reason or another (not always entirely sure what they could be!) but still want to stop brute force attacks on various services. While … Continue reading