Abdul Aleem
Abdul Aleem

Reputation: 361

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?

Upvotes: 1

Views: 7571

Answers (1)

mscdex
mscdex

Reputation: 106696

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

Upvotes: 6

Related Questions