Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Introduce an anti-compression command-line argument. | Aldo Cortesi | 2011-07-15 | 5 | -1/+21 |
| | | | | | This is on by default, which means we avoid compressed content unless the -z flag is specified. | ||||
* | Don't sort headers when displaying them in mitmproxy. | Aldo Cortesi | 2011-07-14 | 1 | -1/+1 |
| | |||||
* | Refine path completion somewhat. | Aldo Cortesi | 2011-07-14 | 1 | -4/+0 |
| | | | | Make it match the behaviour of vim and mutt more closely | ||||
* | Rewrite Headers object to preserve order and case. | Aldo Cortesi | 2011-07-14 | 5 | -114/+76 |
| | |||||
* | Merge branch 'master' of github.com:cortesi/mitmproxy | Aldo Cortesi | 2011-07-11 | 1 | -1/+1 |
|\ | |||||
| * | Specify certificate creation waiting time argument to fix type error in ↵ | Felix Wolfsteller | 2011-07-09 | 1 | -1/+1 |
| | | | | | | | | proxy.py . | ||||
* | | Bail out if no command was specified after | shortcut. | Aldo Cortesi | 2011-07-08 | 1 | -1/+2 |
|/ | |||||
* | Cast some data read from dump files to str, to prevent unicode promotion. | Aldo Cortesi | 2011-07-01 | 1 | -5/+5 |
| | | | | | This fixes a bug that caused a traceback when de-serialized requests were replayed. Also adds unit tests for the problem. | ||||
* | Show view mode in statusbar. | Aldo Cortesi | 2011-06-30 | 1 | -24/+33 |
| | | | | Also make "m" keyboard shortcut available globally. | ||||
* | Fix edit prompt display, return code editing. | Aldo Cortesi | 2011-06-30 | 1 | -3/+6 |
| | |||||
* | JSON pretty-printing. | Aldo Cortesi | 2011-06-30 | 2 | -25/+54 |
| | | | | | Also rename the display modes ("pretty" instead of "indent"), and expand the built-in documentation. | ||||
* | Prep for 0.5 release | Aldo Cortesi | 2011-06-27 | 1 | -1/+1 |
| | | | | | | - Update CHANGELOG and CONTRIBUTORS - Bump version - Include Apple Gamecenter highscore setting tutorial in docs | ||||
* | Make the certificate wait time configurable. | Aldo Cortesi | 2011-06-27 | 3 | -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 bodies | Aldo Cortesi | 2011-06-27 | 2 | -5/+39 |
| | | | | | | | | | | 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 Cortesi | 2011-06-27 | 3 | -4/+11 |
| | |||||
* | Repair a problem that sometimes caused SSL connections to peg the CPU. | Aldo Cortesi | 2011-06-23 | 1 | -3/+6 |
| | |||||
* | Don't backup flows before replay. | Aldo Cortesi | 2011-06-23 | 1 | -1/+0 |
| | | | | This lets us revert to the original request, even after replaying an edit. | ||||
* | Fix urwid version parsing error when it's something like 0.9.10-pre | Yuangxuan Wang | 2011-06-20 | 1 | -1/+1 |
| | |||||
* | Add a hideous kludge to fix not-yet-valid certificates. | Aldo Cortesi | 2011-06-11 | 1 | -0/+2 |
| | | | | | | | | | | | | - 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. | ||||
* | Anticache and refresh_server_playback options are applied before flows are ↵ | Aldo Cortesi | 2011-05-15 | 1 | -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 Cortesi | 2011-05-15 | 4 | -5/+26 |
| | | | | | | 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 Cortesi | 2011-05-15 | 2 | -7/+23 |
| | | | | | We now simulate the normal connection flow when we load flows. That means that we can run scripts, hooks, sticky cookies, etc. | ||||
* | Minor code cleanup - no need to recreate the master queue. | Aldo Cortesi | 2011-05-14 | 1 | -2/+1 |
| | |||||
* | Add a -n option which tells the tools not to bind a proxy. | Aldo Cortesi | 2011-05-14 | 4 | -15/+31 |
| | | | | This is useful when you just want to inspect or process dumps. | ||||
* | Refactoring. | Aldo Cortesi | 2011-03-29 | 2 | -10/+8 |
| | |||||
* | Add some debugging output to help troubleshoot a performance problem. | Aldo Cortesi | 2011-03-27 | 1 | -0/+10 |
| | |||||
* | unit test coverage ++ | Aldo Cortesi | 2011-03-20 | 1 | -13/+0 |
| | |||||
* | Add a stickyauth option. | Aldo Cortesi | 2011-03-20 | 5 | -4/+73 |
| | | | | | | | 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 Cortesi | 2011-03-20 | 2 | -3/+1 |
| | | | | It matches user expectations much better to have new flows appended to the bottom. | ||||
* | Revamp key generation. | Aldo Cortesi | 2011-03-18 | 3 | -17/+60 |
| | | | | | | | | | | | 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 Cortesi | 2011-03-18 | 2 | -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 Cortesi | 2011-03-18 | 1 | -14/+22 |
| | |||||
* | Maintain focus in mitmproxy when flows are loaded from file. | Aldo Cortesi | 2011-03-18 | 1 | -4/+7 |
| | |||||
* | Do id-based comparison rather than value-based comparison to establish flow ↵ | Aldo Cortesi | 2011-03-18 | 1 | -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 Cortesi | 2011-03-18 | 1 | -4/+4 |
| | |||||
* | Server replay shortcut in mitmproxy can now be used to interrupt a current ↵ | Aldo Cortesi | 2011-03-18 | 2 | -5/+22 |
| | | | | replay. | ||||
* | Client playback shortcut in mitmproxy can now be used to interrupt a current ↵ | Aldo Cortesi | 2011-03-18 | 2 | -5/+23 |
| | | | | client playback. | ||||
* | We have to pass -CAcreateserial after all. | Aldo Cortesi | 2011-03-18 | 1 | -0/+1 |
| | |||||
* | Docs, minor cert tweaks. | Aldo Cortesi | 2011-03-18 | 2 | -3/+6 |
| | |||||
* | Interrupt interception when deleting an intercepting flow. | Aldo Cortesi | 2011-03-15 | 2 | -17/+8 |
| | | | | Prompting the user for this is annoying. | ||||
* | Fix minor styling and glitches. | Aldo Cortesi | 2011-03-15 | 1 | -5/+5 |
| | |||||
* | Fix hang on shutdown. | Aldo Cortesi | 2011-03-15 | 2 | -8/+13 |
| | |||||
* | Do pre-processing of requests before replay. | Aldo Cortesi | 2011-03-15 | 2 | -33/+38 |
| | | | | | This enables scripts, anticache, server playback and sticky cookies for request replays. | ||||
* | Improve responsiveness of request and response viewing. | Aldo Cortesi | 2011-03-15 | 3 | -57/+104 |
| | | | | | | | | - Computing the view of a large body is expensive, so we introduce an LRU cache to hold the latest 20 results. - Use ListView more correctly, passing it individual urwid.Text snippets, rather than a single large one. This hugely improves render time. | ||||
* | Use .stop() and .start() to restart curses around external spawns. | Aldo Cortesi | 2011-03-14 | 1 | -10/+5 |
| | |||||
* | Merge branch 'master' of github.com:cortesi/mitmproxy | Aldo Cortesi | 2011-03-14 | 1 | -1/+1 |
|\ | |||||
| * | Fix traceback when viewing hex mode. | Aldo Cortesi | 2011-03-14 | 1 | -1/+1 |
| | | |||||
* | | Use raw_display instead of curses_display. | Aldo Cortesi | 2011-03-14 | 1 | -3/+3 |
|/ | |||||
* | We no longer use pytz. | Aldo Cortesi | 2011-03-14 | 1 | -1/+1 |
| | |||||
* | Indicate request and response replay status separately. | Aldo Cortesi | 2011-03-13 | 1 | -4/+4 |
| |