Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Store timestamps on flow components as a UTC time tuple. | Aldo Cortesi | 2011-03-07 | 3 | -7/+15 |
| | | | | | | Format is: (tm_year,tm_mon,tm_mday,tm_hour,tm_min, tm_sec,tm_wday,tm_yday,tm_isdst) | ||||
* | Add bind address option to mitmdump. | Aldo Cortesi | 2011-03-06 | 1 | -40/+72 |
| | |||||
* | Make mitmdump server playback also exit by default. | Aldo Cortesi | 2011-03-06 | 3 | -11/+22 |
| | | | | Like client playback, the --keepserving option makes mitmdump keep serving. | ||||
* | Make mitmdump exit after client replay is complete by default. | Aldo Cortesi | 2011-03-06 | 5 | -18/+41 |
| | | | | Add an option --keepserving to make it keep serving after replay. | ||||
* | Add flow_count and active_flow_count methods to flow.State. | Aldo Cortesi | 2011-03-06 | 2 | -23/+41 |
| | | | | Use these in unit tests where sensible. | ||||
* | Bump unit tests, rearrange mitmdump command-line options slightly. | Aldo Cortesi | 2011-03-06 | 4 | -12/+29 |
| | |||||
* | Allow client replays to be replayed against server replays. | Aldo Cortesi | 2011-03-06 | 1 | -1/+3 |
| | | | | Useful for testing. | ||||
* | Add client replay options to mitmdump. | Aldo Cortesi | 2011-03-06 | 8 | -101/+115 |
| | |||||
* | Reorganize test suite to remove confusion between test utils and libmproxy ↵ | Aldo Cortesi | 2011-03-05 | 6 | -187/+191 |
| | | | | utils. | ||||
* | Massage namespace to make room for client replay. | Aldo Cortesi | 2011-03-05 | 5 | -24/+45 |
| | | | | Mostly replay -> server_replay | ||||
* | Basic client playback state structure. | Aldo Cortesi | 2011-03-04 | 2 | -17/+62 |
| | |||||
* | Minor command-line argument fixes. | Aldo Cortesi | 2011-02-25 | 2 | -13/+2 |
| | |||||
* | Add an indicator that sticky cookies have been applied in mitmdump. | Aldo Cortesi | 2011-02-25 | 4 | -1/+12 |
| | |||||
* | Move stringification funcs from proxy to dump. | Aldo Cortesi | 2011-02-25 | 4 | -17/+27 |
| | |||||
* | Add -c and -C options to mitmdump to control sticky cookies. | Aldo Cortesi | 2011-02-25 | 3 | -4/+24 |
| | | | | | | It's dumb that this needs to be two different options, but optparse doesn't support optional arguments. It would be much nicer to just have "-c" for "all", and "-c filter" for a specified filter. | ||||
* | Minor housekeeping - unused code, nocover directives. | Aldo Cortesi | 2011-02-24 | 4 | -27/+3 |
| | | | | 95% test coverage. | ||||
* | 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 |
| |