1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
|
# DPIBreak

> [!IMPORTANT]
> **Disclaimer**
>
> This tool was created for technical research and educational purposes.
> Please make sure your usage complies with applicable laws and regulations.
> The authors assume no liability for misuse.
Simple and efficient tool for circumventing [Deep Packet Inspection
(DPI)](https://en.wikipedia.org/wiki/Deep_packet_inspection) on HTTPS
connections. It fragments the
[TCP](https://en.wikipedia.org/wiki/Transmission_Control_Protocol)
packet carrying the [TLS
ClientHello](https://www.rfc-editor.org/rfc/rfc8446.html#section-4.1.2)
so that certain DPI devices cannot extract the [Server Name Indication
(SNI)](https://en.wikipedia.org/wiki/Server_Name_Indication) field and
identify the destination site.
It only applies to the packets carrying TLS ClientHello; Other traffic
is not even queued to userspace and passes through the kernel
normally, unmodified. So, it is fast and **does not affect** core
performance (e.g., video streaming speed) users may be concerned
about.
## Features
### fake
Enable fake ClientHello packet injection before sending each packet
fragmented. (See `--fake` section on
[dpibreak(1)](./dpibreak.1.md#OPTIONS) for more information.)
## Quickstart
### Windows
1. Download and unzip the release from
<https://github.com/dilluti0n/dpibreak/releases/latest>.
2. Double-click `dpibreak.exe` or `start_fake.bat` to use
[fake](#fake). (See `WINDOWS_GUIDE.txt` for more information.)
### Linux
1. Download release tarball from
<https://github.com/dilluti0n/dpibreak/releases/latest>.
2. Extract and install:
```bash
tar -xf DPIBreak-X.Y.Z-x86_64-unknown-linux-musl.tar.gz
cd DPIBreak-X.Y.Z-x86_64-unknown-linux-musl
sudo make install
```
3. To run:
```bash
sudo dpibreak
sudo dpibreak --fake --fake-ttl 8
dpibreak --help
man 1 dpibreak # manual
```
4. To uninstall:
```bash
sudo make uninstall
```
### Linux with Cargo (crates.io)
Install Rust toolchain from
<https://www.rust-lang.org/learn/get-started>.
```bash
cargo install dpibreak
```
- Requirements: `libnetfilter_queue` development files (e.g.,
`libnetfilter-queue-dev` on Ubuntu/Debian).
- Note: Since cargo installs to user directory, sudo might not see
it. Use full path or link it:
```bash
# Option 1: Run with full path
sudo ~/.cargo/bin/dpibreak
# Option 2: Symlink to system bin (Recommended)
sudo ln -s ~/.cargo/bin/dpibreak /usr/bin/dpibreak
sudo dpibreak
```
## How to use
Simply running the program should work without any issues. It requires
administrator privileges to run:
- On Linux, you must run it with root privileges (e.g., `sudo
dpibreak`).
- On Windows, double-clicking `dpibreak.exe` or `start_fake.bat` will
automatically prompt for administrator permission. After it starts,
a console window will open. You must keep this window open while
using the program.
To stop using the program, press Ctrl+C or close the window;
it will exit without leaving any global state behind. For more
detailed information, please refer to [dpibreak(1)](./dpibreak.1.md).
## Reporting issues
See [dpibreak(1)#BUGS](./dpibreak.1.md#BUGS).
Report bugs at <https://github.com/dilluti0n/dpibreak/issues>.
## To produce release zip/tarball
Release builds and deployments are automated via GitHub Actions.
See <.github/workflows/release.yml> for details.
**Windows**
1. `.\build.ps1 zipball`
**Linux**
1. `cargo build --target x86_64-unknown-linux-musl --release`
2. `make tarball`
Release zip/tarball should be ready on
`dist\DPIBreak-X.Y.Z-x86_64-pc-windows-msvc.zip`
## To build
1. Install Rust toolchain from
<https://www.rust-lang.org/learn/get-started>.
2. Clone this repo.
```bash
git clone https://github.com/dilluti0n/dpibreak.git
```
3. (Windows) Download
[WinDivert-2.2.2](https://github.com/basil00/WinDivert/releases/tag/v2.2.2)
and unzip it to the project root. Make sure `WinDivert.dll` and
`WinDivert64.sys` are located in `.../dpibreak/WinDivert-2.2.2-A/x64`.
4. Build it.
```bash
cargo build --release
```
5. The binary will be available at `./target/release/dpibreak(.exe)`.
6. (Windows) Make sure `WinDivert.dll` and `WinDivert64.sys` are in
the same folder as `dpibreak.exe`. (Copy them from
`WinDivert-2.2.2-A/x64`)
## Built with
DPIBreak is built upon these frameworks:
- [Netfilter-queue](https://netfilter.org/) - The user-space packet
queuing system for Linux.
- [WinDivert](https://reqrypt.org/windivert.html) - A user-mode packet
interception library for Windows.
## Thanks
DPIBreak's creation was inspired by these great free software:
- [GoodByeDPI](https://github.com/ValdikSS/GoodbyeDPI) by ValdikSS:
For its design which shaped the project's UX.
For introducing the circumvention idea:
- [SpoofDPI](https://github.com/xvzc/SpoofDPI) by xzvc
- [zapret](https://github.com/bol-van/zapret) by bol-van
## See more
Alternative tools:
- [Green Tunnel](https://github.com/SadeghHayeri/GreenTunnel) by
SadeghHayeri (for MacOS, Linux and Windows)
- [DPI Tunnel CLI](https://github.com/nomoresat/DPITunnel-cli) by
zhenyolka (for Linux and routers)
- [DPI Tunnel for
Android](https://github.com/nomoresat/DPITunnel-android) by
zhenyolka (for Android)
- [PowerTunnel](https://github.com/krlvm/PowerTunnel) by krlvm (for
Windows, MacOS and Linux)
- [PowerTunnel for
Android](https://github.com/krlvm/PowerTunnel-Android) by krlvm (for
Android)
- [GhosTCP](https://github.com/macronut/ghostcp) by macronut (for
Windows)
- [ByeDPI](https://github.com/hufrea/byedpi) for Linux/Windows
- [ByeDPIAndroid](https://github.com/dovecoteescapee/ByeDPIAndroid/)
for Android (no root)
- [ByeByeDPI](https://github.com/romanvht/ByeByeDPI) for Android
- [youtubeUnblock](https://github.com/Waujito/youtubeUnblock/) by
Waujito (for OpenWRT/Entware routers and Linux)
- [NoDPI](https://github.com/GVCoder09/NoDPI/) for Windows and Linux
Useful links:
- <https://geneva.cs.umd.edu/papers/geneva_ccs19.pdf>
- <https://github.com/bol-van/zapret/blob/master/docs/readme.en.md>
- <https://deepwiki.com/bol-van/zapret/3-dpi-circumvention-techniques>
- <https://www.ias.edu/security/deep-packet-inspection-dead-and-heres-why>
- <https://www.cloudflare.com/learning/ssl/what-happens-in-a-tls-handshake/>
## Notice
Copyright 2025-2026 Dilluti0n.
Licensed under GPL-3.0-or-later.

|