summaryrefslogtreecommitdiff
path: root/apt-private/private-source.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-08-28 12:58:20 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-08-29 09:22:25 +0200
commit4ff5e237d5685be187a75c563b86e80ea3e7cc01 (patch)
tree697f8b969cd205b6e28d441866bdfed38ee2b5b8 /apt-private/private-source.cc
parent6a68315e938eb2611806658828ecea86805822e7 (diff)
randomize acquire order for same type index files
Without randomizing the order in which we download the index files we leak needlessly information to the mirrors of which architecture is native or foreign on this system. More importantly, we leak the order in which description translations will be used which in most cases will e.g. have the native tongue first. Note that the leak effect in practice is limited as apt detects if a file it wants to download is already available in the latest version from a previous download and does not query the server in such cases. Combined with the fact that Translation files are usually updated infrequently and not all at the same time, so a mirror can never be sure if it got asked about all files the user wants.
Diffstat (limited to 'apt-private/private-source.cc')
0 files changed, 0 insertions, 0 deletions