Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a subtle Unicode problem in Response.assemble | Aldo Cortesi | 2011-02-21 | 1 | -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 Cortesi | 2011-02-21 | 1 | -1/+11 |
| | |||||
* | Certificates are now generated in a temporary per-session directory. | Aldo Cortesi | 2011-02-20 | 1 | -23/+12 |
| | | | | | | 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 | 1 | -24/+70 |
| | | | | | | | | - 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 | -4/+4 |
| | | | | | | | | | | | | - 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 Cortesi | 2011-02-20 | 1 | -2/+39 |
| | | | | We need this to let us load state from copied Flows returned from scripts. | ||||
* | Fix serialization when a Request has no associated client connection. | Aldo Cortesi | 2011-02-19 | 1 | -2/+2 |
| | |||||
* | Refactor Flow primitives to remove HTTP1.0 assumption. | Aldo Cortesi | 2011-02-19 | 1 | -16/+27 |
| | | | | | | 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. | ||||
* | Don't leave dangling browser connections for pipelined requests. | Aldo Cortesi | 2011-02-16 | 1 | -1/+2 |
| | |||||
* | Fix a bug in HTTP 1.1 pipelining that caused Requests to be over-written. | Aldo Cortesi | 2011-02-16 | 1 | -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 Cortesi | 2011-02-16 | 1 | -1/+1 |
| | |||||
* | Extract flow-specific Master operations into FlowMaster. | Aldo Cortesi | 2011-02-16 | 1 | -1/+1 |
| | |||||
* | Switch over to new serialization format. | Aldo Cortesi | 2011-02-16 | 1 | -1/+1 |
| | | | | Remove BSON from contrib. | ||||
* | First draft of the new serialization mechanism. | Aldo Cortesi | 2011-02-16 | 1 | -6/+6 |
| | |||||
* | drop unused protocol parameter from Response | Henrik Nordstrom | 2011-02-15 | 1 | -5/+3 |
| | |||||
* | Repair unit test suite. | Aldo Cortesi | 2011-02-11 | 1 | -7/+8 |
| | |||||
* | Implement a dummy CA | Henrik Nordstrom | 2011-02-10 | 1 | -4/+23 |
| | |||||
* | Allow specifying the accepted ciphersuites | Henrik Nordstrom | 2011-02-10 | 1 | -1/+3 |
| | |||||
* | Simple record & playback functionality | Henrik Nordstrom | 2011-02-10 | 1 | -3/+16 |
| | |||||
* | Basic HTTP/1.1 Support | Henrik Nordstrom | 2011-02-10 | 1 | -59/+174 |
| | | | | | | | | | | | | | | | | | | | Adds support for chunked transfer encoding, and a couple other minor protocol corrections. Improve HTTP support - Support intercepted requests with Host header - Support HEAD requests proper - Support any HTTP method including extensions, not just a couple known ones Support expect: 100-continue and 100 Continue messages Persistent client connections Generalize ServerConnection a bit in preparation for keep-alive support Correct HTTP status codes on errors forwarding the request | ||||
* | Optimize CONNECT responses, sent in a single packet | Henrik Nordstrom | 2011-02-10 | 1 | -3/+5 |
| | |||||
* | Move try_del to utils | Henrik Nordstrom | 2011-02-10 | 1 | -15/+8 |
| | |||||
* | Add response creation to edit function on intercepted requests | Henrik Nordstrom | 2011-02-10 | 1 | -4/+10 |
| | |||||
* | Terminate workers when main thread terminates | Henrik Nordstrom | 2011-02-10 | 1 | -0/+1 |
| | |||||
* | Add option to tell mitmproxy which interfaces to bind to. | Aldo Cortesi | 2011-02-06 | 1 | -3/+3 |
| | |||||
* | Also serialize ClientConnection and flow backups. | Aldo Cortesi | 2011-02-06 | 1 | -2/+9 |
| | |||||
* | Get rid of ReplayConnection - we now have only one ClientConnection class. | Aldo Cortesi | 2011-02-04 | 1 | -7/+20 |
| | |||||
* | Change "connection" to the less confusing "client_conn" throughout. | Aldo Cortesi | 2011-02-03 | 1 | -8/+8 |
| | |||||
* | Add timestamps to flows. | Aldo Cortesi | 2011-02-03 | 1 | -6/+15 |
| | | | | | For now, these are only displayed on the connection view screen, with second granularity. | ||||
* | Test suite rejiggering and cleanup. | Aldo Cortesi | 2011-02-03 | 1 | -1/+6 |
| | |||||
* | Fine-tune threading and fix an exception. | Aldo Cortesi | 2011-01-27 | 1 | -12/+18 |
| | |||||
* | Kill deadlock that sometimes occurred on shutdown. | Aldo Cortesi | 2011-01-27 | 1 | -4/+3 |
| | |||||
* | Add serialization hooks to flows and flow component objects. | Aldo Cortesi | 2011-01-26 | 1 | -0/+65 |
| | |||||
* | Fix indentation in previous patch. | Aldo Cortesi | 2010-09-06 | 1 | -8/+8 |
| | |||||
* | Wrap read request, concatenating partial reads until whole request have been ↵ | Henrik Nordström | 2010-09-06 | 1 | -0/+9 |
| | | | | read | ||||
* | Fix hang when a POST is made with a 0 content length. | Aldo Cortesi | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | Initial checkin. | Aldo Cortesi | 2010-02-16 | 1 | -0/+374 |