Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More mature sticky cookie primitive. Use it in console.py. | Aldo Cortesi | 2011-02-24 | 4 | -42/+103 |
| | |||||
* | Start abstracting out sticky cookie state. | Aldo Cortesi | 2011-02-24 | 3 | -3/+38 |
| | |||||
* | Remove first iteration playback/record. | Aldo Cortesi | 2011-02-23 | 4 | -479/+0 |
| | | | | Bonus: unit test coverage goes from 70% to 94% with one commit. ;) | ||||
* | Add a way for users to specify header significance in server replay. | Aldo Cortesi | 2011-02-23 | 4 | -20/+61 |
| | | | | | | Also add the --rheader command-line option to mitmdump to let the user specify an arbitrary number of significant headers. The default is to treat no headers as significant. | ||||
* | Minor housekeeping: bump version, clean todo. | Aldo Cortesi | 2011-02-21 | 2 | -11/+2 |
| | |||||
* | Make README reflect reality. | Aldo Cortesi | 2011-02-21 | 1 | -10/+7 |
| | |||||
* | Fix setup.py | Aldo Cortesi | 2011-02-21 | 1 | -2/+2 |
| | |||||
* | Remove Henrik's mitmplayback and mitmrecord. | Aldo Cortesi | 2011-02-21 | 2 | -137/+0 |
| | | | | | I've got a few other people testing the playback stuff, and I don't want them to get confused between the old and new tools. | ||||
* | Move script hooks into the flow primitives. | Aldo Cortesi | 2011-02-21 | 3 | -31/+52 |
| | | | | This lets handle scripts in corner cases like playback situations more easily. | ||||
* | Add --kill option to mitmdump | Aldo Cortesi | 2011-02-21 | 6 | -11/+40 |
| | | | | | | If this option is passed all requests that are not part of a replayed conversation are killed. If the option is not passed, such requests are passed through to the server as usual. | ||||
* | Fix a subtle Unicode problem in Response.assemble | Aldo Cortesi | 2011-02-21 | 1 | -1/+1 |
| | | | | | | | If msg is Unicode, the proto string is automatically promoted to Unicode. If the proto string is promoted to Unicode, then the FMT interpolation is also done in Unicode. If this happens, then binary data in content will cause an exception. | ||||
* | First pass of playback function for mitmdump. | Aldo Cortesi | 2011-02-21 | 7 | -2/+85 |
| | |||||
* | Add a simple server playback state object. | Aldo Cortesi | 2011-02-21 | 4 | -7/+87 |
| | | | | | | | | We use a loose hash to match incoming requests with recorded flows. At the moment, this hash is over the host, port, scheme, method, path and content of the request. Note that headers are not included here - if we do want to include headers, we would have to do some work to normalize them to remove variations between user agents, header order, etc. etc. | ||||
* | Clean up and strip down netstrings module. | Aldo Cortesi | 2011-02-20 | 3 | -98/+13 |
| | |||||
* | Certificates are now generated in a temporary per-session directory. | Aldo Cortesi | 2011-02-20 | 7 | -62/+24 |
| | | | | | | This means that certificates don't accumulate in the conf directory, users don't have to clear certificates if the CA is regenerated, and the user can specify a custom CA without invalid certificates being loaded inadvertently. | ||||
* | Revamp SSL configuration. | Aldo Cortesi | 2011-02-20 | 8 | -91/+102 |
| | | | | | | | | - Move option parsing utiliities to proxy.py - Don't have a global config object. Pass it as an argument to ProxyServer. - Simplify certificate generation logic. | ||||
* | Clean up certificate generation. | Aldo Cortesi | 2011-02-20 | 9 | -156/+196 |
| | | | | | | | | | | | | - Use templates for config files. We can re-introduce customization of the certificate attributes when we need them. - Split CA and cert generation into separate functions. - Generation methods provide an error return when generation fails. - When the user explicitly specifies a certificate, we don't generate it, but fail if it doesn't exist. | ||||
* | Bump unit tests for flow.py and dump.py | Aldo Cortesi | 2011-02-20 | 3 | -12/+26 |
| | |||||
* | Implement state loading that doesn't change object identity. | Aldo Cortesi | 2011-02-20 | 3 | -6/+87 |
| | | | | We need this to let us load state from copied Flows returned from scripts. | ||||
* | Stub out doc structure, add screenshots for configuring certs in Firefox. | Aldo Cortesi | 2011-02-19 | 14 | -111/+169 |
| | |||||
* | Bump test coverage to 100% for flow.py | Aldo Cortesi | 2011-02-19 | 2 | -28/+24 |
| | |||||
* | Fix serialization when a Request has no associated client connection. | Aldo Cortesi | 2011-02-19 | 2 | -2/+6 |
| | |||||
* | Refactor Flow primitives to remove HTTP1.0 assumption. | Aldo Cortesi | 2011-02-19 | 10 | -192/+139 |
| | | | | | | This is a big patch removing the assumption that there's one connection per Request/Response pair. It touches pretty much every part of mitmproxy, so expect glitches until everything is ironed out. | ||||
* | First pass of script hooks for mitmdump. | Aldo Cortesi | 2011-02-18 | 13 | -54/+127 |
| | | | | Also stub out docs, improve mitmdump error handling. | ||||
* | Whitespace in mitmdump output. | Aldo Cortesi | 2011-02-17 | 2 | -6/+6 |
| | |||||
* | Refine verbose mitmdump output. | Aldo Cortesi | 2011-02-17 | 1 | -8/+17 |
| | |||||
* | Improve mitmdump text output. | Aldo Cortesi | 2011-02-17 | 1 | -14/+21 |
| | |||||
* | Whitepsace and extraneous code. | Aldo Cortesi | 2011-02-17 | 2 | -4/+1 |
| | |||||
* | Add filtering to mitmdump. | Aldo Cortesi | 2011-02-17 | 3 | -11/+30 |
| | |||||
* | Add file writing to mitmdump. | Aldo Cortesi | 2011-02-17 | 6 | -8/+54 |
| | |||||
* | Extract common SSL certificate option processing | Henrik Nordstrom | 2011-02-16 | 5 | -98/+26 |
| | |||||
* | Clean up README.mk | Aldo Cortesi | 2011-02-16 | 1 | -11/+0 |
| | | | | HNO's changes are now back in base. Hooray. | ||||
* | Extract common SSL certificate options into a group. | Aldo Cortesi | 2011-02-16 | 3 | -45/+31 |
| | | | | Use this only in mitmdump and mitmproxy for now. | ||||
* | Tweaks and cleanups for mitmdump. | Aldo Cortesi | 2011-02-16 | 3 | -30/+52 |
| | |||||
* | Don't leave dangling browser connections for pipelined requests. | Aldo Cortesi | 2011-02-16 | 3 | -2/+8 |
| | |||||
* | Initial port of mitmdump to Flows. | Aldo Cortesi | 2011-02-16 | 3 | -31/+74 |
| | |||||
* | Fix minor display issues in console app. | Aldo Cortesi | 2011-02-16 | 1 | -7/+9 |
| | |||||
* | Un-break request replay. | Aldo Cortesi | 2011-02-16 | 1 | -0/+1 |
| | |||||
* | Fix a bug in HTTP 1.1 pipelining that caused Requests to be over-written. | Aldo Cortesi | 2011-02-16 | 1 | -1/+2 |
| | | | | | | We use the ClientConnection object to tie requests, responses and errors together. This is an HTTP 1.0 assumption, but we can fix it by just making copies of the connection object when we handle multiple requests. | ||||
* | FlowMaster bugfixes and unit tests. | Aldo Cortesi | 2011-02-16 | 4 | -10/+23 |
| | |||||
* | Extract flow-specific Master operations into FlowMaster. | Aldo Cortesi | 2011-02-16 | 3 | -20/+49 |
| | |||||
* | Switch over to new serialization format. | Aldo Cortesi | 2011-02-16 | 9 | -551/+18 |
| | | | | Remove BSON from contrib. | ||||
* | First draft of the new serialization mechanism. | Aldo Cortesi | 2011-02-16 | 3 | -8/+52 |
| | |||||
* | Import Will McGugan's netstring module. | Aldo Cortesi | 2011-02-16 | 2 | -0/+293 |
| | | | | | | | | Module is in the Public Domain. I expect to modify and extend this module, so I've imported into main library rather than contrib. Code has been reformatted to suite our code standard, tests have been extrated into /tests directory. | ||||
* | Repair unit test to match removal of arg from Response class. | Aldo Cortesi | 2011-02-16 | 1 | -1/+1 |
| | |||||
* | drop unused protocol parameter from Response | Henrik Nordstrom | 2011-02-15 | 4 | -8/+5 |
| | |||||
* | Repair unit test suite. | Aldo Cortesi | 2011-02-11 | 2 | -25/+17 |
| | |||||
* | Bump version | Henrik Nordstrom | 2011-02-10 | 1 | -1/+1 |
| | |||||
* | Implement a dummy CA | Henrik Nordstrom | 2011-02-10 | 7 | -66/+294 |
| | |||||
* | Allow specifying the accepted ciphersuites | Henrik Nordstrom | 2011-02-10 | 5 | -5/+34 |
| |