Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Watch the data fly

branch: master

Merge pull request #4 from okayzed/master

some improvements for packet-flight
latest commit 615c96c8f9
Carlos Bueno authored
Octocat-spinner-32 data added retransmit support, yay September 05, 2010
Octocat-spinner-32 packet_flight le fin May 01, 2012
Octocat-spinner-32 .gitignore Add vim swaps to gitignore. August 06, 2011
Octocat-spinner-32 README added some explanation in the README September 24, 2012
Octocat-spinner-32 build.sh Update README April 28, 2012
Octocat-spinner-32 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.
Something went wrong with that request. Please try again.