Watch the data fly
JavaScript Processing Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
data
packet_flight
.gitignore
README
build.sh Update README Apr 28, 2012
process-dump.py

README

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.