I want to capture packets with ACK flag set using tcpdump including SYN/ACK, data packet and ACK packets thanks

1 Answer 1


With the help of the manual,

tcpdump 'tcp[tcpflags] & (tcp-ack) != 0'

should do the trick

Not the answer you're looking for? Browse other questions tagged or ask your own question.