-
Notifications
You must be signed in to change notification settings - Fork 895
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
Not possible to have a non persistent not announced .onion address if the node is Not on an internal network #2183
Comments
hello @gabridome can confirm your issue. |
Great! |
fix issue ElementsProject#2183 Signed-off-by: Saibato <Saibato.naga@pm.me>
Seems the context parameter got lost somewhere. Reported-by: Ulmo <@Ulmo> Signed-off-by: Christian Decker <decker.christian@gmail.com> allow --bind-addr (not announce) to work with tor autoservice fix issue reported by @gabridome Signed-off-by: Saibato <Saibato.naga@pm.me> allow --bind-addr (not announce) to work with tor autoservice fix issue ElementsProject#2183 as reported by @gabridome
fix issue ElementsProject#2183 Signed-off-by: Saibato <Saibato.naga@pm.me> allow --bind-addr (not announce) to work with tor autoservice fix issue ElementsProject#2183 as reported by @gabridome
fix issue ElementsProject#2183 as reported by @gabridome Signed-off-by: Saibato <Saibato.naga@pm.me>
Hello @gabridome i now pushed the PR Saibato@d5d9936 |
fix issue ElementsProject#2183 as reported by @gabridome Signed-off-by: Saibato <Saibato.naga@pm.me>
Thanks this is also addressed now Please also note some other unrelated fact, that the assumption "non persistent" is only true if you always also restart tor. |
fix issue #2183 as reported by @gabridome Signed-off-by: Saibato <Saibato.naga@pm.me>
Fixed by #2192 |
Concept ACK. The document already states: "To provide the node a non-persistent .onion address is necessary to access the Tor auto service. These types of addresses change each time the Tor service is restarted." |
Case 5 in the Tor documentation currently states that if you use `--bind-addr=autotor:127.0.0.1:9051`, you can get your onion address by running `lightning-cli getinfo`. I have not found that to be the case; with that flag no onion address will be generated. On the other hand, if `--addr=autotor:127.0.0.1:9051` is used instead, an onion address is generated and `lightning-cli getinfo` behaves as the docs say.
Issue and Steps to Reproduce
If the node is NOT on an internal network and doesn't want to announce its .onion address,
according to:
and according to tor.md in doc directory,
the --bind-address=autotor:127.0.0.1:9051 option should be used to bind the service to a non persistent .onion address without announcing it.
This behaviour used to work and the generated .onion address resulted in the output of the
lightning-cli getinfo
command.as v0.6.2, this doesn't work anymore.
starting with:
You get:
If an address has been generated, is not available anywhere.
If the intent is to get rid of the --bind-addr option in the case the node is not on an internal network, some correction is necessary to the documentation.
The text was updated successfully, but these errors were encountered: