From b71b241aacfcaa3a8230a5ac831fb42d08d1759b Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 11 Aug 2018 15:22:30 -0600 Subject: [PATCH] Update jail.local --- debian/resources/fail2ban/jail.local | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/resources/fail2ban/jail.local b/debian/resources/fail2ban/jail.local index a4e821f..068436e 100755 --- a/debian/resources/fail2ban/jail.local +++ b/debian/resources/fail2ban/jail.local @@ -15,6 +15,7 @@ port = 5060:5091 protocol = all filter = freeswitch logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log action = iptables-allports[name=freeswitch, protocol=all] maxretry = 5 findtime = 600 @@ -27,6 +28,7 @@ port = 5060:5091 protocol = all filter = freeswitch-ip logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log action = iptables-allports[name=freeswitch-ip, protocol=all] maxretry = 1 findtime = 30 @@ -38,6 +40,7 @@ port = 5060:5091 protocol = all filter = auth-challenge-ip logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log action = iptables-allports[name=auth-challenge-ip, protocol=all] maxretry = 1 findtime = 30 @@ -49,6 +52,7 @@ port = 5060:5091 protocol = all filter = sip-auth-challenge logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log action = iptables-allports[name=sip-auth-challenge, protocol=all] maxretry = 50 findtime = 30 @@ -60,6 +64,7 @@ port = 5060:5091 protocol = all filter = sip-auth-failure logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log action = iptables-allports[name=sip-auth-failure, protocol=all] maxretry = 3 findtime = 30 @@ -71,6 +76,7 @@ port = 5060:5091 protocol = all filter = fusionpbx-404 logpath = /var/log/freeswitch/freeswitch.log +#logpath = /usr/local/freeswitch/log/freeswitch.log action = iptables-allports[name=fusionpbx-404, protocol=all] maxretry = 3 findtime = 300