helper to connect fail2ban with pfSense using easyrule
As I am a python noob, the body of this code was heavily inspired by http://www.binarytides.com/python-socket-programming-tutorial/.
These scripts may be reused under the terms of the CC BY-SA license.