# Fail2Ban filter for axigen## Revision: 2016040601## If you want to protect Axigen from being bruteforced by password# authentication then configure enableSecurityLog = yes in axigen.cfg# and reload configuration.## Log file: ${AXIGEN_WORK_DIR}/log/security.txt# Log example: 2016-03-08 12:41:29 +0200 02 aximon SECURITY:PROXY_WEBMAIL;0002607C;82.36.25.70;61707;OP_FAIL;root@q.me;Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0;Authentication error; Invalid password### Notes:# * Feature introduced by Axigen version 9.0# * Axigen 9 default separator was ':'# * Axigen 10 default separator switched to ';' (due to IPv6 address format)#[INCLUDES]# Read common prefixes. If any customizations available -- read them from# common.localbefore= common.conf
[Definition]_daemon= axigen
failregex= ^%(__prefix_line)s.* SECURITY:[A-Z3_\-]+[:;][0-9A-F]+[:;]<HOST>[:;][0-9]+[:;]OP_FAIL[:;].*$
ignoreregex=[Init]# "maxlines" is number of log lines to buffer for multi-line regex searchesmaxlines=10