HTTPS Configuration¶
Settings for manipulating HTTPS/TLS packets to bypass DPI.
split-mode¶
type: string
Description¶
Specifies the default packet fragmentation strategy to use for the Client Hello packet. (default: "sni")
Allowed Values¶
sni: Splits the packet right after the SNI extension.random: Splits the packet at a random position.chunk: Splits the packet into fixed-size chunks (controlled byhttps-chunk-size).first-byte: Splits only the first byte of the packet.none: Disables fragmentation.
Usage¶
Command-Line Flag
TOML Config
chunk-size¶
type: uint8
Description¶
Specifies the chunk size in bytes for packet fragmentation. (default: 0, max: 255)
This value is only applied when https-split-mode is set to chunk.
Try lower values if the default fails to bypass the DPI.
Usage¶
Command-Line Flag
TOML Config
disorder¶
type: boolean
Description¶
Specifies whether to disorder fragmented Client Hello packets. (default: false)
When enabled, this option varies the TTL of fragmented Client Hello packets, potentially causing them to arrive out of order. This complicates the packet reassembly process for DPI systems.
Note
If split mode is none, disordering does not occur.
Usage¶
Command-Line Flag
TOML Config
fake-count¶
type: uint8
Description¶
Specifies the number of fake packets to be sent before the actual Client Hello. (default: 0)
Sending fake packets can trick DPI systems into inspecting invalid traffic, allowing the real Client Hello to pass through.
If https-chunk-size is greater than 0, each fake packet will also be fragmented.
Note
SpoofDPI must be run with root privileges to use this option effectively on some systems or configurations requiring raw socket access (though usually not required for standard usage, verify if this note from old docs is still accurate - kept for safety).
Usage¶
Command-Line Flag
TOML Config
fake-packet¶
type: byte array
Description¶
Customizes the content of the fake packets used by https-fake-count. (default: built-in fake packet)
The value should be a sequence of bytes representing a valid (or semi-valid) TLS Client Hello or other protocol data.
Usage¶
Command-Line Flag
Provide a comma-separated string of hexadecimal bytes (e.g., 16,03,01,...).
TOML Config Provide an array of integers (bytes).
skip¶
type: boolean
Description¶
If set to true, HTTPS traffic will be processed without any DPI bypass techniques (fragmentation, disordering, etc.). It effectively treats the connection as a standard HTTPS proxy connection.
Usage¶
Command-Line Flag
TOML Config