pcap files

6 次查看(过去 30 天)
ingtwo
ingtwo 2012-6-11
Hello !
I would like to know how can Matlab read the .pcap files ? (packet data)
Thanks !

采纳的回答

Thomas
Thomas 2012-6-11
Havent used it but there is a tool called MATshark.. Matshark and Pyshark are tools that integrate Wireshark's packet dissection engine into the Matlab and Python programming environments, respectively. Though it works only on Linux. Pretty sure they help read .pcap files in matlab
Tool is available at

更多回答(2 个)

Victor Haro
Victor Haro 2012-9-25
Hi
I use TCPdump for monitoring ethernet or wifi interface and capture all traffic.
You can sent the data to TXT file, and you can process the file with matlab
Example
>tcpdump -enni 4 >> test.txt
You can use the function "textread" in matlab read the file.
Good luck
...v

Lucjan
Lucjan 2013-1-17
Hi,
We created a software TracesPlay which goal is to read binary pcap. You can find more details here: http://tracesplay.sourceforge.net/ There are libraries for linux, windows and OS.
Lucjan

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by