IP datagram size for TLS connection to relay

Xinwen Fu xinwenfu at gmail.com
Fri Dec 3 22:37:06 UTC 2010

This phenomenon was explored:

Equal-sized cells at the application layer does not mean equal-sized packets
at the IP layer.

Xinwen Fu

On Fri, Dec 3, 2010 at 12:18 PM, Nick Mathewson <nickm at freehaven.net> wrote:

> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20101203/a6b41207/attachment.htm>

More information about the tor-dev mailing list