Add none strategy to udp-faking-strategy

This commit is contained in:
Vadim Vetrov
2024-12-29 23:01:26 +03:00
parent bc345ed6d4
commit 254b363599
8 changed files with 61 additions and 5 deletions

View File

@@ -383,6 +383,7 @@ int process_udp_packet(const struct section_config_t *section, const uint8_t *pk
.fake_len = section->udp_fake_len,
.strategy = {
.strategy = section->udp_faking_strategy,
.faking_ttl = section->faking_ttl,
},
};
ret = gen_fake_udp(fake_type, iph, iph_len, udph, fake_udp, &fsn_len);