[tor-talk] Danish data retention on steroids

Niels Elgaard Larsen elgaard at agol.dk
Sun Jan 31 03:47:32 UTC 2016



aka:
> Niels Elgaard Larsen:
>> * Session volume (number of bytes)
> 
>> 1. Tor would kill this right at the entry-node? Even a user fired up
>> TorBrowser, typed in http://example.com/foo.mp4, watched the video and
>> closed the brower, there would be enough negoitiation to obfuscate the
>> bytecount?
>>
> 
> I assume "session volume" is the size of payload data transfered in a
> single TCP session.

Yes.

> If a Danish Tor user visited a Danish website affected and the website
> used non-multiplex http (everything before http/2 and SPDY) there would
> be 30 different TCP sessions for all those pictures, scripts, 3rd party
> tracker elements, etc on the website.


I just checked the front page of politiken.dk, one of the major Danish
newspapers. Without an adblocker it is 202 request to 7 different
domains. So even with HTTP/2 there would be some quite detailed logging.

> So in the data retention database
> there will be a very fine grained and timestamped traffic log of this
> particular site visit, useable for traffic correlation attacks. The
> situation gets even worse if the website uses some periodic push/pull
> system like for example a twitter feed, creating and closing TCP
> connections every few seconds.

Indeed. While I was typing the above paragraph there was three more
requests to https://ping.chartbeat.net/ on the Politiken page.

> Lots of data over one single persistent TCP connection = only one entry
> in data retention database = not useful for deanonymizing Tor users.
> Lots of data over many short lived TCP connections over a long period of
> time = many fine grained entries in data retention database = useful for
> deanonymizing Tor users.


Yes. Unless it is a very popular site, used by many Tor users at the
same time.

> It should also be taken into account the goverment could force the ISP
> to terminate TCP connections every few seconds to increase the amount of
> logs created.

Not so likely. This is a proposed law that the ISP's are fighting. They
would not do more than required by the law. The Danish government cannot
force ISP's to do things like that.  But of course what matters is not
my ISP but the ISP behind the site I am connected to. And one or two
ISP's might be willing to cooperate.


-- 
Niels Elgaard Larsen


More information about the tor-talk mailing list