[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #6703 [Compass]: replace exit & guard flag checkboxes with radio buttons (off, yes, no)



#6703: replace exit & guard flag checkboxes with radio buttons (off, yes, no)
-------------------------+--------------------------------------------------
 Reporter:  cypherpunks  |          Owner:     
     Type:  enhancement  |         Status:  new
 Priority:  minor        |      Milestone:     
Component:  Compass      |        Version:     
 Keywords:               |         Parent:     
   Points:               |   Actualpoints:     
-------------------------+--------------------------------------------------
Changes (by karsten):

  * priority:  normal => minor
 * cc: gsathya (added)


Comment:

 Sounds useful, though rather in the nice-to-have category.  Setting
 priority to minor.

 A patch implementing this feature would do two things:
  - Add two new options to `compass.py`, e.g., `--non-exits-only` and
 `--non-guards-only`.  The script would first check that these options are
 not set in combination with `--exits-only` or `--guards-only`,
 respectively.  Maybe we can use some optparse magic to have these options
 set `options.exit_only` and `options.guard_only` to false, rather than add
 new options.  In the next step, `ExitFilter` and `GuardFilter` could
 accept the value of `options.*_only` and filter out the right set of
 relays.
  - Add the radio buttons as suggested above for off/yes/no and pass the
 right thing to the underlying script.

 Want to submit a patch?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6703#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs