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
f924fbf1
Commit
f924fbf1
authored
14 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge branch 'bug2081_followup_022' into maint-0.2.2
parents
dc2f10bd
5efe6f04
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/bug2081_followup
+9
-0
9 additions, 0 deletions
changes/bug2081_followup
src/or/dirserv.c
+10
-4
10 additions, 4 deletions
src/or/dirserv.c
with
19 additions
and
4 deletions
changes/bug2081_followup
0 → 100644
+
9
−
0
View file @
f924fbf1
o Minor features (authorities)
- Directory authorities now reject relays running any versions of
Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
known bugs that keep RELAY_EARLY cells from working on rendezvous
circuits. Followup to fix for bug 2081.
- Directory authorities now reject relays running any version of Tor
older than 0.2.0.26-rc. That is the earliest version that fetches
current directory information correctly. Fix for bug 2156.
This diff is collapsed.
Click to expand it.
src/or/dirserv.c
+
10
−
4
View file @
f924fbf1
...
...
@@ -386,13 +386,19 @@ dirserv_get_status_impl(const char *id_digest, const char *nickname,
strmap_size
(
fingerprint_list
->
fp_by_name
),
digestmap_size
(
fingerprint_list
->
status_by_digest
));
/* Tor 0.
1.2.x is pretty old, but there are a lot of
the
m
r
unning still,
*
and there aren't any critical relay-side vulnerabilities
. Once more
*
of them die off, we should raise this minimum to 0.2.0.x
. */
if
(
platform
&&
!
tor_version_as_new_as
(
platform
,
"0.
1.2.14
"
))
{
/* Tor 0.
2.0.26-rc is the oldest version that currently caches
the r
ight
*
directory information
.
Once more
of them die off, we should raise this
*
minimum
. */
if
(
platform
&&
!
tor_version_as_new_as
(
platform
,
"0.
2.0.26-rc
"
))
{
if
(
msg
)
*
msg
=
"Tor version is far too old to work."
;
return
FP_REJECT
;
}
else
if
(
platform
&&
tor_version_as_new_as
(
platform
,
"0.2.1.3-alpha"
)
&&
!
tor_version_as_new_as
(
platform
,
"0.2.1.19"
))
{
/* These versions mishandled RELAY_EARLY cells on rend circuits. */
if
(
msg
)
*
msg
=
"Tor version is too buggy to work."
;
return
FP_REJECT
;
}
result
=
dirserv_get_name_status
(
id_digest
,
nickname
);
...
...
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