Skip to content

使用 kernel netlink 方式获取节点上的TCP监听端口列表 #888

@bbklab

Description

@bbklab

目前是通过扫描 /proc/net/tcp /proc/net/tcp6 来获取,再超高并发服务器上可能有性能问题,
应该通过 kernel netlink InetDiagMsg 来获取当前连接信息。

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions