百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

rev-proxy-grapher

> 编程语言
开源

反向代理图形化工具

398 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

反向代理图形化工具

Reverse proxy grapher

This is a useful little tool that will generate a nice graphviz graph illustrating your reverse proxy flow. It takes a manually curated YAML file describing the topology of your network, proxy definitions, and optionally a collection of nmap output files for additional port/service information and output a graph in any format supported by graphviz.

.. image:: https://raw.githubusercontent.com/mricon/rev-proxy-grapher/master/examples/graph.png :alt: Example graph produced :width: 100% :align: center

Usage

When run with --help::

    usage: rev-proxy-grapher.py [-h] --topology TOPOLOGY [--resolve-dns]
                                [--nmap-xml NMAP_XML [NMAP_XML ...]]
                                [--limit-ext LIMIT_EXT [LIMIT_EXT ...]]
                                [--font FONT] [--fontsize FONTSIZE]
                                [--ranksep RANKSEP] [--out OUT] [--verbose]

    Draw a nice graph of your external to internal proxies

    optional arguments:
      -h, --help            show this help message and exit
      --topology TOPOLOGY   File describing the proxies and the topology of your
                            networks (default: topology.yaml)
      --resolve-dns         Attempt to resolve DNS for all IPs (default: False)
      --nmap-xml NMAP_XML [NMAP_XML ...]
                            Get additional node details from these nmap XML scan
                            files (default: ())
      --limit-ext LIMIT_EXT [LIMIT_EXT ...]
                            Only include these source IPs or networks (default:
                            ())
      --font FONT           Font to use in the graph (default: droid sans,dejavu
                            sans,helvetica)
      --fontsize FONTSIZE   Font size to use in the graph (default: 11)
      --ranksep RANKSEP     Node separation between columns (default: 1)
      --out OUT             Write graph into this file, guessing the output format
                            by extension (default: graph.png)
      --verbose             Be more verbose (default: False)

Requirements
  • python3-pydotplus
  • python3-PyYAML
  • python3-netaddr

Examples

bash
See output of --help, and examples in the examples directory. To
generate an example graph of your own, simply run::

    rev-proxy-grapher.py --topology examples/topology.yaml

This will generate graph.png if everything worked well.

If you want to see what is added by running nmap::

    rev-proxy-grapher.py \
        --topology examples/topology.yaml \
        --nmap-xml examples/nmap-external.xml \
        --out graph-with-nmap.svg

Limitations

Currently, this only supports one level of proxying. For example you cannot define a haproxy->nginx->lb-cluster relationship, but this will hopefully be coming in the future, as we have a need to get that properly represented anyway.

Authors

- Konstantin Ryabitsev

Issues· 4 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言