Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Refine semantics of replay_request method. | Aldo Cortesi | 2012-07-10 | 1 | -2/+3 | |
| | ||||||
* | Unit test request replay thread. | Aldo Cortesi | 2012-07-09 | 1 | -0/+1 | |
| | | | | | | This is a small patch, but is the culmination of lots of work: we can now unit test the deep innards of mitmproxy, with coverage. There's a lot more to come in this vein. | |||||
* | Add streaming to FlowMaster | Aldo Cortesi | 2012-07-09 | 1 | -7/+23 | |
| | ||||||
* | Fix error when serializing reverted SSL flows. | Aldo Cortesi | 2012-07-05 | 1 | -1/+1 | |
| | ||||||
* | Firm up handling of Unicode data | Aldo Cortesi | 2012-07-05 | 1 | -1/+1 | |
| | | | | | - Modify GridEditor to know about the destination encoding of data - Ensure that get_url always returns ASCII | |||||
* | Correct handing of IDNA encoding of internationalized domain names. | Aldo Cortesi | 2012-07-03 | 1 | -1/+1 | |
| | | | | | - Use IDNA encoding for hostnames gleaned by upstream-cert sniffing - Use IDNA decoding for URL display in mitmproxy and mitmdump. | |||||
* | Serialize address as part of ClientConnect objects. | Aldo Cortesi | 2012-07-01 | 1 | -0/+2 | |
| | | | | This is a serialization format change! | |||||
* | Beef up logging substantially. | Aldo Cortesi | 2012-07-01 | 1 | -12/+2 | |
| | ||||||
* | Serialization and de-serialization of new cert format. | Aldo Cortesi | 2012-06-28 | 1 | -12/+5 | |
| | ||||||
* | Adjust for new get_remote_cert API. | Aldo Cortesi | 2012-06-28 | 1 | -0/+1 | |
| | ||||||
* | Remove certutils from mitmproxy. | Aldo Cortesi | 2012-06-27 | 1 | -2/+2 | |
| | ||||||
* | Adapt for API changes in netlib. | Aldo Cortesi | 2012-06-23 | 1 | -2/+2 | |
| | ||||||
* | Extract protocol and tcp server implementations into netlib. | Aldo Cortesi | 2012-06-19 | 1 | -152/+5 | |
| | ||||||
* | Refactor protocol.py to remove dependence on flow and utils. | Aldo Cortesi | 2012-06-17 | 1 | -2/+2 | |
| | ||||||
* | Fix a problem in ODictCaseless that could cause duplicate headers. | Aldo Cortesi | 2012-06-15 | 1 | -1/+4 | |
| | ||||||
* | Fix an exception when replaying a flow with no response. | Aldo Cortesi | 2012-06-10 | 1 | -2/+0 | |
| | ||||||
* | Pass server HTTP version back to clients. | Aldo Cortesi | 2012-06-10 | 1 | -1/+1 | |
| | ||||||
* | Add HTTP version to response objects. | Aldo Cortesi | 2012-06-10 | 1 | -2/+4 | |
| | | | | Another change in the serialization format. | |||||
* | Refactoring of proxy.py | Aldo Cortesi | 2012-06-10 | 1 | -6/+5 | |
| | | | | | - Correctly pass HTTP request version on to upstream servers - Adjust tests not to hang due to a pathod response with no content-length | |||||
* | Add HTTP version to flow.Request | Aldo Cortesi | 2012-06-10 | 1 | -5/+25 | |
| | | | | | This is a serialization format change, that makes us incompatible with previous versions. | |||||
* | Port mitmproxy test suite entirely to nose. | Aldo Cortesi | 2012-06-09 | 1 | -6/+2 | |
| | ||||||
* | Fix a crashing bug when replacing text in a flow with unicode bodies. | Aldo Cortesi | 2012-05-25 | 1 | -6/+6 | |
| | ||||||
* | Refuse to replay a request with missing content. | Aldo Cortesi | 2012-05-16 | 1 | -1/+3 | |
| | ||||||
* | Add the ability to flag content as missing in a request or a response. | Aldo Cortesi | 2012-05-16 | 1 | -4/+27 | |
| | | | | | | | We'll use this in a number of situations. First, we'll soon have response streaming that directly pipes responses to clients. These will be content-less from mitmproxy's perspective. Second, we'll be growing new events that fire after headers are received, but before content is read. | |||||
* | Don't specify Content-Length on empty content. | Aldo Cortesi | 2012-04-25 | 1 | -6/+6 | |
| | | | | | Sometimes, mitmproxy would specify a content-length header value of 0 when content was empty. Some rare servers (like piratebay.org) would barf on this. | |||||
* | Add a WSGI adapter that lets us serve a WSGI app out of mitmproxy. | Aldo Cortesi | 2012-04-24 | 1 | -2/+4 | |
| | | | | | | | | This commit adds: - A WSGI App adapter for mitmproxy - An app registry in the proxy instance that lets us link WSGI apps with (hostname, port) combinations. - Fixes for a number of bugs discovered while creating this feature. | |||||
* | Serialized data version check. | Aldo Cortesi | 2012-04-11 | 1 | -0/+3 | |
| | ||||||
* | Improve revert model | Aldo Cortesi | 2012-04-04 | 1 | -8/+5 | |
| | | | | | | | - Flows are backed up whenever an interactive, non-script change is made. - That backup is canonical and never changed - "V" will always revert to it. This makes more sense than what we had previously.... | |||||
* | Serialize requestcount for ClientConnect objects. | Aldo Cortesi | 2012-04-03 | 1 | -4/+9 | |
| | ||||||
* | Add accessor method for SSLCert object on Response. | Aldo Cortesi | 2012-04-02 | 1 | -6/+13 | |
| | ||||||
* | Expand SSL cert support | Aldo Cortesi | 2012-04-02 | 1 | -1/+5 | |
| | | | | | | - Capture the remote SSL certificate - Expose the remote cert as an attribute on Response - Expand the certutils.SSLCert interface to expose more cert info | |||||
* | Refactor pretty view mechanism. | Aldo Cortesi | 2012-03-24 | 1 | -0/+6 | |
| | | | | Also start adding unit tests for this subsystem. | |||||
* | Add error indications to GridEditor. | Aldo Cortesi | 2012-03-23 | 1 | -0/+4 | |
| | ||||||
* | Generalize GridEditor to N columns. | Aldo Cortesi | 2012-03-18 | 1 | -0/+9 | |
| | | | | Start adding a replacement rule editor. | |||||
* | Hooks -> ReplaceHooks | Aldo Cortesi | 2012-03-17 | 1 | -17/+19 | |
| | | | | | It makes more sense to specialize this, which will let me build a nicer interface for replacement hooks in mitmproxy. | |||||
* | Add a hooks mechanism, based on filter expressions. | Aldo Cortesi | 2012-03-16 | 1 | -1/+46 | |
| | ||||||
* | replace() methods now decode and re-encode contents before substitution. | Aldo Cortesi | 2012-03-16 | 1 | -9/+23 | |
| | ||||||
* | Add a decoded context manager. | Aldo Cortesi | 2012-03-16 | 1 | -0/+28 | |
| | | | | | | | | | This simplifies a common chore when modifying traffic - decoding the object, modifying it, then re-encoding it with the same encoding afterwards. You can now simply say: with flow.decoded(request): request.content = "bar" | |||||
* | Set a "unique" serial number for each generated cert. | Aldo Cortesi | 2012-03-14 | 1 | -2/+2 | |
| | ||||||
* | Adds no-pop option to server-side replay | Valtteri Virtanen | 2012-03-05 | 1 | -5/+10 | |
| | ||||||
* | Unit test++. | Aldo Cortesi | 2012-02-25 | 1 | -5/+2 | |
| | ||||||
* | Fix detection of URL-encoded forms. | Aldo Cortesi | 2012-02-24 | 1 | -2/+16 | |
| | | | | Thanks to Paul Capestany <capestany@gmail.com> for reporting this. | |||||
* | Refactor filter matching. | Aldo Cortesi | 2012-02-23 | 1 | -10/+2 | |
| | ||||||
* | License notifications, minor docs. | Aldo Cortesi | 2012-02-23 | 1 | -1/+16 | |
| | ||||||
* | Documentation and screenshots. | Aldo Cortesi | 2012-02-22 | 1 | -4/+18 | |
| | ||||||
* | Always return an ODict from get_query | Aldo Cortesi | 2012-02-21 | 1 | -5/+5 | |
| | ||||||
* | Create ODictCaseless for headers, use vanilla ODict for everything else. | Aldo Cortesi | 2012-02-20 | 1 | -7/+21 | |
| | ||||||
* | Use ODict for request.get_form_urlencoded and set_form_urlencoded | Aldo Cortesi | 2012-02-20 | 1 | -14/+13 | |
| | ||||||
* | Use ODict for Request.get_query and Request.set_query | Aldo Cortesi | 2012-02-20 | 1 | -2/+5 | |
| | ||||||
* | Rename Headers class to ODict | Aldo Cortesi | 2012-02-20 | 1 | -45/+19 | |
| | | | | | ODict is an ordered dictionary class that will be useful in many other parts of our API. |