Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A libpcap-based network activity visualizer / playground for learning d3 and Rust.
Rust JavaScript CSS HTML
branch: master
Failed to load latest commit information.
src upstream rust changes
.gitignore split out cli code
Cargo.toml workaround for openssl blowing up w/ debug
README.md start using cargo
d3cap.png add README

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.

Something went wrong with that request. Please try again.