summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-08-18 12:02:33 +1000
committerNick Mathewson <nickm@torproject.org>2016-08-24 10:07:47 -0400
commitb1ad024d3002e9d8581b6b96c892e5988d9e759b (patch)
tree3afdc42c8fd5068e6d18a888843b37081c3a6a26 /src/or/or.h
parentd3a975ea05bf8d850602a3ad8054402a679c5dcf (diff)
downloadtor-b1ad024d3002e9d8581b6b96c892e5988d9e759b.tar.gz
tor-b1ad024d3002e9d8581b6b96c892e5988d9e759b.zip
Fix path selection on firewalled clients
Signed-off-by: teor <teor2345@gmail.com>
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 2252f38161..da84128530 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -5255,7 +5255,10 @@ typedef enum {
CRN_WEIGHT_AS_EXIT = 1<<5,
CRN_NEED_DESC = 1<<6,
/* On clients, only provide nodes that satisfy ClientPreferIPv6OR */
- CRN_PREF_ADDR = 1<<7
+ 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
} router_crn_flags_t;
/** Return value for router_add_to_routerlist() and dirserv_add_descriptor() */