A simple and fast anti-censorship tool written in Go
Go to file
2022-01-04 20:02:54 +09:00
cmd/spoof-dpi update signal handling 2022-01-04 17:38:36 +09:00
config add unset os-proxy 2022-01-04 02:36:27 +09:00
proxy change src address strategy 2022-01-04 01:54:36 +09:00
util change src address strategy 2022-01-04 01:54:36 +09:00
.gitignore update .gitignore 2022-01-04 18:02:33 +09:00
go.mod update 2022-01-04 00:13:42 +09:00
go.sum update 2022-01-04 00:13:42 +09:00
off.sh update 2022-01-03 00:24:59 +09:00
on.sh update 2022-01-03 00:24:59 +09:00
readme_ko.md update readme, add readme_ko 2022-01-04 20:02:54 +09:00
readme.md update readme, add readme_ko 2022-01-04 20:02:54 +09:00

SpoofDPI

A simple and fast software designed to bypass Deep Packet Inspection
image

See in other Languages: English, 한국어

Dependencies

  • Go

Installation

  • With go install
    $ go install github.com/xvzc/SpoofDPI/cmd/spoof-dpi

    Remember that $GOPATH variable should be set in your $PATH

  • Or you can build your own
    $ git clone https://github.com/xvzc/SpoofDPI.git
    $ cd SpoofDPI
    $ go build ./cmd/...

Run

OSX

Run $ spoof-dpi

Linux

Run $ spoof-dpi and open your favorite browser with proxy option
google-chrome --proxy-server="http://127.0.0.1:8080"

Windows

Use GoodbyeDPI instead

Usage

Usage: spoof-dpi [options...]
-dns=<addr>  | default: 8.8.8.8
-port=<port> | default: 8080

How it works

HTTP

Since most of websites in the world now support HTTPS, SpoofDPI doesn't bypass Deep Packet Inspections for HTTP requets, However It still serves proxy connection for all HTTP requests.

HTTPS

Although the HTTPS requests are encryted with TLS, the domains are still shown as plaintext in the encryted requests. In other words, when someone else looks on a packet, they can easily identify where the packet is headed to. I had tried some ways to bypass the inspections, and found out that it seems like only the first chunk is inspected when we send the encryted request in 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.

SpoofDPI doesn't decrypt your HTTPS requests, and that's why we don't need the SSL certificates.

Inspiration

Green Tunnel
GoodbyeDPI