Peers should know about each other. #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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-availableWith
$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..