I want to capture packets with ACK flag set using tcpdump including SYN/ACK, data packet and ACK packets thanks
ACK
SYN/ACK
With the help of the manual,
tcpdump 'tcp[tcpflags] & (tcp-ack) != 0'
should do the trick