[tor-bugs] #16069 [Tor]: ipv4 + ipv6 exit : v6 policy is displayed twice, v4 isn't displayed

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 14 12:01:53 UTC 2015


#16069: ipv4 + ipv6 exit : v6 policy is displayed twice, v4 isn't displayed
--------------------------+-----------------------------------------------
     Reporter:  toralf    |      Owner:
         Type:  defect    |     Status:  needs_review
     Priority:  critical  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor       |    Version:  Tor: 0.2.7
   Resolution:            |   Keywords:  026-backport, ipv6, PostFreeze027
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+-----------------------------------------------

Comment (by teor):

 Please see my branch `bug16069-exit-policy-inconsistent-v3`.

 It fixes the issues identified above, and also correctly ignores just a
 single policy line on `accept6/reject6 IPv4:...` (before, it ignored the
 entire policy). I added a new flag `is_ignored` to `addr_policy_t` to skip
 a single policy, and updated the unit tests for it.

 Commits in this branch are:
     * Fix comments that are incomplete or incorrect
     * Add warnings / notices and ignore accept6/reject6 IPv4 (with unit
 test)
     * Add a warning for redundant ExitPolicy lines after accept/reject *:*
 and variants
     * Make accept6/reject6 produce IPv6 wildcards only (with unit test)

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


More information about the tor-bugs mailing list