Home arrow Debugging Tips arrow tcp 28 [bad hdr length 0 - too short,
tcp 28 [bad hdr length 0 - too short, PDF
Tuesday, 21 February 2012
If you get the following error when running tcpdump:

  tcp 28 [bad hdr length 0 - too short, < 20]

or the following error:

  tcp 0 [bad hdr length 0 - too short, < 20]

That's maybe (and just maybe) of some bug in tcpdump. To solve the problem increase snaplen from 68 bytes to a bigger value (-s 128):

  tcpdump -n -e -ttt -s 128 -i pflog0

 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?