dns66 icon indicating copy to clipboard operation
dns66 copied to clipboard

Have some statistic/log view in the app somewhere

Open julian-klode opened this issue 8 years ago • 9 comments

How many hosts are blocked, which hosts where blocked last, possibly the entire tail of the logcat for the app. Would also help in debugging.

julian-klode avatar Oct 27 '16 17:10 julian-klode

Perhaps an option to enable statistics which would be shown in the pull down in the future.

f1vefour avatar Oct 31 '16 11:10 f1vefour

Will this be opt-in and or have a toggle off switch?

ghost avatar Nov 10 '16 01:11 ghost

@f1vefour @z751 It's not going to be optional. But maybe I was not clear, this is not a form of remote statistics tracking:

The idea is to have a few variables in the code storing how much was blocked and so on, and an activity where you can look at that (and export it if you want to share it).

You know, so you can see "oh, it blocked 5% of my hosts today, how nice".

julian-klode avatar Nov 10 '16 11:11 julian-klode

Privacy is and will be my topmost concern for this project. The app does not, and will not, share any data with anyone or anything, including me, unless you tell it to do so (that is, press an export button and share it via email; or say, "Yes" if a notification tells you something weird happens and asks you if you want to provide a log).

julian-klode avatar Nov 10 '16 12:11 julian-klode

Optimally, the statistics screen has some summary statistics (how many ads blocked, etc.) and a tail of the last requests and their actions:

Rejected request from Allowed request from

This needs to be limited though - like maybe show the last 128 requests or so. And it needs to be as efficient as possible - both in space and power consumption.

julian-klode avatar Feb 28 '17 00:02 julian-klode

Commit b5474c336db82d82cef4db2ade96fda593f11086 adds a menu item "Logcat" to generate a logcat which can be send via email, stored in files or whatever. This contains packets, so it's also useful to figure out which domains to (un-)block.

julian-klode avatar May 19 '17 10:05 julian-klode

Have you also considered adding a kind of (per-)app DNS log activity (where you can (un-)block certain hosts the app requested)? (Of course, this feature will be off by default. User can enable and disable it as needed)

I didn't see anything quite like that listed here, so forgive me if that is already your intention. :)

And thanks for your app, it's really helpful. :) If I knew Android better, I'd help you in developing. :)

Edit: I do presume that is probably your intention now though considering your other comment

MolotovCherry avatar Nov 08 '17 18:11 MolotovCherry

Any news about this feature ? We're a lot of insterested people about this ! ;)

misterbenj34 avatar Aug 25 '18 13:08 misterbenj34

Didn't read through but I was about to make an issue:

The current one exports the whole DNS66 logcat for the current session. Do you have plans to implement a simplier logcat (with a toggle or something)?

Format like this: [hh:mm:ss] - [Blocked/Allowed] - [domain]

Laicure avatar Jan 27 '20 07:01 Laicure