I'm looking for a library that allows me to monitor outgoing network traffic (HTTP, HTTPS) and possibly drop unwanted packets. I'm NOT planning on inspecting the form data/website content that is being sent, but only some superficial information (metadata) on the target destination and the application that sent the request (if possible). It should not involve having to setup a local proxy (since I'm not inspecting any TLS content) and ideally work cross-platform. I'm pretty familiar with Python and JavaScript (via NodeJS), so a solution in one of those two languages would be appreciated.
I spent hours trying to find a solution myself, but the best ones would only work with a local proxy (which is something I'm trying to avoid) or don't work on Windows, for example node_pcap (no Windows support)...
I've also found a couple ones that seemingly fit my requirements: tshark (via pyshark), tcpdump (ports?), cap (NodeJS), dpkt (Python), twisted (Python). Will these work? I'm leaning towards cap
because its NodeJS, are there better options?
from Monitoring and dropping HTTP(S) traffic cross-platform without a proxy
No comments:
Post a Comment