浏览代码

document dirpolicy config option

svn:r2607
Roger Dingledine 21 年之前
父节点
当前提交
a16ccb471e
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      doc/tor.1.in

+ 3 - 0
doc/tor.1.in

@@ -261,6 +261,9 @@ Bind the directory service to this port.
 \fBDirBindAddress \fR\fIIP\fP
 \fBDirBindAddress \fR\fIIP\fP
 Bind the directory service to this address. (Default: 0.0.0.0)
 Bind the directory service to this address. (Default: 0.0.0.0)
 .TP
 .TP
+\fBDirPolicy \fR\fIpolicy,policy,...\fP
+Set an entrance policy for this server, to limit who can connect to the directory ports. The policies have the same form as exit policies above.
+.TP
 \fBRecommendedVersions \fR\fISTRING\fP
 \fBRecommendedVersions \fR\fISTRING\fP
 STRING is a command-separated list of Tor versions currently believed
 STRING is a command-separated list of Tor versions currently believed
 to be safe. The list is included in each directory, and nodes which
 to be safe. The list is included in each directory, and nodes which