When we mark a node as a sybil, mark it down and reset its uptime to 0

This prevents bug 8147, where such nodes would accrue points towards
Guard, Fast, HSDir, and so on.

Fixes bug 8147.
This commit is contained in:
Nick Mathewson
2013-02-04 11:11:54 -05:00
parent 61995d3e2c
commit 4eff8b6530
4 changed files with 25 additions and 0 deletions
+3
View File
@@ -8,3 +8,6 @@
- Do not consider nodes with extremely low bandwidths when deciding
thresholds for various directory flags. Another fix for 8145.
- When marking a node as a likely sybil, reset its uptime metrics
to zero, so that it cannot time towards getting marked as Guard,
Stable, or HSDir. Fix for bug 8147.