diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-23 03:48:42 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-23 03:48:42 +0000 |
commit | 42bab1c6d32dc023482bfe9adef365652dd65497 (patch) | |
tree | faf207e77ba50391470b5f6d1bd65b5dee60f45c /src/or/config.c | |
parent | 833f8245c43e330eff9218352ad7e1506f23d83a (diff) | |
download | tor-42bab1c6d32dc023482bfe9adef365652dd65497.tar.gz tor-42bab1c6d32dc023482bfe9adef365652dd65497.zip |
r9318@Kushana: nickm | 2006-10-22 15:22:57 -0400
Let directory authorities set the BadExit flag if they like. Also, refactor directory authority code so we can believe multiple things about a single router, and do fewer linear searches.
svn:r8794
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 1a7b6c8a07..fdfec545f8 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -128,9 +128,11 @@ static config_var_t _option_vars[] = { VAR("AllowInvalidNodes", CSV, AllowInvalidNodes, "middle,rendezvous"), VAR("AssumeReachable", BOOL, AssumeReachable, "0"), + VAR("AuthDirBadExit", LINELIST, AuthDirReject, NULL), VAR("AuthDirInvalid", LINELIST, AuthDirInvalid, NULL), VAR("AuthDirReject", LINELIST, AuthDirReject, NULL), VAR("AuthDirRejectUnlisted",BOOL, AuthDirRejectUnlisted,"0"), + VAR("AuthDirListBadExits", BOOL, AuthDirListBadExits, "0"), VAR("AuthoritativeDirectory",BOOL, AuthoritativeDir, "0"), VAR("AvoidDiskWrites", BOOL, AvoidDiskWrites, "0"), VAR("BandwidthBurst", MEMUNIT, BandwidthBurst, "6 MB"), |