Quellcode durchsuchen

mention in the man page that port can be omitted from the exit policy
lines.


svn:r4297

Roger Dingledine vor 21 Jahren
Ursprung
Commit
619224317d
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      doc/tor.1.in

+ 2 - 1
doc/tor.1.in

@@ -268,11 +268,12 @@ Administrative contact information for server.
 .TP
 .TP
 \fBExitPolicy \fR\fIpolicy\fR,\fIpolicy\fR,\fI...\fP
 \fBExitPolicy \fR\fIpolicy\fR,\fIpolicy\fR,\fI...\fP
 Set an exit policy for this server. Each policy is of the form
 Set an exit policy for this server. Each policy is of the form
-"\fBaccept\fP|\fBreject\fP \fIADDR\fP[\fB/\fP\fIMASK\fP]\fB:\fP\fIPORT\fP".
+"\fBaccept\fP|\fBreject\fP \fIADDR\fP[\fB/\fP\fIMASK\fP]\fB[:\fP\fIPORT\fP]".
 If \fB/\fP\fIMASK\fP is omitted then this policy just applies to the host
 If \fB/\fP\fIMASK\fP is omitted then this policy just applies to the host
 given.  Instead of giving a host or network you can also use "\fB*\fP" to
 given.  Instead of giving a host or network you can also use "\fB*\fP" to
 denote the universe (0.0.0.0/0).  \fIPORT\fP can be a single port number,
 denote the universe (0.0.0.0/0).  \fIPORT\fP can be a single port number,
 an interval of ports "\fIFROM_PORT\fP\fB-\fP\fITO_PORT\fP", or "\fB*\fP".
 an interval of ports "\fIFROM_PORT\fP\fB-\fP\fITO_PORT\fP", or "\fB*\fP".
+If \fiPORT\fP is omitted, that means "\fB*\fP".
 
 
 For example, "reject 127.0.0.1:*,reject 192.168.1.0/24:*,accept *:*" would
 For example, "reject 127.0.0.1:*,reject 192.168.1.0/24:*,accept *:*" would
 reject any traffic destined for localhost and any 192.168.1.* address, but
 reject any traffic destined for localhost and any 192.168.1.* address, but