summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG32
-rw-r--r--Cargo.lock14
-rw-r--r--Cargo.toml2
-rw-r--r--dpibreak.12
-rw-r--r--dpibreak.1.md7
5 files changed, 32 insertions, 25 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 3c5f882..3d5025e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,18 +1,22 @@
-DPIBreak v0.0.1
- - Initial release.
- - Filter/fragment TCP packet containing SNI field with nfqueue or WinDivert.
-DPIBreak v0.0.2
- - Remove unnecessary allocations per packet handling.
- - Fix: make install fail on Linux release tarball. (#4)
+DPIBreak v0.0.7
+ - Introduce feature `fake`, fake ClientHello packet injection.
+ - Enabled by option `--fake`, the default behavior is unchanged.
+ - Add options `--fake` and `--fake-ttl`.
+DPIBreak v0.0.6
+ - Fixed dependencies to allow installation via cargo install dpibreak.
+DPIBreak v0.0.5
+ - linux: properly suppress cleanup warning logs on startup.
+ - linux: keep error logs on cleanup failure during shutdown.
+DPIBreak v0.0.4
+ - linux: add `--nft-command` option to override default nft command.
+ - linux: silence verbose nftables log on start.
DPIBreak v0.0.3
- linux: support nftables backend for default, leaving the existing iptables/ip6tables + xt_u32 as a fallback.
- windows: only divert clienthello packet to userspace.
- windows: close windivert handle on termination.
-DPIBreak v0.0.4
- - linux: add `--nft-command` option to override default nft command.
- - linux: silence verbose nftables log on start.
-DPIBreak v0.0.5
- - linux: properly suppress cleanup warning logs on startup.
- - linux: keep error logs on cleanup failure during shutdown.
-DPIBreak v0.0.6
- - Fixed dependencies to allow installation via cargo install dpibreak.
+DPIBreak v0.0.2
+ - Remove unnecessary allocations per packet handling.
+ - Fix: make install fail on Linux release tarball. (#4)
+DPIBreak v0.0.1
+ - Initial release.
+ - Filter/fragment TCP packet containing SNI field with nfqueue or WinDivert.
diff --git a/Cargo.lock b/Cargo.lock
index e5a477b..0196438 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -103,7 +103,7 @@ dependencies = [
[[package]]
name = "dpibreak"
-version = "0.0.6"
+version = "0.0.7"
dependencies = [
"anyhow",
"ctrlc",
@@ -166,9 +166,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.178"
+version = "0.2.179"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091"
+checksum = "c5a2d376baa530d1238d133232d15e239abad80d05838b4b59354e5268af431f"
[[package]]
name = "memchr"
@@ -354,9 +354,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.111"
+version = "2.0.113"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87"
+checksum = "678faa00651c9eb72dd2020cbdf275d92eccb2400d568e419efdd64838145cb4"
dependencies = [
"proc-macro2",
"quote",
@@ -607,6 +607,6 @@ dependencies = [
[[package]]
name = "zmij"
-version = "1.0.0"
+version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6d6085d62852e35540689d1f97ad663e3971fc19cf5eceab364d62c646ea167"
+checksum = "30e0d8dffbae3d840f64bda38e28391faef673a7b5a6017840f2a106c8145868"
diff --git a/Cargo.toml b/Cargo.toml
index b495087..81158ec 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,7 +17,7 @@
[package]
name = "dpibreak"
-version = "0.0.6"
+version = "0.0.7"
authors = ["Dilluti0n <[email protected]>"]
edition = "2024"
build = "build.rs"
diff --git a/dpibreak.1 b/dpibreak.1
index 95a854d..288f137 100644
--- a/dpibreak.1
+++ b/dpibreak.1
@@ -1,4 +1,4 @@
-.TH DPIBREAK 1 "October 2025" "DPIBreak v0.0.6" "User Commands"
+.TH DPIBREAK 1 "October 2025" "DPIBreak v0.0.7" "User Commands"
.nh
.ad l
diff --git a/dpibreak.1.md b/dpibreak.1.md
index 6a8a5c4..f303b04 100644
--- a/dpibreak.1.md
+++ b/dpibreak.1.md
@@ -47,11 +47,14 @@ handshake latency. (default: 0)
**--fake**
Enable fake ClientHello packet injection before sending each packet
-fragmented.
+fragmented. The injected fake packet’s TTL / Hop Limit is overridden
+with **--fake-ttl.** All other TCP/IP header fields follow the original
+packet. Packets are transmitted in an interleaved order: (fake 1), (orig
+1), (fake 2), (orig 2), ...
**--fake-ttl *u8***
Override ttl (IPv4) / hop_limit (IPv6) of fake ClientHello packet.
-Ignored unless **--fake** is enabled.
+Ignored unless **--fake** is enabled. (default: 8)
**--queue-num *u16***