Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevenpack/asroute
Interpret traceroute output to show names of ASN traversed
https://github.com/stevenpack/asroute
Last synced: about 1 month ago
JSON representation
Interpret traceroute output to show names of ASN traversed
- Host: GitHub
- URL: https://github.com/stevenpack/asroute
- Owner: stevenpack
- License: mit
- Created: 2020-08-29T05:22:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-12T03:59:54.000Z (about 4 years ago)
- Last Synced: 2024-10-28T12:05:16.516Z (about 1 month ago)
- Language: Rust
- Size: 17.7 MB
- Stars: 154
- Watchers: 7
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - stevenpack/asroute - Interpret traceroute output to show names of ASN traversed (Rust)
- awesomeness - asroute - asroute is a CLI tool for parsing traceroute output to summarize AS's traversed. (OpsShit)
README
# asroute
`asroute` is a CLI tool for parsing traceroute output to summarize AS's traversed.
Ever wondered how your packets get from home to Bhutan? I sometimes like to see it, not at the hop level, but the companies and their networks that carry my data. Or how much shorter the paths are if the site uses a CDN?
Uses Team Cymru's [Rust crate](https://docs.rs/cymrust/0.3.4/cymrust/) for the ASN to AS Name lookup
## Installation
### Homebrew
```bash
$ brew install asroute
```## Usage
```bash
$ traceroute -a www.bhutan.gov.bt | asroute
traceroute to bhutan.gov.bt (202.144.128.217), 64 hops max, 52 byte packets
-> AS0 (Reserved)
-> *
-> BRESNAN-33588, US
-> LIGHTOWER, US
-> BRESNAN-33588, US
-> CHARTER-20115, US
-> TELIANET Telia Carrier, EU
-> *
-> NTT-COMMUNICATIONS-2914, US
-> DRUKNET-AS DrukNet ISP, BT
-> BTTELECOM-AS-AP Bhutan Telecom Ltd, BT
```## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.
## Todos
- [ ] -h with usage
- [ ] progress indicator
- [ ] mode to execute traceroute rather than parsing output
- [x] brew install## Notes
The [lft](https://en.wikipedia.org/wiki/Layer_four_traceroute) tool contains similar functionality and is a feature-rich layer 4 tracing tool (although requires sudo). If you're doing serious network analysis, that is probably more for you. This tool was more to scratch an itch for doing a Rust CLI and seeing how easy (very!) it is to distribute via homebrew.
## License
[MIT](https://choosealicense.com/licenses/mit/)