AdguardTeam / AdguardTeam/AdGuardHome

[Feature Request] Add Proxy Protocol Support

Abierto
#1,806 0 comentarios 20 reacciones 1 asignado Reclamado por @ainar-g Ver en GitHub
enhancement P3: Medium
Lenguaje dominante
TypeScript
Estrellas
36.9k
Forks
2.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Prerequisites

- [ x ] I am running the latest version
- [ x ] I checked the documentation and found no answer
- [ x ] I checked to make sure that this issue has not already been filed

### Problem Description
When running AdGuard Home behind dnsdist, AGH will see dnsdist's IP as the source IP, now that dnsdist is supporting Proxy Protocol, it would be good if AGH have the capability to parse the proxy protocol

### Proposed Solution
Add the ability to parse Proxy Protocol

### Alternatives Considered
Use EDNS as client's source IP in statistics https://github.com/AdguardTeam/AdGuardHome/issues/1727

### Additional Information

* https://dnsdist.org/advanced/passing-source-address.html#proxy-protocol
* https://github.com/pires/go-proxyproto

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.