Hi all, our application is deployed as a private network of libp2p nodes exchanging data with each other.
We have a use case where - on certain circumstances - a node in a network needs to exchange messages with a node the other network. In practice the request node needs to open a stream to a node on another network. In our requirement, even if node A can open a stream to node B, node B may not be allowed to open a stream to node A.
It looks like nothing out of the libp2p box can help.
We’re looking into the go-libp2p-circuit as a starting point and think on how to extend it; but also considering to solve the problem at the application layer - basically spinning two “special hosts” and copying the traffic across.
As we’re quite new to libp2p we’re yet unsure on how best to tackle the problem and any pointer or direction is really appreciated.
Thanks in advance