I have been using
mitmproxy for filtering HTTP and HTTPS traffic.
mitmproxy is simple and written in
Python. It will start a new thread to handle every new HTTP request.
Here are something I need to get from those request flows.
- IP of the request
- MAC of the request
- parse the content and do some logistics
mitmdump is shipped from project
mitmproxy and it works in command line.
Extensively I used it in this way,
mitmdump -T -s ./my_written_request_handler.py (it listens on port 8000, and I used
iptables to forward all HTTP traffic to this port)
I handled all the requests in this handler
./my_written_request_handler.py. But I found it to be less efficient. Maybe because it's in
So I want a new easy-efficient tool or framework to do this job.
Can you suggest some?
Appreciate your help!!!