[tor-bugs] #25651 [Core Tor/Tor]: Handle incoming extend2/extended2 fragmented requests/replies. (prop249)

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 27 17:36:53 UTC 2018


#25651: Handle incoming extend2/extended2 fragmented requests/replies. (prop249)
------------------------------+------------------------------------------
     Reporter:  nickm         |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.4.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-cell tor-circuit trunnel
Actual Points:                |  Parent ID:  #24986
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------------------
 As part of prop249, we need to handle large create cells when they arrive
 fragmented across multiple extend cells (and similarly for created cells
 fragmented across multiple extended cells).

 Important notes:
   * The proposal says that there must be no intervening cells on the same
 circuit. We should enforce this and test it.
   * We should probably use a buf_t object to record these handshakes as
 they are being assembled.
   * We should count these handshakes against the memory usage of a circuit
 and age of the oldest queued data, so that they will participate correctly
 in the OOM system.

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


More information about the tor-bugs mailing list