Peer management service #11

Closed
opened 2025-11-20 05:04:51 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @braginini on GitHub (Jun 2, 2021).

What
Backend Support for https://github.com/wiretrustee/wiretrustee/issues/19

Why
Since the introduction of the management system, a peer needs a way to authenticate itself and fetch necessary info (e.g. a list of peers to connect to)

How

  • Provision peer database table to contain peer (device) info

Implement the following API endpoints (gRPC) in /signal

  • endpoint to validate peer existence
    • request: peer auth token (setup-key), peer pub key
    • response: 200 if exists, 404 otherwise
  • endpoint to register a peer (device)
    • request: peer auth token (setup-key), peer pub key, peer hostname, peer mac
    • response: ip
  • endpoint to fetch a list of peers (public keys) to connect to
    • request: peer auth token (setup-key), peer pub key
    • response: listy of peers to connect to with the corresponsing ips
Originally created by @braginini on GitHub (Jun 2, 2021). **What** Backend Support for https://github.com/wiretrustee/wiretrustee/issues/19 **Why** Since the introduction of the management system, a peer needs a way to authenticate itself and fetch necessary info (e.g. a list of peers to connect to) **How** - [ ] Provision peer database table to contain peer (device) info Implement the following API endpoints (gRPC) in /signal - [x] endpoint to validate peer existence - - [ ] request: peer auth token (setup-key), peer pub key - - [ ] response: 200 if exists, 404 otherwise - [ ] endpoint to register a peer (device) - - [ ] request: peer auth token (setup-key), peer pub key, peer hostname, peer mac - - [ ] response: ip - [ ] endpoint to fetch a list of peers (public keys) to connect to - - [ ] request: peer auth token (setup-key), peer pub key - - [ ] response: listy of peers to connect to with the corresponsing ips
saavagebueno added the enhancementpeer-managementserver labels 2025-11-20 05:04:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#11