Commit Graph

204 Commits

Author SHA1 Message Date
mitmproxy release bot 4c07dc8488 mitmproxy 10.1.2 2023-11-03 11:57:58 +00:00
Maximilian Hils 3470473e4b
build macOS app bundle (#6447) 2023-11-03 11:21:55 +00:00
Maximilian Hils c637032af8
Declare Support for Python 3.12 (#6434) 2023-10-31 17:57:21 +00:00
Maximilian Hils 7f18545f3c
fix connection reuse with proxyauth (#6432) 2023-10-31 13:17:28 +00:00
outlaws-bai 640bb5377e
fix #6426 - Optimize LDAP Proxy Auth (#6428)
* fix #6426
https://github.com/mitmproxy/mitmproxy/issues/6426

* Revert "fix #6426"

This reverts commit 822b05b522.

* fix # 6426 Optimize LDAP Proxy Auth

* [autofix.ci] apply automated fixes

* update CHANGELOG.md

---------

Co-authored-by: jincong.bai <jincong.bai@zatech.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-31 12:52:21 +00:00
Teddy Xinyuan Chen 9f8b2e2a66
Fix path() docstring per #6345 (#6412)
* Fix path() docstring per #6345

* Update changelog

* Fix line too long linter error

* [autofix.ci] apply automated fixes

* nits: wording

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2023-10-19 21:27:22 +00:00
Dave T e98cf20b28
Make mitmweb use relative paths to connect to its resources. (#6411)
* Use relative paths in index.html

* Allow relative paths in websocket.tsx

* [autofix.ci] apply automated fixes

* Replace more root-relative URLs with relative URLs

* Add test for root relative URLs in index.html

* [autofix.ci] apply automated fixes

* Update changelog

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-19 14:10:26 -07:00
Mike Maxim c3d2a9dac4
fix certificates generated by dummy_cert on clients that require AuthorityKeyIdentifier (#6410)
* fix certificates generated by dummy_cert on clients that require AuthorityKeyIdentifier

* add changelog item
2023-10-18 19:32:47 +00:00
Maximilian Hils 2667ed44f5 add DNS-over-HTTPS contentview 2023-09-30 03:08:46 +02:00
Maximilian Hils d2136b66a0 add raw hex stream contentview 2023-09-30 03:08:46 +02:00
mitmproxy release bot b6ddf40f33 mitmproxy 10.1.1 2023-09-27 11:29:18 +00:00
Maximilian Hils e6e354cf38
web: don't crash when opening options (#6386) 2023-09-27 11:07:01 +00:00
Maximilian Hils c851a055c3
fix certificate generation for punycode domains, fix #6381 (#6382) 2023-09-24 17:55:21 +00:00
mitmproxy release bot 6ddcd9cb2a mitmproxy 10.1.0 2023-09-24 15:12:43 +00:00
Maximilian Hils e42edb474a update CHANGELOG 2023-09-24 17:01:28 +02:00
Maximilian Hils 9cad41cb9d bump mitmproxy_rs dependency, update CHANGELOG.md 2023-09-24 16:30:52 +02:00
Stanley Good bdcd3e3192
add save HAR addon (#6368)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2023-09-24 13:51:22 +00:00
TWY 37450173a1
mitmweb: Allow up to 4GB dump to be uploaded (#6373)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2023-09-19 10:10:28 +00:00
Stanley Good b3272a3757
add har support in FlowReader class (#6335)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2023-09-18 21:05:29 +00:00
mitmproxy release bot 553f4501b2 mitmproxy 10.0.0 2023-08-04 09:37:11 +00:00
Maximilian Hils 890983bd02 update CHANGELOG.md 2023-08-03 15:50:25 +02:00
Arnaud Durand d3af57f13b
Enable unsafe legacy SSL renegotiation (#6281)
* Enable unsafe legacy renegotiation

* Update CHANGELOG

* Fix missing proxy_server_context argument in test

* use pyopenssl's OP_LEGACY_SERVER_CONNECT

---------

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2023-07-29 16:39:25 +00:00
Pradyot Ranjan cb131b606f
Refactored use of server-replay-nopop to server-reply-pop (#6123)
* server-replay-nopop -> server-replay-pop

Co-authored-by: Pradyot Ranjan <99216956+prady0t@users.noreply.github.com>

* server-replay-pop -> server-replay-reuse

---------

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2023-07-02 11:32:18 +00:00
Semnodime fd01a0aa95
Update http-reply-from-proxy.py (#6117)
* Update http-reply-from-proxy.py

Fix #6115

* Update CHANGELOG.md

Add one line to unreleased mitmproxy next

* Update CHANGELOG.md

Correct reference to PR

---------

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2023-07-02 12:55:33 +02:00
Maximilian Hils 038512bada
Always include either SNI or target IP address as SAN (#6202)
* always include either SNI or target IP address as SAN

this unbreaks reverse proxy setups that are directly addressed by IP.

* [autofix.ci] apply automated fixes

* fix test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-06-26 02:35:50 +02:00
Tero Saaristo ac3af2afdb
grpc: enable decompressing zstd responses (#6188) 2023-06-24 10:59:58 +02:00
Mike-Ki-ASD 492f98d0d3
Support for selecting an elliptic curve for key exchange (#6170)
* Added option to specify an elliptic curve for key exchange between mitmproxy <-> server

* Description of changes

* Added link to pull request to CHANGELOG

* The
et/tls.py is now only dependend on their arguments and the option tls_ecdh_curve (renamed from curve) is now accessed in tlsconfig.py.

* nits

---------

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2023-06-14 10:08:20 +00:00
Maximilian Hils e0e46f453c
re-use SNI in reverse proxy mode if the original connection was torn down (#6148)
fix #6143
2023-05-28 16:35:34 +00:00
Sujal Singh 3675bedad8
Add escape key as another shortcut to exit current view. (#6087)
* add esc key binding

* make initialization of Keymap.keys more readable

* update changelog
2023-04-28 10:47:53 +02:00
Sujal Singh 33682c206e
Allow focus-follow shortcut to work in flow view context. (#6088)
* add follow new shortcut to flowview context

* update changelog

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-27 18:14:11 +02:00
Alex Gershberg 8f13293771
Add prettier to mitmweb (#5985)
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-03-12 17:50:15 +01:00
Maximilian Hils aa61f70b53 update CHANGELOG 2023-03-05 19:55:24 +01:00
autofix-ci[bot] 51670861e6 [autofix.ci] apply automated fixes 2023-02-27 08:37:11 +01:00
Maximilian Hils 46bfb35488 drop support for Python 3.9 2023-02-27 08:37:11 +01:00
Jurrie Overgoor 7e3380e628
Add a section on using Magisk and Magisk modules in the Android howto (#5924)
* Add a section on using Magisk and Magisk modules in the Android howto

This allows you to use Google Play builds with mitmproxy.

* [autofix.ci] apply automated fixes

* Explain how to get the Magisk module from mitmweb

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-02-13 17:07:24 +01:00
konradh 09a83a89b2
console: fix bug that caused wrong direction indicators in message stream flow view (#5923) 2023-02-10 14:22:05 +01:00
Maximilian Hils 7da3a8e871
treat multipart as bytes, not str. fixes #5148 (#5917) 2023-02-07 10:29:08 +00:00
Xiao Wang 430833e3d9
Fix server addr issue in tls_passthrough example. (#5904)
* fix server peername is None issue

peername would be None, we should use other not None property as key.

* Update tls_passthrough.py

---------

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2023-02-07 09:57:24 +01:00
Sujal Singh b9f3574728
fix `Host` and `:authority` header not being updated on changes to host or port (#5908)
* fix map remote addon not setting `Host` header correctly

* fix failing tests

* fix coverage

* fix host and authority headers

* raise error when port is not of type int

* fix nits

* [autofix.ci] apply automated fixes

* coverage++

---------

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-02-06 17:35:16 +01:00
stephenspol 849a3c33cb
Removed escaping string to get real raw view (#5894)
* Removed escaping string to get real raw view

* [autofix.ci] apply automated fixes

* Updated changelog

* extend tests

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2023-01-29 10:56:39 +00:00
Igor Talankin 385633874c
Added a command for appending flows to server replay list (#5851)
* Added a command to append flows to replay server list

* Added changelog entry for `replay.server.add`

* Update CHANGELOG.md

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2023-01-06 15:49:54 +00:00
Maximilian Hils 8361c81cdf add autofix.ci 2022-11-29 14:27:35 +01:00
Maximilian Hils 30135ea36a fix nits 2022-11-28 17:30:41 +01:00
Manuel Meitinger 5d0947acb7 [quic] 100% H3 coverage 2022-11-27 06:01:04 +01:00
Maximilian Hils 6b71066141 cleanup `mitmproxy.connection`, introduce dataclass-based serialization 2022-11-21 01:27:31 +01:00
Maximilian Hils d3f439cfd1 make asgi/wsgi apps listen on all ports by default, remove `onboarding_host` 2022-11-04 10:28:16 +00:00
Maximilian Hils cf27d0af73
add `mode` change to CHANGELOG 2022-11-02 11:40:24 +00:00
mitmproxy release bot 5205d25a16 mitmproxy 9.0.1 2022-11-02 11:13:57 +00:00
Maximilian Hils 3fe3d4f47a update changelog, bump pyinstaller 2022-11-02 00:49:47 +00:00
Maximilian Hils da6b04a47b remove unnecessary parentheses 2022-11-01 12:06:21 +01:00