Skip to content

Commit cdf5cc7

Browse files
committed
chore: v1.9.38 DNS privacy and bounded caches
Release the tested SOCKS5 remote-DNS privacy fix, Android JNI/runtime bounds, and bounded LRU caches from #1369, #1370, and #1371. Bump Cargo, Android, and iOS version metadata and add bilingual release notes.
1 parent ec5368d commit cdf5cc7

5 files changed

Lines changed: 13 additions & 5 deletions

File tree

‎Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mhrv-rs"
3-
version = "1.9.37"
3+
version = "1.9.38"
44
edition = "2021"
55
description = "Rust port of MasterHttpRelayVPN -- DPI bypass via Google Apps Script relay with domain fronting"
66
license = "MIT"

‎android/app/build.gradle.kts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ android {
1414
applicationId = "com.therealaleph.mhrv"
1515
minSdk = 24 // Android 7.0 — covers 99%+ of live devices.
1616
targetSdk = 34
17-
versionCode = 168
18-
versionName = "1.9.37"
17+
versionCode = 169
18+
versionName = "1.9.38"
1919

2020
// Ship all four mainstream Android ABIs:
2121
// - arm64-v8a — 95%+ of real-world Android phones since 2019

‎docs/changelog/v1.9.38.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!-- see docs/changelog/v1.1.0.md for the file format: Persian, then `---`, then English. -->
2+
• **حفظ حریم خصوصی DNS در SOCKS5** (PR [#1369](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/pull/1369) از @maybeknott): درخواست‌هایی که مقصد را به‌صورت نام دامنهٔ SOCKS5 می‌فرستند، معنای remote DNS را در همهٔ مسیرهای passthrough حفظ می‌کنند. اگر Full Tunnel یا upstream SOCKS5 برای resolve از راه دور در دسترس نباشد، اتصال به‌جای نشت نام دامنه به resolver سیستم به‌صورت امن متوقف می‌شود؛ مقصدهای IP و HTTP CONNECT معمولی بدون تغییر می‌مانند.
3+
• **پایداری بهتر runtime اندروید و مدیریت امن referenceهای JNI** (PR [#1370](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/pull/1370) از @maybeknott): رشته‌های برگشتی JNI داخل local frame محدود می‌شوند تا referenceهای محلی در نشست‌های طولانی انباشته نشوند، و تعداد workerهای Tokio بر اساس توان CPU بین ۲ تا ۴ محدود می‌شود تا مصرف thread و حافظه روی موبایل قابل‌پیش‌بینی بماند.
4+
• **cacheهای محدودشده با سیاست LRU و آمار eviction** (PR [#1371](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/pull/1371) از @maybeknott): cache پاسخ‌ها اکنون با هر hit ترتیب تازگی را به‌روزرسانی می‌کند و cache تنظیمات گواهی MITM حداکثر ۵۱۲ ورودی نگه می‌دارد. آمار ظرفیت و eviction نیز اضافه شده است تا مصرف حافظه در نشست‌های طولانی با دامنه‌های زیاد نامحدود رشد نکند.
5+
---
6+
• **SOCKS5 remote-DNS privacy is preserved** (PR [#1369](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/pull/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.
7+
• **Safer Android JNI references and bounded runtime workers** (PR [#1370](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/pull/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.
8+
• **Bounded LRU caches with eviction statistics** (PR [#1371](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/pull/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.

‎ios/project.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ settings:
1414
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
1515
# Keep in sync with the crate version in Cargo.toml. The toolbar reads
1616
# CFBundleShortVersionString, which Info.plist maps to $(MARKETING_VERSION).
17-
MARKETING_VERSION: "1.9.37"
17+
MARKETING_VERSION: "1.9.38"
1818
CURRENT_PROJECT_VERSION: "1"
1919

2020
packages: {}

0 commit comments

Comments
 (0)