From d9a24b41054ee82b7d5ad7ae4155f071f0923179 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 14 Dec 2024 10:20:48 +0300 Subject: [PATCH] winws: process outgoing tcp fin and rst --- nfq/nfqws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfq/nfqws.c b/nfq/nfqws.c index 08c8c74..07921e8 100644 --- a/nfq/nfqws.c +++ b/nfq/nfqws.c @@ -981,7 +981,7 @@ static bool wf_make_pf(char *opt, const char *l4, const char *portname, char *bu #define DIVERT_NO_LOCALNETS_SRC "(" DIVERT_NO_LOCALNETSv4_SRC " or " DIVERT_NO_LOCALNETSv6_SRC ")" #define DIVERT_NO_LOCALNETS_DST "(" DIVERT_NO_LOCALNETSv4_DST " or " DIVERT_NO_LOCALNETSv6_DST ")" -#define DIVERT_TCP_NOT_EMPTY "(!tcp or tcp.Syn or tcp.PayloadLength>0)" +#define DIVERT_TCP_NOT_EMPTY "(!tcp or tcp.Syn or tcp.Rst or tcp.Fin or tcp.PayloadLength>0)" #define DIVERT_TCP_INBOUNDS "(tcp.Ack and tcp.Syn or tcp.Rst or tcp.Fin)" // HTTP/1.? 30(2|7)