Miguel Guarniz
8a175b3754
update multi-server mode tests
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
7349619312
integrate with multi-server mode
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
afaf6fc939
fix coverage failures
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
a51c6f7e86
fix mypy errors
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
70f150203d
fix lint errors
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
9b80878115
update changelog
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
5d1c622a65
add UDP layer tests
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
de20be8f62
add tests for Kaitai DTLS ClientHello decoder
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
709916ef91
add dtls parser tests
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
7da17c6bd8
fix tests
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
5a3a8c5653
move dtls client hello parse functions to dtls layer file
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
e23875072c
display UDP flow in flowlist and flowview in tui
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
edeeb938e8
reuse TLS layers and hooks
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
cda68c6e5d
parse dtls client hello
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
7101bac356
add UDP layer
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
e300045bf5
allow proxy to pass messages between client and server
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
ee1816e387
make tls layer public
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
00005f4e0a
add ServerDTLSLayer to handle proxy and server connection
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
08593f2249
add ClientDTLSLayer to handle proxy and client connection
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
bb8b8a9000
update _DTLSLayer and make connection with client
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Miguel Guarniz
fc753639af
add dtls layer - only forward messages as-is
...
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29 19:02:05 +02:00
Maximilian Hils
e398b7583f
Merge pull request #5501 from mhils/kaitai
...
Update Kaitai Defs
2022-07-29 16:28:56 +02:00
Maximilian Hils
45a7e6a42c
adjust to kaitai changes
2022-07-29 16:13:33 +02:00
Maximilian Hils
002f919dda
update kaitai definitions
2022-07-29 16:13:15 +02:00
Maximilian Hils
5df703cc42
ci: don't build installers for PRs
2022-07-29 13:42:42 +02:00
Maximilian Hils
f94951c52f
fix msix builds
2022-07-28 16:16:24 +02:00
Maximilian Hils
5cee595117
Merge pull request #5481 from mitmproxy/citest
...
simplify ci build script, add MSIX installer and Microsoft store.
2022-07-28 16:03:11 +02:00
Manuel Meitinger
de33753cc6
Include information about lazy connection_strategy in related errors. ( #5465 )
...
* include lazy connection_strategy info
* Update CHANGELOG.md
* improve text according to @mhils suggestion
* include backticks
2022-07-27 08:06:16 +02:00
Manuel Meitinger
cd4a74fae7
Add support for raw UDP. ( #5414 )
2022-07-27 02:20:30 +02:00
Maximilian Hils
3f8da08796
tlsconfig: don't connect upstream if connection strategy is lazy ( #5487 )
2022-07-25 14:33:29 +00:00
Maximilian Hils
633130e208
add `mode_specs` docs, remove `@classmethod @property` usage ( #5485 )
...
`@classmethod @property` is deprecated in Python 3.11.
2022-07-25 14:16:12 +00:00
Maximilian Hils
01254fd424
revise display names
2022-07-25 14:38:21 +02:00
Maximilian Hils
7a4fdb70e8
app manifest: remove optional port declarations
2022-07-25 14:14:05 +02:00
Manuel Meitinger
6b6ec2983a
fix optional int issue ( #5483 )
2022-07-25 11:53:48 +02:00
Maximilian Hils
fb001940c9
flake8: use Python 3.10 in CI
2022-07-25 01:46:50 +02:00
Maximilian Hils
398212ce01
remove `release/` from coverage
...
tests did not provide any meaningful help for this code,
they just made the code structure less straightforward.
2022-07-25 01:39:04 +02:00
Maximilian Hils
3872d33111
simplify ci build script, add MSIX installer and Microsoft store.
2022-07-25 01:22:57 +02:00
rathann
55a64b7ad9
use default_factory for parser_options field ( #5476 )
...
* use default_factory for field parser_options
When running mitmproxy under python 3.11, the following exception
is thrown otherwise:
```
ValueError: mutable default <class 'mitmproxy.contentviews.grpc.ProtoParser.ParserOptions'> for field parser_options is not allowed: use default_factory
```
Fixes #5474 .
* add changelog for mitmproxy#5474
2022-07-23 10:15:03 +02:00
Aldo Cortesi
156089229f
[requires.io] dependency update on main branch ( #5468 )
...
* [requires.io] dependency update
* [requires.io] dependency update
Co-authored-by: requires.io <support@requires.io>
2022-07-21 15:46:45 +02:00
Maximilian Hils
7c2ffa0c54
ci: switch to macOS 11
...
macOS 10 is deprecated and receiving brownouts.
2022-07-21 15:42:35 +02:00
Maximilian Hils
c7e40cdd80
Merge pull request #5393 from mhils/multiproxy
...
Multi-Server Mode
2022-07-21 15:32:26 +02:00
Maximilian Hils
e2157ecdff
fix individual_coverage on Windows
2022-07-21 15:24:11 +02:00
Maximilian Hils
83e543c3e6
add multi proxy mode
...
This commit makes it possible for mitmproxy to spawn multiple
TCP/UDP proxy servers at the same time, see
https://github.com/mitmproxy/mitmproxy/discussions/5288
2022-07-21 15:24:11 +02:00
Aldo Cortesi
57e65d3d1f
[requires.io] dependency update on main branch ( #5461 )
...
* [requires.io] dependency update
* [requires.io] dependency update
* [requires.io] dependency update
* Update setup.py
Co-authored-by: requires.io <support@requires.io>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2022-07-19 15:30:35 +02:00
Aldo Cortesi
821859cd4f
[requires.io] dependency update on main branch ( #5448 )
...
* [requires.io] dependency update
* [requires.io] dependency update
* [requires.io] dependency update
* [requires.io] dependency update
* [requires.io] dependency update
* Update setup.py
Co-authored-by: requires.io <support@requires.io>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2022-07-15 13:41:02 +02:00
Maximilian Hils
af5be0b928
reopen main for development
2022-06-28 16:16:19 +02:00
Maximilian Hils
564d439df8
bump to 8.1.1
2022-06-28 16:01:52 +02:00
Maximilian Hils
c779230ba1
Merge pull request #5438 from mitmproxy/pyinstaller
...
8.1.1 Release Prep
2022-06-28 07:00:02 -07:00
Maximilian Hils
d003038803
fix nits
2022-06-28 15:53:49 +02:00
Maximilian Hils
3a2b02b420
don't error on connection errors when streaming, fix #5383
2022-06-28 15:53:39 +02:00