Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cebe/trace-graph
tool to create a network graph from different traceroutes
https://github.com/cebe/trace-graph
network-graph routing traceroute
Last synced: about 2 months ago
JSON representation
tool to create a network graph from different traceroutes
- Host: GitHub
- URL: https://github.com/cebe/trace-graph
- Owner: cebe
- Created: 2013-06-10T23:03:32.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-11-28T16:04:09.000Z (about 5 years ago)
- Last Synced: 2024-10-11T21:55:50.254Z (2 months ago)
- Topics: network-graph, routing, traceroute
- Language: PHP
- Size: 3.45 MB
- Stars: 14
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
trace-graph
===========tool to create a network graph from different traceroutes
Usage
-----Create a number of traceroute files
```
traceroute -n -q 10 google.com > traces/google.com
```You may do the traces from several machines on different locations to get more routes into the system.
Then use `graph.php` and [graphviz](http://www.graphviz.org/) to render the network graph.
```
php graph.php | dot -Tpng -o network.png
```You may also try different graph algorithms:
```
php graph.php | neato -Tpng -o network.png
``````
php graph.php | sfdp -Tpng -o network.png
```Example created with `sfdp` and traceroute to `google.com`:
![Example traceroute graph google.com](https://raw.github.com/cebe/trace-graph/master/example.png)