lelutin / puppet-fail2ban

Manage fail2ban and its jails with puppet
GNU General Public License v3.0
8 stars 30 forks source link

Add ignorecommand #30

Closed minorOffense closed 6 years ago

minorOffense commented 6 years ago

Allow the use of the "ignorecommand" option both globally and as part of individual jail configuration. Most specifically this is required for the apache-fakegooglebot config to work properly.

I didn't put any validation on the input from the puppet conf on those commands. The docs say it should follow the pattern of /path/to/command <ip> so I don't know if we want to put in a regex or some kind, validate that the command path exists or anything like that.

Figure start the discussion.

lelutin commented 6 years ago

hey thanks for this work! I've added two commits on top to fix some super minor details.