Watch conntrack events live
Stream NEW and DESTROY events for a port to catch NAT or timeout drops.
conntrack -E -p tcp --dport 443 -o timestamp
- tool
- troubleshooting32 commands
More troubleshooting commands
-
ss -tan state time-wait | wc -l; sysctl net.ipv4.ip_local_port_rangeCount TIME-WAIT sockets and compare with the local port range; tune tw_reuse, not tw_recycle.
-
ss -s; ss -tan state syn-sent | wc -lShow socket totals by state; many SYN-SENT sockets point to dropped SYNs or a firewall.
-
tracepath -n <host>; ping -M do -s 1472 -c2 <host>Find the hop where the MTU drops; ping -M do forbids fragmentation, so you can find an MTU black hole.
-
ip route get <ip>; ip neigh show | grep -E 'FAILED|INCOMPLETE'Show the real source address and interface for a destination; FAILED or INCOMPLETE neighbor entries mean an L2/ARP problem.
-
traceroute -T -p 443 <host>; nc -zv <host> 443TCP SYN traceroute gets through ICMP filtering; nc -zv confirms the port is open.