[tor-bugs] #22951 [Core Tor/Tor]: NETINFO cells are mandatory, but tor-spec says "may"

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jul 16 11:04:44 UTC 2017


#22951: NETINFO cells are mandatory, but tor-spec says "may"
------------------------------+--------------------------------
     Reporter:  teor          |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-spec easy doc
Actual Points:                |  Parent ID:  #18856
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 In this context, "may" is ambiguous: NETINFO is actually a mandatory
 requirement:
 {{{
    cell (4.5).  As soon as it gets the CERTS cell, the initiator knows
    whether the responder is correctly authenticated.  At this point the
 -  initiator may send a NETINFO cell if it does not wish to
 +  initiator MUST send a NETINFO cell if it does not wish to
    authenticate, or a CERTS cell, an AUTHENTICATE cell (4.4), and a
 NETINFO
    cell if it does.  When this handshake is in use, the first cell must
    be VERSIONS, VPADDING or AUTHORIZE, and no other cell type is allowed
 to
    intervene besides those specified, except for PADDING and VPADDING
 cells.
 }}}
 https://gitweb.torproject.org/torspec.git/tree/tor-spec.txt#n482

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


More information about the tor-bugs mailing list