Most Lemmy instances currently use an allowlist based federation, so federation with unknown instances is denied. That is good for security, but makes it hard for instances and users to connect. So I want to implement a functionality where server A can send an activity to server B, asking “do you want to federate with me”, and B responds yes or no.
These two issues explain it in more detail:
Now I’m wondering which activities would make sense to implement this, and if any other projects have similar functionality. I believe Peertube does, but their docs dont specify how it is federated. Maybe
Reject would work, but I dont know what the
object of the
Offer should be.