3

i have a pcap which contains only tcp packets. now i want to see only those packets which have non zero payload length. can someone please let me know which display filter to use ? using

data.len or
tcp.pdu.size

doesnt help. please let me know the appropriate filter. Even

frame.length

wont suffice as headers may be of different length. so some sort of filter like tcp.payload_len is required. any help will be greatly appreciated. thanks.

migrated from stackoverflow.com Aug 31 '12 at 13:26

This question came from our site for professional and enthusiast programmers.

3

What you want is tcp.len which is the length of the payload. I won't be populated when the frame contains no payload.

The full list of tcp attributes you can filter on is available here: http://www.wireshark.org/docs/dfref/t/tcp.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.