Currently clock_skew_warning() doesn't log anything easily visible to Tor Launcher. (It does a LOG_WARN but that's not enough to produce a failure dialog.)
When we get a trusted clock skew indication, we should make sure to report it as a bootstrap problem, so Tor Launcher's existing logic will detect it as a fatal error.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
Really? Shouldn't the controller be listening for CLOCK_SKEW STATUS_GENERAL events, and reacting to them as a problem that it needs to bring to the user's attention?
Really? Shouldn't the controller be listening for CLOCK_SKEW STATUS_GENERAL events, and reacting to them as a problem that it needs to bring to the user's attention?
That's one possibility, but the Tor Launcher devs have rejected that before for various reasons, and this is the best way to get a substantial usability improvement with the existing Tor Launcher.
That's one possibility, but the Tor Launcher devs have rejected that before for various reasons, and this is the best way to get a substantial usability improvement with the existing Tor Launcher.
Hmm. I don't think we rejected that idea. When Kathy and I experimented with it, we found that in our testing it did not solve the problem. Specifically, a CLOCK_SKEW event was generated before Tor Launcher had established its control port connection, so Tor Launcher did not see it. But as I write this I wonder if our testing was flawed, because if we start tor with DisableNetwork=1, then connect to the control port, then monitor STATUS_GENERAL events, it seems like we would see the first CLOCK_SKEW event (but I know very little about tor internals).
Anyway, somewhere I have experimental code that monitors CLOCK_SKEW events... so if that is the Right Thing To Do we can add it to Tor Launcher.
Specifically, a CLOCK_SKEW event was generated before Tor Launcher had established its control port connection, so Tor Launcher did not see it.
I think this happens sometimes when there's an existing cached consensus. Otherwise, I'm able to see the CLOCK_SKEW events when making a manual controller connection.
This fixes several of the bootstrap stalling behaviors where the client's clock is behind the network's time. (I think these are mainly the stalls at 25% and 40%.)