Network Monitor

Apr 20, 2006 at 6:55pm

Network Monitor

Hi all,

Maybe a bit of a newbie question.

Im trying to build a network monitor in max that triggers notes when packets are sent and received and also depending on the amount of packets control tempo. What would be the best way to do this? Can I do it with the mxj send/recieve?

Thanks in advance for any help

#25537
Apr 20, 2006 at 7:13pm

OSC is a nice way to go for control of things remotely ’cause you can
create namespaces for the messages and route them accordingly without
having to devise your own parsing scheme. There are some max objects
for doing this: udpreceive, udpsend.

wes

#75301
Apr 20, 2006 at 7:17pm

Thanks!

Will this allow me to intercept the packets without affecting other programs?

Ideally id like the patch to work in the background while I access websites and transfer data.

#75302
Apr 20, 2006 at 7:27pm

Oh, are you trying to sniff packets?? that’s a different story. Maybe
you could download Carnivore and do an mxj with that code.

wes

#75303
Apr 20, 2006 at 7:32pm

I think the program you’re describing is called a “packet sniffer”, but I
don’t know whether the OSC objects support this. Anyone?

I believe most packet sniffers generate plain text log files, so maybe you
could use Max to access and parse the data in thse files to do what you
want.

Best of luck!

- *V*I*R*G*O*

#75304
Apr 20, 2006 at 7:35pm

You need to run your ethernet card in promiscuous mode to capture all
data. This requires using packet capture libraries like libpcap on
unix and windows.

might I suggest using ‘carnivore’ by the RSG – which is ready made to
give you that data :)

http://itserve.cc.ed.nyu.edu/RSG/carnivore/

v a d e //

http://www.vade.info
abstrakt.vade.info

I

#75305
Apr 20, 2006 at 7:45pm

Wow, thanks for all these replies!

I think capturing all the data to file is going to be my best bet, since writing things in java isnt exactly my forte.

#75306
Apr 20, 2006 at 9:42pm

Which platform are you workling on? I have a (not well tested) carnivore
external for windows that sniffs all the network traffic and gives it to
you through an outlet….

Olaf

#75307
Apr 20, 2006 at 10:53pm

Its for windows :) Ive got carnivore working through a very basic patch, any help is most appreciated

#75308
Oct 28, 2013 at 12:59pm

Is it possible to use Carnivore as a MAX lib rather than in Processing?

#269390

You must be logged in to reply to this topic.