From bac22bf9ebcce0544241a490e8aea0946837da51 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 15 Apr 2023 18:48:48 +0300 Subject: [PATCH] blockcheck: run nfqws with tpws uid, not default 7FFFFFFF --- blockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockcheck.sh b/blockcheck.sh index 28f6240..c0e629b 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -406,7 +406,7 @@ pktws_start() { case "$UNAME" in Linux) - "$NFQWS" --dpi-desync-fwmark=$DESYNC_MARK --qnum=$QNUM "$@" >/dev/null & + "$NFQWS" --uid $TPWS_UID:$TPWS_GID --dpi-desync-fwmark=$DESYNC_MARK --qnum=$QNUM "$@" >/dev/null & ;; FreeBSD) "$DVTWS" --port=$IPFW_DIVERT_PORT "$@" >/dev/null &