Conntrack live events

Stream NEW/DESTROY events live to catch NAT/timeout drops on a port

conntrack -E -p tcp --dport 443 -o timestamp

tool
troubleshooting32 commands
tags
troubleshootingnetworkdebugkernel

More troubleshooting commands

  • ss -tan state time-wait | wc -l; sysctl net.ipv4.ip_local_port_range

    Count TIME-WAIT sockets vs port range; note: tune tw_reuse not tw_recycle

  • ss -s; ss -tan state syn-sent | wc -l

    One-shot socket totals by state; SYN-SENT pileup hints at SYN drops/firewall

  • tracepath -n <host>; ping -M do -s 1472 -c2 <host>

    Find PMTU drop hop; ping -M do forbids frag to pinpoint blackhole MTU

  • ip route get <ip>; ip neigh show | grep -E 'FAILED|INCOMPLETE'

    Show actual src/iface for a dest; FAILED neigh entries = L2/ARP problem

  • traceroute -T -p 443 <host>; nc -zv <host> 443

    TCP-SYN traceroute survives ICMP filtering; nc -zv confirms open port

all 32 troubleshooting commands