On 1 Dec 2015, at 1:02 PM, Hubert Kario <hka...@redhat.com> wrote: >>>> If you think it is practical for the TLS 1.3 standard to specify a >>>> single, fixed record size that all implementations of TLS 1.3 must >>>> use (i.e., explicitly freeze not only the version field but the >>>> length field), then that would be great for traffic analysis >>>> protection and on that basis I would support that proposal. But >>>> that frankly seems to me likely a bit too much to ask given the >>>> diversity of TLS implementations and use-cases. Tell me if you >>>> believe otherwise.> >>> That will just round up to a multiple of 256 bytes the data sizes >>> transmitted. Hardly an improvement over the current 16 byte blocks. >> >> Closer to 512 bytes is better. > > Either hardly helps if you're not transferring packets with null data to > really hide the amount of data transferred.
I think this is not as black and white as you suggest. It is possible to totally hide the actual data stream by sending a constant-rate stream of constant-size data records regardless of the availability of actual data. This is a perfect counter-measure to traffic analysis but it has a huge cost in bandwidth. Endpoints who do that might well be considered to be DoS-ing the network. There are less drastic ways. You could add small variations to the timing and sizes of records, adding a little padding, splitting and combining the application writes, perhaps with the addition of the occasional burst of fake traffic. This can have a relatively small overhead and obscure the real sizes and number of requests. An attacker will still have an approximation of the amount of real traffic is actually passed, but would not be able to guess which Wikipedia article you are viewing or what part of the world you are looking at with your favorite maps website. This is not as perfect as the full traffic flow confidentiality above, but it would be more palatable to network administrators and to people who pay for Internet access by the megabyte. I don’t think this is the same as encryption where you either have perfect security or you have nothing at all. There can be incremental gains that are worth having at significantly lower cost than the perfect TFC. Yoav _______________________________________________ TLS mailing list TLS@ietf.org https://www.ietf.org/mailman/listinfo/tls