swan icon indicating copy to clipboard operation
swan copied to clipboard

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

Open bbklab opened this issue 7 years ago • 1 comments

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

bbklab avatar Aug 16 '17 10:08 bbklab

对于port的管理,这块,mesos增加了一个network port isolator来管理,很快就会有release,后面就可以知道主机上哪些host port不能使用。

https://docs.google.com/document/d/1BGmANq8IW-H4-YVUlpdf6qZFTZnDe-OKAY_e7uNp7LA/edit#

xiaods avatar Aug 28 '17 08:08 xiaods