diff --git a/binaries/aarch64/nfqws b/binaries/aarch64/nfqws index 43267468..b03d4144 100755 Binary files a/binaries/aarch64/nfqws and b/binaries/aarch64/nfqws differ diff --git a/binaries/arm/nfqws b/binaries/arm/nfqws index c7cd0227..a72c5e65 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 03790612..a84838b1 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 c5dc6301..96131620 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 df6359f2..7e73a91f 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 45c489df..6f0bb4eb 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 90e7391c..2b4cb413 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 00000000..e69de29b diff --git a/binaries/win64/winws.exe b/binaries/win64/winws.exe index 20382b45..b5d8a004 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 20382b45..b5d8a004 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 996ce410..d252e4f7 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 63fdb657..951d98f5 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 40eeeda7..405071e7 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 1717fd37..30f1caa9 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");