[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: IP datagram size for TLS connection to relay



On Fri, Dec 3, 2010 at 6:25 AM, Weidong Shao <weidongshao@xxxxxxxxx> wrote:
> Hi
> I did a packet capture and found that the IP datagram size for TLS between
> my browser and the first relay has different sizes, some of which are 638,
> which corresponds to  the fixed TOR cell size of 512. But I also see sizes
> of 1500, and other values.
> Does it mean that there are IP packets other than the 512-byte tor cell in
> the same TLS connection?

It's just as likely that the packets aren't always getting sent in
multiples of one cell.  The current code puts cells in a buffer as
it's about to send them, and lets the buffers and ratelimiting
backends decide how much to send at a time.