Filter löschen
Filter löschen

pcap files

6 Ansichten (letzte 30 Tage)
ingtwo
ingtwo am 11 Jun. 2012
Hello !
I would like to know how can Matlab read the .pcap files ? (packet data)
Thanks !

Akzeptierte Antwort

Thomas
Thomas am 11 Jun. 2012
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
  1 Kommentar
ingtwo
ingtwo am 11 Jun. 2012
thank you !

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Victor Haro
Victor Haro am 25 Sep. 2012
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 am 17 Jan. 2013
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

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by