- Downloads
Bug 40458: Implement .tor.onion aliases
We have enabled HTTPS-Only mode, therefore we do not need HTTPS-Everywhere anymore. However, we want to keep supporting .tor.onion aliases (especially for securedrop). Therefore, in this patch we implemented the parsing of HTTPS-Everywhere rulesets, and the redirect of .tor.onion domains. Actually, Tor Browser believes they are actual domains. We change them on the fly on the SOCKS proxy requests to resolve the domain, and on the code that verifies HTTPS certificates.
parent
e8546394
No related branches found
No related tags found
Showing
- browser/components/BrowserGlue.sys.mjs 42 additions, 1 deletionbrowser/components/BrowserGlue.sys.mjs
- browser/components/about/AboutRedirector.cpp 5 additions, 0 deletionsbrowser/components/about/AboutRedirector.cpp
- browser/components/about/components.conf 1 addition, 0 deletionsbrowser/components/about/components.conf
- browser/components/moz.build 1 addition, 0 deletionsbrowser/components/moz.build
- browser/components/onionservices/OnionAliasStore.jsm 544 additions, 0 deletionsbrowser/components/onionservices/OnionAliasStore.jsm
- browser/components/onionservices/TorRequestWatch.sys.mjs 124 additions, 0 deletionsbrowser/components/onionservices/TorRequestWatch.sys.mjs
- browser/components/onionservices/moz.build 2 additions, 0 deletionsbrowser/components/onionservices/moz.build
- browser/components/rulesets/RulesetsChild.jsm 11 additions, 0 deletionsbrowser/components/rulesets/RulesetsChild.jsm
- browser/components/rulesets/RulesetsParent.jsm 79 additions, 0 deletionsbrowser/components/rulesets/RulesetsParent.jsm
- browser/components/rulesets/content/aboutRulesets.css 305 additions, 0 deletionsbrowser/components/rulesets/content/aboutRulesets.css
- browser/components/rulesets/content/aboutRulesets.html 116 additions, 0 deletionsbrowser/components/rulesets/content/aboutRulesets.html
- browser/components/rulesets/content/aboutRulesets.js 531 additions, 0 deletionsbrowser/components/rulesets/content/aboutRulesets.js
- browser/components/rulesets/content/securedrop.svg 173 additions, 0 deletionsbrowser/components/rulesets/content/securedrop.svg
- browser/components/rulesets/jar.mn 5 additions, 0 deletionsbrowser/components/rulesets/jar.mn
- browser/components/rulesets/moz.build 6 additions, 0 deletionsbrowser/components/rulesets/moz.build
- modules/libpref/Preferences.cpp 4 additions, 1 deletionmodules/libpref/Preferences.cpp
- modules/libpref/init/StaticPrefList.yaml 8 additions, 0 deletionsmodules/libpref/init/StaticPrefList.yaml
- netwerk/build/components.conf 11 additions, 0 deletionsnetwerk/build/components.conf
- netwerk/build/nsNetCID.h 10 additions, 0 deletionsnetwerk/build/nsNetCID.h
- netwerk/dns/IOnionAliasService.idl 34 additions, 0 deletionsnetwerk/dns/IOnionAliasService.idl
Loading
Please sign in to comment
