Capture SYN and FIN flags tcpdump

Show only connection open/close packets to trace short-lived churning sessions

tcpdump -nn 'tcp[tcpflags] & (tcp-syn|tcp-fin) != 0'
more tcpdump all 18 commands →