-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mitmproxy's libmproxy as a replacement for our proxy #1269
Comments
Their test suite is very impressing, covering 97% of the code. |
Sent email to author to see if we can use the libmproxy, and if he can make mitmproxy and libmproxy two independent projects. |
@mitmproxy answered, the key points were:
|
While working on this, create a new SSL certificate for w3af.org (does that actually make sense?) instead of sf.net:
Also, maybe we should have the CA cert available so users can add it to their browsers? How is ZAP handling this? |
In the future I'll want to have JS support, which will require a browser that uses a local proxy to reach the target. In that case I'll need a very fast and stable proxy! Also, I'll need a way to configure SSL CA certificate in the automated browser to be able to reach SSL sites. |
From the mailing list:
Actions to be performed:
|
What do you think about libmproxy performance? Libmproxy concurrency is based on threading as well as w3af proxy implementation. |
The performance shouldnt be an issue. Asked the main developer and he told me they used the proxy to route thousands of requests per second, something like a LAN proxy for a medium sized office. |
Take a look at the code in daemons: localproxy and proxy. With the new implementation those would be gone, and all the uses replaced. |
I've add PoC in commit: 7895ce7. It depends on the libmproxy master. So, there is a couple of positive and negative things about libmproxy:
The next step might be
|
The code looks excellent 👍 , some comments:
|
Work to be completed at: Complete libmproxy implementation #10429 |
Analyze the possibility of using mitmproxy's libmproxy as a replacement for our proxy. Ours is not well tested is repeatedly been subject to awful bugs.
Things to do:
https://github.com/mitmproxy/mitmproxy
http://mitmproxy.org/doc/scripting/libmproxy.html
The text was updated successfully, but these errors were encountered: