diff --git a/binaries/win64/winws.exe b/binaries/win64/winws.exe index affc71a..6e2dfbe 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 affc71a..6e2dfbe 100644 Binary files a/binaries/win64/zapret-winws/winws.exe and b/binaries/win64/zapret-winws/winws.exe differ diff --git a/nfq/nfqws.c b/nfq/nfqws.c index df79c6c..f6b1f30 100644 --- a/nfq/nfqws.c +++ b/nfq/nfqws.c @@ -417,6 +417,10 @@ static int win_main(const char *windivert_filter) pre_desync(); + // cygwin auto flush fails when piping + fflush(stdout); + fflush(stderr); + for (id=0;;id++) { len = sizeof(packet); @@ -465,6 +469,10 @@ static int win_main(const char *windivert_filter) default: DLOG("packet: id=%u drop\n", id); } + + // cygwin auto flush fails when piping + fflush(stdout); + fflush(stderr); } return 0; }