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

Re: [tor-bugs] #1929 [Tor Client]: Setting *Nodes config options more than once means last entry is used



#1929: Setting *Nodes config options more than once means last entry is used
------------------------+---------------------------------------------------
 Reporter:  Sebastian   |       Owner:                    
     Type:  defect      |      Status:  needs_review      
 Priority:  minor       |   Milestone:  Tor: 0.2.2.x-final
Component:  Tor Client  |     Version:                    
 Keywords:              |      Parent:                    
------------------------+---------------------------------------------------

Comment(by nickm):

 I'm not thrilled with the comment syntax; nothing else does comments that
 way.  If I understand right, the syntax is something like this?

 {{{
 ExcludeNodes \
 # Node1337 is run by the Bavarian Illuminati \
   Node1337, \
 # The operator of Node99 looked at me funny \
   Node99
 }}}

 It changes the meaning of # and \, since you can no longer interpret # as
 "Ignore the rest of the line" and you can no longer interpret \ as
 "combine this line and the next, then process".  Instead you need to treat
 # as meaning "Ignore the rest of the line except for a \ if the \ is at
 the end."  It also changes the semantics of previously valid torrcs, such
 as

 {{{
 ContactInfo UberUser <uber@xxxxxxxx> # /// Don't use my real email here!
 \\\
 Log info file /home/nick.mathewson/projects/tor-info.log
 }}}

 Contrived, I admit.

 I'm okay saying either "No comments for you" here, or with adding a
 comment/continuation syntax that doesn't change the meaning of old torrcs.

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