Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | addons.proxyauth: out with the old, in with the new | Aldo Cortesi | 2016-11-13 | 12 | -453/+63 |
| | | | | | - Strip out old auth mechanisms, and enable addon - Disable web app auth for now - this should just use the Tornado auth stuff | ||||
* | addons.proxyauth: complete and test | Aldo Cortesi | 2016-11-13 | 2 | -16/+205 |
| | |||||
* | stub out proxyauth addon | Aldo Cortesi | 2016-11-13 | 2 | -0/+121 |
| | | | | Stub out basic workings, add and test configure event. | ||||
* | upstream_proxy_auth -> upstream_auth | Aldo Cortesi | 2016-11-13 | 4 | -8/+8 |
| | | | | Also clarify what this does in commandline help. | ||||
* | Complete upstream authentication module | Aldo Cortesi | 2016-11-13 | 5 | -11/+62 |
| | | | | | | | - Handles upstream CONNECT and regular requests, plus HTTP Basic for reverse proxy - Add some tests to make sure we can rely on the .via attribute on server connections. | ||||
* | Refine handling of HTTP CONNECT | Aldo Cortesi | 2016-11-12 | 4 | -100/+124 |
| | | | | | | | - CONNECT requests do not generate the usual http events. Instead, they generate the http_connect event and handlers then have the option of setting an error response to abort the connect. - The connect handler is called for both upstream proxy and regular proxy CONNECTs. | ||||
* | Add the http_connect event for HTTP CONNECT requests | Aldo Cortesi | 2016-11-12 | 4 | -20/+44 |
| | |||||
* | Upstream proxy auth to addon | Aldo Cortesi | 2016-11-12 | 7 | -44/+86 |
| | |||||
* | Add HTTPFlow.mode to record the HTTP proxy layer mode | Aldo Cortesi | 2016-11-12 | 3 | -4/+13 |
| | |||||
* | Use an enum for http protocol modes | Aldo Cortesi | 2016-11-12 | 2 | -21/+23 |
| | |||||
* | Remove promotion to raw TCP based on heuristics | Aldo Cortesi | 2016-11-12 | 2 | -11/+2 |
| | | | | This seems terribly dangerous to me. Let's expand explicit control instead. | ||||
* | Test failure during 100-continue | Aldo Cortesi | 2016-11-12 | 3 | -26/+40 |
| | | | | | | | | | Also: - Remove duplicate and unused code - Tighten scope of HttpReadDisconnect handler - we only want to ignore this for the initial read, not for the entire block that includes things like the expect handling. | ||||
* | Bug: ask requestheaders before request body is read | Aldo Cortesi | 2016-11-12 | 2 | -2/+51 |
| | | | | Also add the beginnings of a test suite to exercise issues like this. | ||||
* | proxy.protocol.http: cleanups, extract request validation | Aldo Cortesi | 2016-11-12 | 1 | -28/+35 |
| | |||||
* | Remove unused protocol attribute on connections. | Aldo Cortesi | 2016-11-12 | 1 | -2/+0 |
| | |||||
* | proxy.protocol.http: flatten for refactoring | Aldo Cortesi | 2016-11-12 | 1 | -189/+150 |
| | | | | Flatten all of _process_flow, so we can see what's going on in there. | ||||
* | Merge pull request #1723 from Kriechi/http2-conns | Maximilian Hils | 2016-11-09 | 1 | -47/+48 |
|\ | | | | | http2: move h2 connection object | ||||
| * | http2: move h2 connection object | Thomas Kriechbaumer | 2016-11-05 | 1 | -47/+48 |
| | | |||||
* | | Merge pull request #1725 from mhils/mitmweb | Maximilian Hils | 2016-11-09 | 30 | -62130/+1079 |
|\ \ | | | | | | | Mitmweb Improvements | ||||
| * | | mitmweb: minor fixes | Maximilian Hils | 2016-11-09 | 5 | -7/+37 |
| | | | |||||
| * | | web: update static assets | Maximilian Hils | 2016-11-09 | 3 | -61000/+495 |
| | | | |||||
| * | | web: fix header update | Maximilian Hils | 2016-11-09 | 1 | -26/+27 |
| | | | |||||
| * | | web: simplify flow storage | Maximilian Hils | 2016-11-08 | 17 | -573/+363 |
| | | | |||||
| * | | clean up mitmweb | Maximilian Hils | 2016-11-08 | 21 | -3059/+2692 |
| | | | |||||
| * | | fix mitmweb | Maximilian Hils | 2016-11-08 | 2 | -3/+3 |
| |/ | |||||
* | | Merge pull request #1724 from phackt/master | Maximilian Hils | 2016-11-09 | 1 | -0/+5 |
|\ \ | |/ |/| | fix SNI for transparent mode - #1638 | ||||
| * | explain host=pretty_host assignment | Maximilian Hils | 2016-11-09 | 1 | -0/+4 |
| | | |||||
| * | fix SNI for transparent mode - #1638 | phackt | 2016-11-08 | 1 | -0/+1 |
|/ | | | | | | In transparent mode host is set with the target server ip. Attribute flow.request.host is used as SNI while mitmproxy is initiating TLS handshake, so it should be set with the pretty_host. | ||||
* | http2: add push-promise metadata test | Thomas Kriechbaumer | 2016-11-05 | 1 | -0/+6 |
| | |||||
* | Merge pull request #1716 from cortesi/deprecated2 | Aldo Cortesi | 2016-11-04 | 1 | -11/+0 |
|\ | | | | | Remove sticky[auth,cookie] from http objects | ||||
| * | Remove sticky[auth,cookie] from http objects | Aldo Cortesi | 2016-11-04 | 1 | -11/+0 |
| | | | | | | | | | | - they're unused - if we want them, they should be set by the addon in the new metadata store | ||||
* | | Merge pull request #1715 from cortesi/deprecated | Aldo Cortesi | 2016-11-04 | 6 | -42/+10 |
|\| | | | | | Remove deprecated interfaces | ||||
| * | Remove deprecated interfaces | Aldo Cortesi | 2016-11-04 | 6 | -42/+10 |
| | | |||||
* | | Merge pull request #1714 from cortesi/justno2 | Aldo Cortesi | 2016-11-04 | 14 | -45/+45 |
|\| | | | | | Test and interface improvements | ||||
| * | Let's not over-ride __bool__ on connection objects | Aldo Cortesi | 2016-11-04 | 12 | -21/+21 |
| | | | | | | | | | | If I had a thousand years and every thesaurus in the world, I still couldn't adequately express how much I dislike this piece of interface design. | ||||
| * | script.concurrent: tests to taddons | Aldo Cortesi | 2016-11-04 | 2 | -24/+24 |
|/ | |||||
* | Merge pull request #1711 from navinpai/1541 | Aldo Cortesi | 2016-11-04 | 1 | -1/+3 |
|\ | | | | | Allow pathoc to pause forever at end of message | ||||
| * | Allow forever wait at end of message #1541 | Naveen Pai | 2016-11-04 | 1 | -1/+3 |
| | | |||||
* | | Merge pull request #1712 from navinpai/docs | Aldo Cortesi | 2016-11-04 | 1 | -1/+4 |
|\ \ | |/ |/| | [MINOR] fix link in documentation | ||||
| * | [MINOR] fix link in documentation | Naveen Pai | 2016-11-04 | 1 | -1/+4 |
|/ | |||||
* | Merge pull request #1709 from cortesi/taddons4 | Aldo Cortesi | 2016-11-04 | 9 | -178/+214 |
|\ | | | | | addons.view: test suite to 100% | ||||
| * | addons: convert last of the test suite to taddons | Aldo Cortesi | 2016-11-04 | 5 | -94/+92 |
| | | |||||
| * | addons.setheaders: fix configure bug, tests to taddons | Aldo Cortesi | 2016-11-04 | 2 | -56/+54 |
| | | |||||
| * | addons.view: test suite to 100% | Aldo Cortesi | 2016-11-04 | 2 | -28/+68 |
|/ | | | | This takes coverage for all of /addons to 100% | ||||
* | Merge pull request #1708 from cortesi/taddons3 | Aldo Cortesi | 2016-11-04 | 5 | -18/+67 |
|\ | | | | | Test suite improvements | ||||
| * | addons.view: test improvements | Aldo Cortesi | 2016-11-03 | 2 | -2/+52 |
| | | |||||
| * | README.rst: recommend "tox -e lint" over using flake8 directly | Aldo Cortesi | 2016-11-03 | 1 | -2/+3 |
| | | |||||
| * | addons.streambodies: 100% test coverage | Aldo Cortesi | 2016-11-03 | 2 | -14/+12 |
| | | |||||
* | | Merge pull request #1707 from cortesi/taddons2 | Aldo Cortesi | 2016-11-03 | 4 | -336/+434 |
|\| | | | | | Addon test suite improvements | ||||
| * | addons.serverplayback: 100% test coverage | Aldo Cortesi | 2016-11-03 | 2 | -271/+318 |
| | |