Rust port of @masterking32's MasterHttpRelayVPN — all credit to @masterking32 for the original idea and Python implementation. Free DPI bypass via a Google Apps Script relay with TLS SNI concealment. CLI + cross-platform desktop UI, HTTP + SOCKS5 proxy, no runtime deps.
Repo therealaleph/MasterHttpRelayVPN-RUST, read from GitHub 6 h ago. therealaleph has not joined Take My Repo.
• SOCKS5 remote-DNS privacy is preserved (PR #1369 by @maybeknott): SOCKS5 domain-name targets retain remote-resolution semantics through every passthrough path. When neither Full Tunnel nor an upstream SOCKS5 proxy can resolve remotely, the connection now fails closed instead of leaking the hostname to the system resolver; IP literals and ordinary HTTP CONNECT traffic are unchanged.
• Safer Android JNI references and bounded runtime workers (PR #1370 by @maybeknott): returned JNI strings are scoped through local frames so long-running sessions do not accumulate local references, and Tokio workers are sized from available CPU parallelism with a conservative 2–4 worker bound for predictable mobile thread and memory use.
• Bounded LRU caches with eviction statistics (PR #1371 by @maybeknott): response-cache hits now refresh recency, and the MITM leaf server-configuration cache retains at most 512 entries. Capacity and eviction statistics make the behavior observable while preventing unbounded memory growth across many domains.
Full Changelog: v1.9.37...v1.9.38
auto با RTT بین presetهای سریع و کند جابهجا میشود. مسیر upload نیز از تجمیع خطی استفاده میکند و حذف اختیاری headerهای اضافی CDN حجم پاسخ relay را کم میکند. UI دسکتاپ تنظیمات جدید را هنگام Save حفظ میکند.• Faster, steadier relay and Full mode (PR #1417 by @CaptainMirage): HTTP/2 windows and H1/H2 connection reuse are tuned for high-latency links, copy buffers grow to 64 KiB, and auto coalescing now switches between fast and slow presets using measured RTT. The upload path uses linear-time accumulation, optional CDN-noise header filtering reduces relay response overhead, and desktop UI saves preserve the new settings.
• Event-driven backpressure and non-blocking DNS in tunnel-node (PR #1414 by @brightening-eyes): notifications replace polling waits, buffer accounting is updated atomically under the same lock, UDPGW accumulation is bounded, and DNS resolution no longer blocks the async runtime. These changes reduce CPU and memory pressure under load and eliminate the buffer-length race.
Full Changelog: v1.9.36...v1.9.37
quota_safety_buffer از چرخش خارج میشود، و اگر همه حسابها خالی شوند کل relay بهجای fail شدن وسط session سریع 503 برمیگرداند. وضعیت در quota_state.json ذخیره میشود، بعد از restart باقی میماند، و UI دسکتاپ بخش Usage Today را با شمارنده fetchها، reset بعدی، حسابهای فعال، تخمین حجم، و بنر QUOTA HARD STOP نشان میدهد.cargo rustc --crate-type staticlib، UI با چند Deployment ID، auth key show/hide، SNI pool editor و probe، import/share کانفیگ سازگار با Android، signing از Local.xcconfig، آیکن، و README مخصوص TestFlight. هنوز IPA رسمی داخل release CI منتشر نمیشود؛ این release سورس و مسیر build را وارد main میکند.read_buf را نشان میدهد. این همان مسیر OOM روی VPSهای کوچک هنگام ویدیو/download سریع و polling کند Apps Script بود.• Apps Script account quota tracking (PR #1396 by @CaptainMirage): each Deployment/account is now tracked in a rolling 24h window, removed from rotation before the hard limit via quota_safety_buffer, and when every account is exhausted the relay returns a fast 503 instead of failing mid-session. State is persisted in quota_state.json across restarts, and the desktop UI now shows Usage Today with fetch counts, next reset, active accounts, data estimate, and a QUOTA HARD STOP banner.
• iOS full-tunnel app scaffold (PR #1398 by @yyoyoian-pixel): added the iOS/NetworkExtension app source: leaf + FakeIP → SOCKS5 → mhrv-rs, staticlib builds via cargo rustc --crate-type staticlib, multi-Deployment UI, auth-key show/hide, SNI pool editor and probe, Android-compatible config import/share, signing through Local.xcconfig, app icon, and a TestFlight-oriented README. The release CI does not publish an IPA yet; this release lands the source and build path on main.
• Prevent tunnel-node Full mode OOMs (PR #1401 by @yyoyoian-pixel): each TCP session's downstream buffer is capped at 32 MiB, and the reader applies backpressure when Apps Script polling drains slowly. Empty polls no longer keep idle sessions alive, cleanup aborts every task in a session, and periodic logs now expose session count plus total read_buf memory. This targets the VPS OOM path seen with fast upstream video/downloads and slow Apps Script polling.
Full Changelog: v1.9.35...v1.9.36
• پایداری بهتر برای دانلودهای بزرگ و مسیرهای کند exit-node (PR #1346 از @CaptainMirage). درخواستهای Range و ادامهی دانلود حالا مسیر مقاومتری دارند، timeout دریافت بدنه از timeout اتصال/هدر جدا شده و مقدار جدید stream_timeout_secs به صورت پیشفرض 300 ثانیه است تا فایلهای بزرگ وسط دریافت بیدلیل قطع نشوند. برای درخواستهای امن مثل GET، timeout مسیر exit-node میتواند به Apps Script مستقیم fallback کند، و بستن تمیز TLS هم به ابزارهایی مثل wget/curl کمک میکند دانلود را از offset درست ادامه بدهند. فرمت timestamp لاگها هم فشردهتر شده تا خروجی ترمینال و پنل لاگ خواناتر باشد.
Full Changelog: v1.9.34...v1.9.35
• مهاجرت config از JSON به TOML با upgrade خودکار (PR #1317 از @CaptainMirage). فایل canonical برای نسخههای جدید حالا config.toml است و نمونهها، راهنماها، لانچر ویندوز، OpenWRT init، UI و مسیر Android/JNI همگی با TOML هماهنگ شدهاند. اگر کنار برنامه هنوز config.json قدیمی دارید، mhrv-rs آن را میخواند، یک فایل .toml معادل کنار آن مینویسد، و خود config.json را دستنخورده میگذارد تا مهاجرت بدون از دست رفتن تنظیمات انجام شود. برای اجرای معمولی بعد از مهاجرت از config.toml استفاده کنید؛ اگر automation یا shortcut قدیمی دارید که صراحتاً --config config.json میدهد، آن مسیر را به فایل TOML جدید تغییر دهید.
Full Changelog: v1.9.33...v1.9.34
tunnel-node را برای اتصال های بی کار کمتر می کند. (PR #1322 از @yyoyoian-pixel)• In Full Tunnel mode, fully idle sessions now use a stronger empty-keepalive backoff, and when every deployment is detected as legacy they stop sending repeated empty polls after going idle. This reduces Apps Script and tunnel-node request load for quiet connections. (PR #1322 by @yyoyoian-pixel)
• For mixed fleets where at least one deployment still has healthy long-poll support, the client keeps emitting empty polls so round-robin can still reach that healthy peer and remote→client data does not stall.
Full Changelog: v1.9.32...v1.9.33