[PR #5304] protocol: add AEAD encryption negotiation to v2 wire control channel #5237

Open
opened 2026-05-05 14:57:15 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/5304
Author: @fatedier
Created: 5/5/2026
Status: 🔄 Open

Base: devHead: new


📝 Commits (1)

  • 2d9d1ac protocol: add AEAD encryption negotiation to v2 wire control channel

📊 Changes

15 files changed (+865 additions, -85 deletions)

View changed files

📝 README.md (+8 -18)
📝 README_zh.md (+8 -18)
📝 Release.md (+3 -0)
📝 client/control_session.go (+55 -7)
📝 client/control_session_test.go (+55 -3)
📝 doc/agents/release.md (+47 -3)
📝 go.mod (+2 -2)
📝 go.sum (+2 -2)
pkg/proto/wire/crypto.go (+197 -0)
📝 pkg/proto/wire/wire.go (+30 -6)
📝 pkg/proto/wire/wire_test.go (+116 -3)
📝 pkg/util/net/conn.go (+92 -3)
pkg/util/net/conn_test.go (+118 -0)
📝 server/service.go (+69 -20)
server/service_test.go (+63 -0)

📄 Description

WHY


🔄 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/5304 **Author:** [@fatedier](https://github.com/fatedier) **Created:** 5/5/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `new` --- ### 📝 Commits (1) - [`2d9d1ac`](https://github.com/fatedier/frp/commit/2d9d1ace3ce309b6caed726a160e961a96bc70b8) protocol: add AEAD encryption negotiation to v2 wire control channel ### 📊 Changes **15 files changed** (+865 additions, -85 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+8 -18) 📝 `README_zh.md` (+8 -18) 📝 `Release.md` (+3 -0) 📝 `client/control_session.go` (+55 -7) 📝 `client/control_session_test.go` (+55 -3) 📝 `doc/agents/release.md` (+47 -3) 📝 `go.mod` (+2 -2) 📝 `go.sum` (+2 -2) ➕ `pkg/proto/wire/crypto.go` (+197 -0) 📝 `pkg/proto/wire/wire.go` (+30 -6) 📝 `pkg/proto/wire/wire_test.go` (+116 -3) 📝 `pkg/util/net/conn.go` (+92 -3) ➕ `pkg/util/net/conn_test.go` (+118 -0) 📝 `server/service.go` (+69 -20) ➕ `server/service_test.go` (+63 -0) </details> ### 📄 Description ### WHY <!-- author to complete --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror added the
pull-request
label 2026-05-05 14:57:15 -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#5237
No description provided.