[tor-bugs] #24000 [Core Tor/Tor]: circuit_send_intermediate_onion_skin() and extend_cell_format() should check for IPv6
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Jan 26 17:42:24 UTC 2018
#24000: circuit_send_intermediate_onion_skin() and extend_cell_format() should
check for IPv6
--------------------------+------------------------------------
Reporter: teor | Owner: nickm
Type: defect | Status: accepted
Priority: Medium | Milestone: Tor: 0.3.3.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: ipv6 | Actual Points:
Parent ID: | Points: 0.5
Reviewer: | Sponsor:
--------------------------+------------------------------------
Changes (by nickm):
* owner: (none) => nickm
* status: new => accepted
Comment:
The `circuit_send_intermediate_onion_skin()` function has this code at the
top.
{{{
if (tor_addr_family(&hop->extend_info->addr) != AF_INET) {
log_warn(LD_BUG, "Trying to extend to a non-IPv4 address.");
return - END_CIRC_REASON_INTERNAL;
}
}}}
and I think a small change to `check_extend_cell()` should get the
behavior we want from `extend_cell_format()`.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24000#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list