/cowrie-fail2ban

Ban IP's after too many connections to a cowrie instance

GNU General Public License v3.0GPL-3.0

cowrie-fail2ban

Ban IP's after too many connections to a cowrie instance.
In its default config, point the jail to your cowrie.log and it will ban a source IP if it connected more than 40 times in the last 12 hours. The IP will be banned for 12 hours.

Installation

Clone the repo to your machine. if you're only using fail2ban for cowrie, you can just copy / clone the files to /etc/fail2ban/.

Requirements

Fail2ban needs to be installed