From 3847b1907cdf6cf8196b6bd6a8d62a0f7d698870 Mon Sep 17 00:00:00 2001 From: nyxnor Date: Mon, 21 Feb 2022 00:13:52 +0000 Subject: [PATCH] don't print exits on stream private mode https://github.com/nyxnor/tor-ctrl/issues/28 --- usr/bin/tor-ctrl-stream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/tor-ctrl-stream b/usr/bin/tor-ctrl-stream index a1f81b8..87e3de5 100755 --- a/usr/bin/tor-ctrl-stream +++ b/usr/bin/tor-ctrl-stream @@ -92,7 +92,7 @@ EOF printf "\nStreamId StreamPurpose StreamTarget CircuitId CircuitPurpose\n" printf %s"--------------------------------------------------------------------------------------------------------------${nocolor}\n" } - printf %s"${stream_id} ${stream_purpose} ${stream_target} ${circuit_id} ${circuit_purpose}\n" | grep -v " DIR_FETCH " + printf %s"${stream_id} ${stream_purpose} ${stream_target} ${circuit_id} ${circuit_purpose}\n" | grep -v " DIR_FETCH " | grep -F -v ".exit:" fi return ;;