Skip to content
/ d3cap Public

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

Notifications You must be signed in to change notification settings

jfager/d3cap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published