mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge remote-tracking branch 'arma/feature18998'
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
o Minor features:
|
||||
- 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.
|
||||
+1
-1
@@ -309,7 +309,7 @@ rend_mid_rendezvous(or_circuit_t *circ, const uint8_t *request,
|
||||
goto err;
|
||||
}
|
||||
|
||||
if (request_len != REND_COOKIE_LEN+DH_KEY_LEN+DIGEST_LEN) {
|
||||
if (request_len < REND_COOKIE_LEN) {
|
||||
log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
|
||||
"Rejecting RENDEZVOUS1 cell with bad length (%d) on circuit %u.",
|
||||
(int)request_len, (unsigned)circ->p_circ_id);
|
||||
|
||||
Reference in New Issue
Block a user