#25226: Circuit cell queue can fill up memory
 Reporter:  dgoulet                              |          Owner:  dgoulet
     Type:  defect                               |         Status:
                                                 |  needs_revision
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-cell, tor-relay, tor-dos,        |  Actual Points:
  033-must, review-group-34, security,           |
  033-triage-20180320, 033-included-20180320     |
Parent ID:                                       |         Points:
 Reviewer:  arma                                 |        Sponsor:
Changes (by arma):

 * status:  needs_review => needs_revision


 Tiny but potentially fun bug:

 +static int32_t max_circuit_cell_queue_size;

 That starts it out at 0, right?

 So until the relay gets (or has) a consensus (e.g. because it just
 restarted and it's trying to bootstrap but somebody starts using it
 anyway), any circuits get closed if they get a cell?

 Maybe we should initialize it to RELAY_CIRC_CELL_QUEUE_SIZE_DEFAULT at the
 very start?

 Other than this one, looks great!

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25226#comment:34>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
tor-bugs mailing list

Reply via email to