aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_flow.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Make mitmdump server playback also exit by default.Aldo Cortesi2011-03-061-6/+11
| | | | Like client playback, the --keepserving option makes mitmdump keep serving.
* Make mitmdump exit after client replay is complete by default.Aldo Cortesi2011-03-061-4/+10
| | | | 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-061-14/+22
| | | | Use these in unit tests where sensible.
* Bump unit tests, rearrange mitmdump command-line options slightly.Aldo Cortesi2011-03-061-6/+18
|
* Add client replay options to mitmdump.Aldo Cortesi2011-03-061-5/+2
|
* Reorganize test suite to remove confusion between test utils and libmproxy ↵Aldo Cortesi2011-03-051-56/+56
| | | | utils.
* Massage namespace to make room for client replay.Aldo Cortesi2011-03-051-7/+12
| | | | Mostly replay -> server_replay
* Basic client playback state structure.Aldo Cortesi2011-03-041-4/+26
|
* More mature sticky cookie primitive. Use it in console.py.Aldo Cortesi2011-02-241-8/+48
|
* Start abstracting out sticky cookie state.Aldo Cortesi2011-02-241-0/+12
|
* Add a way for users to specify header significance in server replay.Aldo Cortesi2011-02-231-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.
* Move script hooks into the flow primitives.Aldo Cortesi2011-02-211-8/+8
| | | | This lets handle scripts in corner cases like playback situations more easily.
* Add --kill option to mitmdumpAldo Cortesi2011-02-211-2/+2
| | | | | | 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.
* First pass of playback function for mitmdump.Aldo Cortesi2011-02-211-0/+18
|
* Add a simple server playback state object.Aldo Cortesi2011-02-211-0/+38
| | | | | | | | 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-6/+6
| | | | | | 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.
* Bump unit tests for flow.py and dump.pyAldo Cortesi2011-02-201-0/+8
|
* Bump test coverage to 100% for flow.pyAldo Cortesi2011-02-191-6/+22
|
* Refactor Flow primitives to remove HTTP1.0 assumption.Aldo Cortesi2011-02-191-79/+50
| | | | | | 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/+1
| | | | Also stub out docs, improve mitmdump error handling.
* Add file writing to mitmdump.Aldo Cortesi2011-02-171-3/+3
|
* FlowMaster bugfixes and unit tests.Aldo Cortesi2011-02-161-2/+20
|
* Switch over to new serialization format.Aldo Cortesi2011-02-161-6/+3
| | | | Remove BSON from contrib.
* First draft of the new serialization mechanism.Aldo Cortesi2011-02-161-0/+17
|
* Also serialize ClientConnection and flow backups.Aldo Cortesi2011-02-061-0/+5
|
* Get rid of ReplayConnection - we now have only one ClientConnection class.Aldo Cortesi2011-02-041-7/+5
|
* Change "connection" to the less confusing "client_conn" throughout.Aldo Cortesi2011-02-031-8/+8
|
* Test suite rejiggering and cleanup.Aldo Cortesi2011-02-031-2/+140
|
* Improve script handling.Aldo Cortesi2011-02-021-0/+2
| | | | | | - 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-1/+2
|
* Add an external script API.Aldo Cortesi2011-01-311-0/+16
| | | | | | | 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.
* Factor out flow unit tests into speparate file.Aldo Cortesi2011-01-311-0/+96