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

Re: [tor-bugs] #25928 [Core Tor/Tor]: Single DA in sandbox vs. PDS_ALLOW_SELF flag



#25928: Single DA in sandbox vs. PDS_ALLOW_SELF flag
---------------------------------------+----------------------------------
 Reporter:  somlo                      |          Owner:  (none)
     Type:  defect                     |         Status:  needs_revision
 Priority:  Medium                     |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor               |        Version:
 Severity:  Normal                     |     Resolution:
 Keywords:  tor-dirauth, test-network  |  Actual Points:
Parent ID:                             |         Points:
 Reviewer:                             |        Sponsor:
---------------------------------------+----------------------------------
Changes (by teor):

 * status:  new => needs_revision


Comment:

 That's part of the patch.

 Here's what we need to do to make it complete:
 * add a condition to the if statement: "this relay must be the only
 configured directory authority"
 * refactor the if condition into its own function
 * add the same condition to the fallback dirserver selection function

 I think you'll want to compare the relay fingerprint field from
 router_get_my_routerinfo(), to the relay fingerprint in the only entry in
 the list.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25928#comment:5>
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