Autoban allows you to ban IP addresses after a preset number of failed login attempts. To set it up go to Protocol settings › Autoban tab.
You can set the number of seconds that need to elapse after a failed login before allowing a new login.
You can also set how long the ban will last, if you leave that to 0 no ban will be applied.