LinuxSecu/inc/fail2ban/jail.d/asterisk.conf
2022-08-24 07:57:22 +02:00

12 lines
463 B
Plaintext
Executable File

[asterisk]
enabled = true
#port = 5060,5061
port = 4965,62030, 62034
bantime = 10m
action = %(banaction)s[name=%(__name__)s-tcp, port="%(port)s", protocol="tcp", chain="%(chain)s", actname=%(banaction)s-tcp]
%(banaction)s[name=%(__name__)s-udp, port="%(port)s", protocol="udp", chain="%(chain)s", actname=%(banaction)s-udp]
%(mta)s-whois[name=%(__name__)s, dest="%(destemail)s"]
logpath = /var/log/asterisk/messages
maxretry = 10