forked from norman/fusionpbx-install.sh-github-mirror
Fail2ban - Fix the delimitter for the port range in jail.local.
This commit is contained in:
26
debian/resources/fail2ban/jail.local
vendored
26
debian/resources/fail2ban/jail.local
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user