Browse Source

nfqws: autohostlist fail counter reset on non-RST

pull/193/head
bol-van 9 months ago
parent
commit
2ae426c7ab
  1. BIN
      binaries/aarch64/nfqws
  2. BIN
      binaries/arm/nfqws
  3. BIN
      binaries/freebsd-x64/dvtws
  4. BIN
      binaries/mips32r1-lsb/nfqws
  5. BIN
      binaries/mips32r1-msb/nfqws
  6. BIN
      binaries/mips64r2-msb/nfqws
  7. BIN
      binaries/ppc/nfqws
  8. BIN
      binaries/win64/winws.exe
  9. 0
      binaries/win64/zapret-winws/autohostlist.txt
  10. BIN
      binaries/win64/zapret-winws/winws.exe
  11. BIN
      binaries/x86/nfqws
  12. BIN
      binaries/x86_64/nfqws
  13. 6
      nfq/desync.c

BIN
binaries/aarch64/nfqws

Binary file not shown.

BIN
binaries/arm/nfqws

Binary file not shown.

BIN
binaries/freebsd-x64/dvtws

Binary file not shown.

BIN
binaries/mips32r1-lsb/nfqws

Binary file not shown.

BIN
binaries/mips32r1-msb/nfqws

Binary file not shown.

BIN
binaries/mips64r2-msb/nfqws

Binary file not shown.

BIN
binaries/ppc/nfqws

Binary file not shown.

BIN
binaries/win64/winws.exe

Binary file not shown.

0
binaries/win64/zapret-winws/autohostlist.txt

BIN
binaries/win64/zapret-winws/winws.exe

Binary file not shown.

BIN
binaries/x86/nfqws

Binary file not shown.

BIN
binaries/x86_64/nfqws

Binary file not shown.

6
nfq/desync.c

@ -557,10 +557,7 @@ static uint8_t dpi_desync_tcp_packet_play(bool replay, size_t reasm_offset, uint
HOSTLIST_DEBUGLOG_APPEND("%s : redirect to another domain", ctrack->hostname);
}
else
{
DLOG("local or in-domain redirect detected. it's not a DPI redirect.\n")
auto_hostlist_reset_fail_counter(ctrack->hostname);
}
}
else
{
@ -570,6 +567,9 @@ static uint8_t dpi_desync_tcp_packet_play(bool replay, size_t reasm_offset, uint
}
if (bFail)
auto_hostlist_failed(ctrack->hostname);
else
if (len_payload)
auto_hostlist_reset_fail_counter(ctrack->hostname);
if (tcphdr->th_flags & TH_RST)
ConntrackClearHostname(ctrack); // do not react to further dup RSTs
}

Loading…
Cancel
Save