aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/net
Commit message (Collapse)AuthorAgeFilesLines
* HTTP2 response reason is None, render as '' in property.Brad Dixon2020-06-081-2/+6
| | | | | Fixes an error triggered when displaying an HTTP2 response loaded from a file.
* include full client certificate chainMaximilian Hils2020-04-161-1/+1
| | | Testing this requires quite a bit of effort, so it makes sense to not waste any effort here and only do it for the sans-io implementation.
* minor improvements, tests++Maximilian Hils2020-04-091-1/+2
|
* Merge pull request #3893 from matosconsulting/mitmenhancedhostcheckMaximilian Hils2020-04-061-1/+2
|\ | | | | #3885 handle hyphens in domain name, enhance validation checks
| * #3885 implement simpler regex for host validationMarcus R. Matos2020-04-051-24/+5
| |
| * #3885 handle hyphens in domain name, enhance validation checks, linter updatesMarcus R. Matos2020-04-031-1/+3
| |
| * #3885 handle hyphens in domain name, enhance validation checksMarcus R. Matos2020-04-031-4/+22
| |
* | minor sans-io adjustmentsMaximilian Hils2020-04-051-2/+2
| |
* | don't force host header on outgoing requestsMaximilian Hils2020-04-041-10/+1
| |
* | sync sans-io adjustmentsMaximilian Hils2020-04-041-14/+16
|/
* Merge pull request #3692 from mhils/tls13Maximilian Hils2020-04-031-35/+43
|\ | | | | Update cryptography, enable TLS 1.3
| * temporarily fix key logging for OpenSSL 1.1.1fMaximilian Hils2020-04-031-5/+22
| |
| * use OpenSSL's hostname validationMaximilian Hils2019-11-231-30/+21
| |
* | fix #3833naivekun2020-03-021-1/+7
| |
* | minor code style improvements, sync sans-io changesMaximilian Hils2020-02-281-2/+6
|/
* Merge pull request #3714 from sethb157/ipv6_onlyMaximilian Hils2019-11-191-3/+15
|\ | | | | Add support for IPv6-only environments
| * Add support for IPv6-only environmentsSeth Barrios2019-11-181-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | Previously, the proxy would attempt to bind to an IPv6 + IPv4 enabled socket. On failure, it would try to bind to an IPv4 only socket. If that failed, the proxy would fail to start. This update makes it so that the proxy also tries to bind to an IPv6-only socket, which is necessary in environments where IPv4 is disabled. In short, the proxy will try binding in the following order, only moving to the next step when binding fails: IPv6 + IPv4 -> IPv4 only -> IPv6 only -> proxy fails to start.
* | Merge pull request #3420 from rjt-gupta/multipart-fixMaximilian Hils2019-11-152-11/+47
|\ \ | |/ |/| multipart-fix
| * multipart encoder and testsrjt-gupta2019-02-062-11/+46
| |
| * multipart-fixrjt-gupta2019-02-061-1/+2
| |
* | update mypyMaximilian Hils2019-11-122-6/+4
| |
* | minor improvements and sans-io adjustmentsMaximilian Hils2019-11-111-14/+14
| |
* | add http message type hintsMaximilian Hils2019-10-163-10/+18
| |
* | Merge pull request #3464 from rjt-gupta/url-fixThomas Kriechbaumer2019-09-281-6/+15
|\ \ | | | | | | Non ascii characters in url
| * | url-fixrjt-gupta2019-02-031-6/+15
| |/
* | Merge branch 'master' into tabularJesson Soto Ventura2019-09-243-4/+24
|\ \
| * | encoding: add support for zstd (zstandard)Tero Saaristo2019-09-053-4/+24
| | | | | | | | | | | | Handles zstandard-compressed bodies labeled as zstd.
* | | TLD and SLD are now highlighted using publicsuffixJesson Soto Ventura2019-09-241-0/+2
|/ / | | | | | | - Added time.time() as the default for the start time on fake requests
* | Merge pull request #3525 from tonyb486/bugfix-dateheaderMaximilian Hils2019-07-172-2/+2
|\ \ | | | | | | Fix #3502 by using email.utils.formatdate's usegmt argument.
| * | update formatdate for cookies and tests to use GMT formattingAnthony Biondo2019-04-161-1/+1
| | |
| * | Fix #3502 by using email.utils.formatdate's usegmt argument.Anthony Biondo2019-04-161-1/+1
| |/
* / websockets: replace masker with more optimized oneMathieu Borderé2019-07-061-6/+10
|/
* Fix several DeprecationWarning: invalid escape sequenceMickaël Schoentgen2019-01-051-1/+1
| | | | Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
* charset in meta tags (#3411)Rajat Gupta2018-12-131-16/+20
| | | original contribution from @0xHJK in https://github.com/mitmproxy/mitmproxy/pull/3150
* improve websocket frame masking apiThomas Kriechbaumer2018-06-111-1/+1
|
* script: tweak explicit command invocationAldo Cortesi2018-05-121-1/+1
|
* tcp: handle EINVAL from closed connectionsAldo Cortesi2018-05-121-0/+8
| | | | Fixes #2771
* cadir -> confdirAldo Cortesi2018-05-101-1/+1
| | | | | We store a lot more than just the CAs in our configuration directory. Clarify the option name.
* client replay: expad and consolidate testsAldo Cortesi2018-05-011-6/+5
|
* add SO_KEEPALIVECheng Liangyu2018-04-251-0/+2
|
* tcp: As of Python 3.5, EINTR is retried automatically by selectAldo Cortesi2018-04-181-10/+1
| | | | See https://www.python.org/dev/peps/pep-0475/
* fix Python 3.6 variable type annotations #3053oscure762018-04-143-6/+6
|
* Remove socket listen backlog constraintAldo Cortesi2018-04-061-2/+1
| | | | | | I have no idea why we did this, but the default value is 128, and setting it this low drops connections under conditions our users can reasonably be expeted to reach.
* Python 3.5 is dead -- long live Python 3.6!Thomas Kriechbaumer2018-03-311-1/+1
| | | | fixes #2266
* Merge pull request #2868 from kira0204/data-crashMaximilian Hils2018-03-041-5/+2
|\ | | | | Fix crashing when editing form with random data, fix #2794
| * Testingkira02042018-02-191-4/+1
| |
| * Fixing getterkira02042018-02-191-1/+1
| |
| * fix 2794kira02042018-02-151-1/+1
| |
* | Misc. typosluz.paz2018-02-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Found via `codespell -q 3 -I ../mitmproxy-word-whitelist.txt` Where whitelist contains: ``` cas doubleclick nd ot seeked statics te thru ```
* | Fix #2829Tran Tien Dat2018-02-211-5/+9
|/