Skip to content

matrix: add fail2ban filter and jail

Benedek Nagy requested to merge nbenedek/freedombox:matrix-fail2ban into master

Test:

  1. On a production server apply the changes of MR !2296 (closed)
  2. Setup the fail2ban filter and jail, then restart fail2ban
  3. Trying to log in unsuccessfully from FluffyChat leads to a 10 min ban

In the previous commit the jail's name was above 29 chars which hindered iptables from effectively banning the Host IP, so I renamed it.

Signed-off-by: nbenedek contact@nbenedek.me

Merge request reports

Loading