When we mark a node as a sybil, mark it down and reset its uptime to 0
commit4eff8b65305248b1e7a57d1efdf8f55039719bd7
authorNick Mathewson <nickm@torproject.org>
Mon, 4 Feb 2013 16:11:54 +0000 (4 11:11 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 4 Feb 2013 16:11:54 +0000 (4 11:11 -0500)
tree45ad7bbf37c0d5b1f583d1c072e0210786bfa080
parent61995d3e2cd7631df1fcb9fbdf9333dee24566b4
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.
changes/bug8146_etc
src/or/dirserv.c
src/or/rephist.c
src/or/rephist.h