This plugin enables you to use WP Fail2ban in conjunction with Gravity Forms. Fail2ban prevents spam by utilizing the server log files. Basically, this plugin adds log entries for Gravity Forms spam submissions. WP Fail2ban is able to pick up and act on these entries. Be aware that the WP Fail2ban plugin comes as a free and premium version, of which the later is available from their noteworthy website.