add custom hosts to block
Some checks failed
Build ISO / build (push) Waiting to run
Build and cache hosts configurations / build (push) Has been cancelled

This commit is contained in:
Dmitriy Kholkin 2024-01-21 17:40:23 +03:00
parent 08e4bce41e
commit 8615929e23
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2
3 changed files with 41 additions and 6 deletions

View File

@ -135,6 +135,7 @@ in {
"https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt"
"https://github.com/RPiList/specials/raw/master/Blocklisten/MS-Office-Telemetry"
"https://github.com/RPiList/specials/raw/master/Blocklisten/Win10Telemetry"
../../../misc/telemetry.hosts
];
};
clientGroupsBlock.default = [ "ads" "telemetry" ];

28
misc/telemetry.hosts Normal file
View File

@ -0,0 +1,28 @@
overseauspider.yuanshen.com
overseauspider.yuanshen.com
log-upload-os.hoyoverse.com
log-upload-os.hoyoverse.com
log-upload-os.mihoyo.com
log-upload-os.mihoyo.com
dump.gamesafe.qq.com
dump.gamesafe.qq.com
log-upload.mihoyo.com
log-upload.mihoyo.com
devlog-upload.mihoyo.com
devlog-upload.mihoyo.com
uspider.yuanshen.com
uspider.yuanshen.com
sg-public-data-api.hoyoverse.com
sg-public-data-api.hoyoverse.com
public-data-api.mihoyo.com
public-data-api.mihoyo.com
prd-lender.cdp.internal.unity3d.com
prd-lender.cdp.internal.unity3d.com
thind-prd-knob.data.ie.unity3d.com
thind-prd-knob.data.ie.unity3d.com
thind-gke-usc.prd.data.corp.unity3d.com
thind-gke-usc.prd.data.corp.unity3d.com
cdp.cloud.unity3d.com
cdp.cloud.unity3d.com
remote-config-proxy-prd.uca.cloud.unity3d.com
remote-config-proxy-prd.uca.cloud.unity3d.com

View File

@ -74,6 +74,18 @@ in {
settings = {
upstream.default = [ upstream-dns ];
upstreamTimeout = "10s";
blocking = {
blackLists.telemetry = [ ../../misc/telemetry.hosts ];
clientGroupsBlock.default = [ "telemetry" ];
};
conditional = {
fallbackUpstream = true;
mapping = {
"ataraxiadev.com" = "127.0.0.1:5353";
};
};
# drop ipv6 requests
filtering.queryTypes = [ "AAAA" ];
caching = {
minTime = "0m";
maxTime = "12h";
@ -86,12 +98,6 @@ in {
};
prometheus.enable = true;
queryLog.type = "console";
conditional = {
fallbackUpstream = true;
mapping = {
"ataraxiadev.com" = "127.0.0.1:5353";
};
};
};
};
services.prometheus = {