[tor-bugs] #33618 [Core Tor/Tor]: Add IPv6 Support to is_local_addr()

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 21 11:28:56 UTC 2020


#33618: Add IPv6 Support to is_local_addr()
------------------------------------------+--------------------------------
 Reporter:  kimimaro                      |          Owner:  kimimaro
     Type:  enhancement                   |         Status:  needs_revision
 Priority:  Medium                        |      Milestone:  Tor:
                                          |  0.4.4.x-final
Component:  Core Tor/Tor                  |        Version:
 Severity:  Normal                        |     Resolution:
 Keywords:  outreachy-ipv6 ipv6  prop312  |  Actual Points:
Parent ID:                                |         Points:  1
 Reviewer:  teor                          |        Sponsor:  Sponsor55-can
------------------------------------------+--------------------------------

Comment (by nickm):

 Hm, that looks like it could be a start, but there's going to be a problem
 to the extent that `router_get_my_routerinfo()` might not actually work
 from  the unit tests: it requires that there actually exists a routerinfo,
 which clients don't have.  Maybe there is a better way to get one or more
 ipv6 addresses to test with -- how about `tor_addr_parse()`?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33618#comment:23>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list