mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Replace (Fascist)Firewall* with a new ReachableAddresses option that understands address policies.
svn:r4751
This commit is contained in:
@@ -108,6 +108,8 @@ N . helper nodes (Choose N nodes randomly; if a node dies (goes down for a
|
||||
- On sighup, if usehelpernodes changed to 1, use new circs.
|
||||
o Make a FirewallIPs to correspond to firewallPorts so I can use Tor at
|
||||
MIT when my directory is out of date.
|
||||
o Document, rename, deprecate fascistfirewall, and make it use
|
||||
addr_policy_t logic.
|
||||
- switch accountingmax to count total in+out, not either in or
|
||||
out. it's easy to move in this direction (not risky), but hard to
|
||||
back, out if we decide we prefer it the way it already is. hm.
|
||||
|
||||
+14
-8
@@ -233,19 +233,25 @@ If 1, Tor will only create outgoing connections to ORs running on ports that
|
||||
your firewall allows (defaults to 80 and 443; see \fBFirewallPorts\fR). This will
|
||||
allow you to run Tor as a client behind a firewall with restrictive policies,
|
||||
but will not allow you to run as a server behind such a firewall.
|
||||
This option is deprecated; use
|
||||
ReachableAddresses instead.
|
||||
.LP
|
||||
.TP
|
||||
\fBFirewallPorts \fR\fIPORTS\fP
|
||||
A list of ports that your firewall allows you to connect to. Only used when
|
||||
\fBFascistFirewall\fR is set. (Default: 80, 443)
|
||||
A list of ports that your firewall allows you to connect to. Only
|
||||
used when \fBFascistFirewall\fR is set. This option is deprecated; use
|
||||
ReachableAddresses instead. (Default: 80, 443)
|
||||
.LP
|
||||
.TP
|
||||
\fBFirewallIPs \fR\fIADDR\fP[\fB/\fP\fIMASK\fP\fB][:\fP\fIPORT\fP]...\fP
|
||||
A comma-separated list of IPs that your firewall allows you to connect to.
|
||||
Only used when \fBFascistFirewall\fR is set. The format is as for the
|
||||
addresses in ExitPolicy. For example, 'FirewallIPs 99.0.0.0/8, *:80' means
|
||||
that your firewall allows connections to everything inside net 99, and to
|
||||
port 80 outside.
|
||||
\fBReachableAddresses \fR\fIADDR\fP[\fB/\fP\fIMASK\fP\fB][:\fP\fIPORT\fP]...\fP
|
||||
A comma-separated list of IPs that your firewall allows you to connect
|
||||
to. Only used when \fBFascistFirewall\fR is set. The format is as
|
||||
for the addresses in ExitPolicy, except that "accept" is understood
|
||||
unless "reject" is explicitly provided. For example, 'FirewallIPs
|
||||
99.0.0.0/8, reject 18.0.0.0/8:80, accept *:80' means that your
|
||||
firewall allows connections to everything inside net 99, rejects port
|
||||
80 connections to net 18, and accepts connections to port 80 otherwise.
|
||||
(Default: 'accept *:*'.)
|
||||
.LP
|
||||
.TP
|
||||
\fBLongLivedPorts \fR\fIPORTS\fP
|
||||
|
||||
Reference in New Issue
Block a user