Tor Support
jb55 opened this issue · 3 comments
jb55 commented
We have tor support in lnsocket, let's make it work in lnlink.
Fonta1n3 commented
I added Tor.Framework to my project which is utilizing LNSocket, Tor works great but when I try lnsocket_connect_tor(<nodeid>, <myonion:9735>, <127.0.0.1:19050>)
, 127.0.0.1:19050
being the tor proxy running in the app it fails immediately.
I would be more then happy to submit a PR here which adds Tor.Framework in an easy to use way so that someone smarter then me can figure out how to get it working with LNSocket, if you'd like me to do that just let me know and ill submit a PR.
jb55 commented
On Tue, Oct 03, 2023 at 01:09:26PM -0700, Fontaine wrote:
I added [Tor.Framework](https://github.com/iCepa/Tor.framework) to my
project which is utilizing LNSocket, Tor works great but when I try
`lnsocket_connect_tor(<nodeid>, <myonion:9735>, <127.0.0.1:19050>)`,
`127.0.0.1:19050` being the tor proxy running in the app it fails
immediately.
I'm confused by this. In what sense does Tor work great if it fails
immediately ?
I never used lnsocket_connect_tor so it's probably buggy. I don't even
remember implementing it.
I would be more then happy to submit a PR here which adds Tor.Framework
in an easy to use way so that someone smarter then me can figure out
how to get it working with LNSocket, if you'd like me to do that just
let me know and ill submit a PR.
sure, but it's one of those things where I have zero interest in using
Tor in lnlink so I wouldn't be able to maintain it.
Fonta1n3 commented
Tor works, it bootstraps and functions just as it should. However LNSocket doesn't seem to work with tor when I attempt to connect to my node.
Understood, won't submit.