aboutsummaryrefslogtreecommitdiff
path: root/company/fail2ban-files/jail.d/20_bju-blns.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/20_bju-blns.jail
parentreadme (diff)
downloadansible01-17c0b3e049ec09a6605d18c9325a5a69d54db8f6.tar.gz
ansible01-17c0b3e049ec09a6605d18c9325a5a69d54db8f6.tar.bz2
ansible01-17c0b3e049ec09a6605d18c9325a5a69d54db8f6.zip
added sudo
Diffstat (limited to 'company/fail2ban-files/jail.d/20_bju-blns.jail')
-rw-r--r--company/fail2ban-files/jail.d/20_bju-blns.jail21
1 files changed, 21 insertions, 0 deletions
diff --git a/company/fail2ban-files/jail.d/20_bju-blns.jail b/company/fail2ban-files/jail.d/20_bju-blns.jail
new file mode 100644
index 0000000..eb1d1c9
--- /dev/null
+++ b/company/fail2ban-files/jail.d/20_bju-blns.jail
@@ -0,0 +1,21 @@
+# Ansible controlled filename: /etc/fail2ban/jail.d/20_example-blns.jail
+# Source: ansible bgstack15-fail2ban/files/example-blns.jail
+# Date: 2016-04-19
+# Reference:
+# NOTE: This file is managed via Ansible: manual changes will be lost
+
+[example-blns]
+enabled = true
+action = iptables-allports
+ sendmail[name=exampleblns, dest=linuxadmin@example.com]
+filter = 20_example-blns
+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 = 1
+bantime = 86400
bgstack15