aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy
Commit message (Collapse)AuthorAgeFilesLines
...
* Basic client playback state structure.Aldo Cortesi2011-03-041-13/+36
|
* Add an indicator that sticky cookies have been applied in mitmdump.Aldo Cortesi2011-02-253-1/+8
|
* Move stringification funcs from proxy to dump.Aldo Cortesi2011-02-252-15/+17
|
* Add -c and -C options to mitmdump to control sticky cookies.Aldo Cortesi2011-02-251-0/+5
| | | | | | 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-242-11/+3
| | | | 95% test coverage.
* More mature sticky cookie primitive. Use it in console.py.Aldo Cortesi2011-02-243-34/+55
|
* Start abstracting out sticky cookie state.Aldo Cortesi2011-02-242-3/+26
|
* 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-232-4/+19
| | | | | | 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-211-1/+1
|
* Move script hooks into the flow primitives.Aldo Cortesi2011-02-212-23/+44
| | | | This lets handle scripts in corner cases like playback situations more easily.
* Add --kill option to mitmdumpAldo Cortesi2011-02-212-6/+16
| | | | | | 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-213-2/+44
|
* Add a simple server playback state object.Aldo Cortesi2011-02-212-6/+49
| | | | | | | | 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-202-91/+13
|
* Certificates are now generated in a temporary per-session directory.Aldo Cortesi2011-02-202-24/+13
| | | | | | 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-202-73/+79
| | | | | | | | - 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-204-141/+159
| | | | | | | | | | | | - 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.
* Implement state loading that doesn't change object identity.Aldo Cortesi2011-02-202-5/+57
| | | | 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-191-53/+48
|
* Bump test coverage to 100% for flow.pyAldo Cortesi2011-02-191-22/+2
|
* Fix serialization when a Request has no associated client connection.Aldo Cortesi2011-02-191-2/+2
|
* Refactor Flow primitives to remove HTTP1.0 assumption.Aldo Cortesi2011-02-194-79/+71
| | | | | | 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-183-9/+27
| | | | Also stub out docs, improve mitmdump error handling.
* Whitespace in mitmdump output.Aldo Cortesi2011-02-172-6/+6
|
* Refine verbose mitmdump output.Aldo Cortesi2011-02-171-8/+17
|
* Improve mitmdump text output.Aldo Cortesi2011-02-171-14/+21
|
* Whitepsace and extraneous code.Aldo Cortesi2011-02-172-4/+1
|
* Add filtering to mitmdump.Aldo Cortesi2011-02-171-5/+10
|
* Add file writing to mitmdump.Aldo Cortesi2011-02-173-3/+20
|
* Extract common SSL certificate option processingHenrik Nordstrom2011-02-161-1/+17
|
* Extract common SSL certificate options into a group.Aldo Cortesi2011-02-161-0/+29
| | | | Use this only in mitmdump and mitmproxy for now.
* Tweaks and cleanups for mitmdump.Aldo Cortesi2011-02-161-27/+37
|
* Don't leave dangling browser connections for pipelined requests.Aldo Cortesi2011-02-163-2/+8
|
* Initial port of mitmdump to Flows.Aldo Cortesi2011-02-161-27/+39
|
* Fix minor display issues in console app.Aldo Cortesi2011-02-161-7/+9
|
* Un-break request replay.Aldo Cortesi2011-02-161-0/+1
|
* Fix a bug in HTTP 1.1 pipelining that caused Requests to be over-written.Aldo Cortesi2011-02-161-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 Cortesi2011-02-163-8/+3
|
* Extract flow-specific Master operations into FlowMaster.Aldo Cortesi2011-02-163-20/+49
|
* Switch over to new serialization format.Aldo Cortesi2011-02-168-545/+15
| | | | Remove BSON from contrib.
* First draft of the new serialization mechanism.Aldo Cortesi2011-02-162-8/+35
|
* Import Will McGugan's netstring module.Aldo Cortesi2011-02-161-0/+230
| | | | | | | | 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.
* drop unused protocol parameter from ResponseHenrik Nordstrom2011-02-151-5/+3
|
* Repair unit test suite.Aldo Cortesi2011-02-111-7/+8
|
* Bump versionHenrik Nordstrom2011-02-101-1/+1
|
* Implement a dummy CAHenrik Nordstrom2011-02-103-34/+175
|
* Allow specifying the accepted ciphersuitesHenrik Nordstrom2011-02-101-1/+3
|
* Import cache store control into console controllerHenrik Nordstrom2011-02-103-2/+25
|