-4

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

misteryes
  • 101
  • 2

1 Answers1

2

With the help of the manual,

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

should do the trick

Kdecherf
  • 466
  • 3
  • 9