aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
Commit message (Collapse)AuthorAgeFilesLines
* 100% unit test coverage on proxy.py. Hallelujah!Aldo Cortesi2013-03-031-5/+2
|
* Unit test proxy option parsing.Aldo Cortesi2013-03-031-11/+11
|
* Move HTTP auth module to netlib.Aldo Cortesi2013-03-031-7/+6
|
* 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
* Unit test dummy response functions.Aldo Cortesi2013-02-231-1/+2
|
* Refactor proxy core communications to be clearer.Aldo Cortesi2013-02-231-20/+26
|
* Significantly refactor the master/slave message passing interface.Aldo Cortesi2013-02-171-22/+21
|
* Unit tests for ServerConnectionPoolAldo Cortesi2013-01-291-0/+1
|
* Stub implementation of a server connection pool.Aldo Cortesi2013-01-291-21/+27
|
* 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
|
* Add tests for client certificate support.Aldo Cortesi2013-01-201-2/+0
|
* Rudimentary testing for client certs.Aldo Cortesi2013-01-181-1/+1
|
* Merge branch 'master' of ssh.github.com:cortesi/mitmproxyAldo Cortesi2013-01-181-5/+8
|\ | | | | | | | | Conflicts: test/test_server.py
| * Merge remote-tracking branch 'upstream/master'Rouli2013-01-171-36/+29
| |\
| * | changing requests and responses to have two timestamps, one marking their ↵Rouli2013-01-171-5/+8
| | | | | | | | | | | | 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-061-6/+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
| |
* | Minor cleanups of proxy request handling.Aldo Cortesi2013-01-041-3/+5
| |
* | Refactor proxy auth a bitAldo Cortesi2013-01-021-11/+6
| | | | | | | | | | | | - 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
* | Better error handling for transparent mode remote address resolution.Aldo Cortesi2013-01-011-1/+4
| |
* | More work on proxy authAldo Cortesi2012-12-311-7/+10
| | | | | | | | | | | | - 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
* | Start solidifying proxy authenticationAldo Cortesi2012-12-311-2/+6
|/ | | | | | - 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-301-28/+51
|
* Stub out ctypes structures for OSX transparent mode.Aldo Cortesi2012-09-171-1/+1
|
* Catch a potential exception on connection finalization.Aldo Cortesi2012-09-141-1/+4
|
* Command-line options for header setting.Aldo Cortesi2012-08-191-0/+5
|
* use argparse instead of optparseMaximilian Hils2012-08-171-7/+6
|
* Adds --dummy-certs option to specify certdirJim Lloyd2012-08-061-6/+18
| | | | | | If --dummy-certs=CERTSDIR is provided, use CERTSDIR as the location for generating/finding the dummy certs. And in this case, preserve the CERTSDIR directory on exit.
* Handle invalid headers.Aldo Cortesi2012-07-301-0/+8
|
* Only log real errors in WSGI apps.Aldo Cortesi2012-07-241-1/+1
|
* Fixed a bug causing an AttributeError when request is set to false but ↵Chris Neasbitt2012-07-171-1/+1
| | | | response not None in ProxyHandler.handle_request
* Fix a subtle termination condition when there's an error in a WSGI app.Aldo Cortesi2012-07-111-2/+8
|
* Make WSGI apps work in transparent mode.Aldo Cortesi2012-07-101-1/+5
|
* Test replay corner cases. Fix discovered bugs.Aldo Cortesi2012-07-091-4/+2
|
* Handle new netlib.tcp.NetLibDisconnect exception.Aldo Cortesi2012-07-081-4/+4
|
* Make upstream-cert the default. There's now a --no-upstream-cert option to ↵Aldo Cortesi2012-07-031-4/+4
| | | | turn it off.
* Fix Python coredump (!!) on SNI IDNA decoding.Aldo Cortesi2012-07-031-1/+3
|
* Correct handing of IDNA encoding of internationalized domain names.Aldo Cortesi2012-07-031-2/+2
| | | | | - Use IDNA encoding for hostnames gleaned by upstream-cert sniffing - Use IDNA decoding for URL display in mitmproxy and mitmdump.
* Make server version configurable.Aldo Cortesi2012-07-031-6/+7
|
* Catch and handle SSL connection errors.Aldo Cortesi2012-07-011-3/+12
|
* Tweak upstream SNI.Aldo Cortesi2012-07-011-1/+1
|