mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge commit 'origin/maint-0.2.1'
[Didn't take Karsten's full bug 1024 workaround, since 0.2.2 doesn't use v0 rend descs.]
This commit is contained in:
+3
-1
@@ -91,7 +91,9 @@ rend_client_send_introduction(origin_circuit_t *introcirc,
|
||||
}
|
||||
});
|
||||
if (!intro_key) {
|
||||
log_warn(LD_BUG, "Internal error: could not find intro key.");
|
||||
log_warn(LD_BUG, "Internal error: could not find intro key; we "
|
||||
"only have a v2 rend desc with %d intro points.",
|
||||
smartlist_len(entry->parsed->intro_nodes));
|
||||
goto err;
|
||||
}
|
||||
if (crypto_pk_get_digest(intro_key, payload)<0) {
|
||||
|
||||
+3
-3
@@ -1511,8 +1511,8 @@ log_addr_has_changed(int severity, uint32_t prev, uint32_t cur,
|
||||
addrbuf_prev, addrbuf_cur, source);
|
||||
else
|
||||
log_notice(LD_GENERAL,
|
||||
"Guessed our IP address as %s.",
|
||||
addrbuf_cur);
|
||||
"Guessed our IP address as %s (source: %s).",
|
||||
addrbuf_cur, source);
|
||||
}
|
||||
|
||||
/** Check whether our own address as defined by the Address configuration
|
||||
@@ -1535,7 +1535,7 @@ check_descriptor_ipaddress_changed(time_t now)
|
||||
}
|
||||
|
||||
if (prev != cur) {
|
||||
log_addr_has_changed(LOG_INFO, prev, cur, "resolve");
|
||||
log_addr_has_changed(LOG_NOTICE, prev, cur, "resolve");
|
||||
ip_address_changed(0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user