|
|
|
@ -255,7 +255,7 @@ logpath = /var/log/named/security.log
|
|
|
|
|
ignoreip = 168.192.0.1 |
|
|
|
|
|
|
|
|
|
[asterisk-tcp] |
|
|
|
|
enabled = true |
|
|
|
|
enabled = false |
|
|
|
|
filter = asterisk |
|
|
|
|
action = iptables-multiport[name=asterisk-tcp, port="5060,5061", protocol=tcp] |
|
|
|
|
sendmail-whois[name=Asterisk, dest=you@example.com, sender=fail2ban@example.com] |
|
|
|
@ -263,7 +263,7 @@ logpath = /var/log/asterisk/messages
|
|
|
|
|
maxretry = 10 |
|
|
|
|
|
|
|
|
|
[asterisk-udp] |
|
|
|
|
enabled = true |
|
|
|
|
enabled = false |
|
|
|
|
filter = asterisk |
|
|
|
|
action = iptables-multiport[name=asterisk-udp, port="5060,5061", protocol=udp] |
|
|
|
|
sendmail-whois[name=Asterisk, dest=you@example.com, sender=fail2ban@example.com] |
|
|
|
|