Commit Graph

130 Commits

Author SHA1 Message Date
dependabot[bot] b29b677b19
Update build requirement from <=1.2.2,>=0.10.0 to >=0.10.0,<=1.2.2.post1 (#7294)
Updates the requirements on [build](https://github.com/pypa/build) to permit the latest version.
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/0.10.0...1.2.2.post1)

---
updated-dependencies:
- dependency-name: build
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:18:23 +00:00
dependabot[bot] 5ee96f81fb
Bump the pytest group with 2 updates (#7289)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) and [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.

Updates `hypothesis` to 6.116.0
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.104.2...hypothesis-python-6.116.0)

Updates `pytest-cov` to 6.0.0
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
  dependency-group: pytest
- dependency-name: pytest-cov
  dependency-type: direct:production
  dependency-group: pytest
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:14:52 +00:00
dependabot[bot] 723d6752d7
Bump the pyinstaller group with 2 updates (#7290)
Bumps the pyinstaller group with 2 updates: [pyinstaller](https://github.com/pyinstaller/pyinstaller) and [pyinstaller-hooks-contrib](https://github.com/pyinstaller/pyinstaller-hooks-contrib).


Updates `pyinstaller` from 6.10.0 to 6.11.0
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.10.0...v6.11.0)

Updates `pyinstaller-hooks-contrib` from 2024.8 to 2024.9
- [Release notes](https://github.com/pyinstaller/pyinstaller-hooks-contrib/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller-hooks-contrib/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller-hooks-contrib/compare/v2024.8...v2024.9)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pyinstaller
- dependency-name: pyinstaller-hooks-contrib
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pyinstaller
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:14:41 +00:00
dependabot[bot] 4cef2b60c2
Update pyparsing requirement from <=3.1.4,>=2.4.2 to >=2.4.2,<=3.2.0 (#7293)
Updates the requirements on [pyparsing](https://github.com/pyparsing/pyparsing) to permit the latest version.
- [Release notes](https://github.com/pyparsing/pyparsing/releases)
- [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES)
- [Commits](https://github.com/pyparsing/pyparsing/compare/pyparsing_2.4.2...3.2.0)

---
updated-dependencies:
- dependency-name: pyparsing
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:14:36 +00:00
dependabot[bot] a10a46ed25
Update pdoc requirement from <=14.7.0,>=14.5.1 to >=14.5.1,<=15.0.0 (#7292)
Updates the requirements on [pdoc](https://github.com/mitmproxy/pdoc) to permit the latest version.
- [Changelog](https://github.com/mitmproxy/pdoc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mitmproxy/pdoc/compare/v14.5.1...v15)

---
updated-dependencies:
- dependency-name: pdoc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 00:00:45 +01:00
dependabot[bot] e351dab10d
Update ruff requirement from <=0.6.8,>=0.5.0 to >=0.5.0,<=0.7.2 (#7295)
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.0...0.7.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 00:00:29 +01:00
dependabot[bot] d0832bb0b7
Update urwid requirement from <=2.6.15,>=2.6.14 to >=2.6.14,<=2.6.16 (#7296)
Updates the requirements on [urwid](https://github.com/urwid/urwid) to permit the latest version.
- [Release notes](https://github.com/urwid/urwid/releases)
- [Changelog](https://github.com/urwid/urwid/blob/master/docs/changelog.rst)
- [Commits](https://github.com/urwid/urwid/compare/2.6.14...2.6.16)

---
updated-dependencies:
- dependency-name: urwid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:58:48 +01:00
dependabot[bot] aec6e0cede
Update protobuf requirement from <=5.28.2,>=5.27.2 to >=5.27.2,<=5.28.3 (#7297)
Updates the requirements on [protobuf](https://github.com/protocolbuffers/protobuf) to permit the latest version.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.27.2...v5.28.3)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:56:52 +01:00
dependabot[bot] 5637ffed07
Update tox requirement from <=4.21.0,>=4.15.1 to >=4.15.1,<=4.23.2 (#7298)
Updates the requirements on [tox](https://github.com/tox-dev/tox) to permit the latest version.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.15.1...4.23.2)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:56:38 +01:00
Maximilian Hils 69f455b962
Add `tun` proxy mode on Linux (#7278)
* simplify stream handling callback

* add `tun` proxy mode from mitmproxy_rs

* tun mode: tests++

* [autofix.ci] apply automated fixes

* bump mitmproxy_rs

* fix bugs

* ci: use macOS 13 for builds as 12 is being phased out

* test debugging

* bump mitmproxy_rs

* bump python version in ci, 3.13 is stable now

* nits

* is unshare to blame?

* how about this?

* coverage++

* [autofix.ci] apply automated fixes

* debüg

* debüüg

* debüüüg

* bump mitmproxy_rs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-29 02:34:39 +05:30
dependabot[bot] 4de96cb095
Update pdoc requirement from <=14.6.1,>=14.5.1 to >=14.5.1,<=14.7.0 (#7222)
Updates the requirements on [pdoc](https://github.com/mitmproxy/pdoc) to permit the latest version.
- [Changelog](https://github.com/mitmproxy/pdoc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mitmproxy/pdoc/compare/v14.5.1...v14.7)

---
updated-dependencies:
- dependency-name: pdoc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 13:23:16 +00:00
dependabot[bot] dc8288ca95
Update protobuf requirement from <=5.28.0,>=5.27.2 to >=5.27.2,<=5.28.2 (#7224)
Updates the requirements on [protobuf](https://github.com/protocolbuffers/protobuf) to permit the latest version.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.27.2...v5.28.2)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 13:21:44 +00:00
dependabot[bot] 357c9c57a4
Update build requirement from <=1.2.1,>=0.10.0 to >=0.10.0,<=1.2.2 (#7219)
Updates the requirements on [build](https://github.com/pypa/build) to permit the latest version.
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/0.10.0...1.2.2)

---
updated-dependencies:
- dependency-name: build
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:11:52 -04:00
dependabot[bot] 58daf8d6c3
Update ruff requirement from <=0.6.3,>=0.5.0 to >=0.5.0,<=0.6.8 (#7220)
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.0...0.6.8)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:11:46 -04:00
dependabot[bot] 1884a24d9f
Update msgpack requirement from <=1.0.8,>=1.0.0 to >=1.0.0,<=1.1.0 (#7221)
Updates the requirements on [msgpack](https://github.com/msgpack/msgpack-python) to permit the latest version.
- [Release notes](https://github.com/msgpack/msgpack-python/releases)
- [Changelog](https://github.com/msgpack/msgpack-python/blob/main/ChangeLog.rst)
- [Commits](https://github.com/msgpack/msgpack-python/compare/v1.0.0...v1.1.0)

---
updated-dependencies:
- dependency-name: msgpack
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:11:39 -04:00
dependabot[bot] dc4087790a
Update tox requirement from <=4.18.0,>=4.15.1 to >=4.15.1,<=4.21.0 (#7223)
Updates the requirements on [tox](https://github.com/tox-dev/tox) to permit the latest version.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.15.1...4.21.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:11:23 -04:00
dependabot[bot] b28a0bfa46
Update types-requests requirement from <=2.32.0.20240712,>=2.32.0.20240622 to >=2.32.0.20240622,<=2.32.0.20240914 in the mypy group (#7218)
Update types-requests requirement in the mypy group

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:production
  dependency-group: mypy
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:10:59 -04:00
dependabot[bot] 2af79e0819
Bump the pytest group with 2 updates (#7217)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) and [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.

Updates `hypothesis` to 6.112.2
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.104.2...hypothesis-python-6.112.2)

Updates `pytest` to 8.3.3
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.2...8.3.3)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
  dependency-group: pytest
- dependency-name: pytest
  dependency-type: direct:production
  dependency-group: pytest
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:10:50 -04:00
Maximilian Hils badb2e52dd
ruff: make mitmproxy_rs first party (#7203) 2024-09-22 07:27:00 +02:00
Maximilian Hils e7d1ad69b9
Individual coverage: skip logic-free __init__ files (#7186)
individual coverage: skip logic-free __init__ files
2024-09-18 22:37:12 +05:30
Maximilian Hils 4be97958cf
bump mitmproxy_rs (#7165)
* bump mitmproxy_rs

* Update pyproject.toml

* don't build github web ui branches
2024-09-06 10:07:45 +00:00
Maximilian Hils 9a8f761cf7
Upgrade to mitmproxy_rs 0.8 (#7162)
* upgrade to mitmproxy_rs 0.8

* [autofix.ci] apply automated fixes

* Update pyproject.toml

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-04 23:36:55 +02:00
dependabot[bot] f054e38467
Update tox requirement from <=4.16.0,>=4.15.1 to >=4.15.1,<=4.18.0 (#7150)
Updates the requirements on [tox](https://github.com/tox-dev/tox) to permit the latest version.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.15.1...4.18.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 20:58:10 +00:00
dependabot[bot] c8b03ca89d
Update pdoc requirement from <=14.6.0,>=14.5.1 to >=14.5.1,<=14.6.1 (#7146)
Updates the requirements on [pdoc](https://github.com/mitmproxy/pdoc) to permit the latest version.
- [Changelog](https://github.com/mitmproxy/pdoc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mitmproxy/pdoc/compare/v14.5.1...v14.6.1)

---
updated-dependencies:
- dependency-name: pdoc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 20:56:57 +00:00
dependabot[bot] c064046823
Update pyparsing requirement from <=3.1.2,>=2.4.2 to >=2.4.2,<=3.1.4 (#7149)
Updates the requirements on [pyparsing](https://github.com/pyparsing/pyparsing) to permit the latest version.
- [Release notes](https://github.com/pyparsing/pyparsing/releases)
- [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES)
- [Commits](https://github.com/pyparsing/pyparsing/compare/pyparsing_2.4.2...3.1.4)

---
updated-dependencies:
- dependency-name: pyparsing
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 20:56:49 +00:00
dependabot[bot] 657ebd17c2
Update ruff requirement from <=0.5.5,>=0.5.0 to >=0.5.0,<=0.6.3 (#7147)
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.0...0.6.3)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 20:56:45 +00:00
dependabot[bot] 17d424fdc3
Update protobuf requirement from <=5.27.3,>=5.27.2 to >=5.27.2,<=5.28.0 (#7148)
Updates the requirements on [protobuf](https://github.com/protocolbuffers/protobuf) to permit the latest version.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.27.2...v5.28.0)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 20:43:24 +00:00
dependabot[bot] 5ac3c9a11e
Update wheel requirement from <=0.43,>=0.36.2 to >=0.36.2,<=0.44.0 (#7145)
Updates the requirements on [wheel](https://github.com/pypa/wheel) to permit the latest version.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.36.2...0.44.0)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 20:43:15 +00:00
dependabot[bot] 256fc2e94c
Update mypy requirement from <=1.11.1,>=1.10.1 to >=1.10.1,<=1.11.2 in the mypy group (#7144)
Update mypy requirement in the mypy group

Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.

Updates `mypy` to 1.11.2
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.10.1...v1.11.2)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  dependency-group: mypy
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 20:42:44 +00:00
dependabot[bot] 917697126d
Bump the pytest group with 2 updates (#7143)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) and [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.

Updates `hypothesis` to 6.111.2
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.104.2...hypothesis-python-6.111.2)

Updates `pytest-asyncio` to 0.24.0
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.6...v0.24.0)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
  dependency-group: pytest
- dependency-name: pytest-asyncio
  dependency-type: direct:production
  dependency-group: pytest
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 20:42:21 +00:00
Matteo Luppi 46c10c030e
add 2 new endpoints for processes extraction and process image (#7136)
* add 2 new endpoints for processes extraction and process image

* [autofix.ci] apply automated fixes

* add review changes

* add tests

* [autofix.ci] apply automated fixes

* nit

* update tests

* [autofix.ci] apply automated fixes

* add fallback image and update tests

* [autofix.ci] apply automated fixes

* fix lint error

* fix tests

* [autofix.ci] apply automated fixes

* try to use base64

* still trying to fix test on win

* [autofix.ci] apply automated fixes

* nit

* [autofix.ci] apply automated fixes

* TRANSPARENT_PNG: use raw bytes to avoid base64 step

* tests: use feature-based detection

* hardening: prevent mime type sniffing

* fixup feature detection

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2024-09-01 20:22:51 +00:00
Maximilian Hils 343ad7aa72
DNS resolver: add getaddrinfo fallback, fix test duration (#7122)
* dns addon: add getaddrinfo fallback, fix test duration

* fix docstring

* fix tests

* [autofix.ci] apply automated fixes

* tests++

* [autofix.ci] apply automated fixes

* debug windows

* add Windows workaround

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-29 00:06:58 +05:30
Maximilian Hils 8f5540d073
Add Support for Python 3.13 (#6934)
* add support for Python 3.13

* bump pyinstaller

* fix tests
2024-08-13 23:35:16 +05:30
Gaurav Jain 8a81214ff4
Add test to ensure that servers listen on IPv4 and IPv6 for default host (#7084)
* Update tunnelLayer docstrings

* Add tests for dual stack

* [autofix.ci] apply automated fixes

* Fixup

* Revert "Update tunnelLayer docstrings"

This reverts commit 56c6162646.

* Use existing code to check for ipv6

* [autofix.ci] apply automated fixes

* Cache no_ipv6

* [autofix.ci] apply automated fixes

* Update conftest.py

* Update conftest.py

* Bump mitmproxy_rs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2024-08-08 20:28:44 +05:30
dependabot[bot] d0766f02a2
Update protobuf requirement from <=5.27.2,>=5.27.2 to >=5.27.2,<=5.27.3 (#7070)
Updates the requirements on [protobuf](https://github.com/protocolbuffers/protobuf) to permit the latest version.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.27.2...v5.27.3)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 09:47:54 +02:00
dependabot[bot] 3261196df9
Update mypy requirement from <=1.11.0,>=1.10.1 to >=1.10.1,<=1.11.1 in the mypy group (#7069)
Update mypy requirement in the mypy group

Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.

Updates `mypy` to 1.11.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.10.1...v1.11.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  dependency-group: mypy
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 09:47:10 +02:00
Maximilian Hils 84baae0807
Pin pyinstaller hooks as well (#7059)
pin pyinstaller hooks as well
2024-07-29 14:35:15 +00:00
dependabot[bot] f86b32fc7a
Update ruff requirement from <=0.5.0,>=0.5.0 to >=0.5.0,<=0.5.5 (#7058)
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.0...0.5.5)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 12:26:42 +00:00
dependabot[bot] 7defac58e8
Update cryptography requirement from <42.1,>=42.0 to >=42.0,<43.1 (#7055)
Updates the requirements on [cryptography](https://github.com/pyca/cryptography) to permit the latest version.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.0...43.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 12:16:48 +00:00
dependabot[bot] 6d233657fd
Update urwid requirement from <=2.6.14,>=2.6.14 to >=2.6.14,<=2.6.15 (#7053)
Updates the requirements on [urwid](https://github.com/urwid/urwid) to permit the latest version.
- [Release notes](https://github.com/urwid/urwid/releases)
- [Changelog](https://github.com/urwid/urwid/blob/master/docs/changelog.rst)
- [Commits](https://github.com/urwid/urwid/compare/2.6.14...2.6.15)

---
updated-dependencies:
- dependency-name: urwid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 14:08:55 +02:00
dependabot[bot] f6d637e525
Update pdoc requirement from <=14.5.1,>=14.5.1 to >=14.5.1,<=14.6.0 (#7056)
Updates the requirements on [pdoc](https://github.com/mitmproxy/pdoc) to permit the latest version.
- [Changelog](https://github.com/mitmproxy/pdoc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mitmproxy/pdoc/compare/v14.5.1...v14.6.0)

---
updated-dependencies:
- dependency-name: pdoc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 14:08:44 +02:00
dependabot[bot] 2d42cd6b86
Bump the mypy group with 3 updates (#7049)
* Bump the mypy group with 3 updates

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  dependency-group: mypy
- dependency-name: types-requests
  dependency-type: direct:production
  dependency-group: mypy
- dependency-name: types-pyopenssl
  dependency-type: direct:production
  dependency-group: mypy
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix typing

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2024-07-29 14:08:20 +02:00
dependabot[bot] f6907ea979
Update tox requirement from <=4.15.1,>=4.15.1 to >=4.15.1,<=4.16.0 (#7054)
Updates the requirements on [tox](https://github.com/tox-dev/tox) to permit the latest version.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.15.1...4.16.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 14:07:37 +02:00
dependabot[bot] 47fdad06f6
Bump pyinstaller from 6.8.0 to 6.9.0 in the pyinstaller group (#7048)
Bumps the pyinstaller group with 1 update: [pyinstaller](https://github.com/pyinstaller/pyinstaller).


Updates `pyinstaller` from 6.8.0 to 6.9.0
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.8.0...v6.9.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pyinstaller
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 14:07:03 +02:00
dependabot[bot] 73d8969add
Update aioquic requirement from <=1.1.0,>=1.1.0 to >=1.1.0,<=1.2.0 (#7052)
Updates the requirements on [aioquic](https://github.com/aiortc/aioquic) to permit the latest version.
- [Changelog](https://github.com/aiortc/aioquic/blob/main/docs/changelog.rst)
- [Commits](https://github.com/aiortc/aioquic/compare/1.1.0...1.2.0)

---
updated-dependencies:
- dependency-name: aioquic
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 12:01:48 +00:00
dependabot[bot] 00349d3b9a
Update zstandard requirement from <=0.22.0,>=0.15 to >=0.15,<=0.23.0 (#7050)
Updates the requirements on [zstandard](https://github.com/indygreg/python-zstandard) to permit the latest version.
- [Release notes](https://github.com/indygreg/python-zstandard/releases)
- [Changelog](https://github.com/indygreg/python-zstandard/blob/main/docs/news.rst)
- [Commits](https://github.com/indygreg/python-zstandard/compare/0.15.0...0.23.0)

---
updated-dependencies:
- dependency-name: zstandard
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 12:01:35 +00:00
dependabot[bot] ddd46687d1
Update pyopenssl requirement from <=24.1.0,>=22.1 to >=22.1,<=24.2.1 (#7051)
Updates the requirements on [pyopenssl](https://github.com/pyca/pyopenssl) to permit the latest version.
- [Changelog](https://github.com/pyca/pyopenssl/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/pyopenssl/compare/22.1.0...24.2.1)

---
updated-dependencies:
- dependency-name: pyopenssl
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 12:01:33 +00:00
dependabot[bot] 9744b0776d
Bump the pytest group with 3 updates (#7047)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis), [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) and [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.

Updates `hypothesis` to 6.108.5
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.104.2...hypothesis-python-6.108.5)

Updates `pytest-asyncio` to 0.23.8
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.6...v0.23.8)

Updates `pytest` to 8.3.2
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.2...8.3.2)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
  dependency-group: pytest
- dependency-name: pytest-asyncio
  dependency-type: direct:production
  dependency-group: pytest
- dependency-name: pytest
  dependency-type: direct:production
  dependency-group: pytest
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 11:58:21 +00:00
Maximilian Hils 2fbdc525b7
Bump required mitmproxy-rs version (#7045)
bump required mitmproxy-rs version
2024-07-29 11:38:17 +00:00
Gaurav Jain 317f5b9dce
Support all query types in DNS mode (#6975)
* Use mitmproxy_rust's getaddrinfo to resolve domain names

* Use mitmproxy.DnsResolver for A/AAAA queries and forward other queries to dns server

* [autofix.ci] apply automated fixes

* Add suggested changes

* [autofix.ci] apply automated fixes

* nits

* lazy-load resolver

* fix lookup of non A/AAAA records

* bump required mitmproxy_rs version

* [autofix.ci] apply automated fixes

* Add tests

* Update CHANGELOG

* [autofix.ci] apply automated fixes

* Fix tests

* [autofix.ci] apply automated fixes

* Fixup

* Fixup

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2024-07-16 17:31:11 +02:00