Am working on a project where i require some packet creation, such as ICMP ECHO and other packets where I can start the TCP 3-way handshake. What is the best way to do it node.js? I don’t see any packet manipulating libraries like scappy (python) in node.js. All i have for now is node-pcap which is used to monitor packets. But how do i create new packets from scratch?
Share
node.js doesn’t currently offer a raw socket API, and as far as I’m aware, nobody has implemented it as an npm module yet either, so I don’t think this is possible at the moment.