简体   繁体   中英

Extraction of UDP data stream from pcap file

how can i get udp data stream (in ascii format) of all packets captured in pcap file into a text file using tshark. I tried this

tshark -V -r /tmp/file_src.pcap > file_dst.txt

but how can i get only udp data stream?

Thanks

您可以使用tshark的-Y标志来指定过滤器

tshark -V -r /tmp/file_src.pcap -Y udp > file_dst.txt

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM