Skip to content

Instantly share code, notes, and snippets.

@gedsic
Created November 18, 2024 08:03
Show Gist options
  • Select an option

  • Save gedsic/ee91bac4757ab8607b340645928bb4a3 to your computer and use it in GitHub Desktop.

Select an option

Save gedsic/ee91bac4757ab8607b340645928bb4a3 to your computer and use it in GitHub Desktop.
tcpdump - record only syn packets
sudo tcpdump -i lo -w out.pcap host 127.0.0.1 and "tcp[tcpflags] & (tcp-syn) != 0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment