From 3d50c00e4f117e11da42653d45f7335e37069829 Mon Sep 17 00:00:00 2001 From: Vadim Vetrov Date: Thu, 29 Aug 2024 19:28:26 +0300 Subject: [PATCH] Fix internet :) Related to #96 --- mangle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mangle.c b/mangle.c index 931e00c..d419c80 100644 --- a/mangle.c +++ b/mangle.c @@ -89,7 +89,7 @@ int process_tcp_packet(const uint8_t *raw_payload, uint32_t raw_payload_len) { goto accept; } - if (tcph->syn) { + if (tcph->syn && config.synfake) { lgtrace_addp("TCP syn alter"); uint8_t payload[MAX_PACKET_SIZE]; memcpy(payload, ipxh, iph_len);