创建路由图的工具
项目描述
route-graph
用于创建路由图的命令行工具。
该工具简单封装了在scapy
文档中提到的TCP traceroute示例。
需求
您需要安装graphviz
。如果您的系统上没有graphviz
,则可以创建图形。
必须以sudo
执行route-graph
。
安装
该软件包可在Python包索引中找到。
$ pip3 install route-graph --user
获取最新状态
$ pip install git+https://github.com/audiusGmbH/route-graph.git
Nix或NixOS用户可在Nixpkgs中找到软件包。请注意,最新版本可能仅存在于unstable
通道中。
$ nix-env -iA nixos.route-graph
使用方法
$ sudo ./route-graph --help
Usage: route-graph [OPTIONS] COMMAND [ARGS]...
Tool to draw a graph of traceroute results.
╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or customize the installation. │
│ --help Show this message and exit. │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ graph Create a graph from traceroute results. │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
图形可以在当前目录中找到。格式为png
。
许可证
route-graph
使用MIT许可证,更多详情请查看LICENSE文件。
项目详情
下载文件
下载您平台的文件。如果您不确定选择哪一个,请了解更多关于 安装包 的信息。
源代码分发
route_graph-0.2.2.tar.gz (3.3 kB 查看哈希值)
构建分发
route_graph-0.2.2-py3-none-any.whl (4.3 kB 查看哈希值)