Files
OpenVPN-Monitoring-Simple/DOCS/Changes/README.md
T

32 lines
8.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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_Security_Hardening.md) |
| 2026-09-30 | Admin username change (API + UI), no built-in default admin | [Admin username change](2026-09-30_Admin_Username_Change.md) |
| 2026-09-30 | Validation of server/PKI settings (config injection into the root-written OpenVPN config) | [Settings validation](2026-09-30_Settings_Validation.md) |
| 2026-09-30 | API services run as an unprivileged user; root helper validates and installs the OpenVPN config, publishes the CRL | [Privilege separation](2026-09-30_Privilege_Separation.md) (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](2026-10-04_Profile_Notes.md) (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_Async_PKI_Init.md) |
| 2026-10-04 | Toast notifications moved to the bottom-right corner, shared component, light/dark themes | [Toast notifications](2026-10-04_Toast_Notifications.md) |
| 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-04_PKI_Dependency_Guard.md) |
| 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_DB_Migrations.md) |
| 2026-10-05 | Scenario 1: container install and update, variant A (one container) and B (per component); backup, restore, automatic rollback | [Containers guide](../Deployment/Containers/README.md) · [change](2026-10-05_Scenario1_Containers.md) |
| 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](../Deployment/System_Services/README.md) · [change](2026-10-05_Scenario2_System_Services.md) |
| 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](../Deployment/System_Services/Firewall.md) · [plan](2026-10-05_NFT_Firewall_PLAN.md) · [change](2026-10-05_NFT_Firewall.md) |
| 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](2026-10-05_Docs_Refactoring_PLAN.md) · [change](2026-10-05_Docs_Refactoring.md) |
| 2026-10-05 | Комплексный анализ кодовой базы на основе графа знаний: безопасность, корректность, архитектура, тесты, рекомендации P0-P2 | [plan](2026-10-05_Code_Review_PLAN.md) · [change](2026-10-05_Code_Review.md) · [отчёт](../code_review/2026-10-05_1607Z_Codebase_Analysis.md) |
| 2026-10-05 | Сборщик трафика: устойчивый цикл, остановка по сигналу, проверка целостности и свежести файла статуса, учёт сессий по времени их начала (BUG-02, BUG-03) | [plan](2026-10-05_Gatherer_Reliability_PLAN.md) · [change](2026-10-05_Gatherer_Reliability.md) |
| 2026-10-05 | Ключ подписи JWT без значения по умолчанию: Core и Profiler не запускаются при пустом, слабом или заимствованном из примера ключе; проверка в установщиках, `update.sh` выпускает ключ при необходимости (SEC-01) | [plan](2026-10-05_JWT_Secret_Fail_Closed_PLAN.md) · [change](2026-10-05_JWT_Secret_Fail_Closed.md) |
| 2026-10-06 | Учёт нескольких сессий одного пользователя: ключ сессии по `Client ID` (устойчив к `float`), одна запись на CN за тик, скорость и история суммируются по сессиям (MS-1..MS-5); миграция 002 | [plan](2026-10-06_Multi_Session_Stats_PLAN.md) · [change](2026-10-06_Multi_Session_Stats.md) |
| 2026-10-07 | Шаблоны OpenVPN по мануалу 2.7: из клиентского профиля убраны `windows-driver`, `tls-client`, `user`/`group`, для udp добавлен `explicit-exit-notify`; из серверного убраны `tls-server`, дубль `# explicit-exit-notify`, строка `log` | [plan](2026-10-07_OVPN_Templates_PLAN.md) · [change](2026-10-07_OVPN_Templates.md) |
| 2026-10-07 | Резервное копирование и восстановление из UI и API (проход 1 из 3): пакет с базами, PKI и профилями, шифрование, назначения Local и S3, ротация, восстановление с миграцией и откатом, страница Backup and Restore | [plan](2026-10-07_Backup_Restore_PLAN.md) · [change](2026-10-07_Backup_Restore.md) · [guide](../Profiler_Management/Backup_Restore.md) |
| 2026-10-07 | Резервное копирование: замечания и дополнения: имя сервера и точное время UTC в имени пакета, назначения SFTP (закрепление отпечатка ключа хоста) и FTP/FTPS, миграции монитора в образе профилировщика (вариант B), ограничение частоты сообщений сборщика, раздел Backups в Security_Architecture | [plan](2026-10-07_Backup_Restore_Fixes_PLAN.md) · [change](2026-10-07_Backup_Restore_Fixes.md) · [guide](../Profiler_Management/Backup_Restore.md) |
| 2026-10-07 | Проверка скриптов установки и миграции на новом коде: проверка версии compose для варианта B (Docker Compose 2.17+), `ovpmon_backup.db` в резервной копии и восстановлении системных служб | [plan](2026-10-07_Deploy_Scripts_Check_PLAN.md) · [change](2026-10-07_Deploy_Scripts_Check.md) |
| 2026-10-07 | Ревью фронта: 401 на `/auth/*` не разлогинивает, панель Expiring, `vpn_netmask` при сохранении (раньше сбрасывалась в /24), заголовки безопасности и кэш в nginx, `npm ci`, общий код графиков, `ConfirmModal` и тосты вместо `confirm()`/SweetAlert2, отдельный клиент `/api/auth`, доступность, ESLint и Vitest | [plan](2026-10-07_UI_Review_Fixes_PLAN.md) · [change](2026-10-07_UI_Review_Fixes.md) |
| 2026-10-07 | Доставка UI: пересборка `deploy/ui-dist`, единый CSP с `OVPMON_CSP_CONNECT_EXTRA` (контейнеры и системный nginx, флаг `--csp-connect-extra`), `npm ci` в all-in-one, `app-ui` на `nginx-unprivileged` (порт 8080 внутри) | [plan](2026-10-07_UI_Delivery_Hardening_PLAN.md) · [change](2026-10-07_UI_Delivery_Hardening.md) |
| 2026-10-07 | Backup: бейджи Type, Status и Last result в таблице Destinations выровнены по верхнему краю строки (`align-top`), дата остаётся под бейджем | [plan](2026-10-07_Backup_Badges_Align_PLAN.md) · [change](2026-10-07_Backup_Badges_Align.md) |
| 2026-10-07 | Скорость (Mbps) на графиках за период больше суток: средняя скорость корзины из байтов агрегатных таблиц вместо нулей (история клиента и Analytics), подписи «RX/TX Mbps (avg)» | [plan](2026-10-07_Aggregated_Speed_PLAN.md) · [change](2026-10-07_Aggregated_Speed.md) |