Why does tcpdump only capture the first 68 bytes of a packet?

  • Thread starter Thread starter SpiffyEh
  • Start date Start date
  • Tags Tags
    bytes Capture
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 6K views
SpiffyEh
Messages
191
Reaction score
0
By default TCPDUMP limits the number of bytes it captures to 68. Why did they select 68 bytes? Does anyone know why?
 
Physics news on Phys.org
68 bytes is just the default value. You can set it to capture the whole packet by using the "-s 0" option. It's set to that by default because it's just enough to capture packet header information without revealing content; making it a useful network diagnostic without snooping through user data.