[tor-bugs] #22099 [Core Tor/Tor]: begin_cell_parse and IPv6
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Apr 29 09:41:42 UTC 2017
#22099: begin_cell_parse and IPv6
------------------------------+-----------------
Reporter: cypherpunks | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+-----------------
spec about IPV6 inside BEGIN cell -- ADDRPORT is made of ADDRESS | ':' |
PORT | [00] where ADDRESS is IPv6 address surrounded by square brackets;
and where PORT is a decimal integer between 1 and 65535, inclusive.
begin_cell_parse can't parse IPV6 by tor_addr_port_split correctly. for
example [2607:f8b0:4000:800::200e]:80 tor_addr_parse can't handle port and
will return corrupted result in this case, addr_port_lookup can't handle
(any bracketed) ipv6 part either. it's impossible to request IPv6
connection without dns mafia.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22099>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list