docs: sync usage

This commit is contained in:
xvzc 2024-09-08 22:57:57 +09:00
parent 1de63d0021
commit a2993ac68d
5 changed files with 30 additions and 20 deletions

View File

@ -22,22 +22,24 @@ Usage: spoofdpi [options...]
enable debug output enable debug output
-dns-addr string -dns-addr string
dns address (default "8.8.8.8") dns address (default "8.8.8.8")
-dns-port int -dns-ipv4-only
resolve only version 4 addresses
-dns-port value
port number for dns (default 53) port number for dns (default 53)
-enable-doh -enable-doh
enable 'dns-over-https' enable 'dns-over-https'
-pattern value -pattern value
bypass DPI only on packets matching this regex pattern; can be given multiple times bypass DPI only on packets matching this regex pattern; can be given multiple times
-port int -port value
port (default 8080) port (default 8080)
-silent -silent
do not show the banner and server information at start up do not show the banner and server information at start up
-system-proxy -system-proxy
enable system-wide proxy (default true) enable system-wide proxy (default true)
-timeout int -timeout value
timeout in milliseconds; no timeout when not given timeout in milliseconds; no timeout when not given
-v print spoofdpi's version; this may contain some other relevant information -v print spoofdpi's version; this may contain some other relevant information
-window-size int -window-size value
chunk size, in number of bytes, for fragmented client hello, chunk size, in number of bytes, for fragmented client hello,
try lower values if the default value doesn't bypass the DPI; 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: when not given, the client hello packet will be sent in two parts:

View File

@ -23,22 +23,24 @@ Usage: spoofdpi [options...]
enable debug output enable debug output
-dns-addr string -dns-addr string
dns address (default "8.8.8.8") dns address (default "8.8.8.8")
-dns-port int -dns-ipv4-only
resolve only version 4 addresses
-dns-port value
port number for dns (default 53) port number for dns (default 53)
-enable-doh -enable-doh
enable 'dns-over-https' enable 'dns-over-https'
-pattern value -pattern value
bypass DPI only on packets matching this regex pattern; can be given multiple times bypass DPI only on packets matching this regex pattern; can be given multiple times
-port int -port value
port (default 8080) port (default 8080)
-silent -silent
do not show the banner and server information at start up do not show the banner and server information at start up
-system-proxy -system-proxy
enable system-wide proxy (default true) enable system-wide proxy (default true)
-timeout int -timeout value
timeout in milliseconds; no timeout when not given timeout in milliseconds; no timeout when not given
-v print spoofdpi's version; this may contain some other relevant information -v print spoofdpi's version; this may contain some other relevant information
-window-size int -window-size value
chunk size, in number of bytes, for fragmented client hello, chunk size, in number of bytes, for fragmented client hello,
try lower values if the default value doesn't bypass the DPI; 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: when not given, the client hello packet will be sent in two parts:

View File

@ -23,22 +23,24 @@ Usage: spoofdpi [options...]
enable debug output enable debug output
-dns-addr string -dns-addr string
dns address (default "8.8.8.8") dns address (default "8.8.8.8")
-dns-port int -dns-ipv4-only
resolve only version 4 addresses
-dns-port value
port number for dns (default 53) port number for dns (default 53)
-enable-doh -enable-doh
enable 'dns-over-https' enable 'dns-over-https'
-pattern value -pattern value
bypass DPI only on packets matching this regex pattern; can be given multiple times bypass DPI only on packets matching this regex pattern; can be given multiple times
-port int -port value
port (default 8080) port (default 8080)
-silent -silent
do not show the banner and server information at start up do not show the banner and server information at start up
-system-proxy -system-proxy
enable system-wide proxy (default true) enable system-wide proxy (default true)
-timeout int -timeout value
timeout in milliseconds; no timeout when not given timeout in milliseconds; no timeout when not given
-v print spoofdpi's version; this may contain some other relevant information -v print spoofdpi's version; this may contain some other relevant information
-window-size int -window-size value
chunk size, in number of bytes, for fragmented client hello, chunk size, in number of bytes, for fragmented client hello,
try lower values if the default value doesn't bypass the DPI; 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: when not given, the client hello packet will be sent in two parts:

View File

@ -22,22 +22,24 @@ Usage: spoofdpi [опции...]
enable debug output enable debug output
-dns-addr string -dns-addr string
dns address (default "8.8.8.8") dns address (default "8.8.8.8")
-dns-port int -dns-ipv4-only
resolve only version 4 addresses
-dns-port value
port number for dns (default 53) port number for dns (default 53)
-enable-doh -enable-doh
enable 'dns-over-https' enable 'dns-over-https'
-pattern value -pattern value
bypass DPI only on packets matching this regex pattern; can be given multiple times bypass DPI only on packets matching this regex pattern; can be given multiple times
-port int -port value
port (default 8080) port (default 8080)
-silent -silent
do not show the banner and server information at start up do not show the banner and server information at start up
-system-proxy -system-proxy
enable system-wide proxy (default true) enable system-wide proxy (default true)
-timeout int -timeout value
timeout in milliseconds; no timeout when not given timeout in milliseconds; no timeout when not given
-v print spoofdpi's version; this may contain some other relevant information -v print spoofdpi's version; this may contain some other relevant information
-window-size int -window-size value
chunk size, in number of bytes, for fragmented client hello, chunk size, in number of bytes, for fragmented client hello,
try lower values if the default value doesn't bypass the DPI; 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: when not given, the client hello packet will be sent in two parts:

View File

@ -25,22 +25,24 @@ Usage: spoofdpi [options...]
enable debug output enable debug output
-dns-addr string -dns-addr string
dns address (default "8.8.8.8") dns address (default "8.8.8.8")
-dns-port int -dns-ipv4-only
resolve only version 4 addresses
-dns-port value
port number for dns (default 53) port number for dns (default 53)
-enable-doh -enable-doh
enable 'dns-over-https' enable 'dns-over-https'
-pattern value -pattern value
bypass DPI only on packets matching this regex pattern; can be given multiple times bypass DPI only on packets matching this regex pattern; can be given multiple times
-port int -port value
port (default 8080) port (default 8080)
-silent -silent
do not show the banner and server information at start up do not show the banner and server information at start up
-system-proxy -system-proxy
enable system-wide proxy (default true) enable system-wide proxy (default true)
-timeout int -timeout value
timeout in milliseconds; no timeout when not given timeout in milliseconds; no timeout when not given
-v print spoofdpi's version; this may contain some other relevant information -v print spoofdpi's version; this may contain some other relevant information
-window-size int -window-size value
chunk size, in number of bytes, for fragmented client hello, chunk size, in number of bytes, for fragmented client hello,
try lower values if the default value doesn't bypass the DPI; 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: when not given, the client hello packet will be sent in two parts: