diff options
author | Roger Dingledine <arma@torproject.org> | 2021-01-16 16:11:33 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-01-21 13:39:13 -0500 |
commit | 0b00f79c82894c0bd0ff2d492420f7d9e6101d9e (patch) | |
tree | 9aa46056f7da3029c79c0e83f3bb04061dfec6f9 /src/feature/dirauth/process_descs.c | |
parent | 71fd30b75ad028dfce69563792547f06fdf9d3c2 (diff) | |
download | tor-0b00f79c82894c0bd0ff2d492420f7d9e6101d9e.tar.gz tor-0b00f79c82894c0bd0ff2d492420f7d9e6101d9e.zip |
log more about testing incoming relay descriptors
Diffstat (limited to 'src/feature/dirauth/process_descs.c')
-rw-r--r-- | src/feature/dirauth/process_descs.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/feature/dirauth/process_descs.c b/src/feature/dirauth/process_descs.c index b08ffeba07..a382f237c4 100644 --- a/src/feature/dirauth/process_descs.c +++ b/src/feature/dirauth/process_descs.c @@ -322,8 +322,9 @@ dirserv_router_get_status(const routerinfo_t *router, const char **msg, * and is non-zero (clients check that it's non-zero before using it). */ if (!routerinfo_has_curve25519_onion_key(router)) { log_fn(severity, LD_DIR, - "Descriptor from router %s is missing an ntor curve25519 onion " - "key.", router_describe(router)); + "Descriptor from router %s (platform %s) " + "is missing an ntor curve25519 onion key.", + router_describe(router), router->platform); if (msg) *msg = "Missing ntor curve25519 onion key. Please upgrade!"; return RTR_REJECT; @@ -761,6 +762,9 @@ dirserv_add_descriptor(routerinfo_t *ri, const char **msg, const char *source) goto fail; } + log_info(LD_DIR, "Assessing new descriptor: %s: %s", + ri->nickname, ri->platform); + /* Check whether this descriptor is semantically identical to the last one * from this server. (We do this here and not in router_add_to_routerlist * because we want to be able to accept the newest router descriptor that |