Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. # tcpdump
  2.  
  3. Capture all upd traffic being sent to destination port range 1-1023. *Helps when your debugging dns traffic*
  4.  
  5. ```
  6. sudo tcpdump -n udp dst portrange 1-1023
  7. ```
  8.  
  9. Capture packets being sent to a specific destination host ip.
  10.  
  11. ```
  12. sudo tcpdump -n dst host 192.168.10.100
  13. ```
  14.  
  15. Capture ICMP (ping) packets on network interface `eth0`.
  16.  
  17. ```
  18. sudo tcpdump -i eth0 icmp
  19. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement