From 1ee25e01ea6de234cfda627a5b60e0945ec0d49d Mon Sep 17 00:00:00 2001 From: bol-van Date: Sun, 21 Sep 2025 12:51:06 +0300 Subject: [PATCH] nfqws: generate random host with a-z at the first position --- nfq/desync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nfq/desync.c b/nfq/desync.c index 16e78af4..4f9db848 100644 --- a/nfq/desync.c +++ b/nfq/desync.c @@ -2035,7 +2035,8 @@ static uint8_t dpi_desync_tcp_packet_play(bool replay, size_t reasm_offset, uint DLOG("fakehost out of memory\n"); goto send_orig; } - fill_random_az09(fakehost,host_size); + fill_random_az(fakehost,1); + fill_random_az09(fakehost+1,host_size-1); if (host_size>=7) fakehost[host_size-4] = '.'; DLOG("generated fake host: %s\n",fakehost);