First question is why did you install this from source? It's in the universe repository (version 0.8.3-2) and will do a better job of updating itself with the rest of your system if you use the one there.
Please consider uninstalling the one you have and using the one installable from synaptic.
That being said, this should help......
I just discovered I had multiple intrusion attempts over vsftp and had to configure my fail2ban to block them. It's easy, here's what you do.
By default, fail2ban only blocks ssh, you need to configure it to block other services.
1) First create the "jail" file from the provided template:
sudo cp /etc/fail2ban/jail.conf jail.local
sudo gedit /etc/fail2ban/jail.local
#
# Mail servers
#
[postfix]
enabled = false
port = smtp,ssmtp
filter = postfix
logpath = /var/log/mail.log
enabled = false
enabled = true
Save the file.
3) Make sure you add the following command to your System > Preferences > Sessions On the Startup Programs tab, click Add
In the Name field put: fail 2 ban In the command field put: ``` fail2ban-client start
4) Log off and log back on to make sure it auto starts.
(You will see an entry in System > Administration > System Monitor in the Processes tab for "fail2ban-server".)
5) verify that you have configured the settings correctly by running the following command:
sudo fail2ban-client status
For example, here is the output I get. I need to block ssh and vsftpd.....
marty@tux:~$ sudo fail2ban-client status [sudo] password for marty: Status |- Number of jail: 2 `- Jail list: vsftpd, ssh
All should be well.
The guy from China that has been banging on my ftp server is now blocked. ](*,)