Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
04cb2d40
Commit
04cb2d40
authored
5 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'tor-github/pr/741' into maint-0.4.0
parents
2300a619
9b7cdd23
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/tor.1.txt
+7
-6
7 additions, 6 deletions
doc/tor.1.txt
src/config/torrc.sample.in
+16
-5
16 additions, 5 deletions
src/config/torrc.sample.in
with
23 additions
and
11 deletions
doc/tor.1.txt
+
7
−
6
View file @
04cb2d40
...
...
@@ -1936,15 +1936,16 @@ is non-zero):
[[ExitRelay]] **ExitRelay** **0**|**1**|**auto**::
Tells Tor whether to run as an exit relay. If Tor is running as a
non-bridge server, and ExitRelay is set to 1, then Tor allows traffic to
exit according to the ExitPolicy option
(or
the
default
ExitPolicy
if
none
is specified). +
exit according to the ExitPolicy option
,
the
Reduced
ExitPolicy
option,
or the default ExitPolicy (if no other exit policy option
is specified). +
+
If ExitRelay is set to 0, no traffic is allowed to
exit, and the ExitPolicy option
is
ignored. +
exit, and the ExitPolicy
and ReducedExitPolicy
option
s are
ignored. +
+
If ExitRelay is set to "auto", then Tor behaves as if it were set to 1, but
warns the user if this would cause traffic to exit. In a future version,
the default value will be 0. (Default: auto)
If ExitRelay is set to "auto", then Tor checks the ExitPolicy and
ReducedExitPolicy options. If either is set, Tor behaves as if ExitRelay
were set to 1. If neither exit policy option is set, Tor behaves as if
ExitRelay were set to 0. (Default: auto)
[[ExitPolicy]] **ExitPolicy** __policy__,__policy__,__...__::
Set an exit policy for this server. Each policy is of the form
...
...
This diff is collapsed.
Click to expand it.
src/config/torrc.sample.in
+
16
−
5
View file @
04cb2d40
## Configuration file for a typical Tor user
## Last updated 2
2 December
201
7
for Tor 0.3.
2.8-rc
.
## Last updated 2
8 February
201
9
for Tor 0.3.
5.1-alpha
.
## (may or may not work for much older or much newer versions of Tor.)
##
## Lines that begin with "## " try to explain what's going on. Lines
...
...
@@ -172,14 +172,25 @@
## Note: do not use MyFamily on bridge relays.
#MyFamily $keyid,$keyid,...
## Uncomment this if you do *not* want your relay to allow any exit traffic.
## (Relays allow exit traffic by default.)
#ExitRelay 0
## Uncomment this if you want your relay to be an exit, with the default
## exit policy (or whatever exit policy you set below).
## (If ReducedExitPolicy or ExitPolicy are set, relays are exits.
## If neither exit policy option is set, relays are non-exits.)
#ExitRelay 1
## Uncomment this if you want your relay to allow IPv6 exit traffic.
## (Relays only allow IPv4 exit traffic by default.)
## You must also set ExitRelay, ReducedExitPolicy, or ExitPolicy to make your
## relay into an exit.
## (Relays do not allow any exit traffic by default.)
#IPv6Exit 1
## Uncomment this if you want your relay to be an exit, with a reduced set
## of exit ports.
#ReducedExitPolicy 1
## Uncomment these lines if you want your relay to be an exit, with the
## specified set of exit IPs and ports.
##
## A comma-separated list of exit policies. They're considered first
## to last, and the first match wins.
##
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment