Answer the question
In order to leave comments, you need to log in
How to get a callback or event in NodeJS when iptables blocks/passes a data packet?
I’ve been trying to figure out how to do this trick for a long time: when iptables receives a packet with data and passes or blocks it, an event arrives in NodeJS or somehow it catches a callback, while receiving this packet (buffer or not - it doesn’t matter) or netflow . Perhaps there is some kind of layer in the form of another utility that can already transfer the event to the node?
Any ideas?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question