[PR #5043] [CLOSED] net: implement Proxy Protocol support in connection handling #5111

Closed
opened 2026-05-05 14:54:55 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/5043
Author: @linkec
Created: 11/2/2025
Status: Closed

Base: devHead: dev


📝 Commits (1)

  • 84c2513 net: implement Proxy Protocol support in connection handling

📊 Changes

2 files changed (+68 additions, -5 deletions)

View changed files

📝 pkg/util/net/proxyprotocol.go (+48 -0)
📝 server/service.go (+20 -5)

📄 Description

Add support for frps to handling frpc connect via proxy using proxy protocol

For some situation, frps needs to validate the connect ip from a frpc, but sometimes frpc is behind a proxy for some reason


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/5043 **Author:** [@linkec](https://github.com/linkec) **Created:** 11/2/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`84c2513`](https://github.com/fatedier/frp/commit/84c2513deea44a165546cce736f2a875cabc453a) net: implement Proxy Protocol support in connection handling ### 📊 Changes **2 files changed** (+68 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `pkg/util/net/proxyprotocol.go` (+48 -0) 📝 `server/service.go` (+20 -5) </details> ### 📄 Description ### Add support for frps to handling frpc connect via proxy using proxy protocol For some situation, frps needs to validate the connect ip from a frpc, but sometimes frpc is behind a proxy for some reason --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:54:55 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#5111
No description provided.