Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bbklab opened this issue Aug 16, 2017 · 1 comment
Open

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

bbklab opened this issue Aug 16, 2017 · 1 comment
Assignees

Comments

@bbklab
Copy link
Contributor

bbklab commented Aug 16, 2017

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

@bbklab bbklab self-assigned this Aug 16, 2017
@xiaods
Copy link
Contributor

xiaods commented Aug 28, 2017

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

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

@bbklab bbklab mentioned this issue Sep 2, 2017
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants