Commit Graph

9530 Commits

Author SHA1 Message Date
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
zokutyou2@gmail.com
f69c91cb36 apply requested change 2021-06-14 09:21:55 +09: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
zokutyou2@gmail.com
fffd0017d8 add dropdown submenu 2021-06-13 21:11:52 +09:00
zokutyou2@gmail.com
6824666424 Merge branch 'main' of https://github.com/gorogoroumaru/mitmproxy into hover-menu 2021-06-10 22:17:34 +09:00
zokutyou2@gmail.com
ccb48f3cc3 apply suggested changes 2021-06-10 22:13:49 +09: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
zokutyou2@gmail.com
96d6804f5a Merge branch 'main' of https://github.com/gorogoroumaru/mitmproxy into hover-menu 2021-06-10 09:11:06 +09: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
zokutyou2@gmail.com
da55cb5008 Merge branch 'hover-menu' of https://github.com/gorogoroumaru/mitmproxy into hover-menu 2021-06-07 15:34:33 +09:00
zokutyou2@gmail.com
d521583c66 fix linting issue 2021-06-07 15:34:22 +09:00
zokutyou2@gmail.com
4b30511f7b fix linting issue 2021-06-07 15:31:10 +09:00
zokutyou2@gmail.com
2ce0f45fe4 Add hover menu to FlowRow 2021-06-07 15:25:38 +09: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
Maximilian Hils
47b792bae1
make the CA cert live longer (#4611)
We need to restrict `CERT_EXPIRY` because modern browsers only accept a ~ <= 1year period for certs, but re-reading all prior commits and issues as well as the CA/Browser Forum Baseline Requirements on the topic, it looks like we don't actually need to restrict our CA lifetime by that much. Let's try out a longer validity and see if anyone complains.
2021-05-25 23:39:17 +02:00
Maximilian Hils
292e3b413c
[requires.io] dependency update on main branch (#4602)
* [requires.io] dependency update

* [requires.io] dependency update

* Update setup.py

* Update setup.py

Co-authored-by: requires.io <support@requires.io>
2021-05-24 12:54:31 +02:00
Zoltán Reegn
01c18c109b
docs: requirements for custom mitmproxy-ca.pem (#4601)
* docs: requirements for custom mitmproxy-ca.pem

* docs: fix typos
2021-05-24 12:19:45 +02:00
Maximilian Hils
8af4055e3b
ci: update apt index before installing 2021-05-21 18:00:14 +02:00
Niels Hofmans
5a03098d23
Fix: check pending writes before requesting more from server (#4564)
* fix(server): drain writer after writing

* fix(server): move writer drain

* chore(changelog): add ref

* fixup changelog

* fix race condition in flow control code

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2021-05-14 09:24:19 +00:00
Maximilian Hils
373609336a mode docs: add invocation examples 2021-05-14 11:03:33 +02:00
Zoltán Reegn
3c4e47dd8c
Merge pull request #4599 from reegnz/patch-1
Add certificate CLI Installation method for MacOS
2021-05-14 08:39:02 +02:00
Maximilian Hils
b70358cbde
Merge pull request #4586 from rbdixon/meta_replay_filter
Metadata and replay filter syntax
2021-05-14 08:37:39 +02:00
Maximilian Hils
9f0ee9d53a
tls: support certificates with IP SubjectAlternativeName (#4596) 2021-05-14 08:36:42 +02:00
Maximilian Hils
5f5e2dc0ee
[requires.io] dependency update on main branch (#4597)
* [requires.io] dependency update

* [requires.io] dependency update

* [requires.io] dependency update

* Update setup.py

Co-authored-by: requires.io <support@requires.io>
2021-05-14 06:35:34 +00:00
Maximilian Hils
7df0be34b0 docs++ 2021-05-11 18:05:40 +02:00
Maximilian Hils
15ce7e348c build docker images only on main 2021-05-11 17:56:29 +02:00