aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-10-30 02:13:46 -0700
committerRobert Ransom <rransom.8774@gmail.com>2011-10-31 05:05:45 -0700
commit272dd90b5c9998130f65edd65df1c066dc4599aa (patch)
treecb90794fba12cd5085d3fb8784a41bcd1033e093 /src/or/or.h
parent1a52a947c557ac04ee96addff404dc50cf5c26eb (diff)
downloadtor-272dd90b5c9998130f65edd65df1c066dc4599aa.tar
tor-272dd90b5c9998130f65edd65df1c066dc4599aa.tar.gz
Ignore timestamps of INTRODUCE2 cells
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h
index b53220fcb..8455dc83c 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -756,9 +756,9 @@ typedef struct rend_data_t {
char rend_cookie[REND_COOKIE_LEN];
} rend_data_t;
-/** Time interval for tracking possible replays of INTRODUCE2 cells.
- * Incoming cells with timestamps half of this interval in the past or
- * future are dropped immediately. */
+/** Time interval for tracking replays of DH public keys received in
+ * INTRODUCE2 cells. Used only to avoid launching multiple
+ * simultaneous attempts to connect to the same rendezvous point. */
#define REND_REPLAY_TIME_INTERVAL (60 * 60)
/** Used to indicate which way a cell is going on a circuit. */