Add support for bruteforce mode of parsing SNI from Client Hello.

This commit is contained in:
Vadim Vetrov
2024-08-15 02:31:48 +03:00
parent 7f340fb033
commit 044801efb9
5 changed files with 109 additions and 3 deletions

View File

@@ -142,6 +142,8 @@ Available flags:
- `--fk-winsize=<winsize>` Specifies window size for the fragmented TCP packet. Applicable if you want for response to be fragmented. May slowdown connection initialization.
- `--sni-detection={parse|brute}` Specifies how to detect SNI. Parse will normally detect it by parsing the Client Hello message. Brute will go through the entire message and check possibility of SNI occurrence. Please note, that when `--sni-domains` option is not all brute will be O(nm) time complexity where n stands for length of the message and m is number of domains. Defaults to parse.
- `--seg2delay=<delay>` This flag forces **youtubeUnblock** to wait a little bit before send the 2nd part of the split packet.
- `--silent` Disables verbose mode.