Consecutive login attempts

Well, this may jsut be something that I configured wrong, but I'd like it if you guys could give the option to only count consecutive failed login attempts. I and my fellow authorised FTP users are all getting blocked as it seems that anytime we log in, before we can input our username and password, an anonymous login is attempted and it's marked as a failed attempt.

Is there a way I can implement that myself, or a patch, or is there something I'm doing wrong?

See --blockcount and --discard

By default, blockhosts will keep track of failed logins for a fixed period - if more than 7 failed logins over a 12 hour period, it will block the IP address.
These values can be changed using the --blockcount and --discard options on the command line or the config file.