ef25228f2b
iptables -A INPUT -p tcp --dport 22 -j DROP silently discards SYN packets — Go's net.Dialer sits in the connect syscall through the kernel's TCP_SYN_RETRIES (default 6 ~ 127s) before the syscall is abandoned, even though the dialer's logical Timeout is 30s. The spec polled the testSSHConnection API for the failure path; the request blocked long enough that Node's keep-alive evicted the socket and the test failed with "other side closed" instead of seeing kandev's success=false response. Race the probe against a 5s timeout. If the request errored or timed out the test passes (both are valid evidence that the drop hit the dial path); if it came back with a response, assert success=false the same way the original spec did. The restore-probe poll still gates on a real success after restoreTraffic.