srv_pid=2423874 td_wrapper_pid=2423880 == tcpdump running? == 2423870 bash -c set +e rm -f /tmp/hz-cap.pcap /tmp/hz-cap.log /tmp/hz-srv.log /tmp/hz.pids 2>/dev/null sudo -n rm -f /tmp/hz-cap.pcap 2>/dev/null nohup python3 -m http.server 29472 --bind 0.0.0.0 > /tmp/hz-srv.log 2>&1 & echo "srv_pid=$!" | tee -a /tmp/hz.pids sleep 1 nohup sudo -n timeout 600 /usr/bin/tcpdump -i any -n -ttt -c 200 -w /tmp/hz-cap.pcap "tcp port 29471 or tcp port 29472" > /tmp/hz-cap.log 2>&1 & echo "td_wrapper_pid=$!" | tee -a /tmp/hz.pids sleep 3 echo "== tcpdump running? =="; pgrep -a -f "tcpdump -i any -n -ttt" | head -3 echo "== listener on 29472? =="; ss -ltn | grep 29472 echo "== 29471 still closed? =="; ss -ltn | grep -c 29471 echo "== tcpdump log =="; cat /tmp/hz-cap.log echo "== start time =="; date -u +%Y-%m-%dT%H:%M:%S.%3NZ 2423880 sudo -n timeout 600 /usr/bin/tcpdump -i any -n -ttt -c 200 -w /tmp/hz-cap.pcap tcp port 29471 or tcp port 29472 2423884 timeout 600 /usr/bin/tcpdump -i any -n -ttt -c 200 -w /tmp/hz-cap.pcap tcp port 29471 or tcp port 29472 == listener on 29472? == LISTEN 0 5 0.0.0.0:29472 0.0.0.0:* == 29471 still closed? == 0 == tcpdump log == tcpdump: data link type LINUX_SLL2 tcpdump: listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes == start time == 2026-09-12T03:29:58.512Z