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
|
# DPIBreak

Simple and efficient tool for circumventing Deep
Packet Inspection (DPI), especially on HTTPS connections. It fragments
the TCP packet carrying the TLS ClientHello so that certain DPI devices
cannot extract the Server Name Indication (SNI) field and identify the
destination site.
It only applies to the first outbound segment that carries the TLS
ClientHello; Other traffic is not queued to userspace and passes
through the kernel normally, unmodified. So, it is generally fast and
**does not affect** core performance (e.g., video streaming speed)
users may be concerned about.
## Quickstart
### Windows
1. Download and unzip the release from
<https://github.com/dilluti0n/dpibreak/releases/latest>.
2. Double-click `dpibreak.exe`.
### Linux
1. Download release tarball from
<https://github.com/dilluti0n/dpibreak/releases/latest>.
2. Extract it.
```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 # optional
```
3. Run:
```bash
sudo dpibreak
man 1 dpibreak # manual
```
4. (optional) To uninstall:
```bash
sudo make uninstall
```
## How to use
In general, simply running the program should work without any
issues. The program requires administrator privileges to run:
- On Linux, you must run it with root privileges (e.g., `sudo
dpibreak`).
- On Windows, double-clicking `dpibreak.exe` 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
Although the program works reliably in the author's region and ISP,
different regions, ISPs, or organizations may deploy different DPI
equipment. In such cases, there is a chance that `dpibreak` does not
function as expected.
If you encounter such issue, please report symptoms and, if possible,
packet capture logs (e.g., collected with Wireshark) or hints such as
cases where alternative tools like GoodByeDPI succeed with specific
settings to the [project issue
tab](https://github.com/dilluti0n/dpibreak/issues). This will helps
improve future versions.
When sharing packet capture logs, please make sure they do not contain
sensitive personal information (e.g., passwords or session cookies).
It is usually enough to capture only the initial handshake packets
showing the issue, rather than full sessions.
Any other problems not covered above are also appreciated on the issue
tab.
## 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`)
## Disclaimer
This tool was created for technical research and educational purposes.
Please make sure your usage complies with the laws of your country.
The authors are not responsible for any misuse.
## Built with
DPIBreak is built upon these powerful packet handling 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
This project's creation was inspired by these great free softwares:
- [GoodByeDPI](https://github.com/ValdikSS/GoodbyeDPI) by ValdikSS:
For its design which shaped the project's UX.
- [SpoofDPI](https://github.com/xvzc/SpoofDPI) by xzvc: For
introducing the circumvention idea.
## Notice
Copyright © 2025 Dilluti0n. Licensed under GPL-3.0-or-later.

|