Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More mature sticky cookie primitive. Use it in console.py. | Aldo Cortesi | 2011-02-24 | 1 | -8/+48 |
| | |||||
* | Start abstracting out sticky cookie state. | Aldo Cortesi | 2011-02-24 | 1 | -0/+12 |
| | |||||
* | Add a way for users to specify header significance in server replay. | Aldo Cortesi | 2011-02-23 | 1 | -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 Cortesi | 2011-02-21 | 1 | -8/+8 |
| | | | | This lets handle scripts in corner cases like playback situations more easily. | ||||
* | Add --kill option to mitmdump | Aldo Cortesi | 2011-02-21 | 3 | -5/+20 |
| | | | | | | 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 Cortesi | 2011-02-21 | 3 | -0/+37 |
| | |||||
* | Add a simple server playback state object. | Aldo Cortesi | 2011-02-21 | 2 | -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 Cortesi | 2011-02-20 | 1 | -7/+0 |
| | |||||
* | Certificates are now generated in a temporary per-session directory. | Aldo Cortesi | 2011-02-20 | 1 | -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 Cortesi | 2011-02-20 | 2 | -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 Cortesi | 2011-02-20 | 1 | -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.py | Aldo Cortesi | 2011-02-20 | 3 | -12/+26 |
| | |||||
* | Implement state loading that doesn't change object identity. | Aldo Cortesi | 2011-02-20 | 1 | -1/+30 |
| | | | | We need this to let us load state from copied Flows returned from scripts. | ||||
* | Bump test coverage to 100% for flow.py | Aldo Cortesi | 2011-02-19 | 1 | -6/+22 |
| | |||||
* | Fix serialization when a Request has no associated client connection. | Aldo Cortesi | 2011-02-19 | 1 | -0/+4 |
| | |||||
* | Refactor Flow primitives to remove HTTP1.0 assumption. | Aldo Cortesi | 2011-02-19 | 6 | -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 Cortesi | 2011-02-18 | 2 | -31/+43 |
| | | | | Also stub out docs, improve mitmdump error handling. | ||||
* | Add filtering to mitmdump. | Aldo Cortesi | 2011-02-17 | 1 | -4/+13 |
| | |||||
* | Add file writing to mitmdump. | Aldo Cortesi | 2011-02-17 | 2 | -4/+29 |
| | |||||
* | Tweaks and cleanups for mitmdump. | Aldo Cortesi | 2011-02-16 | 1 | -2/+9 |
| | |||||
* | Initial port of mitmdump to Flows. | Aldo Cortesi | 2011-02-16 | 2 | -4/+35 |
| | |||||
* | FlowMaster bugfixes and unit tests. | Aldo Cortesi | 2011-02-16 | 1 | -2/+20 |
| | |||||
* | Switch over to new serialization format. | Aldo Cortesi | 2011-02-16 | 1 | -6/+3 |
| | | | | Remove BSON from contrib. | ||||
* | First draft of the new serialization mechanism. | Aldo Cortesi | 2011-02-16 | 1 | -0/+17 |
| | |||||
* | Import Will McGugan's netstring module. | Aldo Cortesi | 2011-02-16 | 1 | -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 Cortesi | 2011-02-16 | 1 | -1/+1 |
| | |||||
* | drop unused protocol parameter from Response | Henrik Nordstrom | 2011-02-15 | 3 | -3/+2 |
| | |||||
* | Repair unit test suite. | Aldo Cortesi | 2011-02-11 | 1 | -18/+9 |
| | |||||
* | Further fine-tuning for pretty_xmlish. | Aldo Cortesi | 2011-02-06 | 1 | -1/+4 |
| | |||||
* | Rip out BeautifulSoup, and use a custom XML-ish prettyprinter. | Aldo Cortesi | 2011-02-06 | 1 | -7/+53 |
| | |||||
* | Also serialize ClientConnection and flow backups. | Aldo Cortesi | 2011-02-06 | 2 | -1/+6 |
| | |||||
* | Get rid of ReplayConnection - we now have only one ClientConnection class. | Aldo Cortesi | 2011-02-04 | 5 | -18/+16 |
| | |||||
* | Change "connection" to the less confusing "client_conn" throughout. | Aldo Cortesi | 2011-02-03 | 5 | -21/+21 |
| | |||||
* | Fine-tune completion a bit. | Aldo Cortesi | 2011-02-03 | 4 | -0/+12 |
| | |||||
* | Add timestamps to flows. | Aldo Cortesi | 2011-02-03 | 3 | -1/+14 |
| | | | | | For now, these are only displayed on the connection view screen, with second granularity. | ||||
* | Test suite rejiggering and cleanup. | Aldo Cortesi | 2011-02-03 | 5 | -108/+185 |
| | |||||
* | Improve script handling. | Aldo Cortesi | 2011-02-02 | 1 | -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 Cortesi | 2011-02-02 | 2 | -1/+3 |
| | |||||
* | Add an external script API. | Aldo Cortesi | 2011-01-31 | 5 | -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 Cortesi | 2011-01-31 | 3 | -126/+134 |
| | |||||
* | Restructure to make subclassing Flow unnecessary. | Aldo Cortesi | 2011-01-31 | 1 | -19/+27 |
| | |||||
* | UI tweaks | Aldo Cortesi | 2011-01-30 | 1 | -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 Cortesi | 2011-01-28 | 1 | -1/+1 |
| | |||||
* | Make pretty-printing more robust. | Aldo Cortesi | 2011-01-28 | 1 | -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 Cortesi | 2011-01-27 | 1 | -0/+7 |
| | |||||
* | Add tab completion for save and load path specs. | Aldo Cortesi | 2011-01-27 | 1 | -1/+31 |
| | |||||
* | Add saving and loading of complete flows for later replay and analysis. | Aldo Cortesi | 2011-01-26 | 1 | -1/+14 |
| | |||||
* | Add serialization hooks to flows and flow component objects. | Aldo Cortesi | 2011-01-26 | 3 | -0/+51 |
| | |||||
* | Abstract flow management out of the interactive code. | Aldo Cortesi | 2011-01-25 | 1 | -17/+22 |
| | |||||
* | Initial checkin. | Aldo Cortesi | 2010-02-16 | 11 | -0/+1125 |