A libpcap-based network activity visualizer / playground for learning d3 and Rust.
Rust JavaScript CSS HTML
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
Cargo.toml
README.md
d3cap.png

README.md

d3cap

A libpcap-based network activity visualizer / playground for learning d3 and Rust.

Includes half-assed rust bindings for libpcap and a quarter-assed rust websocket server implementation.

To try it out, you'll need libpcap installed and a recent rust compiler. Once these are set up, clone the project and use cargo to build, like so:

$ git clone https://github.com/jfager/d3cap.git
$ cd d3cap
$ cargo build

The resulting binary ends up in target/d3cap. Run this and open src/client/client.html in a browser and hit the Connect button, and you should start seeing network activity pop up:

The size of each node indicates how much data has passed through the corresponding host, with blue and orange showing the proportion sent and received. You can mouse over a node to see the corresponding address.