[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #27236 [Core Tor/Tor]: Check all
#27236: Check all
-------------------------+-------------------------------------------------
Reporter: teor | Owner: teor
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor: 0.3.5.x-final
Component: Core | Version: Tor: 0.2.6.3-alpha
Tor/Tor | Keywords: 034-must, 035-must, regression,
Severity: Normal | tor-bridge 034-backport
Actual Points: | Parent ID: #27080
Points: | Reviewer:
Sponsor: |
-------------------------+-------------------------------------------------
We need to check exit policies whenever we're counting the usable exit
descriptors. At the moment, we only check exit policies for exits in
ExitNodes.
{{{
SMARTLIST_FOREACH_BEGIN(myexits_unflagged, const node_t *, node) {
if (node_has_preferred_descriptor(node, 0) &&
node_exit_policy_rejects_all(node)) {
SMARTLIST_DEL_CURRENT(myexits_unflagged, node);
/* this node is not actually an exit */
np--;
/* this node is unusable as an exit */
nu--;
}
} SMARTLIST_FOREACH_END(node);
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27236>
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
- Follow-Ups:
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies (was: Check all)
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #27236 [Core Tor/Tor]: When checking usable exit descriptors, always check exit policies
- From: Tor Bug Tracker & Wiki