aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove ability to specify SSL ciphers.Aldo Cortesi2012-06-141-18/+1
| | | | We can re-introduce this if there's demand - the feature needs a bit more thought.
* First draft conversion of server to PyOpenSSL.Aldo Cortesi2012-06-131-11/+22
|
* Localise client connection object manipulation.Aldo Cortesi2012-06-101-15/+36
| | | | This simplifies the call signature for a bunch of functions.
* Refactor request processing at mitmproxy's core.Aldo Cortesi2012-06-101-64/+75
| | | | Gradually cleaning up towards a state machine model.
* Add HTTP version to response objects.Aldo Cortesi2012-06-101-1/+4
| | | | Another change in the serialization format.
* Refactoring of proxy.pyAldo Cortesi2012-06-101-1/+0
| | | | | - 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.RequestAldo Cortesi2012-06-101-3/+3
| | | | | This is a serialization format change, that makes us incompatible with previous versions.
* Consolidate HTTP major and minor versions into a single variable.Aldo Cortesi2012-06-101-21/+24
|
* Add proxy.should_connection_close, and strip out unused code.Aldo Cortesi2012-06-101-33/+17
|
* Refactor ServerConnection API.Aldo Cortesi2012-06-101-22/+20
|
* Ignore incorrectnesses in traffic if they don't affect us.Aldo Cortesi2012-06-091-4/+0
|
* Significant cleanup of proxy internals.Aldo Cortesi2012-06-091-46/+41
| | | | | | Dispense with the loose parsing of client requests that we had before. We now have service modes ("proxy" and "reverse proxy" for now), and we only accept requests that are appropriate for the mode we're in.
* Move from requests to human_curl.Aldo Cortesi2012-06-091-0/+1
| | | | | It turns out that _none_ of the Python stdlib or anything that relies on it supports CONNECT through a proxy. Beggars belief, but there you go.
* Nose mopup: docs, no cover pragmas, a few missing path specs.Aldo Cortesi2012-06-091-1/+0
|
* Split parsing of intial line into separate protocols.Aldo Cortesi2012-06-031-0/+56
|
* Factor out conversion to SSL connection.Aldo Cortesi2012-06-031-12/+16
|