-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# d3cap | ||
|
||
A [libpcap]-based network activity visualizer / playground for learning [d3] and [Rust]. | ||
|
||
[libpcap]: http://www.tcpdump.org/ | ||
[d3]: http://d3js.org/ | ||
[rust]: http://www.rust-lang.org/ | ||
|
||
Includes half-assed rust bindings for libpcap and a quarter-assed rust websocket server implementation. | ||
|
||
To run, you need libpcap installed and a recent rust compiler (I try to track rust master), then: | ||
|
||
$ git clone https://github.com/jfager/d3cap.git | ||
$ cd d3cap | ||
$ make run | ||
|
||
Open d3cap/client.html in a browser and hit the Connect button to attach to this running backend and you should start seeing network activity pop up, like so: | ||
|
||
![](d3cap.png "d3cap") | ||
|
||
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. |