nfqws: TLS Hello from firefox. randomize

This commit is contained in:
bol-van
2024-09-14 22:07:46 +03:00
parent d4ce24b3af
commit a702adeec8
5 changed files with 84 additions and 17 deletions

View File

@@ -41,7 +41,8 @@ enum dpi_desync_mode {
};
extern const char *fake_http_request_default;
extern const uint8_t fake_tls_clienthello_default[517];
extern const uint8_t fake_tls_clienthello_default[648];
void randomize_default_tls_payload(uint8_t *p);
enum dpi_desync_mode desync_mode_from_string(const char *s);
bool desync_valid_zero_stage(enum dpi_desync_mode mode);