如何根据使用的带宽监控正在使用的端口?

发布于 2025-01-06 02:31:24 字数 143 浏览 4 评论 0原文

我必须监视服务器下正在使用的端口(即所有正在访问网络的客户端),特别是它必须以基于所使用的带宽进行监视的方式进行。

它应该报告使用超出某个阈值(例如 200KB 或 2000KB)的匿名端口(不用于任何特定应用程序或协议的不常见端口)。这可以很容易实现吗?

I have to monitor the ports which are in use under the server (i.e. all the clients who are accessing the network) and especially it must be made in a such way that it should monitor based on the bandwidth utilized.

It should report the anonymous ports (the uncommon ports which are not for any specific application or protocol) which are being used beyond some threshold value (for example, 200KB or 2000KB). Can this be implemented easily?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鹊巢 2025-01-13 02:31:24

我会查看 jNetPcap。我几年前用过这个来做类似的事情。我很难回答您使用和实施您正在寻找的解决方案有多“容易”。

请注意,我相信它确实需要在通信端点之一安装。如果这不适合您,也许可以考虑直接从路由器或其他网络硬件获取数据。

I'd check out jNetPcap. I used this years ago to do something similar. How 'easy' it would be for you to use and implement the solution you're looking for is hard for me to answer.

Note, I believe it does require installation at one of the communication endpoints. If that doesn't suit you, maybe look into getting data directly from routers or other network hardware.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文