[GH-ISSUE #2821] [Feature Request] Notify server plugins when a proxy is closed. #2256

Closed
opened 2026-05-05 13:27:08 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @kmod-midori on GitHub (Mar 2, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2821

Describe the feature request

Currently, server plugins only receive NewProxy events, it would be great if we can send CloseProxy messages to them as well (e.g. to use with https://github.com/arugal/frp-notify and notify users when a proxy goes offline for a certain length of time).

If the maintainers think that this is worth implementing, I can prepare a PR for this.

Describe alternatives you've considered

Use external services to ping frp proxies and send notifications when they are down, but this sometimes does not work for non-HTTP(S) services.

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @kmod-midori on GitHub (Mar 2, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2821 ### Describe the feature request Currently, server plugins only receive `NewProxy` events, it would be great if we can send `CloseProxy` messages to them as well (e.g. to use with https://github.com/arugal/frp-notify and notify users when a proxy goes offline for a certain length of time). If the maintainers think that this is worth implementing, I can prepare a PR for this. ### Describe alternatives you've considered Use external services to ping frp proxies and send notifications when they are down, but this sometimes does not work for non-HTTP(S) services. ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [X] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:27:08 -06:00
  • closed this issue
  • added the
    todo
    label
Author
Owner

@fatedier commented on GitHub (Mar 2, 2022):

I think it's ok, but maybe a little different with NewProxy.

We can discuss more in your PR later.

<!-- gh-comment-id:1056321521 --> @fatedier commented on GitHub (Mar 2, 2022): I think it's ok, but maybe a little different with `NewProxy`. We can discuss more in your PR later.
Author
Owner

@kmod-midori commented on GitHub (Mar 8, 2022):

Closing this since #2823 has been merged.

<!-- gh-comment-id:1061480406 --> @kmod-midori commented on GitHub (Mar 8, 2022): Closing this since #2823 has been merged.
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#2256
No description provided.