AdguardTeam / AdguardTeam/AdGuardHome

[Feature Request] Add Proxy Protocol Support

オープン
#1,806 コメント 0 件 リアクション 20 件 担当者 1 名 @ainar-g が担当を希望しています GitHub で見る
enhancement P3: Medium
主要言語
TypeScript
スター
36.9k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。