Can nostr clients add tor as an option?
Discussion
#Amethyst already supports Tor. But isn't loading images and videos through Tor too slow?
Yeah its def. slower, but works at least.
Yeah on Amethyst you can connect through Tor with Orbot
Amethyst can connect through Orbot and many web clients support Tor.
The only issue is the nostr brandwidth requirements which make it an unusable experience.
Clients need a "low brandwidth" mode for it to be worth it.
Every Android app can use Orbot using the "vpn mode". The problem is keep a persistent/secure connection, if Orbot crash (and happens often) the app escape the vpn.
You can enforce the orbot-vpn but this way you have to use it everywhere.
It's not a solution. Every client should support connection only via socks5.
I know. I was just pointing out that Orbot usage is not an Amethyst exclusive.
Btw I really like how nostr:nprofile1qqsyvrp9u6p0mfur9dfdru3d853tx9mdjuhkphxuxgfwmryja7zsvhqpzamhxue69uhkv6tvw3jhytnwdaehgu3wwa5kuegpz3mhxue69uhhyetvv9ujuerpd46hxtnfduqs6amnwvaz7tmwdaejumr0ds04f7v9 pushed it making it prominent in the main menu.
"VPN mode" is way worse than actual support for socks5 proxy.
VPN mode has to actively tunnel all the app's traffic through a VPN android interface. It's a hack, not a proper solution. Tor is not a vpn.
If you are using an actual vpn, you cannot use it concurrently with Orbot's vpn mode because android only supports 1 vpn slot at a given time.
I know I know... but it is a nice option until sock5 proxy support would be more common. I agree that this is the path*. I was just pointing out that there is an option for other nostr clients (also micro ones, not necessary full social media ones).
> If you are using an actual vpn, you cannot use it concurrently with Orbot's vpn mode because android only supports 1 vpn slot at a given time.
Yes, this is the worst point.
* A slightly different PoV: using Tor in a VPN style I can be sure that the app never escape the tunnel leaking some data, using socket I need to trust the app implementation.
True on the last point, never considered that. Although that is somewhat mitigated if the app is FOSS and has a lot of eyes on it.
Amethyst has it. My understanding is that the Rust/WASM version of tor will make it a lot easier to embed tor in mobile apps.