diff --git a/binaries/aarch64/nfqws b/binaries/aarch64/nfqws index 4326746..b03d414 100755 Binary files a/binaries/aarch64/nfqws and b/binaries/aarch64/nfqws differ diff --git a/binaries/arm/nfqws b/binaries/arm/nfqws index c7cd022..a72c5e6 100755 Binary files a/binaries/arm/nfqws and b/binaries/arm/nfqws differ diff --git a/binaries/freebsd-x64/dvtws b/binaries/freebsd-x64/dvtws index 0379061..a84838b 100755 Binary files a/binaries/freebsd-x64/dvtws and b/binaries/freebsd-x64/dvtws differ diff --git a/binaries/mips32r1-lsb/nfqws b/binaries/mips32r1-lsb/nfqws index c5dc630..9613162 100755 Binary files a/binaries/mips32r1-lsb/nfqws and b/binaries/mips32r1-lsb/nfqws differ diff --git a/binaries/mips32r1-msb/nfqws b/binaries/mips32r1-msb/nfqws index df6359f..7e73a91 100755 Binary files a/binaries/mips32r1-msb/nfqws and b/binaries/mips32r1-msb/nfqws differ diff --git a/binaries/mips64r2-msb/nfqws b/binaries/mips64r2-msb/nfqws index 45c489d..6f0bb4e 100755 Binary files a/binaries/mips64r2-msb/nfqws and b/binaries/mips64r2-msb/nfqws differ diff --git a/binaries/ppc/nfqws b/binaries/ppc/nfqws index 90e7391..2b4cb41 100755 Binary files a/binaries/ppc/nfqws and b/binaries/ppc/nfqws differ diff --git a/binaries/win64/windivert32.lib b/binaries/win64/windivert32.lib new file mode 100644 index 0000000..e69de29 diff --git a/binaries/win64/winws.exe b/binaries/win64/winws.exe index 20382b4..b5d8a00 100644 Binary files a/binaries/win64/winws.exe and b/binaries/win64/winws.exe differ diff --git a/binaries/win64/zapret-winws/winws.exe b/binaries/win64/zapret-winws/winws.exe index 20382b4..b5d8a00 100644 Binary files a/binaries/win64/zapret-winws/winws.exe and b/binaries/win64/zapret-winws/winws.exe differ diff --git a/binaries/x86/nfqws b/binaries/x86/nfqws index 996ce41..d252e4f 100755 Binary files a/binaries/x86/nfqws and b/binaries/x86/nfqws differ diff --git a/binaries/x86_64/nfqws b/binaries/x86_64/nfqws index 63fdb65..951d98f 100755 Binary files a/binaries/x86_64/nfqws and b/binaries/x86_64/nfqws differ diff --git a/nfq/darkmagic.c b/nfq/darkmagic.c index 40eeeda..405071e 100644 --- a/nfq/darkmagic.c +++ b/nfq/darkmagic.c @@ -22,6 +22,11 @@ #ifdef __CYGWIN__ #include #include + +#ifndef ERROR_INVALID_IMAGE_HASH +#define ERROR_INVALID_IMAGE_HASH __MSABI_LONG(577) +#endif + #endif uint32_t net32_add(uint32_t netorder_value, uint32_t cpuorder_increment) diff --git a/nfq/desync.c b/nfq/desync.c index 1717fd3..30f1caa 100644 --- a/nfq/desync.c +++ b/nfq/desync.c @@ -1774,10 +1774,8 @@ static uint8_t dpi_desync_udp_packet_play(bool replay, size_t reasm_offset, uint if (ctrack_replay->hostname_ah_check) { // first request is not retrans - if (ctrack_replay->hostname) + if (!bDiscoveredHostname) process_retrans_fail(ctrack_replay, IPPROTO_UDP, (struct sockaddr*)&src); - else - ctrack_replay->hostname=strdup(host); } } DLOG("not applying tampering to this request\n");