aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Beef up logging substantially.Aldo Cortesi2012-07-011-15/+48
|
* Handle invalid data more gracefully.Aldo Cortesi2012-06-301-2/+8
| | | | Fixes #47
* Add error when -T is passed on an unsupported platform.Aldo Cortesi2012-06-301-0/+2
|
* Adjust for new get_remote_cert API.Aldo Cortesi2012-06-281-4/+4
|
* Remove certutils from mitmproxy.Aldo Cortesi2012-06-271-2/+2
|
* Fix replay.Aldo Cortesi2012-06-271-1/+1
|
* Use SNI-indicated hostname for cert generation when not using upstream certs.Aldo Cortesi2012-06-271-3/+8
|
* Enable SSL in transparent mode.Aldo Cortesi2012-06-261-7/+19
|
* Add transparent mode platform module for Linux.Aldo Cortesi2012-06-261-5/+14
|
* Transparent proxy command-line flag stub.Aldo Cortesi2012-06-261-1/+15
|
* We no longer store scheme on ServerConnection.Aldo Cortesi2012-06-261-1/+1
|
* Use new TCPClient.convert_to_ssl API.Aldo Cortesi2012-06-251-18/+17
|
* Port to explicit netlib connection API.Aldo Cortesi2012-06-251-1/+5
|
* Factor read_response out into netlib.Aldo Cortesi2012-06-241-30/+14
|
* read_headers now returns an ODictCaseless object.Aldo Cortesi2012-06-241-5/+5
|