Getting fail2ban to work with Symfony2 the proper(?) way

Posted on Sat 21 June 2014 in Web development • Tagged with PHP, Symfony2, Security, fail2ban

NOTE: This is a repost of an old article. I noticed that it was generating a bunch of 404s for some people, so I figured I'd dig it up.

Described as "a script kiddie's worst nightmare", fail2ban is a tool that reads log files, tries to match lines ...


Continue reading

HA Symfony2: Manipulating Database Sessions

Posted on Tue 27 May 2014 in Web development • Tagged with Symfony2, PHP

user plus database

During the ongoing quest for high performance and high availability for your Symfony2 project, at some point you're going to want to stick your sessions into your database. Why, you ask? Well, consider the following scenario:

  • You make a webapp named "thing" and deploy it on machines A and ...

Continue reading