zerotier / zerotier/ZeroTierOne

[Feature Request] User can see a Network's rules

Open
#2,134 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
17.1k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

I don't like that when I join a network that I don't own, I don't know what Flow Rules are on that network. Actions like tee would be especially concerning.

The clients have the rules already; that's how the rules system works. Clients just need a way to output them to the terminal.

It looks like probably a pain to convert them back to json.

Rules (and tags and caps) JSON could be added to the listnetworks -j output, but that might be make that output annoyingly long. So a separate endpoint like /rules might be wanted. Either way.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the client output path for listnetworks -j and the possible /rules endpoint mentioned in the issue. Determine how existing network rules are represented and exposed to clients. Done means a non-owner can view a network's Flow Rules in the terminal without making the existing JSON output unnecessarily unwieldy.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.