[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #7952 [Tor]: Control port method to get the exit policy



#7952: Control port method to get the exit policy
-----------------------------+------------------------------------------
     Reporter:  atagar       |      Owner:
         Type:  enhancement  |     Status:  needs_review
     Priority:  normal       |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-relay easy small-feature
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+------------------------------------------

Comment (by cypherpunks):

 Please look at unit test I wrote. I am not exactly sure about the extent
 of testing the function. What cases of exit policy should be used for
 testing?

 I see thatÂ`routerinfo_t`Âhas a field

 {{{
   /** What streams will this OR permit to exit on IPv6?
    * NULL for 'reject *:*' */
   struct short_policy_t *ipv6_exit_policy;
 }}}
 What is the purpose of this one? Can'tÂ`exit_policy`Âsmartlist hold both
 IPv4 and IPv6 entries?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7952#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs