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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.11.0esr-13.5-1] 2 commits: fixup! Bug 40933: Add tor-launcher functionality



Title: GitLab

Pier Angelo Vendrame pushed to branch tor-browser-115.11.0esr-13.5-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 77793754
    by Pier Angelo Vendrame at 2024-05-29T20:31:38+02:00
    fixup! Bug 40933: Add tor-launcher functionality
    
    Bug 42604: Log the circuit nodes when we see the CIRC BUILT event
    (with debug level).
    
  • 46c67143
    by Pier Angelo Vendrame at 2024-05-29T20:31:43+02:00
    fixup! Bug 3455: Add DomainIsolator, for isolating circuit by domain.
    
    Bug 42604: Log a message when we update the data about a certain
    circuit.
    

2 changed files:

Changes:

  • toolkit/components/tor-launcher/TorDomainIsolator.sys.mjs
    ... ... @@ -588,6 +588,7 @@ class TorDomainIsolatorImpl {
    588 588
         data = await Promise.all(
    
    589 589
           circuit.map(fingerprint => provider.getNodeInfo(fingerprint))
    
    590 590
         );
    
    591
    +    logger.debug(`Updating circuit ${id}`, data);
    
    591 592
         this.#knownCircuits.set(id, data);
    
    592 593
         // We know that something changed, but we cannot know if anyone is
    
    593 594
         // interested in this change. So, we have to notify all the possible
    

  • toolkit/components/tor-launcher/TorProvider.sys.mjs
    ... ... @@ -1035,6 +1035,7 @@ export class TorProvider {
    1035 1035
        */
    
    1036 1036
       async onCircuitBuilt(id, nodes) {
    
    1037 1037
         this.#circuits.set(id, nodes);
    
    1038
    +    logger.debug(`Built tor circuit ${id}`, nodes);
    
    1038 1039
         // Ignore circuits of length 1, that are used, for example, to probe
    
    1039 1040
         // bridges. So, only store them, since we might see streams that use them,
    
    1040 1041
         // but then early-return.
    

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