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

feat: add Onion Gateway (TOR) [subdomain gateway] - http://fzdqwfb5ml56oadins5jpuhe6ki6bk33umri35p5kt2tue4fpws5efid.onion #178

Closed
wants to merge 3 commits into from

Conversation

StorryTV
Copy link
Contributor

@StorryTV StorryTV commented Dec 5, 2021

http://fzdqwfb5ml56oadins5jpuhe6ki6bk33umri35p5kt2tue4fpws5efid.onion

No SSL
With Subdomain Gateway
Only accessible using TOR

@lidel
Copy link
Member

lidel commented Mar 3, 2022

@StorryTV is there any public gateway / library that we could use to test online status of this and other .onion gateways?

@lidel lidel added the status/blocked Unable to be worked further until needs are met label Mar 3, 2022
@StorryTV
Copy link
Contributor Author

StorryTV commented Mar 3, 2022

This one works (Also with subdomain IPFS gateway): http://fzdqwfb5ml56oadins5jpuhe6ki6bk33umri35p5kt2tue4fpws5efid.tor2web.to/ipfs/bafybeifx7yeb55armcsxwwitkymga5xf53dxiarykms3ygqic223w5sk3m

So, ".onion" is replaced by ".tor2web.to"

The only problems are:

  • It always returns statuscode 200 even if it's not available, so it has to be strictly checked by the response.
  • It has to be requested with http and not with https

I don't know of a way to check the status through a library or just js for now (without starting TOR [which is too much just for checking a few gateways])

@StorryTV
Copy link
Contributor Author

StorryTV commented Mar 3, 2022

Checking the status through such a TOR2Web gateway on clearnet is fine for just checking it's availability, but is not recommended for browsing.

@lidel
Copy link
Member

lidel commented Mar 7, 2022

I'd say we wait for #194 to land, then we can add special-casing for gateways under *.onion:

  • check to check their availability via .onion natively
    • if that fails, re-try via TOR2Web but show original .onion on the list / links

This way the status will be displayed correctly in both regular browser and Tor Browsers

@StorryTV
Copy link
Contributor Author

StorryTV commented Mar 7, 2022

Sure, I'll wait for that :)

That seems like a good way to approach it, so that it also shows up in regular browsers besides only TOR.

@lidel lidel added help wanted Seeking public contribution on this issue and removed status/blocked Unable to be worked further until needs are met labels Apr 4, 2022
@lidel lidel marked this pull request as draft April 4, 2022 23:56
@lidel lidel removed the help wanted Seeking public contribution on this issue label Apr 4, 2022
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@StorryTV mentioned PR got merged, you should be able to rebase and add .onion support/preview (if you still have bandwidth)

@StorryTV
Copy link
Contributor Author

StorryTV commented Apr 6, 2022

I pushed a new commit #212 so this one can be closed if you want

@StorryTV StorryTV marked this pull request as ready for review April 6, 2022 07:26
@StorryTV StorryTV closed this Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants