[PR #5085] [CLOSED] Print detailed information about connection termination to enable external programmes to track connection status from the log #5120

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/5085
Author: @kenvix
Created: 12/2/2025
Status: Closed

Base: devHead: patch-1


📝 Commits (1)

  • bff5086 Print detailed information about connection termination to enable external programmes to track connection status from the log.

📊 Changes

1 file changed (+9 additions, -3 deletions)

View changed files

📝 server/proxy/proxy.go (+9 -3)

📄 Description

WHY

Currently, frps only prints detailed connection information upon connection establishment, whereas when the connection is closed it merely displays join connections closed.

This hinders external programmes such as fail2ban from tracking connection lifecycles effectively. This pull request will enable connection information to be printed upon termination as well, facilitating the tracking of connections.


🔄 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/5085 **Author:** [@kenvix](https://github.com/kenvix) **Created:** 12/2/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`bff5086`](https://github.com/fatedier/frp/commit/bff5086673ab87855bddb109b47d90a99d0b8e65) Print detailed information about connection termination to enable external programmes to track connection status from the log. ### 📊 Changes **1 file changed** (+9 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `server/proxy/proxy.go` (+9 -3) </details> ### 📄 Description ### WHY <!-- author to complete --> Currently, frps only prints detailed connection information upon connection establishment, whereas when the connection is closed it merely displays `join connections closed`. This hinders external programmes such as fail2ban from tracking connection lifecycles effectively. This pull request will enable connection information to be printed upon termination as well, facilitating the tracking of connections. --- <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:55:06 -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#5120
No description provided.