nfqws: --dpi-desync-fake-unknown

This commit is contained in:
bol-van
2021-12-26 20:43:16 +03:00
parent 8c1ba88780
commit 606063dd48
13 changed files with 21 additions and 8 deletions

View File

@@ -230,8 +230,8 @@ packet_process_result dpi_desync_packet(uint8_t *data_pkt, size_t len_pkt, struc
{
if (!params.desync_any_proto) return res;
DLOG("applying tampering to unknown protocol\n")
fake = zeropkt;
fake_size = 256;
fake = params.fake_unknown;
fake_size = params.fake_unknown_size;
}
if (bHaveHost)