[tor-bugs] #7952 [Tor]: Control port method to get the exit policy
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Aug 30 15:03:50 UTC 2013
#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
More information about the tor-bugs
mailing list