7 votes
Accepted

How do clients know if a descriptor is new/changed/or disappeared from the Tor network?

Tor maintains a descriptor store which keeps all the descriptors it knows about. New descriptors enter the store after being downloaded, old descriptors get expired when they haven't been referenced ...
user avatar
  • 2,209
4 votes
Accepted

Where do I find previous Tor consensuses, and other metrics data?

Check out: https://collector.torproject.org/archive/relay-descriptors/consensuses/ and the main page (https://collector.torproject.org/) for more info.
user avatar
4 votes
Accepted

How can I get consensus data from Directory authority servers for research purpose?

Near the top of this page: Consensus Health, in the Signatures section, you will find a 'consensus' (and 'vote') link for each Directory Authority. These link directly to http://ip.of.the.relay:...
user avatar
  • 3,745
3 votes
Accepted

Do Tor Clients and Caches download the WHOLE totally new consensus file every one hour, or just update some lines in the file every 10 seconds?

Good and detailed question, but you're misunderstanding a key point about descriptors. A descriptor doesn't change, once you've downloaded it you don't update it. This is guaranteed by using hashes - ...
user avatar
  • 2,209
3 votes

Is it possible to voluntarly unlist a relay from consensus?

Remove the tor instances your not using so there gone and not just hibernating. There is no way to remove them your self from the consensus. They will automaticly dissapear after about a week of no ...
user avatar
  • 141
3 votes

How can I get consensus data from Directory authority servers for research purpose?

You can easily fetch the consensus with... https://stem.torproject.org/api/descriptor/remote.html https://stem.torproject.org/tutorials/mirror_mirror_on_the_wall.html For an example of a script that ...
user avatar
  • 691
3 votes
Accepted

How many directory servers are there in the Tor networks?

There are 9 directory authorities which are hard-coded into the Tor software. Following please find addresses and some additional information about these directory authorites: https://atlas.torproject....
user avatar
  • 3,236
3 votes
Accepted

How many times does client fetch the consensus file from directory authorities?

As far as I see it the answer is in the source code. ;-) The file main.c has a function run_scheduled_events. The comment to this function says: Perform regular maintenance tasks. This function ...
user avatar
  • 8,663
2 votes

How many times does client fetch the consensus file from directory authorities?

From what I gathered, I have not found anything that point that a client periodically fetch the consensus file. On the other hand, consensus files do expire, and when that happens the client will ...
user avatar
  • 1,195
2 votes
Accepted

Does Directory Traffic count towards Consensus Weight?

No it does not. (..and neither does the OR traffic.) The idea that 'traffic counts towards consensus weight' is not how it works. As I understand (from the linked document), the bandwidth is measured ...
user avatar
  • 3,745
2 votes
Accepted

Does all direct clients have to talk to Directory Authorities to fetch the consensus at the first step?

Every client that doesn't get its consensus from some other source (clients that use bridges get theirs from the bridge they connect to) will have to connect to the Directory Authorities once at first ...
user avatar
  • 2,209
2 votes

Does Tor still monitor "shadow" relays?

As far as I know it is still possible to do those kind of attacks against the network. However Tor tries to detect bad relays and block them from participating in the network. So there is a high ...
user avatar
  • 8,663
2 votes

How do you get legit relay bandwidth ballpark figures?

Tor automatically builds the fastest circuits possible for you by attempting to see how much bandwidth is available for each node. It doesn't rely on the client supplied Bandwidth value but actually ...
user avatar
  • 1,274
2 votes
Accepted

What is the key blinding function used in the hidden service protocol v3?

I've messaged one of the tor developpers and he's been kind enough to answer. In the rend-spec-v3.txt document, the function is actually specified in appendix A2. And the "HSDirV3" flag ...
user avatar
1 vote
Accepted

Received http status code 302 from server while fetching consensus directory

Take a look at the suggested configuration for CentOS. As long as you aren't running an exit node, this should be all you need. You can also find help from fellow relay operators here.
user avatar
  • 2,141
1 vote

How is the identity encoded to display the fingerprint

I'm not entirely sure what you mean by 'the identity of a router retrieved from the consensus'. But a few guesses: https://consensus-health.torproject.org/consensus-health.html will show the same ...
user avatar
1 vote

If a client has a not-so-not-fresh consensus (<24hr), does he download the whole consensus again directly or from a relay?

As far as I remember consensus documents are downloaded from the directory guards. Currently, every client has three guards but that's subject to change. I believe you never download the full ...
user avatar
  • 1,342
1 vote

This appeared in one of my PHP files

"How did it get there" No idea. "what is it" It looks like a Tor network consensus document "why did it delete my PHP file" It's a plain text file, it couldn't have. "how do I prevent this from ...
user avatar
  • 10.8k
1 vote

What does the log line "not enough directory information to build a circuit" mean?

It is just normal. It means Tor client did not finish fetching consensus, and as soon as it finishes, it starts to build circuits.
user avatar
  • 725
1 vote

How does having a dynamic IP for Tor relay affect its metrics?

I would have to say that having a dynamic ip can hurt your relay in the metrics over a static ip. While I cant pick out specifics I can give you the links to the tor-relay email discussions which ...
user avatar
1 vote

Why is my measured bandwidth so low compared to actual -- is there a off by 1K issue?

Thanks for running a relay. (: Clients choose which relays to use based on their consensus weight. The consensus weight is assigned by the directory authorities after measuring the throughput for ...
user avatar
  • 155
1 vote

Calculation of bandwidth and measured-bandwidth for votes

The default directory authorities are located (as of version 0.2.8.0-alpha-dev (git-d015c70a118e4357)) in file or/config.c: /** List of default directory authorities */ static const char *...
user avatar
  • 345
1 vote

How can I get consensus data from Directory authority servers for research purpose?

The votes themselves are also hosted at https://collector.torproject.org/archive/relay-descriptors/votes/ where they can be downloaded directly.
user avatar
1 vote

My exit-node suddenly lost all of its consensus weight, I don't know where to start troubleshooting

Looking at the votes for the individual directory authorities, it appears that gabelmoo and longclaw don't have Measured lines for your relay. moria1 and tor26 measure your node just fine. I worry ...
user avatar
  • 2,209
1 vote

Relay bandwidth

It could be two things: While you have a gigabit capacity, the network measures bandwidth based on the averaging of connections. So it's possible that a group of circuits could use you at gigabit ...
user avatar
  • 1,274

Only top scored, non community-wiki answers of a minimum length are eligible