Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [circuit]

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

2
votes
1answer
73 views

Warnings on Relay: No unused circIDs found on channel without wide circID support

I am running a Tor relay on FreeBSD 10, with OpenSSL 1.0.1 (from ports, because of more performant curves). The version is Tor version 0.2.5.4-alpha (git-d2147cc7ba5c5d51). It has a somewhat high load ...
1
vote
1answer
4k views

How to make Tor use italian only proxy? [duplicate]

I need Tor to use proxy only from Italy,how can I do that?
3
votes
1answer
126 views

How a client maintains a list of guard nodes, from among hundreds of guard nodes, for creating a circuit?

It is said that a client maintains a list of guard nodes for certain time for making a circuit. I want to know how many number of guard nodes they make in a list? How often they change these guard ...
1
vote
2answers
1k views

Is it possible to change the default circuit length?

Default number of nodes is 3. Can i build a circuit of 5 or 6 nodes? (using whonix)
3
votes
1answer
156 views

How to know the number of circuits through my middle Tor relay?

I am running my Tor relay as middle relay. Is it possible to know how many circuits are there through my middle relay?
2
votes
1answer
316 views

How many connections are using my exit node?

I am running Tor as an exit node on Ubuntu. Is it possible to know the number of connections to my exit node at the current time?
1
vote
1answer
89 views

Does the Tor network accept clients or relays running customized source code?

In How to implement the modified source code of Tor?, OP may be asking about using a tor binary built from customized source code. The public Tor network rejects customized clients and relays, right?
1
vote
1answer
1k views

Circuit Creation Failed: “CHANNEL_CLOSED”

I'm trying to create circuits using the Stem library and I keep getting the following error ... controller.new_circuit(['711e9e5711a6e28e2a27de23b7c70c91d39908d0','...
1
vote
0answers
82 views

what is the command in torrc file to log the number of circuits through my Tor relay? [duplicate]

Could anyone tell me what command should I write in torrc file so that I can log how many circuits are connecting through my Tor relay?
3
votes
1answer
469 views

How to implement the modified source code of Tor?

I want to log how many circuits have been made through my Tor onion router (OR). So if I do some changes in the original source code, how can I make my Tor use that changed source code. I am now using ...
4
votes
0answers
79 views

How to know the number of circuits through my Tor relay(OR)? [duplicate]

Can anyone tell me how to know how many circuits are being build through my Tor relay(OR)? I am using vidalia.
4
votes
1answer
354 views

Finding the IP address of a hostname on a given circuit

I want the Tor to just find the address of a hostname (just give me the IP) on a given circuit without be connected to that hostname. I find that the RELAY_CONNECTED cell includes the IP address of ...
2
votes
0answers
39 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 ...
5
votes
2answers
383 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
1answer
217 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?
10
votes
1answer
491 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 ...
0
votes
0answers
2k 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
1answer
378 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 ...
2
votes
1answer
247 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 ...
11
votes
3answers
5k 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 ...
4
votes
1answer
236 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 ...
7
votes
1answer
2k 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 ...
6
votes
1answer
268 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
2answers
428 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 ...
4
votes
1answer
1k 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 ...
3
votes
2answers
1k 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?
4
votes
1answer
161 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 ...
4
votes
1answer
293 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 ...
1
vote
1answer
430 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. ...
9
votes
1answer
139 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 ...
11
votes
2answers
786 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 ...
1
vote
1answer
121 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. ...
4
votes
1answer
216 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?...
11
votes
1answer
514 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 ...
15
votes
3answers
8k 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?
13
votes
2answers
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
1answer
271 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 ...
23
votes
3answers
9k 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 ...
15
votes
2answers
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
2answers
146 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.