Skip to content

Latest commit

 

History

History
160 lines (143 loc) · 8.65 KB

CHANGELOG.md

File metadata and controls

160 lines (143 loc) · 8.65 KB

Changelog

Unreleased

2.0.3 - 2026-08-02

  • Added per-profile Ping/TCP Watchdog checks while keeping Ping as the upgrade and fresh-install default. TCP probes use only allowlisted KHAREJ_IP and TUNNEL_PORT, deduplicate by mode/target/timeout, classify local resource and configuration failures as non-actionable probe_error, preserve manual override, and never restart GOST when check mode changes.
  • Reduced Monitoring overhead with 20/60/120/1800-second fresh-install cadences, one shared TCP snapshot, Slow-only FD/socket/process/filesystem work, identity-safe caches, bounded retention, and observable load shedding that keeps Fast metrics running and recovers after three on-time cycles.
  • Added an atomic high-traffic Monitoring preset, deterministic 10,000-FD and overrun/recovery coverage, v2.0.1/v2.0.2-to-v2.0.3 upgrade fixtures, and an operator-only production snapshot, verification, soak, and rollback runbook.
  • Added Watchdog schema v3 event-time probe modes, with safe legacy profile-event backfill to Ping. Historical events no longer inherit a profile's current mode, and production snapshots canonicalize missing v2.0.1/v2.0.2 modes to Ping.
  • Preserved Monitoring schema version 4, existing retention, Direct Mode traffic lifecycle, user configs/history, firewall state, check modes, and manual ownership. This work does not enable BBR or replace adequate host RAM.

2.0.2 - 2026-07-17

  • Added the central per-profile Iran Upstream Watchdog v1 with exact 2-second ICMP defaults, concurrent deduplicated checks, stop ownership, manual and maintenance protection, bounded 24-hour SQLite transition history, hardened systemd packaging, menu/install/uninstall integration, and deterministic tests. Installation leaves every profile Disabled and performs no GOST traffic service action.
  • Hardened Watchdog production safety with typed probe results, local Ping dependency preflight, IP-plus-timeout probe sharing, durable systemd action intents, bounded service reconciliation, safe invalid-config recovery, current-value menu defaults, exact 24-hour outage intersections, explicit owned-stop mode changes, re-arm auditing, and hardened Ubuntu runtime/soak validation.
  • Completed durable Watchdog crash recovery so persisted stop and start intents execute and finalize exactly once after restart for Auto, Monitor, and Disabled profiles, with bounded failure handling and no Ping in Disabled mode.
  • Validated Monitor Only and Auto Protect on real Ubuntu traffic profiles, including a high-traffic outage where the exact GOST service stopped at the threshold, released its socket load, continued probing, and recovered once after qualified health returned.

2.0.1 - 2026-07-14

  • Fixed public setup compatibility with the standard Ubuntu /etc/os-release -> ../usr/lib/os-release symlink layout.
  • Added a bounded, non-executing OS metadata resolver that accepts trusted regular and symlink layouts, safely falls back to /usr/lib/os-release, and rejects broken, looping, writable, oversized, non-root-owned, or unexpected targets before any download or installation work.
  • Added deterministic setup regressions and focused Ubuntu 22.04/24.04 real-host OS metadata preflight coverage without changing Direct Mode, firewall, Monitoring schema, or transactional source/runtime behavior.

2.0.0 - 2026-07-14

  • Declared the first stable major release of the official upstream GOST Direct Mode manager.
  • Added the public checksum-verified setup.sh flow for latest and pinned GitHub Releases, with safe archive validation and rollback-safe source replacement at /opt/GOST-Manager.
  • Aligned setup source activation with the local installer transaction, added a pre-commit installed VERSION/executable gate, and retained exact recovery paths when source backup cleanup or rollback cannot be verified.
  • Added explicit VERSION installation, gost-manager --version, and a versioned interactive menu header.
  • Added deterministic tag-to-release automation with exact VERSION/tag/notes validation, complete local gates, two verified assets, and validation-only manual runs by default.
  • Pinned checkout in release and Ubuntu integration workflows to the reviewed immutable actions/checkout v4.2.2 commit.
  • Classified hosts with neither conntrack sysctl file as an unsupported optional monitoring capability, preserving historical error counters while stopping repeated errors and showing the state explicitly in snapshots.
  • Added an idempotent Server Stability wizard that verifies bounded sysctl tuning and installs exact per-profile systemd resource-limit drop-ins without restarting GOST or changing Direct Mode configuration.
  • Simplified v0.2 to official upstream GOST Direct Mode and optional local Monitoring Lite.
  • Removed the unreleased Gateway desired-state/runtime packages, launchers, runner, tests, installer/uninstaller integration, menu placeholder, and Gateway-only documentation.
  • Added independent multi-server Direct Mode profile management with numeric gap allocation, optional labels, safe list/detail/edit/clone workflows, exact selected/all restart actions, global configured/live port checks, and profile-isolated rollback.
  • Added canonical ALLOWED_IRAN_SOURCES support while retaining legacy IRAN_IP, ordered profile-scoped firewall rules, exact firewall rollback, hidden confirmed password input, strict non-executable env parsing, and atomic same-directory env/unit writes.
  • Extended schema-version-4 Monitoring Lite entity metadata with stable profile number, optional label, and safe canonical allowed-source metadata; existing history and unlabeled profiles remain compatible.
  • Cancelled NGINX Gateway and Native GOST Gateway; no controller, failover, connection migration, shared traffic process, or GOST source change was introduced.
  • Removed NGINX discovery, current entities, rendering, health rules, fixtures, and capacity assumptions from Monitoring Lite while preserving generic multi-process collection.
  • Preserved existing Iran/Kharej env files, Direct Mode units and service states, official upstream GOST installation, SQLite schema version 4, monitoring history, cadence, and retention.
  • Updated the representative six-service Monitoring Lite profile to 485 fast series, 9 socket series, 48 slow series, and about 542 rollup series, with a conservative 0.451 GiB database estimate and 1 GiB reservation.

Monitoring development history

  • Added Monitoring Lite with 10/30/60/900-second cadences, 6-hour raw and 24-hour rollup/event retention, a compact seven-item menu, retained Advanced tools, and deterministic performance fixtures.
  • Added host-based Linux systemd verification, installed-path policy, configured DB resolution, collector/admin locking, crash-safe WAL-aware purge, an exact runtime manifest, metadata-safe installation rollback, and dependency-aware uninstall.
  • Added strict monitoring configuration, a hardened isolated systemd service, atomic install/upgrade rollback, operator menu workflows, maintenance, and history purge while preserving Direct Mode traffic.
  • Added bounded raw/rollup/hybrid queries, observational health, live and historical dashboards, JSON/CSV export parity, a one-million-row streaming ceiling, concurrent reads, and indexed query-plan tests.
  • Added schema v4 host, network, TCP/IP, storage, service, process, socket, tunnel, and collector-self metric coverage with injectable sources, persistent delta state, quality labels, and deduplicated transition events.
  • Added multi-process cgroup PID aggregation, split fast/slow process cadence, endpoint-aware Direct Mode socket counts, checkpoint timing, bounded source state, and storage budgeting.
  • Bounded structured-event storage with an explicit independent retention policy enforced by atomic maintenance.

0.1.2

  • Removed GitHub Actions workflow because validation is handled locally.

0.1.1

  • Fixed Iran tunnel creation to always require Port mappings.
  • Added stricter mapping tests for empty values, invalid formats, and duplicate listen ports.
  • Changed delete, status, logs, and restart flows to use a smart numbered tunnel selector.
  • Added tunnel discovery for service/env orphans so broken tunnels can still be selected.
  • Updated documentation for the mapping prompt and selector UX.

0.1.0

  • Initial GOST Manager release.
  • Added GOST install/update from official GitHub Releases.
  • Added Kharej SOCKS5 tunnel creation.
  • Added Iran TCP forwarding tunnel creation.
  • Added numbered systemd services.
  • Added env-based configuration.
  • Added status, logs, restart, delete, list, and cleanup options.
  • Added documentation, examples, tests, and local validation.