aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-01-10 16:08:47 +0000
committerNick Mathewson <nickm@torproject.org>2008-01-10 16:08:47 +0000
commitca5f670fab9028053972443d4d3ec31b6c5a7680 (patch)
treeeee4b2a483cabada5aff4c39d9d8787b63e7a3e0 /src/or/or.h
parente3d4997960c313a3cbf4c4640eacd592f66362b2 (diff)
downloadtor-ca5f670fab9028053972443d4d3ec31b6c5a7680.tar.gz
tor-ca5f670fab9028053972443d4d3ec31b6c5a7680.zip
r17548@catbus: nickm | 2008-01-10 11:08:12 -0500
Make proposal-109 behavior optional. svn:r13090
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index f00934cdb5..2342fea3d6 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2240,6 +2240,12 @@ typedef struct {
* and vote for all other exits as good. */
int AuthDirRejectUnlisted; /**< Boolean: do we reject all routers that
* aren't named in our fingerprint file? */
+ int AuthDirMaxServersPerAddr; /**< Do not permit more than this
+ * number of servers per IP address. */
+ int AuthDirMaxServersPerAuthAddr; /**< Do not permit more than this
+ * number of servers per IP address shared
+ * with an authority. */
+
char *AccountingStart; /**< How long is the accounting interval, and when
* does it start? */
uint64_t AccountingMax; /**< How many bytes do we allow per accounting