update readme

This commit is contained in:
xvzc 2024-08-05 17:07:53 +09:00
parent 204d18d5d5
commit 53a2e883f5
6 changed files with 11 additions and 1 deletions

View File

@ -70,6 +70,8 @@ Usage: spoof-dpi [options...]
bypass DPI only on packets matching this regex pattern bypass DPI only on packets matching this regex pattern
-port int -port int
port (default 8080) port (default 8080)
-system-proxy
enable system-wide proxy (default true)
-timeout int -timeout int
timeout in milliseconds. no timeout when not given timeout in milliseconds. no timeout when not given
-url value -url value

View File

@ -67,6 +67,8 @@ Usage: spoof-dpi [options...]
bypass DPI only on packets matching this regex pattern bypass DPI only on packets matching this regex pattern
-port int -port int
port (default 8080) port (default 8080)
-system-proxy
enable system-wide proxy (default true)
-timeout int -timeout int
timeout in milliseconds. no timeout when not given timeout in milliseconds. no timeout when not given
-url value -url value

View File

@ -67,6 +67,8 @@ Usage: spoof-dpi [options...]
bypass DPI only on packets matching this regex pattern bypass DPI only on packets matching this regex pattern
-port int -port int
port (default 8080) port (default 8080)
-system-proxy
enable system-wide proxy (default true)
-timeout int -timeout int
timeout in milliseconds. no timeout when not given timeout in milliseconds. no timeout when not given
-url value -url value

View File

@ -70,6 +70,8 @@ curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bas
bypass DPI only on packets matching this regex pattern bypass DPI only on packets matching this regex pattern
-port int -port int
port (default 8080) port (default 8080)
-system-proxy
enable system-wide proxy (default true)
-timeout int -timeout int
timeout in milliseconds. no timeout when not given timeout in milliseconds. no timeout when not given
-url value -url value

View File

@ -73,6 +73,8 @@ Usage: spoof-dpi [options...]
bypass DPI only on packets matching this regex pattern bypass DPI only on packets matching this regex pattern
-port int -port int
port (default 8080) port (default 8080)
-system-proxy
enable system-wide proxy (default true)
-timeout int -timeout int
timeout in milliseconds. no timeout when not given timeout in milliseconds. no timeout when not given
-url value -url value

View File

@ -19,7 +19,7 @@ type Config struct {
EnableDoh *bool EnableDoh *bool
Debug *bool Debug *bool
NoBanner *bool NoBanner *bool
SystemProxy *bool SystemProxy *bool
Timeout *int Timeout *int
AllowedPattern *regexp.Regexp AllowedPattern *regexp.Regexp
AllowedUrls *regexp.Regexp AllowedUrls *regexp.Regexp