Update jail.local
This commit is contained in:
parent
79eb85668a
commit
8ab8abe929
|
|
@ -3,7 +3,8 @@ enabled = true
|
|||
port = 5060,5061,5080,5081
|
||||
protocol = all
|
||||
filter = freeswitch
|
||||
logpath = /var/log/freeswitch/freeswitch.log
|
||||
#logpath = /var/log/freeswitch/freeswitch.log
|
||||
logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||
action = iptables-multiport[name=freeswitch-udp, port="5060,5061,5080,5081", protocol=udp]
|
||||
maxretry = 5
|
||||
findtime = 600
|
||||
|
|
@ -15,7 +16,8 @@ enabled = true
|
|||
port = 5060,5061,5080,5081
|
||||
protocol = all
|
||||
filter = freeswitch
|
||||
logpath = /var/log/freeswitch/freeswitch.log
|
||||
#logpath = /var/log/freeswitch/freeswitch.log
|
||||
logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||
action = iptables-multiport[name=freeswitch-tcp, port="5060,5061,5080,5081", protocol=tcp]
|
||||
maxretry = 5
|
||||
findtime = 600
|
||||
|
|
@ -28,6 +30,7 @@ bantime = 600
|
|||
#protocol = all
|
||||
#filter = freeswitch-ip
|
||||
#logpath = /var/log/freeswitch/freeswitch.log
|
||||
logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||
#action = iptables-multiport[name=freeswitch-ip-tcp, port="5060,5061,5080,5081", protocol=tcp]
|
||||
#maxretry = 1
|
||||
#findtime = 30
|
||||
|
|
@ -39,6 +42,7 @@ bantime = 600
|
|||
#protocol = all
|
||||
#filter = freeswitch-ip
|
||||
#logpath = /var/log/freeswitch/freeswitch.log
|
||||
logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||
#action = iptables-multiport[name=freeswitch-ip-udp, port="5060,5061,5080,5081", protocol=udp]
|
||||
#maxretry = 1
|
||||
#findtime = 30
|
||||
|
|
@ -49,7 +53,8 @@ enabled = true
|
|||
port = 5060,5061,5080,5081
|
||||
protocol = all
|
||||
filter = freeswitch-dos
|
||||
logpath = /var/log/freeswitch/freeswitch.log
|
||||
#logpath = /var/log/freeswitch/freeswitch.log
|
||||
logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||
action = iptables-multiport[name=freeswitch-dos-udp, port="5060,5061,5080,5081", protocol=udp]
|
||||
maxretry = 50
|
||||
findtime = 30
|
||||
|
|
@ -60,7 +65,8 @@ enabled = true
|
|||
port = 5060,5061,5080,5081
|
||||
protocol = all
|
||||
filter = freeswitch-dos
|
||||
logpath = /var/log/freeswitch/freeswitch.log
|
||||
#logpath = /var/log/freeswitch/freeswitch.log
|
||||
logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||
action = iptables-multiport[name=freeswitch-dos-tcp, port="5060,5061,5080,5081", protocol=tcp]
|
||||
maxretry = 50
|
||||
findtime = 30
|
||||
|
|
@ -71,7 +77,8 @@ enabled = true
|
|||
port = 5060,5061,5080,5081
|
||||
protocol = all
|
||||
filter = freeswitch-404
|
||||
logpath = /var/log/freeswitch/freeswitch.log
|
||||
#logpath = /var/log/freeswitch/freeswitch.log
|
||||
logpath = /usr/local/freeswitch/log/freeswitch.log
|
||||
action = iptables-allports[name=freeswitch-404, protocol=all]
|
||||
maxretry = 3
|
||||
findtime = 300
|
||||
|
|
|
|||
Loading…
Reference in New Issue