aboutsummaryrefslogtreecommitdiff
path: root/company/fail2ban-files/jail.d/30_bju-max3.jail
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2016-10-03 11:43:00 -0400
committerB Stack <bgstack15@gmail.com>2016-10-03 11:43:00 -0400
commit17c0b3e049ec09a6605d18c9325a5a69d54db8f6 (patch)
tree029c5ba12793fdec2e9407285a59bb3e50d19747 /company/fail2ban-files/jail.d/30_bju-max3.jail
parentreadme (diff)
downloadansible01-17c0b3e049ec09a6605d18c9325a5a69d54db8f6.tar.gz
ansible01-17c0b3e049ec09a6605d18c9325a5a69d54db8f6.tar.bz2
ansible01-17c0b3e049ec09a6605d18c9325a5a69d54db8f6.zip
added sudo
Diffstat (limited to 'company/fail2ban-files/jail.d/30_bju-max3.jail')
-rw-r--r--company/fail2ban-files/jail.d/30_bju-max3.jail21
1 files changed, 21 insertions, 0 deletions
diff --git a/company/fail2ban-files/jail.d/30_bju-max3.jail b/company/fail2ban-files/jail.d/30_bju-max3.jail
new file mode 100644
index 0000000..6ca7781
--- /dev/null
+++ b/company/fail2ban-files/jail.d/30_bju-max3.jail
@@ -0,0 +1,21 @@
+# Ansible controlled filename: /etc/fail2ban/jail.d/30_example-max3.jail
+# Source: ansible bgstack15-fail2ban/files/example-max3.jail
+# Date: 2016-07-12
+# Reference: example-blns.jail
+# NOTE: This file is managed via Ansible: manual changes will be lost
+
+[example-max3]
+enabled = true
+action = iptables-allports
+ sendmail[name=examplemax3, dest=linuxadmin@example.com]
+filter = 30_example-max3
+logpath = /var/log/httpd/access_log
+ /var/log/httpd/error_log
+ /var/log/httpd/ssl_access_log
+ /var/log/httpd/ssl_error_log
+ /var/log/apache2/access_log
+ /var/log/apache2/error_log
+ /var/log/apache2/ssl_access_log
+ /var/log/apache2/ssl_error_log
+maxretry = 3
+bantime = 86400
bgstack15