Is there a regex or 'formula' I could incorporate into my 'action' statement that would include the current I.P.?
Thank you
current 'action' statement example
Code: Select all
action = iptables[name=VSFTPD, port = 0:65535, protocol=tcp]
sendmail-whois[name=VSFTPD, dest=myaddress@example.com, sender=fail2ban@example.com, sendername="lnamejhp Fail2Ban"]
Investigating Pythom regex's (read somewhere that Fail2ban uses python) - am lost.