aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/flow.py
Commit message (Collapse)AuthorAgeFilesLines
* First pass of playback function for mitmdump.Aldo Cortesi2011-02-211-0/+21
|
* Add a simple server playback state object.Aldo Cortesi2011-02-211-4/+47
| | | | | | | | 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.
* Certificates are now generated in a temporary per-session directory.Aldo Cortesi2011-02-201-1/+1
| | | | | | 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.
* Implement state loading that doesn't change object identity.Aldo Cortesi2011-02-201-3/+18
| | | | We need this to let us load state from copied Flows returned from scripts.
* Bump test coverage to 100% for flow.pyAldo Cortesi2011-02-191-22/+2
|
* Refactor Flow primitives to remove HTTP1.0 assumption.Aldo Cortesi2011-02-191-40/+33
| | | | | | 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-181-1/+2
| | | | Also stub out docs, improve mitmdump error handling.
* Don't leave dangling browser connections for pipelined requests.Aldo Cortesi2011-02-161-1/+2
|
* Un-break request replay.Aldo Cortesi2011-02-161-0/+1
|
* FlowMaster bugfixes and unit tests.Aldo Cortesi2011-02-161-6/+1
|
* Extract flow-specific Master operations into FlowMaster.Aldo Cortesi2011-02-161-0/+36
|
* Switch over to new serialization format.Aldo Cortesi2011-02-161-23/+5
| | | | Remove BSON from contrib.
* First draft of the new serialization mechanism.Aldo Cortesi2011-02-161-2/+29
|
* Merge remote branch 'hno/master'Aldo Cortesi2011-02-061-4/+2
|\
| * Fix kill() again, got broken by the change to use NoneHenrik Nordstrom2011-02-031-4/+2
| |
* | Also serialize ClientConnection and flow backups.Aldo Cortesi2011-02-061-13/+13
|/
* Get rid of ReplayConnection - we now have only one ClientConnection class.Aldo Cortesi2011-02-041-21/+7
|
* Change "connection" to the less confusing "client_conn" throughout.Aldo Cortesi2011-02-031-27/+27
|
* Fix tracking of edited state.Aldo Cortesi2011-02-031-2/+0
|
* Test suite rejiggering and cleanup.Aldo Cortesi2011-02-031-1/+1
|
* Improve script handling.Aldo Cortesi2011-02-021-4/+27
| | | | | | - Display output in external viewer when script exits with error. - Add a "changed" indicator to show if a request can be reverted.
* View script debug output (stderr) in pager.Aldo Cortesi2011-02-021-4/+10
|
* Add an external script API.Aldo Cortesi2011-01-311-8/+42
| | | | | | | External scripts can read a flow, modify it, and then return it to mitmproxy using a simple API. The "|" keyboard shortcut within mitmproxy prompts the user for a script.
* Restructure to make subclassing Flow unnecessary.Aldo Cortesi2011-01-311-2/+8
|
* Refine flow saving shortcuts.Aldo Cortesi2011-01-271-0/+6
| | | | | | "S" to save all flows. "s" to save just the current flow.
* Fine-tune threading and fix an exception.Aldo Cortesi2011-01-271-0/+2
|
* Kill deadlock that sometimes occurred on shutdown.Aldo Cortesi2011-01-271-8/+7
|
* Switch to BSON for data serialization.Aldo Cortesi2011-01-271-5/+7
|
* Fix UI sync bugs introduced by flow serialization.Aldo Cortesi2011-01-261-1/+2
|
* Add saving and loading of complete flows for later replay and analysis.Aldo Cortesi2011-01-261-7/+22
|
* Add serialization hooks to flows and flow component objects.Aldo Cortesi2011-01-261-0/+21
|
* Abstract flow management out of the interactive code.Aldo Cortesi2011-01-251-0/+207