Check more flags when choosing relays for the path, like running or hibernate
Working on #40041 (closed) and re-reading #29710 (comment 2720809), i've remembered that torflow was checking more flags. I think i saw it checks hibernate but need to look again.
sbws is only checking exit and badexit flags
Re-reading torflow spec:
- Entry relays must have the Running and Fast flags and must not
permit exiting to 255.255.255.255:443.
- Exit relays must have the Running and Fast flags, must not have the
BadExit flag, and must permit exiting to 255.255.255.255:443.
I'm not sure fast should be checked, cause non fast relays can be used to build the path with other non fast relays. @gk opinion on this is that a fast non exit should be used to measure an exit and fast exit should be used to measure non exit.
Regarding 255.255.255.255, (in stem can_exit_to(strict=True)
) would return only ~70 exits.