|
|
|
@ -254,10 +254,18 @@ action = iptables-multiport[name=Named, port="domain,953", protocol=tcp]
|
|
|
|
|
logpath = /var/log/named/security.log |
|
|
|
|
ignoreip = 168.192.0.1 |
|
|
|
|
|
|
|
|
|
[asterisk] |
|
|
|
|
[asterisk-tcp] |
|
|
|
|
enabled = true |
|
|
|
|
filter = asterisk |
|
|
|
|
action = iptables-multiport[name=Asterisk, port="5060", protocol="tcp,udp"] |
|
|
|
|
action = iptables-multiport[name=asterisk-tcp, port="5060,5061", protocol=tcp] |
|
|
|
|
sendmail-whois[name=Asterisk, dest=you@example.com, sender=fail2ban@example.com] |
|
|
|
|
logpath = /var/log/asterisk/messages |
|
|
|
|
maxretry = 5 |
|
|
|
|
maxretry = 10 |
|
|
|
|
|
|
|
|
|
[asterisk-udp] |
|
|
|
|
enabled = true |
|
|
|
|
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] |
|
|
|
|
logpath = /var/log/asterisk/messages |
|
|
|
|
maxretry = 10 |
|
|
|
|