russelltg/srt-rs

Figure out plan for buffer sizing

Closed this issue · 0 comments

Currently, the buffers are fully dynamicly sized and can grow to any arbitrary size. This is a security vulnrability, as we are trusting the peer to not send wild packets. For example. if it sends a packet for a seq number far in the future, it adds loss list entries for each one, which generally crashes due to out of memory.

  • packet history window
  • loss list