Commit Graph

9296 Commits

Author SHA1 Message Date
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
Maximilian Hils
dbc5352b5b
[requires.io] dependency update on main branch (#4595)
* [requires.io] dependency update

* [requires.io] dependency update

* Update setup.py

Co-authored-by: requires.io <support@requires.io>
2021-05-11 17:36:39 +02:00
Maximilian Hils
09bd608174
fix #4551 (#4594) 2021-05-11 16:03:39 +02:00
Brad Dixon
da07cb78a6 Add metadata filter syntax: ~meta 2021-05-11 09:12:47 -04:00
Brad Dixon
69f555f9bb Add replay filter syntax: ~replay, ~replayq, ~replays 2021-05-11 09:09:10 -04:00
Maximilian Hils
518fb94124
Harden CI Pipeline (#4590)
* ci: use actions/checkout@v2

* ci: always specify python version

* ci: pin external actions

* ci: split docs job, pin immediate dependencies

* ci: correct hugo sha256sum

* ci: full repo fetch depth for tests

* ci: use pip-tools to pin all the things

* ci: minor fixes

* ci: fixup

* ci: streamline pinned install

* ci: minor fixes

* ci: fix py3.8 pins

* ci: don't persist checkout credentials

* ci: always run local linter

* ci: test docs deployment from actions-hardening branch

* ci: fix docs job

* ci: pass in credentials

* ci: fix file permissions

* ci: try harder to fix docs deploy

* ci: fix docker artifact name

* Revert "ci: test docs deployment from actions-hardening branch"

This reverts commit 30cfb7a814b61a8926fc0623e3e70b6dd5106d90.

* unpin PyPI dependencies

* ci: install tox first

* ci: fixups

* ci: fixups

* ci: fixups

* ci: fixups
2021-05-11 11:17:09 +02:00
Ben
df9dc4892b
Add spacing to improve readability of fingerprint (#4588) 2021-05-09 22:54:10 +02:00
Brad Dixon
8d8e10672e
Allow browser.start to open multiple browsers. (#4585) 2021-05-08 22:13:15 +02:00
Maximilian Hils
07915421a9
Update overview-installation.md 2021-04-25 22:11:53 +02:00
Maximilian Hils
39d77ec73d
[requires.io] dependency update on main branch (#4568)
* [requires.io] dependency update

* [requires.io] dependency update

* [requires.io] dependency update

* Update setup.py

* [requires.io] dependency update

* Update setup.py

Co-authored-by: requires.io <support@requires.io>
2021-04-21 12:07:52 +02:00
Maximilian Hils
e7fd050523
Merge pull request #4560 from jannst/update_contribution_readme
docs: add more precise instructions on docs setup
2021-04-21 12:06:26 +02:00
Jannik
d568881a4d
docs: update tutorial for Android CA (#4561) 2021-04-21 12:02:47 +02:00
Maximilian Hils
f1a925642f
do not copy hugo's install instructions
that only creates maintenance burden
2021-04-21 12:00:57 +02:00
Maximilian Hils
44f1e7d584
CI: add deploy-docs env 2021-04-15 16:02:24 +02:00
Maximilian Hils
44fcd688ad
CI: use dedicated deploy environments 2021-04-15 15:45:52 +02:00
Maximilian Hils
4659ab8408
[requires.io] dependency update on main branch (#4559)
* [requires.io] dependency update

* [requires.io] dependency update

* Update setup.py

Co-authored-by: requires.io <support@requires.io>
2021-04-14 00:34:46 +02:00
Jannik
20655fd4e2 docs: add more precise instructions on docs setup 2021-04-11 17:39:47 +02:00
Alexander Prinzhorn
b4d0e5b660
keyinfo typing (#4552) 2021-04-07 18:22:54 +02:00
aesyondu
438567f58c
docs(docs-readme): clarify documentation readme (#4538)
* docs(docs-readme): clarify documentation readme

I was confused what `mitmproxy Python package` meant. At first I did `pipx install mitmproxy`, but that didn't work. Then I realized I needed it as a library/module, not cli.

Changed `build.sh` to `build.py` since it was deleted on commit a7d1f32c89

* Update README.md

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2021-04-06 15:40:13 +02:00
Maximilian Hils
1b0fce6aba Revert "Copy examples into Docker image (#4447)"
This reverts commit a5ed1d377b.
2021-04-05 10:31:46 +02:00
Anatoli Babenia
a5ed1d377b
Copy examples into Docker image (#4447) 2021-04-05 10:20:52 +02:00
Peter Dave Hello
66c8ecc71e
docker: avoid additional apt packages by --no-install-recommends (#4543)
This will help we keep the image not too heavy that caused by those
additional, suggestion apt packages.

Only install the packages we explicitly want.
2021-04-05 10:09:34 +02:00
Peter Dave Hello
b9f9094ec7
docker: clean up tmux dir in clirecording Dockerfile (#4542) 2021-04-05 10:08:57 +02:00
Peter Dave Hello
f1b55fc817
Fix typo: Github should be GitHub (#4541) 2021-04-05 10:08:21 +02:00
Maximilian Hils
0ca458fd64
Merge pull request #4535 from mhils/master-main
master branch -> main branch
2021-03-30 17:03:14 +02:00
Maximilian Hils
ead33008bc master branch -> main branch 2021-03-30 15:30:45 +02:00
Maximilian Hils
04bceb0e05
Merge pull request #4533 from mhils/pr-4188
mitmweb: Make columns configurable/customizable (#4188)
2021-03-30 13:10:05 +02:00
Maximilian Hils
eefc55f28f coverage++ 2021-03-30 13:03:41 +02:00
Maximilian Hils
68c55979fb update CHANGELOG.md 2021-03-30 11:23:50 +02:00
Maximilian Hils
37672f0be0 give gulp watch func a name 2021-03-30 11:23:50 +02:00
gorogoroumaru
54efe88a45 fix linting issue 2021-03-30 11:23:50 +02:00
gorogoroumaru
1efe44745b make columns configurable and customizable 2021-03-30 11:23:50 +02:00
Maximilian Hils
c996f1ee74
fix codecov report threshold (#4534) 2021-03-30 09:15:12 +00:00
Maximilian Hils
f94a9a3c9d
Merge pull request #4529 from mhils/eager-sans-io
Sans-IO Improvements: Connection Strategy
2021-03-30 10:16:57 +02:00
Maximilian Hils
0e8dd730bc
Merge pull request #4532 from mhils/issue-4525
fix #4525
2021-03-30 10:02:36 +02:00