[tor-bugs] #23829 [Metrics/Onionoo]: Add support for search term negation

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 16 14:03:29 UTC 2017


#23829: Add support for search term negation
-----------------------------+------------------------------
 Reporter:  cypherpunks      |          Owner:  metrics-team
     Type:  enhancement      |         Status:  needs_review
 Priority:  Medium           |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------
Changes (by karsten):

 * status:  new => needs_review


Comment:

 Agreed, that sounds potentially useful.

 We'll have to support that for all parameters that we think this would be
 useful for. I just wrote a patch for the "flag" parameter in
 [https://gitweb.torproject.org/user/karsten/onionoo.git/log/?h=task-23829
 my task-23829 branch] that needs careful review. The specification for
 that parameter would need to change to something like the following (with
 additions written in italics): "Return only relays ''and bridges'' which
 have the given relay flag assigned by the directory authorities. ''If the
 flag parameter is prefixed with "!", only those relays and bridges are
 returned that do not have the given relay flag.'' Note that if the flag
 parameter is specified more than once, only the first parameter value will
 be considered. Filtering by flag is case-insensitive."

 If this looks potentially useful, please also go through the other
 available parameters and say which of them would also be good to extend
 like the "flag" parameter. Please include possible use cases.

 Note: This change requires bumping the protocol version to the next minor
 version.

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


More information about the tor-bugs mailing list