Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Benjamin J. Thompson
Tor
Commits
0cbe3ff3
Commit
0cbe3ff3
authored
12 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/maint-0.2.2'
parents
dff73d26
b7e863c0
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
changes/bug5283
+6
-0
6 additions, 0 deletions
changes/bug5283
src/or/circuituse.c
+7
-1
7 additions, 1 deletion
src/or/circuituse.c
with
13 additions
and
1 deletion
changes/bug5283
0 → 100644
+
6
−
0
View file @
0cbe3ff3
o Major bugfixes:
- Fix an edge case where if we fetch or publish a hidden service
descriptor, we might build a 4-hop circuit and then use that circuit
for exiting afterwards -- even if the new last hop doesn't obey our
ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
This diff is collapsed.
Click to expand it.
src/or/circuituse.c
+
7
−
1
View file @
0cbe3ff3
...
...
@@ -1412,7 +1412,13 @@ circuit_get_open_circ_or_launch(entry_connection_t *conn,
need_uptime
=
!
conn
->
want_onehop
&&
!
conn
->
use_begindir
&&
smartlist_string_num_isin
(
options
->
LongLivedPorts
,
conn
->
socks_request
->
port
);
need_internal
=
desired_circuit_purpose
!=
CIRCUIT_PURPOSE_C_GENERAL
;
if
(
desired_circuit_purpose
!=
CIRCUIT_PURPOSE_C_GENERAL
)
need_internal
=
1
;
else
if
(
conn
->
use_begindir
||
conn
->
want_onehop
)
need_internal
=
1
;
else
need_internal
=
0
;
circ
=
circuit_get_best
(
conn
,
1
,
desired_circuit_purpose
,
need_uptime
,
need_internal
);
...
...
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