From 947ef2beb7907cf12aea261ff7e25e5b18471772 Mon Sep 17 00:00:00 2001 From: Alexey <247128645+axkurcom@users.noreply.github.com> Date: Fri, 17 Apr 2026 12:38:22 +0300 Subject: [PATCH 1/2] Fixes in TLS-F --- src/tls_front/emulator.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tls_front/emulator.rs b/src/tls_front/emulator.rs index a23373d..ba8453a 100644 --- a/src/tls_front/emulator.rs +++ b/src/tls_front/emulator.rs @@ -18,6 +18,9 @@ fn jitter_and_clamp_sizes(sizes: &[usize], rng: &SecureRandom) -> Vec { .iter() .map(|&size| { let base = size.clamp(MIN_APP_DATA, MAX_APP_DATA); + if base == MIN_APP_DATA || base == MAX_APP_DATA { + return base; + } let jitter_range = ((base as f64) * 0.03).round() as i64; if jitter_range == 0 { return base; From a858dd799e1b27644ca284defb6c503296ce6059 Mon Sep 17 00:00:00 2001 From: Alexey <247128645+axkurcom@users.noreply.github.com> Date: Fri, 17 Apr 2026 12:43:41 +0300 Subject: [PATCH 2/2] Bump --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9b5ec98..164fccd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2780,7 +2780,7 @@ checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417" [[package]] name = "telemt" -version = "3.4.1" +version = "3.4.2" dependencies = [ "aes", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 009f679..beac5d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "telemt" -version = "3.4.1" +version = "3.4.2" edition = "2024" [features]