diff options
author | Roger Dingledine <arma@torproject.org> | 2010-03-10 22:43:23 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-03-10 22:43:23 -0500 |
commit | 1108358e96e818f1d433a3025310c81e55891df9 (patch) | |
tree | 5e37b71b513f00a1a7d4a2ca59c939a21c0b556d /src/or/or.h | |
parent | 2d29c7be2db2b944f9a19d44c556cc070ec87a77 (diff) | |
download | tor-1108358e96e818f1d433a3025310c81e55891df9.tar.gz tor-1108358e96e818f1d433a3025310c81e55891df9.zip |
let people test the RefuseUnknownExits idea
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index cf27520f1b..737c197425 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2462,6 +2462,11 @@ typedef struct { int ConstrainedSockets; /**< Shrink xmit and recv socket buffers. */ uint64_t ConstrainedSockSize; /**< Size of constrained buffers. */ + /** Whether we should drop exit streams from Tors that we don't know + * are relays. XXX022 In here for 0.2.2.11 as a temporary test before + * we switch over to putting it in consensusparams. -RD */ + int RefuseUnknownExits; + /** Application ports that require all nodes in circ to have sufficient * uptime. */ smartlist_t *LongLivedPorts; @@ -3532,6 +3537,7 @@ int connection_or_process_inbuf(or_connection_t *conn); int connection_or_flushed_some(or_connection_t *conn); int connection_or_finished_flushing(or_connection_t *conn); int connection_or_finished_connecting(or_connection_t *conn); +int connection_or_digest_is_known_relay(const char *id_digest); void connection_or_connect_failed(or_connection_t *conn, int reason, const char *msg); |