AdguardTeam / AdguardTeam/AdGuardHome

Assign client tags automatically based on the clients behavior

Aperta
#1,468 37 commenti 8 reazioni 0 assegnatari Vedi su GitHub
enhancement help wanted P2: High
Lingua principale
TypeScript
Stelle
36.9k
Fork
2.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Now that we have [ctag modifier](https://github.com/AdguardTeam/AdGuardHome/wiki/Hosts-Blocklists#-ctag) support, we should think about how to assign at least some of the tags automatically. At least we could assign `os_*` and `device_*` tags.

Here's what I suggest:

1. Create a `ctag` detector module that checks DNS queries and tries to figure out what the client's OS might be judging by its activity.
2. When we are sure that the client's OS is X.
3. Remember that the client may represent multiple different devices. If the client activity signals that there are different operating systems or devices in use, assign multiple tags.
4. Add a setting to the UI: "Add client tags automatically".

### Activity marker
Every time a device connects to the network it connects to a number of home servers. This statement is true for every OS and I believe that this "marker" can help us detect the device type automatically.

Now, to do this we need to figure out what these "activity markers" for each OS/device might be and we need help with that.

### How can you help us
Please do the following:
1. Make sure that your device uses AdGuard Home
2. Disconnect it from the network
3. Connect it to the network again
4. Wait for 30 seconds, do nothing while waiting
5. Get the list of domains requested by this device
6. Post the following here or send it to `devteam@adguard.com`: the list of domains requested, your device info (OS type, OS version, device model).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.