summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-01-06 21:03:27 +0000
committerRoger Dingledine <arma@torproject.org>2005-01-06 21:03:27 +0000
commitcd1f50d2f044e78fc0ed0ae5b6e0db870ced1834 (patch)
tree3c0bd85bdc23727bfd9ec297e76c0bad932c5e7b /src/or/or.h
parent91bafc476ef1e5a6e51c61d4a2b1c206af628ffc (diff)
downloadtor-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.h6
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