mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
weasel wanted us to log the source of v3 votes we don't like
svn:r12665
This commit is contained in:
parent
9f25d3b0a6
commit
0000c7e6e9
@ -1521,8 +1521,10 @@ dirvote_add_vote(const char *vote_body, const char **msg_out, int *status_out)
|
||||
ds = trusteddirserver_get_by_v3_auth_digest(vi->identity_digest);
|
||||
if (!ds) {
|
||||
char *keys = list_v3_auth_ids();
|
||||
log_warn(LD_DIR, "Got a vote from an authority with authority key ID %s. "
|
||||
log_warn(LD_DIR, "Got a vote from an authority (nickname %s, address %s) "
|
||||
"with authority key ID %s. "
|
||||
"This key ID is not recognized. Known v3 key IDs are: %s",
|
||||
vi->nickname, vi->address,
|
||||
hex_str(vi->identity_digest, DIGEST_LEN), keys);
|
||||
tor_free(keys);
|
||||
*msg_out = "Vote not from a recognized v3 authority";
|
||||
|
Loading…
Reference in New Issue
Block a user