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

[tor-bugs] Re: #1258 [Tor - Relay]: Tor allows non-ASCII chars in contact line



#1258: Tor allows non-ASCII chars in contact line
--------------------------+-------------------------------------------------
  Reporter:  karsten      |       Owner:  nickm             
      Type:  enhancement  |      Status:  assigned          
  Priority:  minor        |   Milestone:  Tor: 0.2.2.x-final
 Component:  Tor - Relay  |     Version:  0.2.1.22          
Resolution:  None         |    Keywords:                    
    Parent:               |  
--------------------------+-------------------------------------------------

Old description:

> Tor allows non-ASCII chars in the contact line of router descriptors
> which
>
> a) breaks tools parsing descriptors and
>
> b) doesn't conform to dir-spec.txt.
>
> Should we disallow non-ASCII chars in the future by being more strict
> when
> verifying torrc and when uploading descriptors to the directory
> authorities?
> Or should we change dir-spec.txt to allow more characters in the contact
> line?
> Or did I miss something?
>
> [Automatically added by flyspray2trac: Operating System: All]

New description:

 Tor allows non-ASCII chars in the contact line of router descriptors which

 a) breaks tools parsing descriptors and

 b) doesn't conform to dir-spec.txt.

 Should we disallow non-ASCII chars in the future by being more strict when
 verifying torrc and when uploading descriptors to the directory
 authorities?
 Or should we change dir-spec.txt to allow more characters in the contact
 line?
 Or did I miss something?

 [Automatically added by flyspray2trac: Operating System: All]

--

Comment(by karsten):

 Today I learned it's not just the contact line, but also the platform line
 that may contain arbitrary bytes.

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