aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make mitmproxy handle invalid flow data gracefully.Aldo Cortesi2011-03-121-2/+7
|
* Handle invalid bind address specifications gracefully.Aldo Cortesi2011-03-125-5/+22
|
* Make mitmdump handle invalid serialized data gracefully.Aldo Cortesi2011-03-113-5/+21
|
* Display Errors and killed connections in mitmdump.Aldo Cortesi2011-03-114-45/+60
|
* Add --norefresh to stop refreshing server playback to mitmdump.Aldo Cortesi2011-03-116-4/+55
| | | | Also, make cookie parsing for refreshing more error-tolerant.
* Stub out refresh for server-side replay.Aldo Cortesi2011-03-092-2/+45
|
* Add an --anticache option to mitmdump.Aldo Cortesi2011-03-096-6/+39
| | | | | | | This removes all headers that might cause a server to return 304-not-modified. For now, all the new features are going into mitmdump - everything will be ported over to mitmproxy once I have the feature set locked down.
* Move version constants to version.py, add version to serialized flows.Aldo Cortesi2011-03-095-6/+6
| | | | | For now, we don't do anything with the serialized version info, but this should give us some future-proofing for serialization format changes.
* Think harder about timestamps. Just save seconds since the epoch as a float.Aldo Cortesi2011-03-091-4/+5
|
* Store timestamps on flow components as a UTC time tuple.Aldo Cortesi2011-03-073-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 Cortesi2011-03-061-40/+72
|
* Make mitmdump server playback also exit by default.Aldo Cortesi2011-03-063-11/+22
| | | | Like client playback, the --keepserving option makes mitmdump keep serving.
* Make mitmdump exit after client replay is complete by default.Aldo Cortesi2011-03-065-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 Cortesi2011-03-062-23/+41
| | | | Use these in unit tests where sensible.
* Bump unit tests, rearrange mitmdump command-line options slightly.Aldo Cortesi2011-03-064-12/+29
|
* Allow client replays to be replayed against server replays.Aldo Cortesi2011-03-061-1/+3
| | | | Useful for testing.
* Add client replay options to mitmdump.Aldo Cortesi2011-03-068-101/+115
|
* Reorganize test suite to remove confusion between test utils and libmproxy ↵Aldo Cortesi2011-03-056-187/+191
| | | | utils.
* Massage namespace to make room for client replay.Aldo Cortesi2011-03-055-24/+45
| | | | Mostly replay -> server_replay
* Basic client playback state structure.Aldo Cortesi2011-03-042-17/+62
|
* Minor command-line argument fixes.Aldo Cortesi2011-02-252-13/+2
|
* Add an indicator that sticky cookies have been applied in mitmdump.Aldo Cortesi2011-02-254-1/+12
|
* Move stringification funcs from proxy to dump.Aldo Cortesi2011-02-254-17/+27
|
* Add -c and -C options to mitmdump to control sticky cookies.Aldo Cortesi2011-02-253-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 Cortesi2011-02-244-27/+3
| | | | 95% test coverage.
* More mature sticky cookie primitive. Use it in console.py.Aldo Cortesi2011-02-244-42/+103
|
* Start abstracting out sticky cookie state.Aldo Cortesi2011-02-243-3/+38
|
* Remove first iteration playback/record.Aldo Cortesi2011-02-234-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 Cortesi2011-02-234-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 Cortesi2011-02-212-11/+2
|
* Make README reflect reality.Aldo Cortesi2011-02-211-10/+7
|
* Fix setup.pyAldo Cortesi2011-02-211-2/+2
|
* Remove Henrik's mitmplayback and mitmrecord.Aldo Cortesi2011-02-212-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 Cortesi2011-02-213-31/+52
| | | | This lets handle scripts in corner cases like playback situations more easily.
* Add --kill option to mitmdumpAldo Cortesi2011-02-216-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.assembleAldo Cortesi2011-02-211-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 Cortesi2011-02-217-2/+85
|
* Add a simple server playback state object.Aldo Cortesi2011-02-214-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 Cortesi2011-02-203-98/+13
|
* Certificates are now generated in a temporary per-session directory.Aldo Cortesi2011-02-207-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 Cortesi2011-02-208-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 Cortesi2011-02-209-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.pyAldo Cortesi2011-02-203-12/+26
|
* Implement state loading that doesn't change object identity.Aldo Cortesi2011-02-203-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 Cortesi2011-02-1914-111/+169
|
* Bump test coverage to 100% for flow.pyAldo Cortesi2011-02-192-28/+24
|
* Fix serialization when a Request has no associated client connection.Aldo Cortesi2011-02-192-2/+6
|
* Refactor Flow primitives to remove HTTP1.0 assumption.Aldo Cortesi2011-02-1910-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 Cortesi2011-02-1813-54/+127
| | | | Also stub out docs, improve mitmdump error handling.
* Whitespace in mitmdump output.Aldo Cortesi2011-02-172-6/+6
|