Skip to content
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 nostr over Tor Relay Support [feature request] #876

Closed
alltheseas opened this issue Apr 5, 2023 · 15 comments
Closed

Add nostr over Tor Relay Support [feature request] #876

alltheseas opened this issue Apr 5, 2023 · 15 comments
Assignees
Labels
feature New feature request help-wanted Extra attention is needed privacy

Comments

@alltheseas
Copy link
Collaborator

User Story

As an advanced Damus user who is configuring relays, I would like to connect to nostr relays over tor on Damus, so that I can increase my privacy/censorship resistance.

Acceptance Criteria

  1. Damus supports connecting to nostr relays over Tor network

@BenGWeeks

@alltheseas alltheseas changed the title Add Tor Relay Support [feature request] Add nostr over Tor Relay Support [feature request] Apr 5, 2023
@BenGWeeks
Copy link
Contributor

In progress.

@BenGWeeks
Copy link
Contributor

Related: iCepa/Tor.framework#78 (comment)

@alltheseas
Copy link
Collaborator Author

Tor relays nostr:

ws://2pbkpndvpeebljfvjew6auq63lndzszqnntct5aqfmazslerzxe75kad.onion

From relayable

npub16fcy8ynknssdv7s487nh4p2h4vr3aun64lpfea45d7h4sts9jheqevshg

One more: note1fl7fx63spk2jgwhk2zacrh7fct8mg88uvjx346e3qhjeqm0q2gxqlg3507

@BenGWeeks
Copy link
Contributor

Related: daltoniam/Starscream#971

@alltheseas alltheseas added help-wanted Extra attention is needed feature New feature request privacy labels Jun 26, 2023
@alltheseas alltheseas moved this to In Progress 🏗️ in Damus Roadmap 🛣️ Jun 30, 2023
@jb55 jb55 removed the status in Damus Roadmap 🛣️ Jul 31, 2023
@alltheseas
Copy link
Collaborator Author

@jb55 advised connection to Damus relay can take place over Tor.

I don't know the steps to join Damus relay via Tor, and I dont know if the same process might work for other relays.

@jb55
Copy link
Collaborator

jb55 commented Oct 1, 2023 via email

@alltheseas
Copy link
Collaborator Author

On Sat, Sep 30, 2023 at 01:24:15PM -0700, alltheseas wrote: @jb55 advised connection to Damus relay can take place over Tor.
some users like Snowden are still having issues connecting to the damus relay via Amethyst, even though I turned off all cloudflare tor blocking. Still need to debug this... might remove cloudflare altogether soon since I'm not getting much out of it.

What are the steps to test connecting to Damus relay over Tor?

@alltheseas
Copy link
Collaborator Author

@TheSameCat2
Copy link

@alltheseas @jb55 note that this relay is on CloudFlare, but with DNS proxy disabled.

There still seem to be some issues allowing signup with a paid relay, since the URL is different (callbacks, etc) but from the client end the connection has remained stable once added.

Let me know if any team devs would like free access for testing.

@TheSameCat2
Copy link

On Sat, Sep 30, 2023 at 01:24:15PM -0700, alltheseas wrote: @jb55 advised connection to Damus relay can take place over Tor.

some users like Snowden are still having issues connecting to the damus relay via Amethyst, even though I turned off all cloudflare tor blocking. Still need to debug this... might remove cloudflare altogether soon since I'm not getting much out of it.

What are the steps to test connecting to Damus relay over Tor?

Download Orbot, and allow it to add a VPN configuration. Tor on iOS uses the VPN to intercept traffic. Once connected, add an onion addressed relay, using insecure websockets (ws://).

Other relays should also work if they don't block exit node traffic. Out of my list, I believe all but two worked.

@alltheseas
Copy link
Collaborator Author

https://damus.io/note1ncyzyxpdysm2sw57wantxzmsceqftp42rzseky53jfslwyg2a9dq3f8ta0

Tor cloudflare relay settings discussion

@alltheseas
Copy link
Collaborator Author

On Sat, Sep 30, 2023 at 01:24:15PM -0700, alltheseas wrote: @jb55 advised connection to Damus relay can take place over Tor.

some users like Snowden are still having issues connecting to the damus relay via Amethyst, even though I turned off all cloudflare tor blocking. Still need to debug this... might remove cloudflare altogether soon since I'm not getting much out of it.

What are the steps to test connecting to Damus relay over Tor?

Download Orbot, and allow it to add a VPN configuration. Tor on iOS uses the VPN to intercept traffic. Once connected, add an onion addressed relay, using insecure websockets (ws://).

Other relays should also work if they don't block exit node traffic. Out of my list, I believe all but two worked.

@BenGWeeks

@alltheseas
Copy link
Collaborator Author

@alltheseas
Copy link
Collaborator Author

@alltheseas alltheseas moved this to Published to Testflight in Damus Roadmap 🛣️ Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request help-wanted Extra attention is needed privacy
Projects
Archived in project
Development

No branches or pull requests

4 participants