9f24c74527
Root cause: user's status.log uses default OpenVPN format (status-version 1)
with human-readable column names. Our parser only handled status-version 3
(CSV with 11 fields per CLIENT_LIST line).
v1 format observed on production:
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
test,123.118.73.196:18257,423700,455528,2026-08-09 16:14:10
Changes:
pkg/openvpn/manager.go:
- Detect format by scanning first line: TITLE, → v3, OpenVPN CLIENT LIST → v1
- Add reCli1 regex for v1 5-column data rows
- v1 mode: read full file, parse CLIENT_LIST then parse ROUTING_TABLE
separately to associate CN→VPNAddress (v1 doesn't include VPN IP
in the client data row)
- Add bytes import
Both formats now work side-by-side.