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
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
orbea
Tor
Commits
380ae2b7
Commit
380ae2b7
authored
6 years ago
by
rl1987
Committed by
Nick Mathewson
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Stop logging 'Your Guard' in circpathbias.c
parent
09472791
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/bug28895
+5
-0
5 additions, 0 deletions
changes/bug28895
src/feature/client/circpathbias.c
+7
-7
7 additions, 7 deletions
src/feature/client/circpathbias.c
with
12 additions
and
7 deletions
changes/bug28895
0 → 100644
+
5
−
0
View file @
380ae2b7
o Minor bugfixes (usability):
- Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate()
as that confusingly suggests that mentioned guard node is under control
and responsibility of end user, which it is not. Fixes bug 28895;
bugfix on Tor 0.3.0.1-alpha.
This diff is collapsed.
Click to expand it.
src/feature/client/circpathbias.c
+
7
−
7
View file @
380ae2b7
...
...
@@ -1332,7 +1332,7 @@ pathbias_measure_use_rate(entry_guard_t *guard)
if
(
pathbias_get_dropguards
(
options
))
{
if
(
!
pb
->
path_bias_disabled
)
{
log_warn
(
LD_CIRC
,
"
Your
Guard %s is failing to carry an extremely large "
"Guard %s is failing to carry an extremely large "
"amount of stream on its circuits. "
"To avoid potential route manipulation attacks, Tor has "
"disabled use of this guard. "
...
...
@@ -1356,7 +1356,7 @@ pathbias_measure_use_rate(entry_guard_t *guard)
}
else
if
(
!
pb
->
path_bias_use_extreme
)
{
pb
->
path_bias_use_extreme
=
1
;
log_warn
(
LD_CIRC
,
"
Your
Guard %s is failing to carry an extremely large "
"Guard %s is failing to carry an extremely large "
"amount of streams on its circuits. "
"This could indicate a route manipulation attack, network "
"overload, bad local network connectivity, or a bug. "
...
...
@@ -1380,7 +1380,7 @@ pathbias_measure_use_rate(entry_guard_t *guard)
if
(
!
pb
->
path_bias_use_noticed
)
{
pb
->
path_bias_use_noticed
=
1
;
log_notice
(
LD_CIRC
,
"
Your
Guard %s is failing to carry more streams on its "
"Guard %s is failing to carry more streams on its "
"circuits than usual. "
"Most likely this means the Tor network is overloaded "
"or your network connection is poor. "
...
...
@@ -1437,7 +1437,7 @@ pathbias_measure_close_rate(entry_guard_t *guard)
if
(
pathbias_get_dropguards
(
options
))
{
if
(
!
pb
->
path_bias_disabled
)
{
log_warn
(
LD_CIRC
,
"
Your
Guard %s is failing an extremely large "
"Guard %s is failing an extremely large "
"amount of circuits. "
"To avoid potential route manipulation attacks, Tor has "
"disabled use of this guard. "
...
...
@@ -1461,7 +1461,7 @@ pathbias_measure_close_rate(entry_guard_t *guard)
}
else
if
(
!
pb
->
path_bias_extreme
)
{
pb
->
path_bias_extreme
=
1
;
log_warn
(
LD_CIRC
,
"
Your
Guard %s is failing an extremely large "
"Guard %s is failing an extremely large "
"amount of circuits. "
"This could indicate a route manipulation attack, "
"extreme network overload, or a bug. "
...
...
@@ -1485,7 +1485,7 @@ pathbias_measure_close_rate(entry_guard_t *guard)
if
(
!
pb
->
path_bias_warned
)
{
pb
->
path_bias_warned
=
1
;
log_warn
(
LD_CIRC
,
"
Your
Guard %s is failing a very large "
"Guard %s is failing a very large "
"amount of circuits. "
"Most likely this means the Tor network is "
"overloaded, but it could also mean an attack against "
...
...
@@ -1510,7 +1510,7 @@ pathbias_measure_close_rate(entry_guard_t *guard)
if
(
!
pb
->
path_bias_noticed
)
{
pb
->
path_bias_noticed
=
1
;
log_notice
(
LD_CIRC
,
"
Your
Guard %s is failing more circuits than "
"Guard %s is failing more circuits than "
"usual. "
"Most likely this means the Tor network is overloaded. "
"Success counts are %ld/%ld. Use counts are %ld/%ld. "
...
...
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