Questions tagged [circuit]

A Tor circuit is a private network pathway built incrementally as a series of encrypted connections through relays on the network.

Filter by
Sorted by
Tagged with
2 votes
0 answers
47 views

Pre-built circuits for a predicted port

According to the Tor documents, Tor builds 2 circuits for each predicted port. I checked the source code to find out how it can understand that it has already built one or two circuit for a predicted ...
  • 451
5 votes
2 answers
555 views

Does Tor use compression?

Just curious if out of the box does Tor use a Gzip or any other kind of compression? I have done some searches but find only discussions about the Hidden Service directory.
2 votes
1 answer
312 views

How can I select some specifc paths?

I want to select some specific routers as my entry relay, middle relay and exit node. I know I can edit torrc to determine entry and exit, how can I determine the middle one?
  • 21
10 votes
1 answer
790 views

Do all relays in a circuit encrypt data response from a server?

I know that when sending data from the Tor client to a server it is encrypted and gradually get decrypted on the way there. This question is about when the server responds. The data must be encrypted ...
  • 500
0 votes
0 answers
4k views

Tried for 120 seconds to get a connection to [scrubbed]:6667 (waiting for controller)

I'm running some experiments using the stem library where I change circuit paths fairly frequently. Every so often, I get a stream detached event and a Socks5Error: 'TTL Expired' in my Python script, ...
3 votes
1 answer
453 views

Changing in the relay selection in Tor source code

I want to change the Tor relay selection in the SOURCE CODE, I want to tell Tor to select my selected relays in each time it needs to build a circuit instead of randomly selected relays. I know that ...
  • 451
2 votes
1 answer
284 views

Streams and Circuits assignments

I know that Tor re-uses the circuits, all streams are attached to the same circuit, but I do not know whether Tor assigns all streams from all website to the same circuit or it assigns the streams of ...
  • 451
11 votes
3 answers
6k views

How can a new circuit happen without closing all tabs?

Using the current version (3.5) of the Tor Browser Bundle, how can we switch to a new circuit without losing all tabs and activity? I understand the reason of "New Identity" means everything is ...
  • 111
4 votes
1 answer
259 views

What are cannibalized circuits and how Tor make use of them?

Bug report #5231 mentions cannibalized circuits: This can happen when we cannibalize a circuit which has already been cannibalized. What are cannibalized circuits and how they're used in Tor? And ...
  • 980
7 votes
1 answer
3k views

How to force Tor to use just one circuit?

We use Stem's launch_tor_with_config with the following config and then close all circuits opened by it (with close_circuit). MaxCircuitDirtiness and NewCircuitPeriod: tens of hours ...
  • 71
6 votes
1 answer
296 views

How much does it cost to change Tor identity?

Assume we are refreshing a web page very quickly and fresh identity is needed for each request. My question is how often we can change IP on Tor network? More briefly how much computation and how ...
4 votes
2 answers
528 views

How many streams does Tor attach to the same circuit?

How many streams does Tor attach to the same circuit, i.e. when Tor think that it is a time to build a new circuit? I know that the lifetime of a circuit is 10 minutes (for new connections). But ...
  • 451
4 votes
1 answer
2k views

What does Tor do with streams?

I am a bit confused about handling streams in Tor. When we visit a website like Youtube the browser sends more than 100 requests to more than 20 different hosts. If we consider each request is for a ...
  • 451
3 votes
2 answers
2k views

Can Tor change circuit while accessing a webpage?

In that case, it should download the page from the beginning because the TCP connection was closed, right? If it's not the case, how does Tor know when the site has finished loading?
  • 155
4 votes
1 answer
202 views

How many preemptively built circuits?

I want to know how many preemptively circuits Tor can builds. I got confused about it when I read "Tor Path Specification". According to this article, at the startup Tor builds 3 clean circuits, but ...
  • 451
4 votes
1 answer
377 views

Does traffic exit Tor at the same node for all ports?

Exit Relays can be set to allow traffic to exit the Tor network only over certain ports. Vidalia even makes this super-simple by giving options like "Normal, unencrypted Web browsing" or "IRC clients ...
  • 2,900
1 vote
1 answer
795 views

Is CircuitBuildTimeout saved through sessions?

In the Tor manpage I read about CircuitBuildTimeout. It is set to a default value of 60 seconds. However usually also LearnCircuitBuildTimeout is set. This enables adaptive learning of those timeouts. ...
  • 8,683
9 votes
1 answer
158 views

Does Tor take node age into consideration when building a circuit?

I've seen this for a while, but in my experience Tor seems to select well stablished nodes (whose uptime is >60 days) but in the specifications this is not shown. It's just that the current list of ...
  • 233
11 votes
2 answers
1k views

How many distinct Tor circuits are possible?

Given the current relay census, and assuming a standard Tor Browser Bundle installation, approximately how many distinct Tor circuits are possible? Once entry guards have been chosen, approximately ...
  • 2,989
1 vote
1 answer
238 views

Where is cookiepath of tor? [closed]

I am working on tools for change identity of tor every 3 minutes. But it require a cookie path of tor. I follow this one https://trac.torproject.org/projects/tor/ticket/4881 but didn't find its yet. ...
  • 111
4 votes
1 answer
509 views

Where along the path is encryption used?

This question is born out of two questions that I saw coming up. Is the connection between my computer and the Tor network encrypted? How does Tor encrypt my traffic before it sends it to the server?...
  • 2,652
11 votes
1 answer
731 views

Why does the number of open circuits fluctuate that much in my heartbeat logs?, new d

I have a new exit relay running on DSL. It's version 0.2.3.25 running on Windows. Most of the time, there's only a few connections, but every so often there's a lot more. They all appear and disappear ...
  • 465
18 votes
3 answers
12k views

For how long does a circuit stay alive?

How long does it take for Tor to expire a circuit and pick a new one? Is there a way to control this expiration time?
  • 2,762
14 votes
2 answers
2k views

When I click "New Identity", why do I sometimes end up with the same exit relay?

Three variants on the same question: If I click "new identity" in Tor Browser to get a new circuit, why does my new circuit sometimes have the same exit relay as the last circuit? Doesn't that hurt ...
6 votes
1 answer
412 views

Is it possible to team multiple circuits in the current Tor network?

The client-selected paths that carry traffic through the Tor relay network are called circuits. Tor clients switch circuits at ten minute intervals for better anonymity. However, latency and bandwidth ...
  • 2,989
29 votes
3 answers
12k views

How does a Tor client pick Tor nodes for circuit creation?

A Tor client initially contacts Directory Authorities to fetch the consensus (i.e. a file containing all relays of the Tor network at that time with details such as IP address, exit policy, public key ...
  • 2,614
17 votes
2 answers
1k views

Does Tor insert random delays or perform packet re-ordering to make the discovery of the communication path harder?

If an attacker can observe the Tor user, and the website being visited, it is possible to correlate the traffic by looking at time and size distributions of the communication. Techniques such as ...
1 vote
2 answers
192 views

How does Tor pass my traffic around and should I be worried about malicious relay operators? [closed]

I am not sure how does Tor work, how safe is it as I heard that some relays are ran by bad people or government agencies.

1 2 3
4