简体   繁体   中英

How to monitor network traffic node.js and Windows libraries

Hi I want to monitor / capture TCP/UDP and other information using node.js, is there any module that can help me ? I am looking at node-windows and other modules but I could not figure out how to do that. node.js has a module os and I can list network interfaces using that module, but how can I find all traffic passing through that interface?

You can use the cap module to monitor network traffic. If you are on Windows, make sure you have WinPcap installed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM