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 [protocol]

Tor has developed several internal protocols, like the rendezvous specification, directory specification etc. This tag is for questions which deal with protocols Tor uses.

1
vote
0answers
35 views

Why is the pub-key of diffie hellmann from Alice (OP) to Bob (OR) encrypted?

For building a circuit Alice contacts Bob (OR) and send her pub diffie-hellmann key encrypted with Bobs pub key. Bob sends his public-diffie-hellmann key and the session key hashed ("only" TLS ...
4
votes
0answers
55 views

Is Tor traffic using the TAP handshake vulnerable to retroactive decryption?

Assume an attacker with a record of Tor traffic between a client and guard has precomputed the 1024-bit Oakley group for Diffie-Hellman used in the TAP protocol. This would allow them to rapidly ...
0
votes
0answers
71 views

Is ToR trackeable [duplicate]

I am curious if I can consider ToR network as not traceable ultimately?What are the best practices?As far as I know some operators ISP are able to detect ToR traffic and exit nodes and block it.My ...
1
vote
0answers
22 views

SENDME cells, window threshold and last data cells

I'm writing a client in Python and trying to download the consensus. I managed to establish a single-hop connection to an authority server, send the HTTP request, and receive almost all the consensus ...
2
votes
0answers
97 views

Detailed Understanding of Tor's connection establishment

I am really new to Onion Routing and Tor and I have just started reading about the topic on Wikipedia and the Tor Protocol Specification. Most of the concepts are explained very well but I have ...
-1
votes
0answers
58 views

How the tor network works?

There are different questions that come up to my mind when using tor. 1)I know that private_key of a hidden service is really secret and if leaked can make you traceable. But how can I trace some ...
1
vote
1answer
30 views

Rekeying a Tor circuit

Is it possible to rekey a connection between a Tor client and a relay? By rekey I mean perform the usual x25519 key exchange to change the session key on the fly, without tearing the circuit down.
0
votes
1answer
58 views

Missing History

Most of us know of Tor V2 addresses (16 characters) and Tor V3 addresses (56 characters). What about Tor V1 addresses? What was its specification or why wasn't it used much or at all? Example: ...
0
votes
2answers
99 views

Replicating onion address algorithim?

By all sources I can find, onion / hidden service "domains" are generated by this process: Generate a 1024-bit RSA keypair Take the SHA-1 of the public key Base32 encode the first 80 bytes of the ...
1
vote
1answer
46 views

Clearing the state of rendezvous client provides privacy improvement?

Context. In my quest on figuring out if I must use NEWNYM signal or stream isolation is enough for me I dig into the code and narrowed down the possible privacy improvements that NEWNYM can bring over ...
1
vote
1answer
121 views

Clearing the client side DNS cache provides privacy improvement?

Context. In my quest on figuring out if I must use NEWNYM signal or stream isolation is enough for me I dig into the code and narrowed down the possible privacy improvements that NEWNYM can bring over ...
4
votes
1answer
274 views

Signal NEWNYM vs Stream isolation

Resources. This answer explains well what happens at NEWNYM request, and I also dig into the code, yet my lack of knowledge on low level networking prevents me to make a proper design decision if ...
0
votes
1answer
249 views

Tor Network Protocols

I have created a private Tor network for testing purposes, as well as to verify the fundamental operation of Onion Routing. I am utilizing Wireshark to capture the data flow between relays across the ...
0
votes
2answers
50 views

How Tor handles nodes designed to burn it

How does tor handles nodes designed just to screw it. The way i understand it entry node connects to node 2. which connects to node 3.(exit nodes) now all the traffic is encrypted and encryption i ...
0
votes
1answer
45 views

How to suggest ideas to the Tor project

I would like to submit one idea to the Tor project, that I found interesting and not implemented yet. Where can I submit this idea ?
0
votes
2answers
523 views

I am a newbie to Tor and don't understand coding. I need help with this error log on Tor [duplicate]

2/7/2017 12:19:59 PM.500 [NOTICE] Bootstrapped 85%: Finishing handshake with first hop 2/7/2017 12:25:07 PM.900 [NOTICE] Closing no-longer-configured Socks listener on 127.0.0.1:9150 2/7/2017 12:25:...
1
vote
2answers
424 views

Does Tor work the same when on HTTP-sites and HTTPS-sites?

The question almost says it all. Are their some disadvantages when being on whether HTTP or HTTPS while using tor with the purpose of having anonymous traffic or is it all working equally optimal? ...
1
vote
1answer
121 views

Tor router validation

my question is how does Tor validate routers? There are some specifications that mention that there are "validated" nodes, which have a "valid" flag (e.g. https://gitweb.torproject.org/torspec.git/...
1
vote
0answers
181 views

Tor Circuit failed to be created: destroyed

Okay, so I'm running a few experiments on Tor for a course project. I keep on changing different relays to see the effects on response time. But on some of the circuits, I keep on getting this ...
2
votes
1answer
221 views

How is Path Selection done in Tor?

Can anybody explain how path selection is done in Tor because the man page fail to specify in detail on how certain probabilities are calculated etc. In the man page there are a set of equations: ...
2
votes
1answer
48 views

What are the immutable characteristics that uniquely identify a relay?

In other words, what are the system "ingredients" that are not allowed to change without triggering attribution of a new fingerprint and the restart of the "ramp up" / flagging process? Please ...
1
vote
1answer
283 views

Are all tor exit nodes known?

A normal tor chain is like this : Client -> Tor Node -> Tor Node -> Tor Exit Node -> Server Is it possible to have this schema ( two chains ) : Client -> Tor Node -> Tor Node ->...
2
votes
1answer
203 views

How does handshake with directory server work?

How does handshake with directory server work in the standard setup? How does it work when you configure Tor Browser to use a custom bridge?
3
votes
2answers
2k views

What happens with TCP connections on SIGNAL NEWNYM?

When I send the NEWNYM command tor will build new circuits. I'm wondering what happens with open TCP connections. Will tor wait a certain timeout to give them a chance to close, or do I break those ...
1
vote
1answer
71 views

Update on Tor design paper

@Richard Horrocks gave a pointer to the updated Tor design document of 2014. Are there any new updates available publicly?
2
votes
2answers
116 views

Does Tor add encryption at the TCP protocol level?

Just wondering if http://www.tcpcrypt.org/ would be useful to add? Also is there any work being done to replace/add encryption at the ODI level?
2
votes
1answer
134 views

Is ADD_ONION control command implemented in the latest stable release?

control-spec.txt mentions an ADD_ONION command to create ephemeral hidden services. Does this exist in the latest stable release of Tor or Tor Browser Bundle?
1
vote
1answer
1k views

TOR and Obfsproxy packet size

I have some questions about TOR and Obfsproxy packet size. TOR cell size is 512 bytes but most TOR packets have size of 586 bytes. My question is that why there is such difference in size (74 bytes ...
2
votes
1answer
395 views

Allowing socks request for anonymous connections to a private address?

I want to ask you how I can allow socks request for anonymous connections. I'm using it with metasploit and socat but its always reject connection. So every time I want to exploit an OS with ...
3
votes
2answers
2k views

WebSocket over Tor

I've been researching for many hours, but haven't found a definite answer. Is it possible for a client to connect to a hidden service with websocket? If so, how can I learn more? If not, is there an ...
2
votes
1answer
269 views

Usage and purpose of variable-length cells?

The Tor protocol version 1 uses 512-byte cells to obfuscate traffic patterns: Traffic flowing down the circuit is sent in fixed-size ``cells'', which are unwrapped by a symmetric key at each node ...
0
votes
0answers
35 views

How to run multiple tor browser 5.0.2 how it is different 4.5? [duplicate]

how to run multiple tor browser 5.0.2 Pleace help me thak you for ancwer
2
votes
1answer
251 views

Can HORNET be implemented into Tor?

A while ago a group of researchers presented a Tor like network called HORNET; it is, reportedly, "a better, faster Tor". Do you know if the improvements proposed in the paper could be incrementally ...
4
votes
1answer
508 views

How does TOR extend circuit to a third node?

I am reading the Tor: The Second-Generation Onion Router article and my question is that how TOR extends circuit to a third node? On page 7 of the article,left column, it says: To extend the ...
1
vote
1answer
91 views

Add SocksPort using Tor Controller?

Can I add additional SOCKSPORT entries using Tor Controller? I looked through control-spec.txt and could only find examples of reading the current SOCKSPORT using GETCONF.
4
votes
3answers
2k views

Can tor nodes (entry, exit, others) store IPs?

I'm a new Tor user. And I want to ensure several questions. Can "entry point" router store my IP? Can "middle relay" store "entry point" IP? Can "exit point" router store "middle relay" IP? I think ...
1
vote
1answer
577 views

How does tor find the nodes?

How does tor find the nodes? In other words, how does tor know which ip addresses are tor nodes and which aren't?
2
votes
0answers
154 views

How do overlay network nodes communicate without IP addresses?

I've been reading about how Tor and I2P use cryptographic addresses to send messages to other nodes, but how does this work? I looked through the documentation for each and neither is very clear on ...
1
vote
0answers
30 views

AUTH_CHALLENGE and AUTHENTICATE

Can someone explain the purpose of the AUTH_CHALLENGE command in the Tor specification? As far as I understand, responding with an AUTHENTICATE cell is optional. When would it be desirable for a node ...
3
votes
1answer
119 views

Can a relay decide which protocol to use (TAP or ntor)?

I've just started studying Tor and I came across TAP and ntor protocols. Just want to clear up that are these protocols decided at the time of circuit creation or each relay can decide on its own that ...
3
votes
1answer
68 views

Path selection constraints not working as expected

From Section 2.2 of the path specification We do not choose any router in the same family as another in the same path. (Two routers are in the same family if each one lists the other in ...
2
votes
0answers
22 views

Final relay able to encrypt data to the client? [duplicate]

Have been reading the one cell is enough to break anonymity paper, and just have a question. Once a circuit has been successfully created, can the final node of the circuit encrypt a piece of data ...
2
votes
1answer
27 views

What happens during circuit creation if one OR fails?

Hey just looking for some clarification on something. When creating a standard three hop circuit, if for some reason the client (Alice) does not receive a response from the third OR does she retry ...
3
votes
1answer
184 views

Which protocol has the better perfomance TAP or NTor

Just wondering, which protocol, TAP or NTor is less computationally intensive for a relay to process and why ? Thanks Rich
2
votes
3answers
1k views

How to change Tor exit node when using multiple SocksPorts?

I'm using Tor with multiple SocksPorts. Does anyone know how I can programmatically change the exit for each SocksPort separately? The code below changes the exit nodes for all the SocksPorts -- I ...
2
votes
0answers
108 views

What purpose does congestion control achieve, and how does it work?

I am trying to understand exactly how the different solutions for the congestion control mechanism work and what purpose they achieve. With "the solutions" I mean the circuit level throttling and the ...
4
votes
1answer
659 views

Using Tor Proxy through other aplications

Before I proceed, I would like to mention that I understand that Tor browser integrates unique features such as not loading certain html canvases, scripts and a whole bunch of additions to make ...
9
votes
1answer
75 views

Can intermediary nodes learn the length of a circuit?

This should be impossible because of the layered encryption, but some documentation suggests that this can somehow be done. From Section 5.6 [1] of tor's specification When speaking v2 of the link ...
6
votes
2answers
788 views

Are Tor Hidden Service Addresses private by default?

If I want to configure a Hidden Service but only for personal use and didn't give out its hostname/.onion address to anyone. Can its address still be crawled/known to any third party? Summary: If no ...
1
vote
1answer
919 views

Tor traffic capture

How possible is it to capture and then analyse Tor traffic to/from your local machine (i.e., using wireshark)? I'm interested in more than just website requests / responses; I want to capture all ...