[tor-bugs] #22224 [Core Tor/Chutney]: chutney mixed networks never test old clients or hidden services

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 11 00:13:08 UTC 2017


#22224: chutney mixed networks never test old clients or hidden services
----------------------------------+------------------
     Reporter:  teor              |      Owner:  teor
         Type:  defect            |     Status:  new
     Priority:  High              |  Milestone:
    Component:  Core Tor/Chutney  |    Version:
     Severity:  Normal            |   Keywords:
Actual Points:                    |  Parent ID:
       Points:                    |   Reviewer:
      Sponsor:                    |
----------------------------------+------------------
 Because they use the tags [b]cOLD and hOLD.

 We can fix this by adding client and hidden_service flags to n._env, like
 the existing exit flag, and then tagging all the nodes in all the
 networks. (We might want to do this for authorities, bridge relays, bridge
 clients, and any other nodes, if they don't already have a tag.)

 We can then do a check that each node has at least one tag.

 {{{
     client_list = filter(lambda n:
                          n._env['tag'] == 'c' or n._env['tag'] == 'bc',
                          network._nodes)
     exit_list = filter(lambda n:
                        ('exit' in n._env.keys()) and n._env['exit'] == 1,
                        network._nodes)
     hs_list = filter(lambda n:
                      n._env['tag'] == 'h',
                      network._nodes)
 }}}

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


More information about the tor-bugs mailing list