forked from norman/fusionpbx-install.sh-github-mirror
Update jail.local
This commit is contained in:
6
debian/resources/fail2ban/jail.local
vendored
6
debian/resources/fail2ban/jail.local
vendored
@@ -15,6 +15,7 @@ port = 5060:5091
|
|||||||
protocol = all
|
protocol = all
|
||||||
filter = freeswitch
|
filter = freeswitch
|
||||||
logpath = /var/log/freeswitch/freeswitch.log
|
logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
#logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||||
action = iptables-allports[name=freeswitch, protocol=all]
|
action = iptables-allports[name=freeswitch, protocol=all]
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
findtime = 600
|
findtime = 600
|
||||||
@@ -27,6 +28,7 @@ port = 5060:5091
|
|||||||
protocol = all
|
protocol = all
|
||||||
filter = freeswitch-ip
|
filter = freeswitch-ip
|
||||||
logpath = /var/log/freeswitch/freeswitch.log
|
logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
#logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||||
action = iptables-allports[name=freeswitch-ip, protocol=all]
|
action = iptables-allports[name=freeswitch-ip, protocol=all]
|
||||||
maxretry = 1
|
maxretry = 1
|
||||||
findtime = 30
|
findtime = 30
|
||||||
@@ -38,6 +40,7 @@ port = 5060:5091
|
|||||||
protocol = all
|
protocol = all
|
||||||
filter = auth-challenge-ip
|
filter = auth-challenge-ip
|
||||||
logpath = /var/log/freeswitch/freeswitch.log
|
logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
#logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||||
action = iptables-allports[name=auth-challenge-ip, protocol=all]
|
action = iptables-allports[name=auth-challenge-ip, protocol=all]
|
||||||
maxretry = 1
|
maxretry = 1
|
||||||
findtime = 30
|
findtime = 30
|
||||||
@@ -49,6 +52,7 @@ port = 5060:5091
|
|||||||
protocol = all
|
protocol = all
|
||||||
filter = sip-auth-challenge
|
filter = sip-auth-challenge
|
||||||
logpath = /var/log/freeswitch/freeswitch.log
|
logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
#logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||||
action = iptables-allports[name=sip-auth-challenge, protocol=all]
|
action = iptables-allports[name=sip-auth-challenge, protocol=all]
|
||||||
maxretry = 50
|
maxretry = 50
|
||||||
findtime = 30
|
findtime = 30
|
||||||
@@ -60,6 +64,7 @@ port = 5060:5091
|
|||||||
protocol = all
|
protocol = all
|
||||||
filter = sip-auth-failure
|
filter = sip-auth-failure
|
||||||
logpath = /var/log/freeswitch/freeswitch.log
|
logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
#logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||||
action = iptables-allports[name=sip-auth-failure, protocol=all]
|
action = iptables-allports[name=sip-auth-failure, protocol=all]
|
||||||
maxretry = 3
|
maxretry = 3
|
||||||
findtime = 30
|
findtime = 30
|
||||||
@@ -71,6 +76,7 @@ port = 5060:5091
|
|||||||
protocol = all
|
protocol = all
|
||||||
filter = fusionpbx-404
|
filter = fusionpbx-404
|
||||||
logpath = /var/log/freeswitch/freeswitch.log
|
logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
#logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||||
action = iptables-allports[name=fusionpbx-404, protocol=all]
|
action = iptables-allports[name=fusionpbx-404, protocol=all]
|
||||||
maxretry = 3
|
maxretry = 3
|
||||||
findtime = 300
|
findtime = 300
|
||||||
|
|||||||
Reference in New Issue
Block a user