-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for listening on hidden service #19
Comments
That's a great idea! Would you like to push it? |
I'd love to. Can you give me some pointers as to how to best implement this? I'm still learning when it comes to libp2p. Some questions that come to mind:
|
I'd love to help!
It's not possible to tell the transport directly what to listen on, but that's not really a problem. For example a swarm with tcp transports is seldom instructed to listen on anything else then
They are implemented as a Protocol in multiaddr. Look at the This should be the corresponding type in Arti: https://tpo.pages.torproject.net/core/doc/rust/tor_hsservice/struct.HsId.html. I'm not quite sure what to do with the extra 3 bytes if I'm completely honest with you. |
The extra bytes are a checksum. |
We should make it possible to listen on an
/onion/xxxxx
multi address.art_client
has stable support for running a hidden service (example).The text was updated successfully, but these errors were encountered: