-
- Downloads
TB 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.
Showing
- browser/app/profile/000-tor-browser.js 2 additions, 0 deletionsbrowser/app/profile/000-tor-browser.js
- browser/components/BrowserGlue.sys.mjs 41 additions, 0 deletionsbrowser/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.sys.mjs 551 additions, 0 deletionsbrowser/components/onionservices/OnionAliasStore.sys.mjs
- browser/components/onionservices/TorRequestWatch.sys.mjs 120 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.sys.mjs 9 additions, 0 deletionsbrowser/components/rulesets/RulesetsChild.sys.mjs
- browser/components/rulesets/RulesetsParent.sys.mjs 75 additions, 0 deletionsbrowser/components/rulesets/RulesetsParent.sys.mjs
- browser/components/rulesets/content/aboutRulesets.css 306 additions, 0 deletionsbrowser/components/rulesets/content/aboutRulesets.css
- browser/components/rulesets/content/aboutRulesets.html 182 additions, 0 deletionsbrowser/components/rulesets/content/aboutRulesets.html
- browser/components/rulesets/content/aboutRulesets.js 448 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, 0 deletionsmodules/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 9 additions, 0 deletionsnetwerk/build/nsNetCID.h
Loading
Please sign in to comment