From 82efcb30d64c93b7108796fd3abdfc4f8554f10f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 25 Nov 2016 21:27:24 -0700 Subject: [PATCH] Update jail.local --- debian/resources/fail2ban/jail.local | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/debian/resources/fail2ban/jail.local b/debian/resources/fail2ban/jail.local index e8bceaa..e2bb2b1 100644 --- a/debian/resources/fail2ban/jail.local +++ b/debian/resources/fail2ban/jail.local @@ -66,17 +66,16 @@ maxretry = 50 findtime = 30 bantime = 6000 -[freeswitch-inbound] +[freeswitch-404] enabled = true -port = 5080 -protocol = udp -filter = fusionpbx-inbound +port = 5060,5061,5080,5081 +protocol = all +filter = freeswitch-404 logpath = /usr/local/freeswitch/log/freeswitch.log -action = iptables-allports[name=freeswitch-inbound, protocol=all] -# sendmail-whois[name=freeswitch-inbound, dest=root, sender=fail2ban@example.org] #no smtp server installed +action = iptables-allports[name=freeswitch-404, protocol=all] maxretry = 3 findtime = 300 -bantime = 3600 +bantime = 86400 [fusionpbx] enabled = true