[tor-bugs] #23914 [Metrics/Onionoo]: Extend flag parameter to support comma-separated list of flags

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 24 06:58:59 UTC 2018


#23914: Extend flag parameter to support comma-separated list of flags
-----------------------------+--------------------------
 Reporter:  nusenu           |          Owner:  karsten
     Type:  enhancement      |         Status:  accepted
 Priority:  Medium           |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+--------------------------
Changes (by karsten):

 * status:  needs_review => accepted


Comment:

 Hmm, maybe we can't make this change after all. With the currently planned
 `flag=exit,guard` parameter, we'd return relays that have ''both'' flags
 ('''AND'''). But if we also add a parameter like
 `lookup=fingerprint1,fingerprint2`, we'd return relays with ''either'' of
 the two fingerprints ('''OR'''). This might be too confusing, especially
 if we add more parameters that treat comma-separated values as '''OR''',
 not '''AND'''. Maybe we'll have to fall back to #23913 with two parameters
 `flag=exit` and `flag=guard` to support searches for relays having all
 required flags ('''AND'''). Moving out of review for now.

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


More information about the tor-bugs mailing list