summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-07 08:35:35 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-07 08:35:35 -0400
commitae7cb3349e8a159c3144e7d3ea66b9a439d7028e (patch)
tree6aebbb15f4aa8ff2cb815811afe47bbbef194eff /src/or/or.h
parentab18e5e5fcff7fbdbf0905e6dd2585b7e4a10108 (diff)
parentc527cde82f74849ec3b183159d20441019b77e2e (diff)
downloadtor-ae7cb3349e8a159c3144e7d3ea66b9a439d7028e.tar.gz
tor-ae7cb3349e8a159c3144e7d3ea66b9a439d7028e.zip
Merge branch 'bug23361_032_01_squashed2'
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index b3cd83f245..5a543b498c 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2329,6 +2329,11 @@ typedef struct routerstatus_t {
* requires HSDir=2. */
unsigned int supports_v3_hsdir : 1;
+ /** True iff this router has a protocol list that allows it to be an hidden
+ * service rendezvous point supporting version 3 as seen in proposal 224.
+ * This requires HSRend=2. */
+ unsigned int supports_v3_rendezvous_point: 1;
+
unsigned int has_bandwidth:1; /**< The vote/consensus had bw info */
unsigned int has_exitsummary:1; /**< The vote/consensus had exit summaries */
unsigned int bw_is_unmeasured:1; /**< This is a consensus entry, with
@@ -5393,7 +5398,10 @@ typedef enum {
CRN_PREF_ADDR = 1<<7,
/* On clients, only provide nodes that we can connect to directly, based on
* our firewall rules */
- CRN_DIRECT_CONN = 1<<8
+ CRN_DIRECT_CONN = 1<<8,
+ /* On clients, only provide nodes with HSRend >= 2 protocol version which
+ * is required for hidden service version >= 3. */
+ CRN_RENDEZVOUS_V3 = 1<<9,
} router_crn_flags_t;
/** Return value for router_add_to_routerlist() and dirserv_add_descriptor() */