Opened 3 years ago

Closed 2 years ago

#22224 closed defect (fixed)

chutney mixed networks never test old clients or hidden services

Reported by: teor Owned by: teor
Priority: High Milestone:
Component: Core Tor/Chutney Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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)

Child Tickets

Change History (1)

comment:1 Changed 2 years ago by teor

Resolution: fixed
Status: newclosed

Introduced with the mixed network feature and the HS feature (and possibly the traffic counting feature), fixed in 0df68e3.

Note: See TracTickets for help on using tickets.