Just wondering if libp2p has a protocol that lets Alice send a request to Bob asking that he tells Carlos how to connect to Alice. I’ve done a bit of searching, but the closest I’ve found is this suggestion by @vyzo.
One advantage of this protocol (maybe
/id/tell?) would be privacy: instead of Carlos telling Bob “If anyone wants to connect to me, here’s how”, and hoping that no one nefarious asks Bob for that information, Alice is telling Bob, “Please share this information with Carlos, and only Carlos”. Another advantage is that the information sent to Carlos is up to date, rather than Carlos’s potentially stale information being sent in response to Alice’s request in the alternative protocol.
There are still potential privacy issues: Eve could try to determine whether Bob is connected to Carlos by asking Bob to send her details to Carlos; if a connection from Carlos to Eve results, then she knows there’s a Bob‒Carlos connection. On the other hand, Bob or Carlos could simply silently ignore this protocol’s messages in cases where they don’t want to reveal information of that sort.