aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* First pass of playback function for mitmdump.Aldo Cortesi2011-02-213-0/+37
|
* Add a simple server playback state object.Aldo Cortesi2011-02-212-1/+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.
* Clean up and strip down netstrings module.Aldo Cortesi2011-02-201-7/+0
|
* 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.
* Revamp SSL configuration.Aldo Cortesi2011-02-202-2/+7
| | | | | | | | - 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-201-11/+33
| | | | | | | | | | | | - 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-201-1/+30
| | | | 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-6/+22
|
* Fix serialization when a Request has no associated client connection.Aldo Cortesi2011-02-191-0/+4
|
* Refactor Flow primitives to remove HTTP1.0 assumption.Aldo Cortesi2011-02-196-113/+68
| | | | | | 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-182-31/+43
| | | | Also stub out docs, improve mitmdump error handling.
* Add filtering to mitmdump.Aldo Cortesi2011-02-171-4/+13
|
* Add file writing to mitmdump.Aldo Cortesi2011-02-172-4/+29
|
* Tweaks and cleanups for mitmdump.Aldo Cortesi2011-02-161-2/+9
|
* Initial port of mitmdump to Flows.Aldo Cortesi2011-02-162-4/+35
|
* 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
|
* Import Will McGugan's netstring module.Aldo Cortesi2011-02-161-0/+63
| | | | | | | | 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.
* Repair unit test to match removal of arg from Response class.Aldo Cortesi2011-02-161-1/+1
|
* drop unused protocol parameter from ResponseHenrik Nordstrom2011-02-153-3/+2
|
* Repair unit test suite.Aldo Cortesi2011-02-111-18/+9
|
* Further fine-tuning for pretty_xmlish.Aldo Cortesi2011-02-061-1/+4
|
* Rip out BeautifulSoup, and use a custom XML-ish prettyprinter.Aldo Cortesi2011-02-061-7/+53
|
* Also serialize ClientConnection and flow backups.Aldo Cortesi2011-02-062-1/+6
|
* Get rid of ReplayConnection - we now have only one ClientConnection class.Aldo Cortesi2011-02-045-18/+16
|
* Change "connection" to the less confusing "client_conn" throughout.Aldo Cortesi2011-02-035-21/+21
|
* Fine-tune completion a bit.Aldo Cortesi2011-02-034-0/+12
|
* Add timestamps to flows.Aldo Cortesi2011-02-033-1/+14
| | | | | For now, these are only displayed on the connection view screen, with second granularity.
* Test suite rejiggering and cleanup.Aldo Cortesi2011-02-035-108/+185
|
* 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-022-1/+3
|
* Add an external script API.Aldo Cortesi2011-01-315-0/+31
| | | | | | | 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-313-126/+134
|
* Restructure to make subclassing Flow unnecessary.Aldo Cortesi2011-01-311-19/+27
|
* UI tweaksAldo Cortesi2011-01-301-1/+0
| | | | | - Make flow view state persistent (request/response, body view mode). - Don't exit flow view mode when viewing help.
* Nicer statusbar messages, with timed expiry.Aldo Cortesi2011-01-281-1/+1
|
* Make pretty-printing more robust.Aldo Cortesi2011-01-281-0/+5
| | | | | | Also, since BeautifulSoup is so damn slow, print a statusbar message saying that we're calculating a pretty version of the response. Maybe I should add hangman or something, becuase on a 200k document this can take ages.
* Basix XML/HTML pretty-printing in flow viewer.Aldo Cortesi2011-01-271-0/+7
|
* Add tab completion for save and load path specs.Aldo Cortesi2011-01-271-1/+31
|
* Add saving and loading of complete flows for later replay and analysis.Aldo Cortesi2011-01-261-1/+14
|
* Add serialization hooks to flows and flow component objects.Aldo Cortesi2011-01-263-0/+51
|
* Abstract flow management out of the interactive code.Aldo Cortesi2011-01-251-17/+22
|
* Initial checkin.Aldo Cortesi2010-02-1611-0/+1125