xvzc/SpoofDPI
Fork: 255 Star: 3707 (更新于 2024-11-03 15:26:45)
license: Apache-2.0
Language: Go .
A simple and fast anti-censorship tool written in Go
最后发布版本: v0.12.0 ( 2024-09-08 21:53:11)
SpoofDPI
Read in other Languages: 🇬🇧English, 🇰🇷한국어, 🇨🇳简体中文, 🇷🇺Русский, 🇯🇵日本語
A simple and fast software designed to bypass Deep Packet Inspection.
Installation
See the installation guide for SpoofDPI here.
Usage
Usage: spoofdpi [options...]
-addr string
listen address (default "127.0.0.1")
-debug
enable debug output
-dns-addr string
dns address (default "8.8.8.8")
-dns-ipv4-only
resolve only version 4 addresses
-dns-port value
port number for dns (default 53)
-enable-doh
enable 'dns-over-https'
-pattern value
bypass DPI only on packets matching this regex pattern; can be given multiple times
-port value
port (default 8080)
-silent
do not show the banner and server information at start up
-system-proxy
enable system-wide proxy (default true)
-timeout value
timeout in milliseconds; no timeout when not given
-v print spoofdpi's version; this may contain some other relevant information
-window-size value
chunk size, in number of bytes, for fragmented client hello,
try lower values if the default value doesn't bypass the DPI;
when not given, the client hello packet will be sent in two parts:
fragmentation for the first data packet and the rest
If you are using any vpn extensions such as Hotspot Shield in Chrome browser, go to Settings > Extensions, and disable them.
OSX
Run spoofdpi
and it will automatically set your proxy
Linux
Run spoofdpi
and open your favorite browser with proxy option
google-chrome --proxy-server="http://127.0.0.1:8080"
How it works
HTTP
Since most websites in the world now support HTTPS, SpoofDPI doesn't bypass Deep Packet Inspections for HTTP requests, However, it still serves proxy connection for all HTTP requests.
HTTPS
Although TLS encrypts every handshake process, the domain names are still shown as plaintext in the Client hello packet. In other words, when someone else looks on the packet, they can easily guess where the packet is headed to. The domain name can offer significant information while DPI is being processed, and we can actually see that the connection is blocked right after sending Client hello packet. I had tried some ways to bypass this and found out that it seemed like only the first chunk gets inspected when we send the Client hello packet split into chunks. What SpoofDPI does to bypass this is to send the first 1 byte of a request to the server, and then send the rest.
Inspirations
Green Tunnel by @SadeghHayeri
GoodbyeDPI by @ValdikSS
最近版本更新:(数据更新于 2024-10-12 11:26:35)
2024-09-08 21:53:11 v0.12.0
2024-08-29 16:16:41 v0.11.1
2024-08-28 04:53:02 v0.11.0
2024-08-27 11:23:48 v0.10.12
2024-08-25 17:23:24 v0.10.11
2024-08-28 04:38:46 v0.10.10
2024-08-28 04:39:01 v0.10.8
2024-08-28 04:39:16 v0.10.7
2024-08-06 16:50:57 v0.10.6
2024-08-06 11:35:06 v0.10.5
主题(topics):
anti-censorship, censorship-circumvention, censorship-free, deep-packet-inspection, dpi, dpi-bypassing, dpi-filtering, golang, proxy-server
xvzc/SpoofDPI同语言 Go最近更新仓库
2024-11-05 08:55:31 XTLS/Xray-core
2024-11-05 00:03:47 SagerNet/sing-box
2024-11-04 20:34:19 Permify/permify
2024-11-04 15:07:27 containerd/containerd
2024-11-03 20:10:56 flipped-aurora/gin-vue-admin
2024-11-03 00:46:25 dolthub/dolt