mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Downgrade evdns warnings about weird replies.
evdns is allowed to give us unrecognized object types; it is allowed to give us non-IPv4 answer types, and it is (even) allowed to give us empty answers without an error. Closes ticket 24097.
This commit is contained in:
parent
56b7407a90
commit
2a98fcb848
4
changes/ticket24097
Normal file
4
changes/ticket24097
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor features (logging):
|
||||
- Downgrade a pair of log messages that could occur when an exit's
|
||||
resolver gave us an unusual (but not forbidden) response.
|
||||
Closes ticket 24097.
|
@ -1578,10 +1578,11 @@ evdns_callback(int result, char type, int count, int ttl, void *addresses,
|
||||
escaped_safe_str(hostname));
|
||||
tor_free(escaped_address);
|
||||
} else if (count) {
|
||||
log_warn(LD_EXIT, "eventdns returned only non-IPv4 answers for %s.",
|
||||
log_info(LD_EXIT, "eventdns returned only unrecognized answer types "
|
||||
" for %s.",
|
||||
escaped_safe_str(string_address));
|
||||
} else {
|
||||
log_warn(LD_BUG, "eventdns returned no addresses or error for %s!",
|
||||
log_info(LD_EXIT, "eventdns returned no addresses or error for %s.",
|
||||
escaped_safe_str(string_address));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user