FusionPBX преди 9 години
родител
ревизия
59e5c72f80
променени са 1 файла, в които са добавени 11 реда и са изтрити 0 реда
  1. 11 0
      debian/resources/fail2ban/jail.source

+ 11 - 0
debian/resources/fail2ban/jail.source

@@ -22,6 +22,17 @@ findtime = 600
 bantime  = 600
 #          sendmail-whois[name=FreeSwitch, dest=root, [email protected]] #no smtp server installed
 
+[freeswitch-ip]
+enabled = true
+port = 5060,5061,5080,5081
+protocol = udp
+filter = freeswitch-ip
+logpath = /usr/local/freeswitch/log/freeswitch.log
+action = iptables-allports[name=freeswitch-ip, protocol=all]
+maxretry = 1
+findtime = 30
+bantime  = 86400
+
 [freeswitch-dos]
 enabled = true
 port = 5060,5061,5080,5081,5070