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

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Wed May 29 18:32:23 UTC 2024



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:

- toolkit/components/tor-launcher/TorDomainIsolator.sys.mjs
- toolkit/components/tor-launcher/TorProvider.sys.mjs


Changes:

=====================================
toolkit/components/tor-launcher/TorDomainIsolator.sys.mjs
=====================================
@@ -588,6 +588,7 @@ class TorDomainIsolatorImpl {
     data = await Promise.all(
       circuit.map(fingerprint => provider.getNodeInfo(fingerprint))
     );
+    logger.debug(`Updating circuit ${id}`, data);
     this.#knownCircuits.set(id, data);
     // We know that something changed, but we cannot know if anyone is
     // 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 {
    */
   async onCircuitBuilt(id, nodes) {
     this.#circuits.set(id, nodes);
+    logger.debug(`Built tor circuit ${id}`, nodes);
     // Ignore circuits of length 1, that are used, for example, to probe
     // bridges. So, only store them, since we might see streams that use them,
     // but then early-return.



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/5826b22f1233cd7753f6277a99db4c0914d1716d...46c671431818b2e6418152421a6e2be87a6ddead

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/5826b22f1233cd7753f6277a99db4c0914d1716d...46c671431818b2e6418152421a6e2be87a6ddead
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20240529/170d3b61/attachment-0001.htm>


More information about the tbb-commits mailing list