[PR #3767] [CLOSED] validate client certificate of frpc for tcpmux #4826

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/3767
Author: @moritzhabegger
Created: 11/13/2023
Status: Closed

Base: devHead: dev


📝 Commits (3)

  • 2b91ac4 validate client certificate of frpc for tcpmux
  • 5950a74 improve log statements
  • 9c0c9bd document feature in frps_full_example.toml

📊 Changes

5 files changed (+49 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)
📝 conf/frps_full_example.toml (+3 -0)
📝 pkg/config/v1/common.go (+3 -0)
📝 pkg/util/net/tls.go (+35 -0)
📝 server/service.go (+7 -0)

📄 Description

Summary

🤖 Generated by Copilot at 2b91ac4

This pull request adds a new option clientCertSubjectRegex to the TLS transport configuration, which allows the server to validate the client certificate subject using a regular expression. It modifies the net, config, server, and README packages to implement and document this feature.

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/3767 **Author:** [@moritzhabegger](https://github.com/moritzhabegger) **Created:** 11/13/2023 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (3) - [`2b91ac4`](https://github.com/fatedier/frp/commit/2b91ac4d185022d1290f58db6fd763da1f1c459d) validate client certificate of frpc for tcpmux - [`5950a74`](https://github.com/fatedier/frp/commit/5950a745b687c640914dc05c1b07b4c8cd19d405) improve log statements - [`9c0c9bd`](https://github.com/fatedier/frp/commit/9c0c9bdb1be2c60f997511c59803269f208265ad) document feature in frps_full_example.toml ### 📊 Changes **5 files changed** (+49 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) 📝 `conf/frps_full_example.toml` (+3 -0) 📝 `pkg/config/v1/common.go` (+3 -0) 📝 `pkg/util/net/tls.go` (+35 -0) 📝 `server/service.go` (+7 -0) </details> ### 📄 Description ### Summary <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at 2b91ac4</samp> This pull request adds a new option `clientCertSubjectRegex` to the TLS transport configuration, which allows the server to validate the client certificate subject using a regular expression. It modifies the `net`, `config`, `server`, and `README` packages to implement and document this feature. ### 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 2026-05-05 14:49:29 -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#4826
No description provided.