dotnet / dotnet/MQTTnet

Proxy Protocol

Open
#1,647 1 comment 2 reactions 0 assignees View on GitHub
feature-request
Dominant language
C#
Stars
5.1k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature request
Would be very useful when using the server behind a reverse proxy.
Now it's not possible to read the client endpoint

### Which project is your feature request related to?

- Client
- ManagedClient
- Server
- Generic

### Describe the solution you'd like
I think we should implement Proxy Protocol as stated here:
Proxy protocol documentation
[https://www.haproxy.com/blog/use-the-proxy-protocol-to-preserve-a-clients-ip-address/](https://www.haproxy.com/blog/use-the-proxy-protocol-to-preserve-a-clients-ip-address/)
[https://github.com/haproxy/haproxy/blob/master/doc/proxy-protocol.txt](https://github.com/haproxy/haproxy/blob/master/doc/proxy-protocol.txt)

### Describe alternatives you've considered
No alternatives are possible

### Additional context

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.