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
a271c537
Commit
a271c537
authored
15 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge commit 'origin/maint-0.2.1' into m3
parents
5fc08d19
a28215a1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/config.c
+12
-0
12 additions, 0 deletions
src/or/config.c
with
12 additions
and
0 deletions
src/or/config.c
+
12
−
0
View file @
a271c537
...
...
@@ -3013,6 +3013,18 @@ options_validate(or_options_t *old_options, or_options_t *options,
REJECT
(
"TransPort and TransListenAddress are disabled in this build."
);
#endif
#ifndef MS_WINDOWS
if
(
options
->
AccountingMax
&&
(
options
->
DirPort
<
1024
||
options
->
ORPort
<
1024
))
log
(
LOG_WARN
,
LD_CONFIG
,
"You have set AccountingMax to use hibernation. You have also "
"chosen a low DirPort or OrPort. This combination can make Tor stop "
"working when it tries to re-attach the port after a period of "
"hibernation. Please choose a different port or turn off "
"hibernation unless you know this combination will work on your "
"platform."
);
#endif
if
(
options
->
ExcludeExitNodes
||
options
->
ExcludeNodes
)
{
options
->
_ExcludeExitNodesUnion
=
routerset_new
();
routerset_union
(
options
->
_ExcludeExitNodesUnion
,
options
->
ExcludeExitNodes
);
...
...
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