Commit Graph

9342 Commits

Author SHA1 Message Date
Maximilian Hils
ad7f1d11e4
fix #4655 (#4659) 2021-06-24 14:42:21 +00:00
Maximilian Hils
adab4d54f5
fix #4576 (#4654) 2021-06-24 14:13:56 +00:00
Maximilian Hils
d9479c1c15
[requires.io] dependency update on main branch (#4658)
* [requires.io] dependency update

* Update setup.py

Co-authored-by: requires.io <support@requires.io>
2021-06-24 14:04:09 +00:00
Maximilian Hils
58e086a2b0
[requires.io] dependency update on main branch (#4653)
* [requires.io] dependency update

* Update tox.ini

* fix mypy complaints

Co-authored-by: requires.io <support@requires.io>
2021-06-24 13:54:07 +00:00
Jesper Bränn
64961232e6
Make it possible to set sequence options (#4210)
* Make it possible to set sequence options

Attempts to fix #3015 through looking at whether or not the option is
of the type Sequence[str].

Treat all deferred options as potentially Sequence options, by making the
deferred dict values a list.

* Add full test coverage to optmanager again

* Document how to set sequence options

* minor improvements

* update changelog

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2021-06-23 18:08:24 +00:00
Maximilian Hils
7603987ee0
Merge pull request #4640 from mhils/upgrade-docs
Add Addon Upgrade Docs for mitmproxy 7
2021-06-23 14:09:16 +02:00
Maximilian Hils
a33ab986ba revise based on @prinzhorn's feedback 2021-06-22 16:54:29 +02:00
Maximilian Hils
f135be8e65
[requires.io] dependency update (#4649)
Co-authored-by: requires.io <support@requires.io>
2021-06-21 15:33:29 +00:00
Maximilian Hils
80bcd2f881
[requires.io] dependency update (#4647)
Co-authored-by: requires.io <support@requires.io>
2021-06-21 16:56:26 +02:00
Maximilian Hils
ef69701b0a
Merge pull request #4645 from mhils/polish
Minor UX Improvements
2021-06-20 02:20:10 +02:00
Maximilian Hils
2fe4a49d8f logging: don't pick up later mutations 2021-06-20 02:15:09 +02:00
Maximilian Hils
d6975e0b80 add next_layer docs + example, minor fixes 2021-06-20 02:15:09 +02:00
Maximilian Hils
159c064fb4 enable addons to hardcode client.alpn 2021-06-19 12:29:18 +02:00
Maximilian Hils
6178b4b72a raise if server address is updated on non-closed connections 2021-06-19 12:28:40 +02:00
Maximilian Hils
15adb2cd79
Update tls_passthrough.py 2021-06-18 08:49:48 +02:00
Maximilian Hils
f342061319
Update addons-api-changelog.md 2021-06-17 20:15:29 +02:00
Maximilian Hils
863c792f41
Merge pull request #4643 from mhils/issue-4642
Fix HTTPS Reverse Proxy TLS Layer Logic
2021-06-17 20:12:06 +02:00
Maximilian Hils
74aa5cea56
[requires.io] dependency update (#4641)
Co-authored-by: requires.io <support@requires.io>
2021-06-17 20:10:50 +02:00
Maximilian Hils
c075d33997 minor style fix 2021-06-17 20:02:40 +02:00
Maximilian Hils
5c0d700839 fix #4642 2021-06-17 20:02:32 +02:00
Maximilian Hils
0958f39f40 add upgrade docs for mitmproxy 7 2021-06-17 15:53:22 +02:00
Maximilian Hils
34a620e57b
Docker: Add aarch64 Images (#4637)
* feat(cibuild): add buildx multi arch builds

* chore: add changelog for arm64

* temporarily enable docker ci job for PRs

* Update cibuild.py

* Update cibuild.py

* chore(cibuild): create docker-container xbuilder

* chore(cibuild): fix lint

* temporarily remove run check to see error message

* Update cibuild.py

* Update cibuild.py

* Update cibuild.py

* Update main.yml

* Update main.yml

* Update main.yml

* Update cibuild.py

* Update cibuild.py

* Update Dockerfile

* cleanup #1

* next test

* move to test branch

* fixup

* now upload

* enable armv6/7

* use multi-stage build to reduce image size

* armv7?

* drop armv6/armv7

Co-authored-by: Niels Hofmans <hello@ironpeak.be>
2021-06-15 13:47:50 +00:00
Maximilian Hils
5120c1dbe2
Merge pull request #4635 from mhils/upstream-auth
[sans-io] add support for upstream_auth
2021-06-15 11:00:12 +02:00
Maximilian Hils
fb625c6868 fix h2 bug found via fuzzing 2021-06-15 10:45:26 +02:00
Maximilian Hils
76f0b8f65e fix tests 2021-06-15 10:45:26 +02:00
Maximilian Hils
fa6e8f1e9c [sans-io] add support for upstream_auth 2021-06-15 10:45:26 +02:00
Maximilian Hils
9ee735ad28
bump ruamel.yaml version 2021-06-15 10:42:18 +02:00
Brad Dixon
4ee6bc79a0
Add json() method for HTTP Request and Response classes. (#4612)
* Add `json()` method for HTTP Request and Response classes.

* Raise errors when fetching content to decode as json.

* Update http.py

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2021-06-15 08:39:48 +00:00
Maximilian Hils
7dbd171887
Merge pull request #4634 from mhils/update-dependencies
Update Dependencies
2021-06-13 20:04:42 +02:00
Maximilian Hils
1b13411383 update ruamel.yaml, adjust api 2021-06-13 19:59:11 +02:00
Maximilian Hils
bed008e6d1 update mypy 2021-06-13 17:17:10 +02:00
Maximilian Hils
8cec4a2a80
Merge pull request #4633 from mhils/body-size
Re-add `body_size_limit`, move HTTP streaming into the proxy core.
2021-06-13 16:39:19 +02:00
Maximilian Hils
8e52c16b4c [sans-io] add support for body_size_limit 2021-06-13 15:56:33 +02:00
Maximilian Hils
199670cad4 move body streaming into proxy core, fix #4470 2021-06-13 15:56:33 +02:00
gorogoroumaru
a4f5edb5b7
[mitmweb] Add "one click resume / accept all" button (#4615)
* Add one-click-resume button

* Add one-click-resume button

* update jest snapshot

* update style

* Disable forward button when the flow is not intercepted

* update jest snapshot

* group items in main menu

* add layout for quick actions menu

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2021-06-10 14:59:30 +02:00
Maximilian Hils
8a17866113
Merge pull request #4631 from mhils/issue-4630
fix #4630
2021-06-10 00:23:52 +02:00
Maximilian Hils
83a46b13b9 further simplify ALPN selection 2021-06-10 00:18:37 +02:00
Maximilian Hils
d47eb7556a fix #4630 2021-06-09 23:59:44 +02:00
Maximilian Hils
de0951462d
Merge pull request #4629 from mhils/update-web-deps
Update Web Dependencies
2021-06-09 18:07:36 +02:00
Maximilian Hils
0e9206ceb1 switch to esbuild for bundling 2021-06-09 18:02:05 +02:00
Roy Tu
bd00132b65
Fix multipart forms losing boundary values on edit (#4625)
* Fix for issue #4613

* Adding tests

* Updated CHANGELOG.md

* Restoring contentviews

* Reverting contentview tests

* Adding boundary generation and tests

* Extra newline for flake8

* Janky byte fix

* Revert "Extra newline for flake8"

This reverts commit 683ba167de2264d29f318e2bab83e13cbfb8812d.

* Reverting a commit that was supposed to go to dev branch

* Update CHANGELOG.md

* Update test_http.py

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2021-06-09 10:26:19 +00:00
Maximilian Hils
743b409f7f fix some react deprecation warnings 2021-06-09 12:08:41 +02:00
Maximilian Hils
d3f33b90a6 web dependency upgrade: get tests to pass 2021-06-09 12:00:11 +02:00
Maximilian Hils
2c5c6cfa5a wip: update web dependencies 2021-06-08 11:22:59 +02:00
Alexander Prinzhorn
231c8eefe3
Update README.md (#4620)
* Document Cookie header folding issues

* plural: *exists*, me: 😮

* link list

* Update README.md

* fair well modd

* minor wording fix

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2021-06-04 09:14:11 +00:00
Alexander Prinzhorn
ce2d36dbab
Document Cookie header folding issues (#4618)
* Document Cookie header folding issues

* plural: *exists*, me: 😮

* link list
2021-06-03 03:11:40 +02:00
Maximilian Hils
27883e7b05
downgrade ruamel.yaml to fix tests 2021-05-31 21:17:07 +02:00
Brad Dixon
6d2b823a54
Add flow.comment command and keybinding to add a comment to a flow. (#4608)
* Add `flow.comment` command and keybinding to add a comment to a flow.

* Store comment in Flow().comment. Add ~comment flowfilter syntax.

* resolve: Pythonic flow.comment

* Be consistent and use comment variable.
2021-05-28 20:38:27 +02:00
Alexander Prinzhorn
4f60e52413
Fix parsing of certificate issuer/subject with escaped special chars (#4557)
* keyinfo typing

* Fix parsing of certificate issuer/subject with escaped special characters

* tests

* rfc4514_attribute_name and multi value test

* pyca version + mypy happy dance

* aT lEaSt tTO sPAceS BeFOre iNLinE cOMment

* fix coverage

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2021-05-27 09:51:01 +00:00
Brad Dixon
c6ba97eab6
Use emoji and characters as markers. Add ~marker filter syntax. (#4587)
* Use emoji and characters as markers. Add ~marker filter syntax.

* Add a test to please our CI overlords. :)
2021-05-27 11:40:41 +02:00