[tor-bugs] #30442 [Obfuscation/Pluggable transport]: PT spec: should 255 bytes be sent in the RFC 1929 UNAME field?

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 8 18:16:12 UTC 2019


#30442: PT spec: should 255 bytes be sent in the RFC 1929 UNAME field?
-------------------------------------------------+--------------------
     Reporter:  mcs                              |      Owner:  (none)
         Type:  defect                           |     Status:  new
     Priority:  Medium                           |  Milestone:
    Component:  Obfuscation/Pluggable transport  |    Version:
     Severity:  Normal                           |   Keywords:
Actual Points:                                   |  Parent ID:
       Points:                                   |   Reviewer:
      Sponsor:                                   |
-------------------------------------------------+--------------------
 Section 3.5 of the PT spec says:
  If the encoded argument list is less than 255 bytes in
  length, the "PLEN" field must be set to "1" and the "PASSWD"
  field must contain a single NUL character.

 When Kathy Brade and I implemented #29627, we viewed the above as a spec
 bug and allowed up to 255 bytes to be sent in the RFC 1929 UNAME field.
 Was that the wrong thing to do? Or should the PT spec be changed to read
 "If the encoded argument list is less than or equal to 255 bytes in
 length..."?

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


More information about the tor-bugs mailing list