Ask Your Question

Revision history [back]

tshark: Extract hex data for whole frame along with epoch time with microseconds/nanoseconds precision

Is there a way to extract the whole frame hex dump using tshark with epoch time?

I am able to run following command which provides me both of the fields (i.e. frame_raw and frame.time_epoch) I need:

tshark -r <pcap_path> -x -T json -j "frame"

However, I would like to use something like below:

tshark -r <pcap_path> -x -T ek -e frame.time_epoch -e raw

OR

tshark -r <pcap_path> -x -T ek -e frame.time_epoch -e frame_raw

tshark: Extract hex data for whole frame along with epoch time with microseconds/nanoseconds precision

Is there a way to extract the whole frame hex dump using tshark with epoch time?

I am able to run following command which provides me both of the fields (i.e. frame_raw and frame.time_epoch) I need:

tshark -r <pcap_path> -x -T json -j "frame"

"frame"

However, I would like to use something like below:

tshark -r <pcap_path> -x -T ek -e frame.time_epoch -e raw

raw

OR

tshark -r <pcap_path> -x -T ek -e frame.time_epoch -e frame_raw

frame_raw

tshark: Extract hex data for whole frame along with epoch time with microseconds/nanoseconds precision

Is there a way to extract the whole frame hex dump using tshark with epoch time?

I am able to run following command which provides me both of the fields (i.e. frame_raw and frame.time_epoch) I need:

tshark -r <pcap_path> <pcapng_path> -x -T json -j "frame"

However, I would like to use something like below:

tshark -r <pcap_path> <pcapng_path> -x -T ek -e frame.time_epoch -e raw

OR

tshark -r <pcap_path> <pcapng_path> -x -T ek -e frame.time_epoch -e frame_raw