[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.6.0esr-13.5-1] fixup! Bug 3455: Add DomainIsolator, for isolating circuit by domain.



Title: GitLab

richard pushed to branch tor-browser-115.6.0esr-13.5-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 0ee68de7
    by Pier Angelo Vendrame at 2024-01-09T12:39:59+01:00
    fixup! Bug 3455: Add DomainIsolator, for isolating circuit by domain.
    
    Bug 42338: Make TorDomainIsolator.newCircuitForDomain public again
    

1 changed file:

Changes:

  • toolkit/components/tor-launcher/TorDomainIsolator.sys.mjs
    ... ... @@ -224,7 +224,7 @@ class TorDomainIsolatorImpl {
    224 224
       newCircuitForBrowser(globalBrowser) {
    
    225 225
         const browser = globalBrowser.selectedBrowser;
    
    226 226
         const firstPartyDomain = getDomainForBrowser(browser);
    
    227
    -    this.#newCircuitForDomain(firstPartyDomain);
    
    227
    +    this.newCircuitForDomain(firstPartyDomain);
    
    228 228
         const { username, password } = this.#getSocksProxyCredentials(
    
    229 229
           firstPartyDomain,
    
    230 230
           browser.contentPrincipal.originAttributes.userContextId
    
    ... ... @@ -329,7 +329,7 @@ class TorDomainIsolatorImpl {
    329 329
               logger.info(
    
    330 330
                 "tor catchall circuit has reached its maximum lifetime. Rotating."
    
    331 331
               );
    
    332
    -          this.#newCircuitForDomain(CATCHALL_DOMAIN);
    
    332
    +          this.newCircuitForDomain(CATCHALL_DOMAIN);
    
    333 333
             }
    
    334 334
           }
    
    335 335
           const { username, password } = this.#getSocksProxyCredentials(
    
    ... ... @@ -437,7 +437,7 @@ class TorDomainIsolatorImpl {
    437 437
        * @param {string?} domain The first-party domain to re-create the nonce for.
    
    438 438
        * If empty or null, the catchall domain will be used.
    
    439 439
        */
    
    440
    -  #newCircuitForDomain(domain) {
    
    440
    +  newCircuitForDomain(domain) {
    
    441 441
         if (!domain) {
    
    442 442
           domain = CATCHALL_DOMAIN;
    
    443 443
         }
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits