|
@@ -22,27 +22,27 @@ findtime = 600
|
|
|
bantime = 600
|
|
|
# sendmail-whois[name=FreeSwitch, dest=root, [email protected]] #no smtp server installed
|
|
|
|
|
|
-#[freeswitch-ip-tcp]
|
|
|
-#enabled = true
|
|
|
-#port = 5060,5061,5080,5081
|
|
|
-#protocol = all
|
|
|
-#filter = freeswitch-ip
|
|
|
-#logpath = /var/log/freeswitch/freeswitch.log
|
|
|
-#action = iptables-multiport[name=freeswitch-ip-tcp, port="5060,5061,5080,5081", protocol=tcp]
|
|
|
-#maxretry = 1
|
|
|
-#findtime = 30
|
|
|
-#bantime = 86400
|
|
|
+[freeswitch-ip-tcp]
|
|
|
+enabled = false
|
|
|
+port = 5060,5061,5080,5081
|
|
|
+protocol = all
|
|
|
+filter = freeswitch-ip
|
|
|
+logpath = /var/log/freeswitch/freeswitch.log
|
|
|
+action = iptables-multiport[name=freeswitch-ip-tcp, port="5060,5061,5080,5081", protocol=tcp]
|
|
|
+maxretry = 1
|
|
|
+findtime = 30
|
|
|
+bantime = 86400
|
|
|
|
|
|
-#[freeswitch-ip-udp]
|
|
|
-#enabled = true
|
|
|
-#port = 5060,5061,5080,5081
|
|
|
-#protocol = all
|
|
|
-#filter = freeswitch-ip
|
|
|
-#logpath = /var/log/freeswitch/freeswitch.log
|
|
|
-#action = iptables-multiport[name=freeswitch-ip-udp, port="5060,5061,5080,5081", protocol=udp]
|
|
|
-#maxretry = 1
|
|
|
-#findtime = 30
|
|
|
-#bantime = 86400
|
|
|
+[freeswitch-ip-udp]
|
|
|
+enabled = false
|
|
|
+port = 5060,5061,5080,5081
|
|
|
+protocol = all
|
|
|
+filter = freeswitch-ip
|
|
|
+logpath = /var/log/freeswitch/freeswitch.log
|
|
|
+action = iptables-multiport[name=freeswitch-ip-udp, port="5060,5061,5080,5081", protocol=udp]
|
|
|
+maxretry = 1
|
|
|
+findtime = 30
|
|
|
+bantime = 86400
|
|
|
|
|
|
[freeswitch-dos-udp]
|
|
|
enabled = true
|