diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-10-27 00:15:25 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2011-10-27 00:38:45 +0200 |
commit | 2dec6597af4014eb731d8caac55a8a87964ce371 (patch) | |
tree | bb2b9020ab2d67f46a619026530c57ec607c07bb /src/or/or.h | |
parent | 2c4e89b86703f188f45f9edfc0fd3e4bbeac3511 (diff) | |
parent | 4684ced1b3fced0543fa65bf01f75c5d81eaf464 (diff) | |
download | tor-2dec6597af4014eb731d8caac55a8a87964ce371.tar.gz tor-2dec6597af4014eb731d8caac55a8a87964ce371.zip |
Merge branch 'maint-0.2.2_secfix' into master_secfix
Conflicts:
src/common/tortls.c
src/or/connection_or.c
src/or/dirserv.c
src/or/or.h
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 7a901e7ae2..e4f9b9b2b6 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1220,6 +1220,12 @@ typedef struct or_connection_t { * router itself has a problem. */ unsigned int is_bad_for_new_circs:1; + /** True iff we have decided that the other end of this connection + * is a client. Connections with this flag set should never be used + * to satisfy an EXTEND request. */ + unsigned int is_connection_with_client:1; + /** True iff this is an outgoing connection. */ + unsigned int is_outgoing:1; unsigned int proxy_type:2; /**< One of PROXY_NONE...PROXY_SOCKS5 */ uint8_t link_proto; /**< What protocol version are we using? 0 for * "none negotiated yet." */ @@ -3152,6 +3158,10 @@ typedef struct { * number of servers per IP address shared * with an authority. */ + /** Should we assign the Guard flag to relays which would allow + * exploitation of CVE-2011-2768 against their clients? */ + int GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays; + char *AccountingStart; /**< How long is the accounting interval, and when * does it start? */ uint64_t AccountingMax; /**< How many bytes do we allow per accounting |