aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Extend unit tests for proxy.py to some tricky cases.Aldo Cortesi2013-03-021-24/+22
| | |
* | | Test cert generation errors.Aldo Cortesi2013-03-021-1/+1
| | |
* | | Test SNI for transparent mode.Aldo Cortesi2013-03-021-1/+7
| | |
* | | Test SNI for ordinary proxy connections.Aldo Cortesi2013-03-021-9/+10
| | |
* | | New SNI handling mechanism.Aldo Cortesi2013-03-011-18/+39
| |/ |/|
* | Significantly simplify server connection handling, and test.Aldo Cortesi2013-02-241-31/+35
| |
* | Refactor to prepare for SNI fixes.Aldo Cortesi2013-02-241-50/+49
| |
* | Handle server disconnects better.Aldo Cortesi2013-02-241-10/+29
| | | | | | | | | | | | | | | | Server connections can be closed for legitimate reasons, like timeouts. If we've already pumped data over a server connection, we reconnect on error. If not, we treat it as a legitimate error and pass it on to the client. Fixes #85
* | Test request and response kill functionality.Aldo Cortesi2013-02-231-3/+6
| |
* | Unit test dummy response functions.Aldo Cortesi2013-02-231-1/+2
| |
* | Remove redundant clause in controller.ReplyAldo Cortesi2013-02-231-4/+1
| |
* | Refactor proxy core communications to be clearer.Aldo Cortesi2013-02-233-55/+46
| |
* | Significantly refactor the master/slave message passing interface.Aldo Cortesi2013-02-176-88/+122
| |
* | Unit tests for ServerConnectionPoolAldo Cortesi2013-01-291-0/+1
| |
* | Stub implementation of a server connection pool.Aldo Cortesi2013-01-291-21/+27
|/
* Merge pull request #99 from rouli/masterAldo Cortesi2013-01-281-0/+59
|\ | | | | Adding helper functions to make HAR export easier
| * adding helper functions to make HAR export easierRouli2013-01-281-0/+59
| |
* | Unravel enormously long read_request into three distinct methods.Aldo Cortesi2013-01-281-80/+102
| |
* | Test suite, remove extraneous code.Aldo Cortesi2013-01-281-5/+2
|/
* Force flush of file content in dumpphil plante2013-01-241-0/+1
| | | The dump file would be end up corrupted sometimes when working with mitmdump in a VM.  Adding an explicit flush seems to have resolved the file sync issues.
* Add tests for client certificate support.Aldo Cortesi2013-01-201-2/+0
|
* Merge branch 'master' of ssh.github.com:cortesi/mitmproxyAldo Cortesi2013-01-191-1/+1
|\
| * Fixed a bug in format_flow in common.py. Changed the reference from ↵Chris Neasbitt2013-01-181-1/+1
| | | | | | | | timestamp to timestamp_start.
* | Rudimentary testing for client certs.Aldo Cortesi2013-01-182-1/+1
|/
* Merge branch 'master' of ssh.github.com:cortesi/mitmproxyAldo Cortesi2013-01-182-19/+34
|\ | | | | | | | | Conflicts: test/test_server.py
| * Merge remote-tracking branch 'upstream/master'Rouli2013-01-176-193/+125
| |\
| * | changing requests and responses to have two timestamps, one marking their ↵Rouli2013-01-172-19/+34
| | | | | | | | | | | | initiation, and the other their complete
* | | Unit tests and minor code refactoring for ServerConnection.Aldo Cortesi2013-01-051-6/+6
| |/ |/|
* | Remove cert_wait_time flag.Aldo Cortesi2013-01-062-11/+1
| | | | | | | | | | We now cater for this by generating certs with a commencement date an hour in the past in netlib.
* | Use new netlib certificate store implementation.Aldo Cortesi2013-01-061-14/+5
| |
* | Unit test love - 100% for flow.py, dump.pyAldo Cortesi2013-01-051-4/+2
| |
* | Minor cleanups of proxy request handling.Aldo Cortesi2013-01-041-3/+5
| |
* | Refactor proxy auth a bitAldo Cortesi2013-01-022-36/+14
| | | | | | | | | | | | - Remove authentication scheme option. We only support basic at the moment - we'll add the option back when we diversify. - Add some meta variables to make printout nicer
* | Documentation, setup.py updates, styling.Aldo Cortesi2013-01-021-2/+2
| |
* | Better error handling for transparent mode remote address resolution.Aldo Cortesi2013-01-012-2/+8
| |
* | First draft of OSX transparent proxy mode.Aldo Cortesi2013-01-012-97/+30
| |
* | More work on proxy authAldo Cortesi2012-12-312-12/+26
| | | | | | | | | | | | - Strip auth header if auth succeeds, so it's not passed upstream - Actually use realm specification to BasicProxyAuth, and make it mandatory - Cleanups and unit tests
* | Test and robustify BasicProxyAuth.parse_auth_valueAldo Cortesi2012-12-311-6/+17
| | | | | | | | | | - This is partly in preparation for moving the implementation to netlib - Also add an unparse_auth_value for testing (and use in pathod once the move is done)
* | Start solidifying proxy authenticationAldo Cortesi2012-12-312-19/+28
|/ | | | | | - Add a unit test file - Remove some extraneous methods - Change the auth API to make the authenticate method take a header object.
* adding some simple authetication code to limit proxy accessisrael2012-12-304-38/+99
|
* adding some simple authetication code to limit proxy accessisrael2012-12-302-0/+198
|
* Merge pull request #82 from kanzure/show-filepath-in-statusbarAldo Cortesi2012-12-301-0/+3
|\ | | | | Show current filepath in status bar
| * show current filepath in status barBryan Bishop2012-12-261-0/+3
| | | | | | | | | | Showing the filename is useful when looking at multiple .mitm files simultaneously.
* | fix external viewer using shlexBryan Bishop2012-12-222-10/+18
|/ | | | | | | | | | | | | | This makes spawn_external_viewer not crash when $EDITOR or $PAGER have spaces or multiple arguments. In addition, spawn_external_viewer now chmods the file to read-only to remind users who use only an $EDITOR that this function does not read the file when the user returns. Also, some of the redundant exception case handling for editing has been consolidated. fixes #79
* remove trailing whitespaceBryan Bishop2012-12-091-1/+1
|
* Show an error when $EDITOR/$PAGER are unset.Bryan Bishop2012-12-051-1/+4
| | | | | | This catches an exception that otherwise crashes mitmproxy. fixes cortesi/mitmproxy#71
* Substantially rewrite AMF decoding.Aldo Cortesi2012-11-261-24/+68
| | | | This is tricky, but we should now handle a lot more corner-cases.
* Workaround for PIL's ambiguious import method and/or easy_install PIL ↵Mathieu Mitchell2012-11-231-2/+7
| | | | | | | | | | packaging problem. PIL documents two different way to import it's modules: * import Image (http://www.pythonware.com/library/pil/handbook/introduction.htm) * from PIL import Image (http://www.pythonware.com/library/pil/handbook/image.htm) The same problem was noted in Django at https://code.djangoproject.com/ticket/6054
* Move eventlog to new Urwid container API.Aldo Cortesi2012-11-231-4/+2
|
* Urwid 1.1 compatibility.Aldo Cortesi2012-10-292-4/+4
|