mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Accept reverse resolve requests for IPv6 addresses
This commit is contained in:
parent
4db49f2b27
commit
50af1087c4
1 changed files with 1 additions and 1 deletions
|
@ -1879,7 +1879,7 @@ connection_ap_handshake_send_resolve(entry_connection_t *ap_conn)
|
|||
|
||||
/* We're doing a reverse lookup. The input could be an IP address, or
|
||||
* could be an .in-addr.arpa or .ip6.arpa address */
|
||||
r = tor_addr_parse_PTR_name(&addr, a, AF_INET, 1);
|
||||
r = tor_addr_parse_PTR_name(&addr, a, AF_UNSPEC, 1);
|
||||
if (r <= 0) {
|
||||
log_warn(LD_APP, "Rejecting ill-formed reverse lookup of %s",
|
||||
safe_str_client(a));
|
||||
|
|
Loading…
Add table
Reference in a new issue