User Tools

Site Tools


howtos:tcpdump

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howtos:tcpdump [d/m/Y H:i] (current)
Line 1: Line 1:
 +====== tcpdump goodies ======
 +
 +===== Capture only PXE traffic (tftp and dhcp requests) =====
 +
 +
 +<​code>​
 +sudo tcpdump -i eth0 -s 1600 -neeevvvX "proto (\udp or \tcp) and port (67 or 68 or 69)"
 +</​code>​
 +
 +The same but with a more simple output:
 +
 +<​code>​
 +sudo tcpdump -i eth0 -s 1600 -n "proto (\udp or \tcp) and port (67 or 68 or 69)"
 +</​code>​
 +
  
howtos/tcpdump.txt · Last modified: d/m/Y H:i (external edit)