• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

fail2ban logging support

eva2000

Well-known member
#1
I am working on my fail2ban implementation for Centmin Mod LEMP users and it just came to me that Xenforo 1.5 and/or XF 2 could have native and optional support for fail2ban for failed logins similar to this wordpress fail2ban plugin https://en-au.wordpress.org/plugins/wp-fail2ban/.

So Xenforo 2 failed logins can be written to a custom user defined log path. Then just have a fail2ban filter and jail to pick up those logged entries for banning at system firewall level or even Cloudflare firewall level via Cloudflare API based fail2ban action

Was originally posted incorrect at https://xf2demo.xenforo.com/threads/fail2ban-logging-support.2513/