dnscrypt-proxy2: example blocklist is enabled by default and blocks legitimate APIs
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 65/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- build-system, networking
Direzione di ricerca
La modifica va apportata in net/dnscrypt-proxy2/Makefile, dove il passaggio di installazione esegue un sed intorno alla riga 60 che abilita blocked_names_file in dnscrypt-proxy.toml. Continua a copiare il file della blocklist, ma lascia quell'impostazione commentata come fa upstream, poi verifica la configurazione risultante. È completato quando una nuova installazione lascia l'impostazione commentata e telemetry.googleapis.com si risolve attraverso il proxy. Conferma che il maintainer sia d'accordo con la modifica di policy prima di aprire una pull request.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Package Name
dnscrypt-proxy2
Maintainer
@BKPepe
OpenWrt Version
SNAPSHOT (master, net/dnscrypt-proxy2/Makefile line 60); also seen on a 21.02 based build
OpenWrt Target/Subtarget
Not target specific, it comes from the package install step (seen on a GL-X3000)
Steps to Reproduce
- Install
dnscrypt-proxy2and use it as the resolver. - Look up
telemetry.googleapis.comorstats.googleapis.comthrough it. - The query is answered with "This query has been locally blocked by dnscrypt-proxy".
Actual Behaviour
The package installs upstream's example blocklist as /etc/dnscrypt-proxy2/blocked-names.txt and enables it in dnscrypt-proxy.toml at install time (the sed in net/dnscrypt-proxy2/Makefile, line 60 on master). Upstream ships this file as example-blocked-names.txt, to show the pattern syntax, and keeps blocked_names_file commented out.
The patterns are plain prefixes, so besides trackers they match legitimate business endpoints. Some names that fail on a router with the package installed:
telemetry.googleapis.comandtelemetry.<region>.rep.googleapis.com: the Google Cloud Telemetry API, where applications send their own traces, logs and metrics over OTLP;stats.googleapis.com;- any
ad.*,tag.*,stats.*,telemetry.*ortracker.*name under a company's own domain.
I don't think it protects anyone much. Real trackers use many other names, while the ones above are services businesses rely on and pay for. What the list does is break them silently: the query gets "This query has been locally blocked by dnscrypt-proxy", so the application only sees a host that doesn't resolve, which looks like a network problem.
For many users it is also invisible. GL.iNet firmware, for example, runs this package when you pick Encrypted DNS in its admin panel, and the panel has no setting for the blocklist. It took me a while to trace a "could not resolve host" error for telemetry.googleapis.com down to this file.
Would it be possible to install the file but leave blocked_names_file commented out, as upstream does, please? Anyone who wants name blocking can enable it with one line, and everyone else gets the DNS answers they expect. Happy to open a PR with that change if it helps.
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
- Lingua principale
- Makefile
- Stelle
- 4.7k
- Fork
- 4k
- Merge medio
- 2g 4h
- PR unite (30g)
- 251
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openwrt/packages
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
openwrt/packages#31247 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
msmtp-queue: missing dependencies on grep, coreutils-pr, uuidgenForse già presa @ElNeMeR70 l’ha presa 7 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
opennds: nds_ft_INC grows by one rule every 15 s with nftables 1.1.x (fixed upstream in 8b5a23f / v11.0.0)Forse già presa @ElNeMeR70 l’ha presa 7 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
openwrt/packages#31124 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
strongswan: swanctl silently fails to start charon with legacy UCI configurationForse già presa @feckert l’ha presa 12 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
openwrt/packages#31057 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di openwrt/packages
Issue simili
-
ready-for-agent tech-debt
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
DigiBanks99/menlo#640 ·
I maintainer di solito rispondono entro 1 giorno
-
aikido critical security
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
dequelabs/axe-core-nuget#305 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
google/tensorstore#306 ·
-
ci good first issue severity: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
TMHSDigital/GH-Arcade#111 ·
-
agent:WSL bug code-review linux pri:medium sev:low tooling
Difficoltà 2/5 Mezza giornata Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno