diff options
author | Roger Dingledine <arma@torproject.org> | 2005-01-06 21:03:27 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-01-06 21:03:27 +0000 |
commit | cd1f50d2f044e78fc0ed0ae5b6e0db870ced1834 (patch) | |
tree | 3c0bd85bdc23727bfd9ec297e76c0bad932c5e7b /src/or/or.h | |
parent | 91bafc476ef1e5a6e51c61d4a2b1c206af628ffc (diff) | |
download | tor-cd1f50d2f044e78fc0ed0ae5b6e0db870ced1834.tar.gz tor-cd1f50d2f044e78fc0ed0ae5b6e0db870ced1834.zip |
new config option DirAllowPrivateAddresses for authdirservers.
now by default they refuse router descriptors that have non-IP
or private-IP addresses.
svn:r3321
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index f09f9ec1fb..0535a7e4ef 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -910,9 +910,11 @@ typedef struct { struct config_line_t *DirBindAddress; /** Local address to bind outbound sockets */ char *OutboundBindAddress; + /** Directory server only: which versions of + * Tor should we tell users to run? */ struct config_line_t *RecommendedVersions; - /**< Directory server only: which versions of - * Tor should we tell users to run? */ + /** Whether dirservers refuse router descriptors with private IPs. */ + int DirAllowPrivateAddresses; char *User; /**< Name of user to run Tor as. */ char *Group; /**< Name of group to run Tor as. */ double PathlenCoinWeight; /**< Parameter used to configure average path |