[tor-bugs] #21346 [Core Tor/Tor]: Clients with NoIPv4Traffic should only choose IPv6-supporting Exits

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun May 6 19:09:14 UTC 2018


#21346: Clients with NoIPv4Traffic should only choose IPv6-supporting Exits
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  neel
     Type:  defect                               |         Status:
                                                 |  assigned
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  ipv6, 031-deferred-20170425,         |  Actual Points:
  032-unreached                                  |
Parent ID:  #21311                               |         Points:  0.5
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by neel):

 Also, in `connection_ap_can_use_exit()`, if I call
 `exit_policy_is_general_exit()`, I think I am getting a NULL `exit_policy`
 if I access it via `exit_node->ri->exit_policy`. In `microdesc_t`, the
 `exit_policy` is a `short_policy_t`.

 What is the right way to get an exit policy in
 `connection_ap_can_use_exit()` to pass to `exit_policy_is_general_exit()`?

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


More information about the tor-bugs mailing list