feat: retrieve listening processes in firewall port page by HynoR · Pull Request #11665 · 1Panel-dev/1Panel
What this PR does / why we need it?
Summary of your change
- 移除 useStats 检查端口是否使用的逻辑,每个端口都得 net.listen 检测,挺麻烦
- 直接扫一遍 inet 链接,过滤在监听的链接
- 前端调用 listening 接口后,映射到防火墙上
Please indicate you've done the following:
- Made sure tests are passing and test coverage is added if needed.
- Made sure commit message follow the rule of Conventional Commits specification.
- Considered the docs impact and opened a new docs issue or PR with docs changes if needed.
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.
Details
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.
Details
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign ssongliu for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
Details
Needs approval from an approver in each of these files:Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
HynoR
marked this pull request as ready for review
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters

