Hi all, I want to use tshark -T and -e to extract data from PCAP file. Some of the data are ipv4 data, some are ipv6 data. I'm using this line now: tshark -r test.pcap -T fields -e frame.number -e eth.src -e eth.dst -e ip.src -e ipv6.src -e ip.dst -e ipv6.dst -e frame.len -E header=y -E separator=, > test1.csv then there would be empty fields in test1.csv, since the ipv4 data won't have ipv6.src and ipv6.dst. Is there a way to select ip.src or ipv6.src, like -e "ip.src or ipv6.src" asked 30 Oct '16, 14:14 zpymyyn |
One Answer:
Nothing like answered 30 Oct '16, 14:39 sindy |
Hi sindy, thanks a lot!
If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.
But beware of bug 13020.