Go to file
Denis Kasak 856a35af6d
Use original flow host instead of IP when exporting to curl/httpie. (#4307)
Use original flow host instead of IP when exporting to curl/httpie.

Unless this is done, the SNI server name will not be sent, often making
the curl/httpie command have different behaviour than the original
request (most often in the form of failing to establish a TLS
connection).

With this change, we always use the original host, fixing this failure.
However, if the original host is a domain, it may sometimes resolve to
a different IP address later on. In curl, we solve this problem by
forcing it to connect to the original IP using `--resolve`. For httpie
there is currently no easy solution (see:
https://github.com/httpie/httpie/issues/414).
2021-02-09 18:44:46 +00:00
.github github issues: add support button 2020-12-13 18:50:56 +01:00
docs fix --certs argument (#4412) 2021-01-24 22:12:16 +01:00
examples move Headers/Message/Request/Response into mitmproxy.http 2021-02-05 08:43:15 +01:00
mitmproxy Use original flow host instead of IP when exporting to curl/httpie. (#4307) 2021-02-09 18:44:46 +00:00
release remove ci credential check 2021-01-05 22:00:54 +01:00
test Use original flow host instead of IP when exporting to curl/httpie. (#4307) 2021-02-09 18:44:46 +00:00
web Web UI shows blank for details tab when server address is blank (#4248) 2020-12-06 13:56:53 +01:00
.gitattributes test dumpfiles: .bin -> .mitm 2021-02-03 19:27:15 +01:00
.gitignore minor sans-io adjustments 2020-04-05 00:51:36 +02:00
CHANGELOG.md Use original flow host instead of IP when exporting to curl/httpie. (#4307) 2021-02-09 18:44:46 +00:00
codecov.yml add Python 3.9 to CI 2020-08-27 15:04:34 +02:00
CONTRIBUTING.md Imporove document, pip install -e .[dev] error in mac zsh 2021-02-05 11:11:23 +08:00
LICENSE GPLv3 -> MIT 2013-03-18 08:37:42 +13:00
MANIFEST.in remove pathod and pathoc 2020-12-13 20:21:11 +01:00
README.md add link for installation from source 2021-01-04 07:09:35 +01:00
setup.cfg adjust tests, increase coverage 2021-02-05 08:44:17 +01:00
setup.py [requires.io] dependency update on master branch (#4431) 2021-02-08 16:46:57 +00:00
tox.ini update mypy 2021-02-03 23:03:49 +01:00

mitmproxy

Continuous Integration Status Coverage Status Latest Version Supported Python versions

mitmproxy is an interactive, SSL/TLS-capable intercepting proxy with a console interface for HTTP/1, HTTP/2, and WebSockets.

mitmdump is the command-line version of mitmproxy. Think tcpdump for HTTP.

mitmweb is a web-based interface for mitmproxy.

Installation

The installation instructions are here. If you want to install from source, see CONTRIBUTING.md.

Documentation & Help

General information, tutorials, and precompiled binaries can be found on the mitmproxy website.

mitmproxy.org

The documentation for mitmproxy is available on our website:

mitmproxy documentation stable mitmproxy documentation master

If you have questions on how to use mitmproxy, please ask them on StackOverflow!

StackOverflow: mitmproxy

Contributing

As an open source project, mitmproxy welcomes contributions of all forms.

Dev Guide

Also, please feel free to join our developer Slack!

Slack Developer Chat