Session key uses the OpenVPN Client ID (survives float), one usage_history row per user per tick, summed speeds in the API, last_bytes/real_address per account, migration 2 (active_sessions.session_id). Also throttles the "status file missing" log and reports recovery. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Changes and results
Every change has a plan (*_PLAN.md) before it and a summary of what was done after it. Newest last. The guides that came out of the changes are linked in the last column.
| Date | Change | Document |
|---|---|---|
| 2026-09-30 | Security hardening: path traversal, 2FA token bypass, CORS, log leak, HTTPS, SSH, fail2ban | Security hardening |
| 2026-09-30 | Admin username change (API + UI), no built-in default admin | Admin username change |
| 2026-09-30 | Validation of server/PKI settings (config injection into the root-written OpenVPN config) | Settings validation |
| 2026-09-30 | API services run as an unprivileged user; root helper validates and installs the OpenVPN config, publishes the CRL | Privilege separation (includes CRL publishing for crl_verify) |
| 2026-10-04 | Certificates page: clickable rows, profile details modal with a saved note (PUT /profiles/{id}/note) |
Profile notes (includes the compact modal and the note tooltip on the client name) |
| 2026-10-04 | PKI initialization runs in the background: status endpoint, progress on the PKI page, protection against a second start | Async PKI init |
| 2026-10-04 | Toast notifications moved to the bottom-right corner, shared component, light/dark themes | Toast notifications |
| 2026-10-04 | Server setup is closed until the PKI is initialized (VPN menu lock, 409 for configure/start/create client, Clear PKI blocked while OpenVPN runs) | PKI dependency guard |
| 2026-10-05 | Database migrations with backup, integrity checks and downgrade protection; standalone migrate.py (phase 1 of install/update scenarios) |
Database migrations |
| 2026-10-05 | Scenario 1: container install and update, variant A (one container) and B (per component); backup, restore, automatic rollback | Containers guide · change |
| 2026-10-05 | Scenario 2: install and update as system services on Alpine, Debian, Ubuntu; helper config for systemd; backup, restore, automatic rollback | System services guide · change |
| 2026-10-05 | nftables script for system-service installs: masquerade, TCP MSS clamping (path MTU) and TTL for traffic from the VPN network to all other networks; boot service | Firewall, NAT and forwarding · plan · change |
| 2026-10-05 | Documentation refactoring: general information, installation methods, details per method; a newcomer path (choose, install, first steps); host-specific Hysteria2/Timeweb records moved out of the general documentation | plan · change |
| 2026-10-05 | Комплексный анализ кодовой базы на основе графа знаний: безопасность, корректность, архитектура, тесты, рекомендации P0-P2 | plan · change · отчёт |
| 2026-10-05 | Сборщик трафика: устойчивый цикл, остановка по сигналу, проверка целостности и свежести файла статуса, учёт сессий по времени их начала (BUG-02, BUG-03) | plan · change |
| 2026-10-05 | Ключ подписи JWT без значения по умолчанию: Core и Profiler не запускаются при пустом, слабом или заимствованном из примера ключе; проверка в установщиках, update.sh выпускает ключ при необходимости (SEC-01) |
plan · change |