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

Re: [tor-bugs] #28361 [Core Tor/Tor]: Allow few nodes-list options in torrc



#28361: Allow few nodes-list options in torrc
--------------------------------+----------------------------------
 Reporter:  wagon               |          Owner:  (none)
     Type:  enhancement         |         Status:  new
 Priority:  Low                 |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor        |        Version:
 Severity:  Normal              |     Resolution:
 Keywords:  tor-options, torrc  |  Actual Points:
Parent ID:                      |         Points:
 Reviewer:                      |        Sponsor:
--------------------------------+----------------------------------

Comment (by wagon):

 > IIRC, you are proposing a feature to define a "group of nodes" and then
 use that in the option that takes a node list?
 I know nothing about Tor's code or internals. My question is only about
 UI, about user's `torrc` interface. Take, e.g., `ExcludeNodes` option. Now
 I have to write:

 {{{
 ExcludeNodes {cc}, {xx}, 1.1.1.1, \
     2.2.2.2, ABCD1234CDEF5678ABCD1234CDEF5678ABCD1234, \
     3.3.3.3, \
 # My comment why I added this node, necessarily starting from "#" symbol
 on the line:
     4.4.4.4, \
 # My another comment why I added this node, necessarily starting from "#"
 symbol on the line:
     5.5.5.5, \
     {yy}, {zz}
 }}}

 Instead I want to write the same in standard format, without annoying `,
 \` and without necessity to write comments from the start of each line:

 {{{
 ExcludeNodes {cc}, {xx}, 1.1.1.1
 ExcludeNodes 2.2.2.2, ABCD1234CDEF5678ABCD1234CDEF5678ABCD1234
 ExcludeNodes 3.3.3.3

 # My comment why I added this node
 ExcludeNodes 4.4.4.4

 # My another comment why I added this node
   # This comment with indention is also fine
 ExcludeNodes 5.5.5.5

 ExcludeNodes {yy}, {zz}
 }}}

 I think you agree that the last format is easier to read. It should be
 simple for `torrc` parser to accept values from all `ExcludeNodes` options
 instead of neglecting all of them but the last one (this is what Tor does
 now). In current Tor only `{yy}` and `{zz}` are excluded, if I write the
 above options in my `torrc`.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28361#comment:4>
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