Proxmox and Proxmox Backup
Configuration for the pvedaemon and proxmox-backup services from Proxmox.
This example makes the assumption that a function named banFor is defined. See the ipset example.
It also makes the assumption that there is a pattern named ip.
{
streams: {
// Ban hosts failing to connect via PVE ou PBS.
pve: {
cmd: ['journalctl', '-fn0', '-u', 'pvedaemon.service', '-u', 'proxmox-backup.service'],
filters: {
failedlogin: {
regex: [
@'authentication failure; rhost=\[?<ip>\]?(:\d+)? ',
],
retry: 3,
retryperiod: '6h',
actions: banFor('48h'),
},
},
},
},
}