Request new Tor circuit button on tor-control-panel

I noticed that new version of tor-control-panel had the “Request new Tor circuit” button instead of “New Identity”. When I pressed on this button, Tor service was restarted. Is it the same as “Restart Tor” or not?

It’s not exactly the same. The “Request new Tor circuit” button also sends a NEWNYM command to Tor so that future connections may go through different circuits.

1 Like

New Identity and Tor Circuits

1 Like

@Patrick @arraybolt3 I believe that you missed the point of the original poster.

For some reason, when clicking Request new Tor circuit in tor-control-panel, the new version doesn’t send a NEWNYM like it used to do for the past… decade, but restarts the entire Tor instead, killing all the existing connections (including long-lived ones) and leaving a trace for any entity that is interested in your network traffic.

  1. Are you aware of this?
  2. Is this by design? In other words, is this a conscious decision?
    1. If it is by design, why is the button still called Request new Tor circuit?
    2. If it is by design, why still have the button at all? It’s functionally no different than Restart Tor on the neighboring tab.

This behavior appeared in release 18.2.1.7 along with an apparent UI redesign of tor-control-panel.

It does still do this, like it used to. But…

It also does this now.

I’m not sure how you mean? I guess if an attacker is monitoring both your connection to your ISP and your exit node’s connections to a service you’re using, that could allow correlation, but the same risks are present when using the “reset identity” button in Tor Browser. The alternative is for only new connections to go through new circuits, which is much less intuitive behavior and arguably more dangerous (since an already-running application might not make a new connection to a service if the user starts doing something new with that application without a disconnect and reconnect).

Yes.

It was a conscious decision by Tor Control Panel’s developer (@troubadour), and no reviewer saw a problem with it.

Because it still sends a NEWNYM. Both the restart and the NEWNYM together attempt to ensure Tor has a high likelihood of using new circuits rather than potentially using cached information from before the restart.

It is functionally different though.

I don’t particularly like the way the button is documented. It used to imply a full restart but actually just send a NEWNYM, now it does a full restart too but implies that it only sends a NEWNYM. The text should probably change.

Anyone who has used Tor or Whonix in any serious capacity would quickly discover that a great deal of hosts on the internet block Tor exit nodes, with varying success, and it’s very often necessary to hop through several circuits before a connection is successful. Unfortunately, it is a crucial feature for using Tor effectively.

This behavior dates all the way back to the days of arm and is still present in nyx. It’s been well established for about 20 years across various Tor projects.

  1. It had a bold, red warning to use with care.
  2. If you’re using Whonix and messing with the Gateway apps, you’re likely capable of understanding what NEWNYM does, what its limitations are, and the bold red warning to use with care.
  3. The way the button is documented now, it perfectly describes the behavior it did previously. This does not instill much trust about the change.

Honestly I don’t even know why such emphasis was put on Tor Browser in the previous version of the warning. That button wasn’t even necessary for Tor Browser in the first place, as you could just hit CTRL+SHIFT+L from inside it.

Let’s say that you’re running something like a Windows Torified VM, which has all kinds of persistent connections running in the background, telemetry and such. Furthermore, as we’ve all learned recently, a lot of stuff you do across that VM is tied to its GUID. Previously, by hitting New Identity, nothing would have happened to the connections, and even if they all dropped, nobody would have learned anything from observing the traffic metadata alone, because your connection to the Tor entry node would have stayed intact. Under the current behavior, they all drop at the exact same time, and in the exact same second, your ISP and every router in your way to the entry guard (most of them belonging to a few centralized entities) log a disconnection and reconnection to the Tor entry node. Do it multiple times and the odds start stacking up against you.

But I’m not even pushing that argument. My real beef is that it’s just bad from the UX standpoint. Let’s say that you’re downloading a large file on the Workstation and you decide to SSH or whatever into a host that blocks 50% of Tor exits. Previously, you’d just hit New Identity a bunch of times and be done with it. Now the only remaining way I can think of is nyx, and who knows if it’s gonna stay in Whonix, considering most of its features are duplicated across GUI apps now.

Hitting New Identity does not restart the underlying Tor connection.

What? Why would Tor cache circuits and its paths across restarts? That doesn’t make sense.

And that feature still works to my awareness?

It’s not the behavior of the “New Identity” button in Tor Browser, which is the behavior the feature was originally intended to mimic. See:

Citation? We (intentionally) don’t have the telemetry that would be needed to know what the typical Whonix user would do, and even if most Whonix users are able to understand this concept well enough, Whonix is intended to protect inexperienced users too. Some level of education is required to use tools securely, and that can’t be avoided, but the less knowledge needed and the more intuitively things work, the better.

I’m also unhappy with the text as described above. At the very least, it should be fixed.

The warning was very poorly written originally. It implied it would do things to Tor Browser that it didn’t do. I suspect the wording was fixed to match the behavior of the button, and then the button’s behavior was changed to be more intuitive, without adjusting the text to match.

That’s more-or-less the scenario I mentioned above. It’s a tradeoff. IMO the new behavior is safer than the old behavior, but for some subset of users it’s worse. I guess both buttons could be included…

I don’t think we intend to remove Nyx. I at least use it very regularly, so I would not be happy if it were to be removed. That being said, the library it uses to interact with Tor (Stem) is deprecated, and I’m not aware of a Nyx equivalent for Arti, so it probably will go away once it’s no longer functional. Hopefully there will be a good replacement at that point.

Hmm, I do see that now, I was unaware of that when I wrote my original reply.

To be clear, I haven’t double-checked the code to see if Tor does that or not, but I generally don’t trust that programs will do convenient things when they should unless explicitly told. Even if Tor does choose all new circuits upon restart today, there’s no telling if there will be some reason for it to start caching that data tomorrow. IMO it would be pretty bad if it did that kind of caching, but there are many software projects (some of which Whonix depends on) that do things that I think are pretty bad and that sometimes have required complex workarounds. Just because behavior wouldn’t make sense doesn’t mean it’s impossible.

I should note that I do see the correlation risk that the new behavior comes with, and do think it’s a problem. How exactly to solve that problem I don’t know, but will discuss internally.

EDIT: Discussed internally, old behavior will be restored. If a user wants to send a NEWNYM and then restart, they can press the NEWNYM button and then the restart button, the NEWNYM button should not be restarting at the same time.

1 Like

[… 30 lines elided]

But I’m not even pushing that argument. My real beef is that it’s just
bad from the UX standpoint.

Indeed. The new behavior is just annoying.