How to create a packet sniffer with Matlab?
Ältere Kommentare anzeigen
Hi all,
I'm a bit new with the use of Matlab for networking. I was wondering how can create passavie sniffer with Matlab. I have a Server that I want to analye using Matlab' sniffer.
I would be glad to get your help. Also, please keep in mind that I don't have much experience in Matlab so write your answer in a way I could understand.
Thankx in advance,
Ilan.
1 Kommentar
Udaya RONGALA
am 23 Jul. 2013
I am also having the exact same question!! Did you succed in finding a way for this problem? Thanks.
Antworten (2)
Jason Ross
am 11 Apr. 2013
0 Stimmen
Why not use a tool like WireShark?
I'm not saying you couldn't build a packet sniffer in MATLAB, but if you have work to get done right now, there are tools out there already that do this already, and do it quite well.
1 Kommentar
Ilan
am 11 Apr. 2013
Walter Roberson
am 11 Apr. 2013
0 Stimmen
You cannot create a packet sniffer in MATLAB unless you call out to external routines that do all the work. Routines such as PNet, included in http://www.mathworks.com/matlabcentral/fileexchange/345-tcpudpip-toolbox-2-0-6 -- though I have not looked at that one closely enough to know whether it can be used for sniffing.
To make a sniffer, you need privileged access to the RAW socket interface; you can have a look at C code source examples for Linux over here
2 Kommentare
Ilan
am 12 Apr. 2013
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!