marinehero / packet-flight

Watch the data fly

Home Page:http://vimeo.com/14439742

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Packet Flight: visualizing packets
carlos@bueno.org
BSD license: Share and enjoy, but give credit where it's due.

Packet Flight is a script that turns a TCP packet dump (tcpdump) data into a
Processing animation.

At the moment this is a very basic demonstraion of the idea.

On linux (ubuntu) to generate a dump use the following command

sudo tcpdump -n -i <INTERFACE> -tt host <HOST>  > data.tcp

and after to generate the correct data file for the viewer 

./build.sh <DATA_PATH>

finally to visualize it simply open the viewer.html file


TODOS:

  * automatically figure out the latency and correct the timings to account
    for it. The dump timestamps show the send time of sent packets and the
    received time of received packets, so the timings for received packets
    have to be adjusted backwards.

  * show labels for nodes and packets

  * prettier visualizations

  * sound effects!

  * a timeline for pausing, skipping, etc.

About

Watch the data fly

http://vimeo.com/14439742


Languages

Language:JavaScript 66.5%Language:Processing 27.7%Language:Python 5.3%Language:Shell 0.6%