tailviz

command module
v0.0.0-...-2b6da7a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2024 License: BSD-3-Clause Imports: 15 Imported by: 0

README

tailviz

tailviz is tool to visualize your tailnet acl config in a graph. This can be helpful to better understand which devices can communicate whith which devices.

Features

  • Show all tags, users, ips and group relations
  • Support dot, svg, png and jpg output
  • Support specifying the layout to render the graph
  • Option to ignore wildcard edges

Usage

This tool is written using go 1.22. This is the only requirement.

Once installed:

git clone https://github.com/neodyme-labs/tailviz.git
cd tailviz
go run main.go --input <input_path> --output <output_path>
go run main.go -h
NAME:
   tailviz - Visualize you tailnet acls

USAGE:
   tailviz [global options] command [command options] 

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --input value, -i value   Tailnet hujson file to visualize
   --output value, -o value  Output file, depending on the extension, the format is chosen. (Supported extensions: dot, svg, png, jpg)
   --layout value, -l value  Specify the layout to use. (Supported layouts: circo, dot, fdp, neato, osage, patchwork, sfdp, twopi) (default: "dot")
   --ignore-wildcard         Do not render wildcard edges (default: false)
   --help, -h                show help

Disclaimer

This is not an official Tailscale or Tailscale Inc. project.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL