| 1 |
# Description |
| 2 |
|
| 3 |
A simple parser for Proxmox VE Web interface. |
| 4 |
Proxmox VE is listening on port 8006/tcp and write ssh fails into syslog |
| 5 |
|
| 6 |
# Logs |
| 7 |
|
| 8 |
- Error |
| 9 |
|
| 10 |
``` |
| 11 |
Jan 4 17:34:08 hypervisor pvedaemon[3663339]: authentication failure; rhost=::ffff:172.21.10.2 user=toor@pam msg=no such user ('toor@pam') |
| 12 |
Jan 4 17:34:22 hypervisor pvedaemon[3483744]: authentication failure; rhost=::ffff:172.21.10.2 user=root@pam msg=Authentication failure |
| 13 |
``` |
| 14 |
|
| 15 |
> In the first string, the user does not exist. |
| 16 |
> In the second user exists but auth fail. |
| 17 |
|
| 18 |
- Success |
| 19 |
|
| 20 |
``` |
| 21 |
Jan 4 17:34:27 hypervisor pvedaemon[2891825]: <root@pam> successful auth for user 'root@pam' |
| 22 |
``` |
| 23 |
|
| 24 |
# To be done |
| 25 |
|
| 26 |
- ? |
| 27 |
|
| 28 |
# Explain output |
| 29 |
|
| 30 |
- Proxmox-logs parser is used only for authentication failures. |
| 31 |
|
| 32 |
``` |
| 33 |
line: Jan 4 17:34:08 hypervisor pvedaemon[3663339]: authentication failure; rhost=::ffff:172.21.10.2 user=toor@pam msg=no such user ('toor@pam') |
| 34 |
├ s00-raw |
| 35 |
| └ 🟢 crowdsecurity/syslog-logs (first_parser) |
| 36 |
├ s01-parse |
| 37 |
| └ 🟢 fulljackz/proxmox-logs (+8) |
| 38 |
├-------- parser success 🟢 |
| 39 |
├ Scenarios |
| 40 |
└ 🟢 fulljackz/proxmox-bf |
| 41 |
|
| 42 |
line: Jan 4 17:34:01 hypervisor pvedaemon[3663339]: authentication failure; rhost=::ffff:172.21.10.2 user=toor@pam msg=no such user ('toor@pam') |
| 43 |
├ s00-raw |
| 44 |
| └ 🟢 crowdsecurity/syslog-logs (first_parser) |
| 45 |
├ s01-parse |
| 46 |
| └ 🟢 fulljackz/proxmox-logs (+8) |
| 47 |
├-------- parser success 🟢 |
| 48 |
├ Scenarios |
| 49 |
└ 🟢 fulljackz/proxmox-bf |
| 50 |
|
| 51 |
line: Jan 4 17:34:08 hypervisor pvedaemon[3663339]: authentication failure; rhost=::ffff:172.21.10.2 user=toor@pam msg=no such user ('toor@pam') |
| 52 |
├ s00-raw |
| 53 |
| └ 🟢 crowdsecurity/syslog-logs (first_parser) |
| 54 |
├ s01-parse |
| 55 |
| └ 🟢 fulljackz/proxmox-logs (+8) |
| 56 |
├-------- parser success 🟢 |
| 57 |
├ Scenarios |
| 58 |
└ 🟢 fulljackz/proxmox-bf |
| 59 |
|
| 60 |
line: Jan 4 17:34:07 hypervisor pvedaemon[3483744]: authentication failure; rhost=::ffff:172.21.10.2 user=root@pam msg=Authentication failure |
| 61 |
├ s00-raw |
| 62 |
| └ 🟢 crowdsecurity/syslog-logs (first_parser) |
| 63 |
├ s01-parse |
| 64 |
| └ 🟢 fulljackz/proxmox-logs (+8) |
| 65 |
├-------- parser success 🟢 |
| 66 |
├ Scenarios |
| 67 |
└ 🟢 fulljackz/proxmox-bf |
| 68 |
|
| 69 |
line: Jan 4 17:34:08 hypervisor pvedaemon[2891825]: <root@pam> successful auth for user 'root@pam' |
| 70 |
├ s00-raw |
| 71 |
| └ 🟢 crowdsecurity/syslog-logs (first_parser) |
| 72 |
├ s01-parse |
| 73 |
| └ 🔴 fulljackz/proxmox-logs |
| 74 |
└-------- parser failure 🔴 |
| 75 |
|
| 76 |
line: Jan 4 17:34:08 hypervisor pvedaemon[3663339]: authentication failure; rhost=::ffff:172.21.10.2 user=toor@pam msg=no such user ('toor@pam') |
| 77 |
├ s00-raw |
| 78 |
| └ 🟢 crowdsecurity/syslog-logs (first_parser) |
| 79 |
├ s01-parse |
| 80 |
| └ 🟢 fulljackz/proxmox-logs (+8) |
| 81 |
├-------- parser success 🟢 |
| 82 |
├ Scenarios |
| 83 |
└ 🟢 fulljackz/proxmox-bf |
| 84 |
|
| 85 |
line: Jan 4 17:34:11 hypervisor pvedaemon[2891825]: <root@pam> successful auth for user 'root@pam' |
| 86 |
├ s00-raw |
| 87 |
| └ 🟢 crowdsecurity/syslog-logs (first_parser) |
| 88 |
├ s01-parse |
| 89 |
| └ 🔴 fulljackz/proxmox-logs |
| 90 |
└-------- parser failure 🔴 |
| 91 |
|
| 92 |
line: Jan 4 17:34:12 hypervisor pvedaemon[3483744]: authentication failure; rhost=::ffff:172.21.10.2 user=root@pam msg=Authentication failure |
| 93 |
├ s00-raw |
| 94 |
| └ 🟢 crowdsecurity/syslog-logs (first_parser) |
| 95 |
├ s01-parse |
| 96 |
| └ 🟢 fulljackz/proxmox-logs (+8) |
| 97 |
├-------- parser success 🟢 |
| 98 |
├ Scenarios |
| 99 |
└ 🟢 fulljackz/proxmox-bf |
| 100 |
|
| 101 |
line: Jan 4 17:34:13 hypervisor pvedaemon[2891825]: <root@pam> successful auth for user 'root@pam' |
| 102 |
├ s00-raw |
| 103 |
| └ 🟢 crowdsecurity/syslog-logs (first_parser) |
| 104 |
├ s01-parse |
| 105 |
| └ 🔴 fulljackz/proxmox-logs |
| 106 |
└-------- parser failure 🔴 |
| 107 |
|
| 108 |
line: Jan 4 17:34:02 hypervisor pvedaemon[3483744]: authentication failure; rhost=::ffff:172.21.10.2 user=root@pam msg=Authentication failure |
| 109 |
├ s00-raw |
| 110 |
| └ 🟢 crowdsecurity/syslog-logs (first_parser) |
| 111 |
├ s01-parse |
| 112 |
| └ 🟢 fulljackz/proxmox-logs (+8) |
| 113 |
├-------- parser success 🟢 |
| 114 |
├ Scenarios |
| 115 |
└ 🟢 fulljackz/proxmox-bf |
| 116 |
|
| 117 |
line: Jan 4 17:34:03 hypervisor pvedaemon[2891825]: <root@pam> successful auth for user 'root@pam' |
| 118 |
├ s00-raw |
| 119 |
| └ 🟢 crowdsecurity/syslog-logs (first_parser) |
| 120 |
├ s01-parse |
| 121 |
| └ 🔴 fulljackz/proxmox-logs |
| 122 |
└-------- parser failure 🔴 |
| 123 |
``` |