Fail2ban - Fix the delimitter for the port range in jail.local.

This commit is contained in:
FusionPBX
2017-11-29 22:26:02 -07:00
committed by GitHub
parent 21512467a7
commit 1a95aeb331

View File

@@ -11,11 +11,11 @@ bantime = 86400
[freeswitch-udp] [freeswitch-udp]
enabled = true enabled = true
port = 5060-5090 port = 5060:5090
protocol = all protocol = all
filter = freeswitch filter = freeswitch
logpath = /var/log/freeswitch/freeswitch.log logpath = /var/log/freeswitch/freeswitch.log
action = iptables-multiport[name=freeswitch-udp, port="5060-5090", protocol=udp] action = iptables-multiport[name=freeswitch-udp, port="5060:5090", protocol=udp]
maxretry = 5 maxretry = 5
findtime = 600 findtime = 600
bantime = 3600 bantime = 3600
@@ -23,11 +23,11 @@ bantime = 3600
[freeswitch-tcp] [freeswitch-tcp]
enabled = true enabled = true
port = 5060-5090 port = 5060:5090
protocol = all protocol = all
filter = freeswitch filter = freeswitch
logpath = /var/log/freeswitch/freeswitch.log logpath = /var/log/freeswitch/freeswitch.log
action = iptables-multiport[name=freeswitch-tcp, port="5060-5090", protocol=tcp] action = iptables-multiport[name=freeswitch-tcp, port="5060:5090", protocol=tcp]
maxretry = 5 maxretry = 5
findtime = 600 findtime = 600
bantime = 3600 bantime = 3600
@@ -35,51 +35,51 @@ bantime = 3600
[freeswitch-ip-tcp] [freeswitch-ip-tcp]
enabled = false enabled = false
port = 5060-5090 port = 5060:5090
protocol = all protocol = all
filter = freeswitch-ip filter = freeswitch-ip
logpath = /var/log/freeswitch/freeswitch.log logpath = /var/log/freeswitch/freeswitch.log
action = iptables-multiport[name=freeswitch-ip-tcp, port="5060-5090", protocol=tcp] action = iptables-multiport[name=freeswitch-ip-tcp, port="5060:5090", protocol=tcp]
maxretry = 1 maxretry = 1
findtime = 30 findtime = 30
bantime = 86400 bantime = 86400
[freeswitch-ip-udp] [freeswitch-ip-udp]
enabled = false enabled = false
port = 5060-5090 port = 5060:5090
protocol = all protocol = all
filter = freeswitch-ip filter = freeswitch-ip
logpath = /var/log/freeswitch/freeswitch.log logpath = /var/log/freeswitch/freeswitch.log
action = iptables-multiport[name=freeswitch-ip-udp, port="5060-5090", protocol=udp] action = iptables-multiport[name=freeswitch-ip-udp, port="5060:5090", protocol=udp]
maxretry = 1 maxretry = 1
findtime = 30 findtime = 30
bantime = 86400 bantime = 86400
[freeswitch-dos-udp] [freeswitch-dos-udp]
enabled = true enabled = true
port = 5060-5090 port = 5060:5090
protocol = all protocol = all
filter = freeswitch-dos filter = freeswitch-dos
logpath = /var/log/freeswitch/freeswitch.log logpath = /var/log/freeswitch/freeswitch.log
action = iptables-multiport[name=freeswitch-dos-udp, port="5060-5090", protocol=udp] action = iptables-multiport[name=freeswitch-dos-udp, port="5060:5090", protocol=udp]
maxretry = 50 maxretry = 50
findtime = 30 findtime = 30
bantime = 6000 bantime = 6000
[freeswitch-dos-tcp] [freeswitch-dos-tcp]
enabled = true enabled = true
port = 5060-5090 port = 5060:5090
protocol = all protocol = all
filter = freeswitch-dos filter = freeswitch-dos
logpath = /var/log/freeswitch/freeswitch.log logpath = /var/log/freeswitch/freeswitch.log
action = iptables-multiport[name=freeswitch-dos-tcp, port="5060-5090", protocol=tcp] action = iptables-multiport[name=freeswitch-dos-tcp, port="5060:5090", protocol=tcp]
maxretry = 50 maxretry = 50
findtime = 30 findtime = 30
bantime = 7200 bantime = 7200
[freeswitch-404] [freeswitch-404]
enabled = true enabled = true
port = 5060-5090 port = 5060:5090
protocol = all protocol = all
filter = freeswitch-404 filter = freeswitch-404
logpath = /var/log/freeswitch/freeswitch.log logpath = /var/log/freeswitch/freeswitch.log