]> git.ipfire.org Git - thirdparty/tor.git/commit
Stop being so strict about the payload length of "rendezvous1" cells
authorRoger Dingledine <arma@torproject.org>
Tue, 10 May 2016 00:34:27 +0000 (20:34 -0400)
committerRoger Dingledine <arma@torproject.org>
Tue, 10 May 2016 00:34:27 +0000 (20:34 -0400)
commitbe0e1e9e2f69476da0b3e81abc3bbebed0838ad7
tree04084e2bbebda8570926da58d0550587fd579adc
parent6678dff38611bbbc35560ac47ce6b54a108fb6d0
Stop being so strict about the payload length of "rendezvous1" cells

We used to be locked in to the "tap" handshake length, and now we can
handle better handshakes like "ntor".

Resolves ticket 18998.

I checked that relay_send_command_from_edge() behaves fine when you
hand it a payload with length 0. Clients behave fine too, since current
clients remain strict about the required length in the rendezvous2 cells.
(Clients will want to become less strict once they have an alternate
format that they're willing to receive.)
changes/feature18998 [new file with mode: 0644]
src/or/rendmid.c