Skip to content

Commit

Permalink
Cosmetic changes, README.md update
Browse files Browse the repository at this point in the history
  • Loading branch information
mezantrop committed Aug 26, 2024
1 parent a5060fe commit 10bff75
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,13 @@ Read related [README.md](gui/ports/macOS/README.md) for information and instruct
According to [SpoofDPI](https://github.com/xvzc/SpoofDPI?tab=readme-ov-file#https) project, sending the first 1 byte
of a request to the server, and then sending the rest of the data can help to bypass Deep Packet Inspections of HTTPS.

To bypass DPI, start TS-Warp with `-D 0..512` flag, e.g., `-D 2` to enable packet fragmentation, then use TS-Warp
normally in `Transparent` mode, or point your browser to `TS-Warp` Internal `HTTP(S)` proxy at `127.0.0.1:8080` or
`SOCKS5` proxy at `127.0.0.1:7080`.
To bypass DPI, start TS-Warp with `-D 0..512` flag, e.g., `sudo /usr/local/etc/ts-warp.sh start -D 2` to enable packet
fragmentation.

If you use macOS, download from [releases](https://github.com/mezantrop/ts-warp/releases) a precompiled `GUI-Warp`
macOS application with DPI bypass option already enabled!
For the `GUI-warp`, edit `~/ts-warp/etc/gui-warp.ini` to add `-D` to `daemon_options` variable, e.g: `daemon_options = -D 2`

Then use `TS-Warp` normally in `Transparent` mode, or point your browser to `TS-Warp` Internal `HTTP(S)` proxy at
`127.0.0.1:8080` or `SOCKS5` proxy at `127.0.0.1:7080`.

### Contacts

Expand Down
2 changes: 1 addition & 1 deletion ts-warp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ All parameters are optional:\n\
-f\t\t Force start\n\
\n\
-u user\t A user to run ts-warp, default: %s. Note, this option has no effect on macOS\n\
-D 0..512\t Deep Packet Inspections bypass fragment size. Default: 0 - disabled. Set any value, e.g., 2 to enable\n\
-D 0..512\t Deep Packet Inspections bypass fragment size. Default: 0 - disabled. Set any value, e.g., 2 to enable\n\
\n\
-h\t\t This message\n\n",
PROG_NAME, PROG_VERSION, INI_FILE_NAME, LOG_FILE_NAME, LOG_LEVEL_DEFAULT, PID_FILE_NAME, RUNAS_USER);
Expand Down

0 comments on commit 10bff75

Please sign in to comment.