繁体   English   中英

从pcap文件中提取UDP数据流

[英]Extraction of UDP data stream from pcap file

我如何使用tshark将pcap文件中捕获的所有数据包的udp数据流(ascii格式)转换为文本文件。 我试过这个

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

但是我怎样才能只获得udp数据流?

谢谢

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

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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