Open thomaseizinger opened 3 years ago
Tor supports "ephemeral hidden services": https://stem.torproject.org/api/control.html#stem.control.Controller.create_ephemeral_hidden_service
Not sure if it is in the scope of this project, but creating an ephemeral hidden service would - I think - allow for a much nicer API where the transport can manage the life-cycle of the transport and know about all the mappings etc.
It would then obviously be a Tor-specific transport but as described in https://github.com/comit-network/rust-libp2p-tokio-socks5/issues/1 this transport is already specific to Tor, it just not obvious from the name :)
I think there are two main use-cases here:
Tor supports "ephemeral hidden services": https://stem.torproject.org/api/control.html#stem.control.Controller.create_ephemeral_hidden_service
Not sure if it is in the scope of this project, but creating an ephemeral hidden service would - I think - allow for a much nicer API where the transport can manage the life-cycle of the transport and know about all the mappings etc.
It would then obviously be a Tor-specific transport but as described in https://github.com/comit-network/rust-libp2p-tokio-socks5/issues/1 this transport is already specific to Tor, it just not obvious from the name :)
I think there are two main use-cases here: