ospab
7424ccc0ff
fix: resolve critical ARQ bugs causing Speedtest tunnel drops + docs overhaul
...
Critical fixes (6):
- protocol.rs: in_flight_count() now counts only retransmittable Data frames,
not Ack/Nack control frames — eliminates false backpressure under load
- protocol.rs: NACK is now rate-limited to once per 30ms — prevents
retransmission storm during normal UDP jitter
- protocol.rs: zombie frames exceeding max_retries+4 are evicted each tick —
prevents unbounded memory growth and stale retransmits
- protocol.rs: Closing state now processes final in-flight packets instead
of silently dropping them — prevents data loss at session teardown
- server/lib.rs: stream_tx changed from bounded(10000) to unbounded_channel —
prevents TCP-reader collapse during Speedtest with 50+ streams
- bridge.rs: liveness timeout raised from 30s to 60s — prevents false
reconnect during heavy Speedtest load
Medium fixes (8):
- protocol.rs: ACK range truncation preserves cumulative range (index 0)
- bridge.rs: Ping now uses send_datagram() for correct TURN wrapping
- dispatcher.rs: replay_cache hard-capped at 100k entries (DoS protection)
- dispatcher.rs: old addr cleaned from addr_to_session on roaming
- server/lib.rs: TCP connect_target() now has 10s timeout
- config.rs: TURN section parsed during hot-reload
- proxy.rs: HTTP header parsing uses 512-byte chunks instead of 1-byte reads
- proxy.rs: stream_id wrap-around skips active IDs to prevent collision
- runner.rs: is_essential_log matches actual log strings from bridge.rs
Other:
- kex.rs: clearly marked as dead PQ stub (not used by protocol)
- README.md + README.ru.md: complete rewrite with architecture diagram
- docs/en/specification.md: updated ARQ section with all new semantics
2026-05-17 03:20:50 +03:00
ospab
f0a93b4161
perf: heavily tune UDP socket buffers via socket2 to support 10Gbps+ micro-burst resilience
2026-05-17 02:19:59 +03:00
ospab
4cc1f0079c
fix: resolve packet drop & connection timeouts under high speed tests by reducing proxy event queue size and expanding sent history / reorder buffers
2026-05-17 01:35:24 +03:00
ospab
bfa858ff93
fix: prevent premature Windows client shutdown due to empty/closed console event streams
2026-05-17 01:30:00 +03:00
ospab
ec35769b9f
fix: implement non-blocking unbounded channels and clean stream reset on reconnect
2026-05-16 23:41:04 +03:00
ospab
e28a698e9b
fix: resolve connection instability under load and refine logging
2026-05-16 20:55:11 +03:00
ospab
5c7a55f9e0
fix: restore server-only guard for link printing in init block
2026-05-16 19:30:15 +03:00
ospab
9982b8b94b
fix: correct crate name to json_comments
2026-05-16 19:25:27 +03:00
ospab
f419bfa4ee
feat: switch to JSON with comments (JSONC) for config; docs: update READMEs
2026-05-16 19:23:17 +03:00
ospab
514bae94cd
fix: resolve build errors and remove GUI from main release; docs: improve READMEs
2026-05-16 19:15:04 +03:00
ospab
4970b661db
chore: implement keep-alive, config comments, validation and CI/CD improvements
2026-05-16 18:20:53 +03:00
ospab
57596143fa
fix(gui): resolve ERR_CONNECTION_REFUSED by disabling automatic relaunch in Tauri context and surfacing Admin requirement as UI alert
2026-05-15 22:50:30 +03:00
ospab
e21e612e5c
feat(gui): implement real-time atomic status polling and multi-state UI feedback (Stopped/Handshaking/Established) and update JNI/core layers
2026-05-15 22:37:50 +03:00
ospab
c26e63250c
fix(win-tun): eliminate console window flashes and early SOCKS5 bind race conditions in tun2socks launcher
2026-05-15 22:37:33 +03:00
ospab
b63979b014
feat: add custom DNS server & Exclusions config fields, simplify share link schema, introduce --links server helper
2026-05-15 22:17:55 +03:00
ospab
07b31cc3f3
fix: resolve infinite fatal tick log spam with auto-reconnect and centralize UAC elevation in run_client_core to protect GUI apps
2026-05-15 22:04:11 +03:00
ospab
609564fdd9
feat(gui): add fully native tauri windows gui with premium mobile layout, real-time statistics polling, in-app config editor, and graceful exit cleanup
2026-05-15 22:01:20 +03:00
ospab
d34a1dd29a
fix: resolve asymmetric packet loss (zero upload) by enforcing strict MTU caps and reducing TUN interface MTU to 1300 to prevent UDP fragmentation on outbound traffic
2026-05-15 19:54:07 +03:00
ospab
a3c8b3a750
fix: address final analysis issues including Nonce exhaustion, TUN pre-flight checks, dead code, and proper TURN channel framing. Also fix CI packaging of tun2socks
2026-05-15 19:23:50 +03:00
ospab
0f81140f06
feat: resolve flow control, tun crash route cleanup, log pollution, padding caps
2026-05-15 18:34:32 +03:00
ospab
6e35609f42
perf: accelerate protocol via low-latency ACK windows and suppress high-velocity console spam logs
2026-05-15 17:44:06 +03:00
ospab
6ae43a8f41
refactor: pre-package Wintun and tun2socks into archives via CI/CD and purge runtime downloader
2026-05-15 17:07:18 +03:00
ospab
5ee8d5a470
fix: prevent PowerShell Invoke-WebRequest hangs by disabling ProgressPreference
2026-05-15 16:56:10 +03:00
ospab
92c044217f
feat: absolute dynamic Windows elevation using native ShellExecuteW (runas)
2026-05-15 16:41:20 +03:00
ospab
c2407f3637
fix: stabilize Windows dynamic UAC elevation by waiting for powershell handoff
2026-05-15 16:39:19 +03:00
ospab
da50d2f15f
feat: autonomous self-downloading dependencies inside TUN OS drivers
2026-05-15 15:58:35 +03:00
ospab
22fb9bb3d3
feat: unified cross-platform TUN support (Linux + Windows Firewall dynamic bypass)
2026-05-15 15:54:37 +03:00
ospab
31d61de939
Fix: Add physical network bypass routing for primary DNS (1.1.1.1) in Wintun handler to prevent UDP-over-TCP DNS resolution deadlock.
2026-05-15 01:23:13 +03:00
ospab
e5062465d6
Fix: Integrate multi-architecture Wintun zip extractor filtering and upgrade tun2socks to v2.6.0 using the provided working release endpoint.
2026-05-15 01:20:56 +03:00
ospab
1ab313b616
Fix: Overhaul Windows UAC elevation to preserve CWD and CLI arguments, preventing instant crash on relaunch; apply UseBasicParsing to fix background downloader hangs.
2026-05-15 01:09:15 +03:00
ospab
d328222f1b
Fix: Explicitly link user32.lib and kernel32.lib inside runner.rs to resolve indirect ShowWindow unresolved external MSVC linker regression.
2026-05-15 00:46:48 +03:00
ospab
6713d70071
Fix: Simplify system proxy registry format to raw address and port, and restore safe defaults for tun.wintun_path and ipv4_address in client initialization template
2026-05-15 00:36:28 +03:00
ospab
0b3ee775e4
Refactor: Fully overhaul TUN mode architecture. Replace stub with auto-downloading Go tun2socks daemon, inject dynamic Windows PowerShell routing tables with proxy IP exclusions, metrics and secure DNS resolver, and prune legacy wintun crate bindings.
2026-05-15 00:35:25 +03:00
ospab
0d414e5000
Refactor: Integrate portable-atomic to transparently emulate 64-bit atomics on 32-bit router architectures like MIPS and ensure absolute hardware-independent metrics tracking
2026-05-15 00:11:28 +03:00
ospab
1ebf01cc65
Initial public release: Ospab Stealth Transport Protocol v0.1.0
2026-05-14 21:41:54 +03:00