zerotier / zerotier/ZeroTierOne
[Feature Request] User can see a Network's rules
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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