forked from norman/fusionpbx-install.sh-github-mirror
Update jail.package
Add a new filter for fail2ban - freeswitch-ip
This commit is contained in:
11
debian/resources/fail2ban/jail.package
vendored
11
debian/resources/fail2ban/jail.package
vendored
@@ -22,6 +22,17 @@ findtime = 600
|
|||||||
bantime = 600
|
bantime = 600
|
||||||
# sendmail-whois[name=FreeSwitch, dest=root, sender=fail2ban@example.org] #no smtp server installed
|
# sendmail-whois[name=FreeSwitch, dest=root, sender=fail2ban@example.org] #no smtp server installed
|
||||||
|
|
||||||
|
[freeswitch-ip]
|
||||||
|
enabled = true
|
||||||
|
port = 5060,5061,5080,5081
|
||||||
|
protocol = udp
|
||||||
|
filter = freeswitch-ip
|
||||||
|
logpath = /var/log/freeswitch/freeswitch.log
|
||||||
|
action = iptables-allports[name=freeswitch-ip, protocol=all]
|
||||||
|
maxretry = 1
|
||||||
|
findtime = 30
|
||||||
|
bantime = 86400
|
||||||
|
|
||||||
[freeswitch-dos]
|
[freeswitch-dos]
|
||||||
enabled = true
|
enabled = true
|
||||||
port = 5060,5061,5080,5081,5070
|
port = 5060,5061,5080,5081,5070
|
||||||
|
|||||||
Reference in New Issue
Block a user