Score:0

How do TOR nodes select the CircID's when creating, or extending, a circuit?

mr flag

I am coding my own version of TOR and I am trying to set up circuit management. I looked at the TOR spec and it says:

To prevent CircID collisions, when one node sends a CREATE/CREATE2 cell to another, it chooses from only one half of the possible values based on the ORs' public identity keys.

I would like to implement this approach in my code as well, but I don't understand how can the node figure out what values are possible, and determine the CircID, using the OR's identity keys?

I assume there is a way to pass information using identity keys, but I couldn't find any relevant explanation, and checking the TOR-design.html also didn't help.

djdomi avatar
za flag
stackoverflow.com is for Pro Grammer the best solution
saarmz avatar
mr flag
@djdomi I think so too but they keep disapproving my question and I'm tired of fighting them. This site should also be good though since my question is about networking
djdomi avatar
za flag
Im sorry about that but I think it depends on how you asked the question. if you have already been done and needs improvement then stackoverflow.com is the right way. but I would like to inform you that this site requires business related environmental question, which mostly Program a programm is not suitable. I searched a bit for you and found https://tor.stackexchange.com/ which is imho what you looking for
saarmz avatar
mr flag
@djdomi Thank you very much! I've been trying to ask this for days without success.
djdomi avatar
za flag
The Question has been answered on TOR In reference https://tor.stackexchange.com/questions/23675/how-do-tor-nodes-select-the-circids-when-creating-or-extending-a-circuit
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.