mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2024-11-25 03:20:31 +01:00
bbb6af89fe
This method sends Fake Packet with the TCP SEQ/ACK numbers "in the past": -66000 is used for ACK (right out of the ACK permissive window in Linux stack), -10000 is used for SEQ (without any reasoning). This method is pretty effective in Russia. It also could be handy in a networks which prohibit changing TTL values (mobile networks with tethering block/premium feature).
19 lines
964 B
C
19 lines
964 B
C
int send_fake_http_request(const HANDLE w_filter,
|
|
const PWINDIVERT_ADDRESS addr,
|
|
const char *pkt,
|
|
const UINT packetLen,
|
|
const BOOL is_ipv6,
|
|
const BYTE set_ttl,
|
|
const BYTE set_checksum,
|
|
const BYTE set_seq
|
|
);
|
|
int send_fake_https_request(const HANDLE w_filter,
|
|
const PWINDIVERT_ADDRESS addr,
|
|
const char *pkt,
|
|
const UINT packetLen,
|
|
const BOOL is_ipv6,
|
|
const BYTE set_ttl,
|
|
const BYTE set_checksum,
|
|
const BYTE set_seq
|
|
);
|