From 10bff75ff33a64fe0894d24ff179e82e090c1f5c Mon Sep 17 00:00:00 2001 From: Mikhail Zakharov Date: Mon, 26 Aug 2024 15:15:16 +0200 Subject: [PATCH] Cosmetic changes, README.md update --- README.md | 11 ++++++----- ts-warp.c | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f25adf3..3399e4d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/ts-warp.c b/ts-warp.c index 078abc0..2c46610 100644 --- a/ts-warp.c +++ b/ts-warp.c @@ -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);