Onion: Set up a alt-svc so that TBB can automatically redirect from clearweb to onions #18
Labels
No Label
FCKPTN
WIP
bug
docs done
docs needed
duplicate
enhancement
feature
gemini
invalid
legal-ish
needs help
onionz
proposal
question
resolved
security
spam
todo
upstream-related
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: dotya.ml/community#18
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
unofficial docs https://write.privacytools.io/jonah/securing-services-with-tor-and-alt-svc
done for homepage and gitea, please check
TBB ain't auto-redirecting with these set to
always
in settings and working on torproject.orgusing this for gitea
add_header Alt-Svc 'h2="2crftbzxbcoqolvzreaaeyrod5qwycayef55gxgzgfcpqlaxrnh3kkqd.onion:80"; ma=86400; persist=1';
this for homepage
add_header Alt-Svc 'h2="6426tqrh4y5uobmo5y2csaip3m3avmjegd2kpa24sadekpxglbm34aqd.onion:80"; ma=86400; persist=1';
torproject.org is using
Onion-Location
from what I've seenI now changed it to what torproject.org uses.
please check @kreyren
do you know if there's any way to reasonably add something similar to this to cross-site links that we know have an onion version (such as links to dotya.ml)?
It's redirecting me on
http://2crftbzxbcoqolvzreaaeyrod5qwycayef55gxgzgfcpqlaxrnh3kkqd.onion//dotya.ml/community/issues/18
nowand doesn't seem to trigger for
https://git.dotya.ml
. but works forhttps://git.dotya.ml/.*
@kreyren
Please, elaborate..
When i open #18 it redirected me on http://2crftbzxbcoqolvzreaaeyrod5qwycayef55gxgzgfcpqlaxrnh3kkqd.onion//dotya.ml/community/issues/18 which is 404
Who told you that torproject.org is using Onion-Location?
Seems that in HTTP headers:
You have unwanted
/
so i guess try:@kreyren
They may not have it on the whole site but they are using the header for instance for media - that is where I got it from.
@kreyren
This is correct, though.. Fixed, see now.
relevant: present the same tls cert for aaaa.onion:443 as example.com:443 -- irc.oftc.net/#tor
The new configuration redirects on http://2crftbzxbcoqolvzreaaeyrod5qwycayef55gxgzgfcpqlaxrnh3kkqd.onion/dotya.ml/community/issues/18 which is 404 -> Assuming onions down? URL lgtm
also alt-svc should be on port 443 see example configuration provided by irc.oftc.net/#tor
https://p.pastly.xyz/volatile/torrc.txt
https://p.pastly.xyz/volatile/example-nginx-config.txt
FWIW dotya.ml works perfectly
onion was not listening on 443, it is now.
redirects now also work correctly, please confirm.
404s could be attributed to the nature of the tor network maybe
ain't working on me end, but i think that this is caused by onion for git.dotya.ml being down..
no
it's either the network or cosmic rays as the only time you could have legitimately got 404s were the ~three
tor
reloads today.works for me here
closing, as it's working.
thanku senpai~