From 7b708c3f19f8da28fe39e97994594f89da9898eb Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sat, 29 Sep 2018 15:58:30 -0600 Subject: [PATCH] fail2ban general settings --- etc/fail2ban/fail2ban.local | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 etc/fail2ban/fail2ban.local diff --git a/etc/fail2ban/fail2ban.local b/etc/fail2ban/fail2ban.local new file mode 100644 index 0000000..850d400 --- /dev/null +++ b/etc/fail2ban/fail2ban.local @@ -0,0 +1,15 @@ +####### +### This file overrides the default settings found in /etc/fail2ban.conf +### Customizations should be written here so that updates do NOT overwrite them! +####### + +### Set logging options +## verbosity -- options: CRITICAL, ERROR (default), WARNING, NOTICE, INFO, DEBUG +loglevel = INFO +## log file location (suggest: /var/log/fail2ban.log) +logtarget = /var/log/fail2ban.log + +### Amount of time (in seconds) before HISTORY of bans are cleared. (NOTE: NOT +### active bans! This is a record of previous) +## Default: 86400 (1 day), Suggest: 604800 (7 days) +dbpurgeage = 604800