aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make the certificate wait time configurable.Aldo Cortesi2011-06-273-3/+11
| | | | | | | | | Since OpenSSL doesn't let us set certificate start times in the past, the client and proxy machine time must be synchronized, or the client might reject the certificate. We can bodgy over small discrepancies by waiting a few seconds after a new certificate is generated (i.e. the first time an SSL domain is contacted). Make this a configurable option, and turn it off by default.
* Try not to hang when user views large request & response bodiesAldo Cortesi2011-06-273-5/+47
| | | | | | | | | | Two different strategies here: - Use a simple heuristic to detect if we're looking at XML data when indent mode is used. On non-XML data we can hang even on small documents. - Only view partial data for large bodies. At the moment the cutoff is 100k. I might finetune this later.
* Don't redraw the screen more often than necessary.Aldo Cortesi2011-06-273-4/+11
|
* Repair a problem that sometimes caused SSL connections to peg the CPU.Aldo Cortesi2011-06-231-3/+6
|
* Don't backup flows before replay.Aldo Cortesi2011-06-231-1/+0
| | | | This lets us revert to the original request, even after replaying an edit.
* Merge pull request #2 from zellux/masterAldo Cortesi2011-06-201-1/+1
|\ | | | | Fix urwid version parsing error when it's something like 0.9.10-pre
| * Fix urwid version parsing error when it's something like 0.9.10-preYuangxuan Wang2011-06-201-1/+1
|/
* Add a hideous kludge to fix not-yet-valid certificates.Aldo Cortesi2011-06-112-0/+4
| | | | | | | | | | | | - The OpenSSL x509 has no way to explicitly set the notBefore value on certificates. - If two systems have the same configured time, it's possible to return a certificate before the validity start time has arrived. - We "solve" this by waiting for one second when a certificate is first generated before returning the cert. The alternative is to rewrite pretty much all of our certificate generation, a thought too horrible to contemplate.
* Merge branch 'master' of github.com:cortesi/mitmproxyAldo Cortesi2011-06-028-18/+76
|\
| * Anticache and refresh_server_playback options are applied before flows are ↵Aldo Cortesi2011-05-151-2/+2
| | | | | | | | | | | | | | loaded. You can now use mitmdump to preview how these options work, by running mitmdump against a set of saved flows, and viewing the output.
| * Add -r option to mitmdump and mitmproxy.Aldo Cortesi2011-05-156-14/+28
| | | | | | | | | | | | This option reads a set of flows from a file. I've also regularized the mitmdump and mitmproxy command-line signatures by removing mitmproxy's old way of specifying flow loads through naked arguments.
| * Add a new flow loading mechanism.Aldo Cortesi2011-05-154-7/+51
| | | | | | | | | | We now simulate the normal connection flow when we load flows. That means that we can run scripts, hooks, sticky cookies, etc.
* | Add an "SSL exception" to the license.Aldo Cortesi2011-06-021-0/+16
|/ | | | | | This is to clarify that mitmproxy can be distributed with OpenSSL. It's unclear whether this is really needed, but I've had at least one request for this, and there's a precendent in other Open Source projects.
* Minor code cleanup - no need to recreate the master queue.Aldo Cortesi2011-05-141-2/+1
|
* Add a -n option which tells the tools not to bind a proxy.Aldo Cortesi2011-05-146-25/+49
| | | | This is useful when you just want to inspect or process dumps.
* Add the 30-second client replay tutorial to the docs.Aldo Cortesi2011-03-316-2/+76
| | | | | It's verbatim from the blog post at the moment - I might edit it a bit before pushing it to mitmproxy.org.
* Changelog for 0.4.Aldo Cortesi2011-03-301-1/+16
|
* Spell-check docs, setup.py fixes, add missing files to manifest.Aldo Cortesi2011-03-308-8/+12
|
* Minor docs tweaks. Mention countershape.Aldo Cortesi2011-03-291-4/+7
|
* Refactoring.Aldo Cortesi2011-03-292-10/+8
|
* Add some debugging output to help troubleshoot a performance problem.Aldo Cortesi2011-03-272-0/+12
|
* unit test coverage ++Aldo Cortesi2011-03-205-13/+27
|
* Add a stickyauth option.Aldo Cortesi2011-03-2010-6/+125
| | | | | | | This allows us to replay an HTTP Authorization header, in the same way as we replay cookies using stickycookies. This lets us conveniently get at HTTP Basic Auth protected resources through the proxy, but is not enough to do the same for HTTP Digest auth. We'll put that on the todo list.
* Reverse order of flows in mitmproxy.Aldo Cortesi2011-03-203-9/+7
| | | | It matches user expectations much better to have new flows appended to the bottom.
* Add a script to generate a contributors list, and use it to make a ↵Aldo Cortesi2011-03-193-2/+8
| | | | CONTRIBUTORS file.
* Docs - refinement and styling.Aldo Cortesi2011-03-1917-64/+91
|
* Documentation, styling to fit on website.Aldo Cortesi2011-03-198-59/+110
|
* Docs and todo.Aldo Cortesi2011-03-192-4/+29
|
* Docs.Aldo Cortesi2011-03-198-0/+42
| | | | Add screenshots and an explanation of interception.
* Docs.Aldo Cortesi2011-03-1913-3/+17
| | | | | | - Add IOS screenshots. - Add drop-shadows to screenshots that need them. - Optimise PNGs for size.
* Docs.Aldo Cortesi2011-03-199-48/+42
|
* Docs.Aldo Cortesi2011-03-188-47/+43
|
* Revamp key generation.Aldo Cortesi2011-03-186-27/+74
| | | | | | | | | | | We now create three different files in the .mitmproxy directory when a dummy CA is made: mitmproxy-ca.pem - the CA, including private key mitmproxy-ca-cert.p12 - A pkcs12 version of the certificate, for distribution to Windows. mitmproxy-ca-cert.pem - A PEM version of the certificate, for distribution to everyone else.
* Tweak CA and cert setup to be nice to Windows.Aldo Cortesi2011-03-182-8/+0
| | | | | | For some reason Satan's Operating System doesn't join up the certification path if the key identifiers are set to hash. This took a few hours of trial and error to figure out.
* Enable request and response script commandline arguments for mitmproxy.Aldo Cortesi2011-03-181-14/+22
|
* Minor fix to setup.py.Aldo Cortesi2011-03-181-2/+2
|
* Maintain focus in mitmproxy when flows are loaded from file.Aldo Cortesi2011-03-181-4/+7
|
* Do id-based comparison rather than value-based comparison to establish flow ↵Aldo Cortesi2011-03-181-1/+2
| | | | | | focus. This fixes a bug where focus would jump unpredictably between identical flows.
* Use path_prompt rather than plain prompt where needed in mitmproxy.Aldo Cortesi2011-03-182-8/+6
|
* Server replay shortcut in mitmproxy can now be used to interrupt a current ↵Aldo Cortesi2011-03-182-5/+22
| | | | replay.
* Client playback shortcut in mitmproxy can now be used to interrupt a current ↵Aldo Cortesi2011-03-182-5/+23
| | | | client playback.
* We have to pass -CAcreateserial after all.Aldo Cortesi2011-03-181-0/+1
|
* Docs, minor cert tweaks.Aldo Cortesi2011-03-1816-42/+167
|
* Documentation.Aldo Cortesi2011-03-163-1/+5
|
* Documentation.Aldo Cortesi2011-03-1610-61/+79
|
* Begin to flesh out and refactor docs.Aldo Cortesi2011-03-1610-80/+88
|
* Interrupt interception when deleting an intercepting flow.Aldo Cortesi2011-03-153-20/+8
| | | | Prompting the user for this is annoying.
* Fix minor styling and glitches.Aldo Cortesi2011-03-151-5/+5
|
* Fix hang on shutdown.Aldo Cortesi2011-03-154-10/+16
|
* Do pre-processing of requests before replay.Aldo Cortesi2011-03-153-33/+39
| | | | | This enables scripts, anticache, server playback and sticky cookies for request replays.