diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2011-09-10 20:54:26 -0400 |
---|---|---|
committer | Robert Ransom <rransom.8774@gmail.com> | 2011-09-10 21:56:05 -0400 |
commit | b10735903b8135c9295e356ad7ea2222a339ab14 (patch) | |
tree | eacd772ec13008f1010f8c1ae4d7c2b0a89e463c /src | |
parent | 07a5cf285a3b87f9ec73f69b8821a33744853606 (diff) | |
download | tor-b10735903b8135c9295e356ad7ea2222a339ab14.tar tor-b10735903b8135c9295e356ad7ea2222a339ab14.tar.gz |
Demote HS 'replay detected' log message for DH public keys to info level
Diffstat (limited to 'src')
-rw-r--r-- | src/or/rendservice.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 926f38070..5f55537bc 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -1123,7 +1123,14 @@ rend_service_introduce(origin_circuit_t *circuit, const uint8_t *request, * part 1. */ access_time = digestmap_get(service->accepted_intros, diffie_hellman_hash); if (access_time != NULL) { - log_warn(LD_REND, "Possible replay detected! We received an " + /* A Tor client will send a new INTRODUCE1 cell with the same rend + * cookie and DH public key as its previous one if its intro circ + * times out while in state CIRCUIT_PURPOSE_C_INTRODUCE_ACK_WAIT . + * If we received the first INTRODUCE1 cell (the intro-point relay + * converts it into an INTRODUCE2 cell), we are already trying to + * connect to that rend point (and may have already succeeded); + * drop this cell. */ + log_info(LD_REND, "We received an " "INTRODUCE2 cell with same first part of " "Diffie-Hellman handshake %d seconds ago. Dropping " "cell.", |