IP datagram size for TLS connection to relay

Nick Mathewson nickm at freehaven.net
Fri Dec 3 17:18:18 UTC 2010


On Fri, Dec 3, 2010 at 6:25 AM, Weidong Shao <weidongshao at gmail.com> 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.



More information about the tor-dev mailing list