Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large download on every start #323

Closed
Benjamin-Markson opened this issue Jan 21, 2019 · 2 comments
Closed

Large download on every start #323

Benjamin-Markson opened this issue Jan 21, 2019 · 2 comments

Comments

@Benjamin-Markson
Copy link

@Benjamin-Markson Benjamin-Markson commented Jan 21, 2019

Recently, I've been trying to love (and trust) Ghostery again. I've mainly only used it up to version 5 (around which time I felt it lost its way). Anyway, Ive now been using version 8, and it is nicely done. A part from the Enhanced Anti Tracking which doesn't seem to put anything in the detailed view it provides useful visibility on what it's doing. However, there is one thing that's bothering me and I'm wondering if it's a feature or a bug.

At browser start up I see Ghostery making an awful lot of connections to the internet:

cdn.ghostery.com
cmp-cdn.ghostery.com
api.ghostery.net
cdn.ghostery.net (3 times)
collector-hpn.ghostery.net

One of these fetches a very significant amount of data on every start. Doesn't matter if you close Firefox and immediately restart, down it all comes again. Uncheck the: Enable automatic updates from the Ghostery tracker library... and it still comes down each time. It feels either very inefficient, or like a bug.

I'd be interested to know what these many domains are for and whether there is any documentation on the various connections being made at start up?

Cheers.

Browser: Firefox
OS: Windows
Ghostery: 8.3.0

@philipp-classen
Copy link
Contributor

@philipp-classen philipp-classen commented Jan 21, 2019

Hi Benjamin,

For me, the extension downloads about 4.15 KB (actual transferred size) when I restart Ghostery. Both on Firefox and Chrome (tested on Linux). Is this about the same size that you see?

About 2.6 KB (compressed) is for https://collector-hpn.ghostery.net/config, the config of the system used for anonymized data transfer. For example, if you allow Ghostery to send Human Web messages, it will be sent through this channel. At the moment, we are lacking in documentation but I hope we can improve on that in the near future (related: cliqz-oss/browser-core#67).

The reason why the /config request is not cached is that we currently use the timestamp returned by the server to detect drift on the local system clock. (A correct clock is important for anonymity, as otherwise, we could link messages based on the error in the clock.)

But maybe you meant another request. Do you remember which request it was that fetched significant amounts of data? Note that you can ignore all requests that were served from disk cache.

@Benjamin-Markson
Copy link
Author

@Benjamin-Markson Benjamin-Markson commented Jan 21, 2019

Hi, and thanks for taking the time to have a look.

I'm pretty sure it's fetching the whole BugDb dataset each time, so circa 500K? However, after further investigation I think it's a Firefox version thing. I'm seeing this behaviour under FF52esr but not when Using FF64. In which case it's probably not worth while anyone pursuing it. I suspect it's probably better not to push older versions of Firefox too far into webextensions. I quite liked the look of the newer Ghostery and it said it would run under FF52, so...

FWIW, it's as if autoUpdateBugDb from initializeGhosteryModules isn't picking up the Ghostery prefs properly and unconditionally executing bugDb.update. It doesn't seem to be taking any notice of the version check. If I later request a manual update then it correctly sees the database as up to date.

Anyway, not to worry. I've put v5.4.10 back in for FF52esr :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants