- 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
9920c722
Branches
No related tags found
Showing
- browser/components/BrowserGlue.sys.mjs 41 additions, 14 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 537 additions, 0 deletionsbrowser/components/onionservices/OnionAliasStore.sys.mjs
- 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.sys.mjs 7 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 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 3 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 10 additions, 0 deletionsnetwerk/build/nsNetCID.h
- netwerk/dns/IOnionAliasService.idl 34 additions, 0 deletionsnetwerk/dns/IOnionAliasService.idl
Loading
Please sign in to comment
