Better cleanup for udp reverse tunnel. - bitreich-gaming-link - bitreich-gaming-link Simple game linking using unix tools. HTML git clone git://bitreich.org/bitreich-gaming-link git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-gaming-link DIR Log DIR Files DIR Refs DIR Tags --- DIR commit 64cbb9f431fa17efb225e197d0dfdcdfd886ca71 DIR parent 408473b22e310ef6cc35fa850c042d3a73e8fd77 HTML Author: Christoph Lohmann <20h@r-36.net> Date: Sat, 23 Mar 2024 19:44:24 +0100 Better cleanup for udp reverse tunnel. Diffstat: M udp-ssh-reverse-tunnel | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- DIR diff --git a/udp-ssh-reverse-tunnel b/udp-ssh-reverse-tunnel @@ -21,6 +21,7 @@ socatpid=$! printf "Press Enter to exit tunnel.\n" read -r ${prompt} -kill -KILL $socatpid -kill -KILL $sshpid +kill -HUP $socatpid +kill -HUP $sshpid +ssh ${sshserver} "pkill -HUP -f udp4-listen:${remoteport},fork"