aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* read_http_body -> read_http_body_request/responseAldo Cortesi2012-06-231-9/+3
|
* Adapt for API changes in netlib.Aldo Cortesi2012-06-231-21/+21
|
* Move wsgi to netlib.Aldo Cortesi2012-06-191-3/+21
|
* Extract protocol and tcp server implementations into netlib.Aldo Cortesi2012-06-191-14/+15
|
* Refactor protocol.py to remove dependence on flow and utils.Aldo Cortesi2012-06-171-7/+7
|
* Pull out protocol components into protocol.pyAldo Cortesi2012-06-161-206/+21
|
* Test suite and refactoring for netlib.Aldo Cortesi2012-06-161-2/+2
|
* Simplify netlib and improve API.Aldo Cortesi2012-06-161-8/+1
|
* Rename our tcpserver to netlib, expand to include client network functions.Aldo Cortesi2012-06-161-92/+28
|
* Create our own TCP server class.Aldo Cortesi2012-06-161-26/+11
| | | | | We're going to need more control for advanced features and speed, and we can also ditch some of the idiocies in the SocketServer module.
* Basic transparent mode.Aldo Cortesi2012-06-151-6/+17
|
* Refactor test suite to make room for transparent mode tests.Aldo Cortesi2012-06-151-3/+7
|
* Move server comms to OpenSSL.Aldo Cortesi2012-06-141-4/+9
|