mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Merge branch 'maint-0.2.1' into maint-0.2.2
This commit is contained in:
commit
9b745cdbf9
6
changes/bug1074-part2
Normal file
6
changes/bug1074-part2
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
o Major bugfixes:
|
||||||
|
- Stop sending a CLOCK_SKEW controller status event whenever
|
||||||
|
we fetch directory information from a relay that has a wrong clock.
|
||||||
|
Instead, only inform the controller when it's a trusted authority
|
||||||
|
that claims our clock is wrong. Bugfix on tor-0.1.2.6-alpha;
|
||||||
|
fixes the other half of bug 1074.
|
@ -1527,7 +1527,8 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
|
|||||||
delta>0 ? "ahead" : "behind", dbuf,
|
delta>0 ? "ahead" : "behind", dbuf,
|
||||||
delta>0 ? "behind" : "ahead");
|
delta>0 ? "behind" : "ahead");
|
||||||
skewed = 1; /* don't check the recommended-versions line */
|
skewed = 1; /* don't check the recommended-versions line */
|
||||||
control_event_general_status(trusted ? LOG_WARN : LOG_NOTICE,
|
if (trusted)
|
||||||
|
control_event_general_status(LOG_WARN,
|
||||||
"CLOCK_SKEW SKEW=%ld SOURCE=DIRSERV:%s:%d",
|
"CLOCK_SKEW SKEW=%ld SOURCE=DIRSERV:%s:%d",
|
||||||
delta, conn->_base.address, conn->_base.port);
|
delta, conn->_base.address, conn->_base.port);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user