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)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!