Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Peers should know about each other. #10

Closed

Description

@skx

Every time a new peer comes online we should broadcast that to the other nodes.

The only hard part is working out how to handle this, for the moment we could assume we'll invoke a script every time a node joins:

  • /etc/simple-vpn/node-available

With $CLIENT_NAME + $CLIENT_IP. However the better case would be to execute only a single script one-time. Passing a list of an arbitrary pair of name/IPs is hard though if we want to use the environment.

Perhaps we'll need JSON, but that suddenly means we can't use a bash-script easily..

Activity

  1. self-assigned this
    on Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址