mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
nfqws: default quic fake to bypass russian TSPU
This commit is contained in:
parent
a2f9d7cb28
commit
e2418531af
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -634,7 +634,8 @@ int main(int argc, char **argv)
|
|||||||
memcpy(params.fake_tls,fake_tls_clienthello_default,params.fake_tls_size);
|
memcpy(params.fake_tls,fake_tls_clienthello_default,params.fake_tls_size);
|
||||||
params.fake_http_size = strlen(fake_http_request_default);
|
params.fake_http_size = strlen(fake_http_request_default);
|
||||||
memcpy(params.fake_http,fake_http_request_default,params.fake_http_size);
|
memcpy(params.fake_http,fake_http_request_default,params.fake_http_size);
|
||||||
params.fake_quic_size = 256;
|
params.fake_quic_size = 620; // must be 601+ for TSPU hack
|
||||||
|
params.fake_quic[0] = 0x40; // russian TSPU QUIC short header fake
|
||||||
params.fake_unknown_size = 256;
|
params.fake_unknown_size = 256;
|
||||||
params.fake_unknown_udp_size = 64;
|
params.fake_unknown_udp_size = 64;
|
||||||
params.wscale=-1; // default - dont change scale factor (client)
|
params.wscale=-1; // default - dont change scale factor (client)
|
||||||
|
Loading…
Reference in New Issue
Block a user