Relays: who may link (RL-33) #151

Merged
jcoffey-dev merged 1 commits from relay/link-allow-from into main 2026-10-31 01:42:39 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 316e0bc3de Relays: who may link (RL-33)
ci / build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / notices (pull_request) Successful in 55s
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m35s
A relay's Settings gain "Who may link": linkAllowFrom, the addresses and
ranges the relay takes this server's link from; empty is anyone. Shown
only where the server has the setting. A list that doesn't read is
refused before it is sent.

Under it, a warning when the list leaves out an address the relay last
saw a node link from (links[].relay.linkFrom): for every node, that it
locks this server out and --link-allow-any undoes it; for some, which
nodes couldn't link again. Addresses are matched as the relay matches
them, an IPv4-mapped IPv6 address as IPv4.
2026-10-30 18:24:34 -07:00