Эх сурвалжийг харах

Add the new freeswitch-acl filter to jail.local.

FusionPBX 4 жил өмнө
parent
commit
bb6cfd01b7

+ 12 - 0
debian/resources/fail2ban/jail.local

@@ -22,6 +22,18 @@ findtime = 60
 bantime  = 3600
 #          sendmail-whois[name=FreeSwitch, dest=root, [email protected]] #no smtp server installed
 
+[freeswitch-acl]
+enabled  = true
+port     = 5060:5091
+protocol = all
+filter   = freeswitch-acl
+logpath  = /var/log/freeswitch/freeswitch.log
+#logpath  = /usr/local/freeswitch/log/freeswitch.log
+action   = iptables-allports[name=freeswitch-acl, protocol=all]
+maxretry = 900
+findtime = 60
+bantime  = 86400
+
 [freeswitch-ip]
 enabled  = false
 port     = 5060:5091