Proxmox VE Fail2ban

k0nsl

Member
Nov 17, 2013
15
0
21
Denmark, Slangerup
k0nsl.org
Hi,


There's a minor mistake in the Proxmox VE Wiki entry for Fail2ban.

This:
Code:
[proxmox]
enabled = true
port = https,http,8006
filter = proxmox
logpath = /var/log/daemon.log
maxretry = 3
bantime = 3600 # 1 hour
Should be:
Code:
[proxmox]
enabled = true
port = https,http,8006
filter = proxmox
logpath = /var/log/daemon.log
maxretry = 3
bantime = 3600

The comment after "bantime" will produce a warning which results in the value defaulting to "600".

Best wishes,
-k0nsl
 
I moved the comment up one line (on its own) - afaict from the fail2ban documentation this should work?
 
This is quite outdated, because we do not use port https and http anymore (AFAIR this was uses in 2.x)