mirror of https://github.com/fail2ban/fail2ban
sebres
4 months ago
4 changed files with 29 additions and 1 deletions
@ -0,0 +1,20 @@
|
||||
# Fail2Ban filter for Proxmox Web GUI |
||||
# |
||||
# Jail example: |
||||
# [proxmox] |
||||
# enabled = true |
||||
# port = https,http,8006 |
||||
# filter = proxmox |
||||
# logpath = /var/log/daemon.log |
||||
# maxretry = 3 |
||||
# # 1 hour |
||||
# bantime = 3600 |
||||
|
||||
[Definition] |
||||
|
||||
_daemon = pvedaemon |
||||
|
||||
failregex = ^\s*\S+ %(_daemon)s\[\d+\]: authentication failure; rhost=<ADDR> user=<F-USER>\S+</F-USER> |
||||
|
||||
ignoreregex = |
||||
|
@ -0,0 +1,5 @@
|
||||
# failJSON: { "time": "2005-03-08T09:37:44", "match": true , "host": "192.0.2.123" } |
||||
Mar 8 09:37:44 HOSTNAME pvedaemon[12021]: authentication failure; rhost=192.0.2.123 user=root@pam msg=Authentication failure |
||||
|
||||
# failJSON: { "time": "2005-03-09T03:32:27", "match": true , "host": "192.0.2.124" } |
||||
Mar 9 03:32:27 HOSTNAME pvedaemon[8961]: authentication failure; rhost=192.0.2.124 user=jose@pve msg=invalid credentials |
Loading…
Reference in new issue