From 4af4ad9fa2e6c2e9358f449356e59ef7cd193efe Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 11 Aug 2018 15:21:14 -0600 Subject: [PATCH] Update jail.local --- freebsd/resources/fail2ban/jail.local | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/freebsd/resources/fail2ban/jail.local b/freebsd/resources/fail2ban/jail.local index 5c2654c..994f8ae 100755 --- a/freebsd/resources/fail2ban/jail.local +++ b/freebsd/resources/fail2ban/jail.local @@ -3,8 +3,8 @@ enabled = true port = 5060:5091 protocol = all filter = freeswitch -#logpath = /var/log/freeswitch/freeswitch.log -logpath = /usr/local/freeswitch/log/freeswitch.log +logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log maxretry = 5 findtime = 600 banaction = pf @@ -16,8 +16,8 @@ enabled = false port = 5060:5091 protocol = all filter = freeswitch-ip -#logpath = /var/log/freeswitch/freeswitch.log -logpath = /usr/local/freeswitch/log/freeswitch.log +logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log maxretry = 1 findtime = 30 banaction = pf @@ -28,8 +28,8 @@ enabled = false port = 5060:5091 protocol = all filter = sip-auth-challenge-ip -#logpath = /var/log/freeswitch/freeswitch.log -logpath = /usr/local/freeswitch/log/freeswitch.log +logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log maxretry = 1 findtime = 30 banaction = pf @@ -40,8 +40,8 @@ enabled = true port = 5060:5091 protocol = all filter = sip-auth-challenge -#logpath = /var/log/freeswitch/freeswitch.log -logpath = /usr/local/freeswitch/log/freeswitch.log +logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log maxretry = 50 findtime = 30 banaction = pf @@ -52,8 +52,8 @@ enabled = true port = 5060:5091 protocol = all filter = freeswitch-404 -#logpath = /var/log/freeswitch/freeswitch.log -logpath = /usr/local/freeswitch/log/freeswitch.log +logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log maxretry = 3 findtime = 300 banaction = pf