mitmproxy-linux 0.11.4__tar.gz → 0.12.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.github/actions/setup/action.yml +7 -2
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.github/dependabot.yml +5 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.github/workflows/autofix.yml +5 -5
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.github/workflows/ci.yml +24 -32
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.github/workflows/docs.yml +4 -4
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/CHANGELOG.md +13 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/Cargo.lock +937 -382
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/Cargo.toml +21 -21
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/PKG-INFO +16 -5
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/README.md +4 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/architecture.png +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux/Cargo.toml +6 -6
- mitmproxy_linux-0.12.0/mitmproxy-linux/README.md +24 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux/src/main2.rs +8 -6
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux-ebpf/Cargo.toml +1 -1
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux-ebpf/build.rs +4 -1
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/README.md +7 -1
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/pyproject.toml +1 -1
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/ipc/mitmproxy_ipc.pb.swift +5 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector/app.swift +5 -4
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector.xcodeproj/project.pbxproj +4 -4
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/network-extension/main.swift +2 -1
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/version-info.toml +23 -21
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-windows/pyproject.toml +1 -1
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/pyproject.toml +1 -1
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/dns.rs +41 -29
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/ipc/mitmproxy_ipc.proto +5 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/ipc/mitmproxy_ipc.rs +5 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/ipc/mod.rs +30 -1
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/network/udp.rs +2 -2
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/packet_sources/macos.rs +4 -7
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/packet_sources/mod.rs +6 -9
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/packet_sources/udp.rs +34 -28
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/packet_sources/windows.rs +133 -133
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/packet_sources/wireguard.rs +4 -19
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/processes/macos_icons.rs +5 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/processes/mod.rs +2 -2
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/processes/windows_icons.rs +194 -194
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/processes/windows_list.rs +6 -7
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/shutdown.rs +1 -5
- mitmproxy_linux-0.11.4/mitmproxy-linux/README.md +0 -13
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.cargo/config.toml +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.github/FUNDING.yml +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.github/python-version.txt +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.github/scripts/build-macos-redirector.sh +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.github/scripts/pin-versions.py +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.github/scripts/release +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.github/workflows/release.yml +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/.gitignore +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/CONTRIBUTING.md +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/LICENSE +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/benches/.gitignore +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/benches/dns.py +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/benches/local.conf +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/benches/nonlocal.conf +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/benches/openvpnserv.exe +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/benches/plot.py +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/benches/process.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/benches/py_echo_client.py +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/benches/py_echo_server.py +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/benches/wg_echo_client.py +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/benches/wg_echo_server.py +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux/build.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux/mitmproxy_linux/__init__.py +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux/src/main.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux-ebpf/.cargo/config.toml +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux-ebpf/rust-toolchain.toml +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux-ebpf/src/lib.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux-ebpf/src/main.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux-ebpf-common/Cargo.toml +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-linux-ebpf-common/src/lib.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/.swift-format +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/.swiftlint.yml +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/mitmproxy_macos/__init__.py +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/mitmproxy_macos/macos-certificate-truster.app/Contents/Info.plist +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/mitmproxy_macos/macos-certificate-truster.app/Contents/Resources/mitmproxy.icns +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/.gitignore +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/ExportOptions.plist +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/README.md +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/ipc/utils.swift +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-1024.png +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-128.png +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-16.png +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-256.png +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-32.png +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-512.png +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-64.png +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/Contents.json +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector/macos_redirector.entitlements +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/macos-redirector.xcodeproj/xcshareddata/xcschemes/macos-redirector.xcscheme +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/network-extension/FlowExtensions.swift +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/network-extension/Info.plist +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/network-extension/InterceptConf.swift +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/network-extension/ProcessInfoCache.swift +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/network-extension/TransparentProxyProvider.swift +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/network-extension/libproc-Bridging-Header.h +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-macos/redirector/network-extension/network_extension.entitlements +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-windows/README.md +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-windows/mitmproxy_windows/LICENSE +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-windows/mitmproxy_windows/WINDIVERT_VERSION +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-windows/mitmproxy_windows/WinDivert.dll +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-windows/mitmproxy_windows/WinDivert.lib +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-windows/mitmproxy_windows/WinDivert64.sys +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy-windows/mitmproxy_windows/__init__.py +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/mitmproxy_linux/__init__.py +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/bin/process-list.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/certificates/macos.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/certificates/mod.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/intercept_conf.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/lib.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/messages.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/network/core.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/network/icmp.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/network/mod.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/network/task.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/network/tcp.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/network/tests.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/network/virtual_device.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/packet_sources/linux.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/packet_sources/tun.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/processes/nix_list.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/windows/mod.rs +0 -0
- {mitmproxy_linux-0.11.4 → mitmproxy_linux-0.12.0}/src/windows/network.rs +0 -0
|
@@ -12,15 +12,20 @@ inputs:
|
|
|
12
12
|
runs:
|
|
13
13
|
using: "composite"
|
|
14
14
|
steps:
|
|
15
|
-
- uses: mhils/workflows/setup-python@
|
|
15
|
+
- uses: mhils/workflows/setup-python@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0 # PyO3 wants recent Python on Windows.
|
|
16
16
|
- run: rustup toolchain install ${{ inputs.rust-version }} --profile minimal ${{ inputs.toolchain-args }}
|
|
17
17
|
shell: bash
|
|
18
|
+
- if: runner.os == 'Linux'
|
|
19
|
+
run: rustup toolchain install nightly --component rust-src
|
|
20
|
+
shell: bash
|
|
18
21
|
- run: rustup default ${{ inputs.rust-version }}
|
|
19
22
|
shell: bash
|
|
20
23
|
- if: inputs.extra-targets
|
|
21
24
|
run: rustup target add ${{ inputs.extra-targets }}
|
|
22
25
|
shell: bash
|
|
23
|
-
- uses: mhils/workflows/rust-cache@
|
|
26
|
+
- uses: mhils/workflows/rust-cache@5b6540d578f48644ffa5e955cedadc81034cb7d8 # v19.0
|
|
27
|
+
with:
|
|
28
|
+
key: ${{ inputs.rust-version }} # proxy value for glibc version
|
|
24
29
|
- if: runner.os == 'Linux'
|
|
25
30
|
run: cargo install --locked bpf-linker
|
|
26
31
|
shell: bash
|
|
@@ -13,6 +13,11 @@ updates:
|
|
|
13
13
|
schedule:
|
|
14
14
|
interval: "monthly"
|
|
15
15
|
groups:
|
|
16
|
+
# If a dependency matches more than one rule, it's included in the first group that it matches.
|
|
17
|
+
# Any outdated dependencies that do not match a rule are updated in individual pull requests.
|
|
18
|
+
windows:
|
|
19
|
+
patterns:
|
|
20
|
+
- "windows"
|
|
16
21
|
dependencies:
|
|
17
22
|
patterns:
|
|
18
23
|
- "*"
|
|
@@ -11,13 +11,13 @@ concurrency:
|
|
|
11
11
|
cancel-in-progress: true
|
|
12
12
|
|
|
13
13
|
env:
|
|
14
|
-
MSRV: "1.
|
|
14
|
+
MSRV: "1.85" # Minimum Supported Rust Version
|
|
15
15
|
|
|
16
16
|
jobs:
|
|
17
17
|
protobuf:
|
|
18
18
|
runs-on: macos-latest
|
|
19
19
|
steps:
|
|
20
|
-
- uses: mhils/workflows/checkout@
|
|
20
|
+
- uses: mhils/workflows/checkout@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0
|
|
21
21
|
- run: brew install swift-protobuf
|
|
22
22
|
- run: cargo install protoc-gen-prost
|
|
23
23
|
- run: protoc --proto_path=./src/ipc/ mitmproxy_ipc.proto
|
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
25
25
|
--prost_opt="bytes=data"
|
|
26
26
|
--swift_out=./mitmproxy-macos/redirector/ipc
|
|
27
27
|
- run: cargo fmt --all
|
|
28
|
-
- uses: autofix-ci/action@
|
|
28
|
+
- uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
|
|
29
29
|
|
|
30
30
|
rustfmt:
|
|
31
31
|
runs-on: ${{ matrix.os }}
|
|
@@ -36,7 +36,7 @@ jobs:
|
|
|
36
36
|
- os: macos-latest
|
|
37
37
|
- os: ubuntu-latest
|
|
38
38
|
steps:
|
|
39
|
-
- uses: mhils/workflows/checkout@
|
|
39
|
+
- uses: mhils/workflows/checkout@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0
|
|
40
40
|
- uses: ./.github/actions/setup
|
|
41
41
|
with:
|
|
42
42
|
rust-version: ${{ env.MSRV }}
|
|
@@ -50,4 +50,4 @@ jobs:
|
|
|
50
50
|
- run: cargo fmt --all
|
|
51
51
|
- run: git checkout src/ipc/mitmproxy_ipc.rs
|
|
52
52
|
|
|
53
|
-
- uses: autofix-ci/action@
|
|
53
|
+
- uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
|
|
@@ -22,13 +22,13 @@ jobs:
|
|
|
22
22
|
matrix:
|
|
23
23
|
include:
|
|
24
24
|
- os: windows-latest
|
|
25
|
-
rust: "1.
|
|
25
|
+
rust: "1.85" # MSRV - can't use variables here.
|
|
26
26
|
args: --exclude mitmproxy-linux-ebpf
|
|
27
27
|
- os: macos-latest
|
|
28
|
-
rust: "1.
|
|
28
|
+
rust: "1.85" # MSRV - can't use variables here.
|
|
29
29
|
args: --exclude mitmproxy-linux-ebpf
|
|
30
30
|
- os: ubuntu-22.04
|
|
31
|
-
rust: "1.
|
|
31
|
+
rust: "1.85" # MSRV - can't use variables here.
|
|
32
32
|
args: --exclude mitmproxy-linux-ebpf
|
|
33
33
|
- os: ubuntu-latest
|
|
34
34
|
rust: stable
|
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
env:
|
|
40
40
|
RUSTFLAGS: ${{ matrix.rust == 'nightly' && '-Zpanic_abort_tests -C panic=abort' || '' }}
|
|
41
41
|
steps:
|
|
42
|
-
- uses: mhils/workflows/checkout@
|
|
42
|
+
- uses: mhils/workflows/checkout@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0
|
|
43
43
|
- uses: ./.github/actions/setup
|
|
44
44
|
with:
|
|
45
45
|
rust-version: ${{ matrix.rust }}
|
|
@@ -75,9 +75,8 @@ jobs:
|
|
|
75
75
|
os: ubuntu-latest
|
|
76
76
|
args: --compatibility manylinux2014 --zig --sdist
|
|
77
77
|
- name: linux-arm64
|
|
78
|
-
os: ubuntu-
|
|
79
|
-
|
|
80
|
-
args: --compatibility manylinux2014 --zig --target aarch64-unknown-linux-gnu -i 3.12
|
|
78
|
+
os: ubuntu-24.04-arm
|
|
79
|
+
args: --compatibility manylinux2014 --zig
|
|
81
80
|
- name: macos-universal
|
|
82
81
|
os: macos-latest
|
|
83
82
|
target: aarch64-apple-darwin x86_64-apple-darwin
|
|
@@ -85,17 +84,17 @@ jobs:
|
|
|
85
84
|
runs-on: ${{ matrix.os }}
|
|
86
85
|
name: build mitmproxy-rs (${{ matrix.name }})
|
|
87
86
|
steps:
|
|
88
|
-
- uses: mhils/workflows/checkout@
|
|
87
|
+
- uses: mhils/workflows/checkout@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0
|
|
89
88
|
- uses: ./.github/actions/setup
|
|
90
89
|
with:
|
|
91
90
|
extra-targets: ${{ matrix.target }}
|
|
92
91
|
|
|
93
92
|
- if: runner.os == 'Linux'
|
|
94
93
|
name: Install maturin[zig] from PyPI
|
|
95
|
-
uses: install-pinned/maturin-with-zig@
|
|
94
|
+
uses: install-pinned/maturin-with-zig@b1490b711b58bce2e99c1b49957651fefa9ed6b1
|
|
96
95
|
- if: runner.os != 'Linux'
|
|
97
96
|
name: Install maturin from PyPI
|
|
98
|
-
uses: install-pinned/maturin@
|
|
97
|
+
uses: install-pinned/maturin@43b39b11faf67ba5f8922a76d274cfe7795778fd
|
|
99
98
|
|
|
100
99
|
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
|
101
100
|
run: python .github/scripts/pin-versions.py
|
|
@@ -116,7 +115,7 @@ jobs:
|
|
|
116
115
|
build-macos-app:
|
|
117
116
|
runs-on: macos-latest
|
|
118
117
|
steps:
|
|
119
|
-
- uses: mhils/workflows/checkout@
|
|
118
|
+
- uses: mhils/workflows/checkout@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0
|
|
120
119
|
- if: ${{ !startsWith(github.ref, 'refs/tags/') }} # harden against cache poisoning
|
|
121
120
|
uses: actions/cache@v4
|
|
122
121
|
id: cache-app
|
|
@@ -142,9 +141,9 @@ jobs:
|
|
|
142
141
|
runs-on: windows-latest
|
|
143
142
|
name: build mitmproxy-windows
|
|
144
143
|
steps:
|
|
145
|
-
- uses: mhils/workflows/checkout@
|
|
144
|
+
- uses: mhils/workflows/checkout@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0
|
|
146
145
|
- uses: ./.github/actions/setup
|
|
147
|
-
- uses: install-pinned/build@
|
|
146
|
+
- uses: install-pinned/build@80919007c59a8977ba4eedf1f3234e73f674aa2e
|
|
148
147
|
|
|
149
148
|
- run: cargo build --release --package windows-redirector
|
|
150
149
|
|
|
@@ -159,11 +158,11 @@ jobs:
|
|
|
159
158
|
needs: build-macos-app
|
|
160
159
|
runs-on: macos-latest
|
|
161
160
|
steps:
|
|
162
|
-
- uses: mhils/workflows/checkout@
|
|
161
|
+
- uses: mhils/workflows/checkout@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0
|
|
163
162
|
- uses: ./.github/actions/setup
|
|
164
163
|
with:
|
|
165
164
|
extra-targets: aarch64-apple-darwin x86_64-apple-darwin
|
|
166
|
-
- uses: install-pinned/build@
|
|
165
|
+
- uses: install-pinned/build@80919007c59a8977ba4eedf1f3234e73f674aa2e
|
|
167
166
|
|
|
168
167
|
- run: |
|
|
169
168
|
cargo build --release --package macos-certificate-truster --target x86_64-apple-darwin
|
|
@@ -186,27 +185,20 @@ jobs:
|
|
|
186
185
|
matrix:
|
|
187
186
|
include:
|
|
188
187
|
- name: linux-x86_64
|
|
188
|
+
os: ubuntu-latest
|
|
189
189
|
args: --compatibility manylinux2014 --zig --sdist
|
|
190
190
|
- name: linux-arm64
|
|
191
|
-
|
|
192
|
-
args: --compatibility manylinux2014 --zig
|
|
193
|
-
|
|
194
|
-
- name: linux-x86_64-py3.13
|
|
195
|
-
args: --compatibility manylinux2014 --zig -i 3.13
|
|
196
|
-
- name: linux-arm64-py3.13
|
|
197
|
-
target: aarch64-unknown-linux-gnu
|
|
198
|
-
args: --compatibility manylinux2014 --zig --target aarch64-unknown-linux-gnu -i 3.13
|
|
199
|
-
runs-on: ubuntu-latest
|
|
191
|
+
os: ubuntu-24.04-arm
|
|
192
|
+
args: --compatibility manylinux2014 --zig
|
|
193
|
+
runs-on: ${{ matrix.os }}
|
|
200
194
|
steps:
|
|
201
|
-
- uses: mhils/workflows/checkout@
|
|
195
|
+
- uses: mhils/workflows/checkout@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0
|
|
202
196
|
- uses: ./.github/actions/setup
|
|
203
|
-
with:
|
|
204
|
-
extra-targets: ${{ matrix.target }}
|
|
205
197
|
- name: Install maturin[zig] from PyPI
|
|
206
|
-
uses: install-pinned/maturin-with-zig@
|
|
207
|
-
|
|
198
|
+
uses: install-pinned/maturin-with-zig@b1490b711b58bce2e99c1b49957651fefa9ed6b1
|
|
208
199
|
- run: maturin build --release ${{ matrix.args }}
|
|
209
200
|
working-directory: ./mitmproxy-linux
|
|
201
|
+
- run: test -f target/wheels/*-py3-none-*.whl # ensure we have a universal wheel
|
|
210
202
|
|
|
211
203
|
- uses: actions/upload-artifact@v4
|
|
212
204
|
with:
|
|
@@ -217,7 +209,7 @@ jobs:
|
|
|
217
209
|
needs: build-linux-wheel
|
|
218
210
|
runs-on: ubuntu-latest
|
|
219
211
|
steps:
|
|
220
|
-
- uses: mhils/workflows/checkout@
|
|
212
|
+
- uses: mhils/workflows/checkout@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0
|
|
221
213
|
- uses: ./.github/actions/setup
|
|
222
214
|
- uses: actions/download-artifact@v4
|
|
223
215
|
with:
|
|
@@ -234,12 +226,12 @@ jobs:
|
|
|
234
226
|
- build-windows-wheel
|
|
235
227
|
- build-linux-wheel
|
|
236
228
|
- build-macos-wheel
|
|
237
|
-
uses: mhils/workflows/.github/workflows/alls-green.yml@
|
|
229
|
+
uses: mhils/workflows/.github/workflows/alls-green.yml@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0
|
|
238
230
|
with:
|
|
239
231
|
jobs: ${{ toJSON(needs) }}
|
|
240
232
|
|
|
241
233
|
deploy:
|
|
242
|
-
uses: mhils/workflows/.github/workflows/python-deploy.yml@
|
|
234
|
+
uses: mhils/workflows/.github/workflows/python-deploy.yml@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0
|
|
243
235
|
needs: check
|
|
244
236
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
|
245
237
|
with:
|
|
@@ -20,11 +20,11 @@ jobs:
|
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
21
|
steps:
|
|
22
22
|
# TODO: This should ideally just reuse the main CI artifacts.
|
|
23
|
-
- uses: mhils/workflows/checkout@
|
|
23
|
+
- uses: mhils/workflows/checkout@3c9fc8f5b40cb8f3f1b81163f3f195cad843b09a # v18.0
|
|
24
24
|
- uses: ./.github/actions/setup
|
|
25
|
-
- uses: install-pinned/maturin-with-zig@
|
|
26
|
-
- uses: install-pinned/mypy@
|
|
27
|
-
- uses: install-pinned/pdoc@
|
|
25
|
+
- uses: install-pinned/maturin-with-zig@b1490b711b58bce2e99c1b49957651fefa9ed6b1
|
|
26
|
+
- uses: install-pinned/mypy@75779f141592e4909d64e13f8a1861f06aa9cd8d
|
|
27
|
+
- uses: install-pinned/pdoc@69ba59f9699df21e1026110af4ec6b10a98cf5cd
|
|
28
28
|
|
|
29
29
|
- run: maturin build --features docs,pyo3/extension-module
|
|
30
30
|
working-directory: ./mitmproxy-rs
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
## Unreleased: mitmproxy_rs next
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## 14 April 2025: mitmproxy_rs 0.12.0
|
|
5
|
+
|
|
6
|
+
- Add `mitmproxy_rs.contentviews` module with MsgPack, Protobuf, and gRPC views.
|
|
7
|
+
- Add `mitmproxy_rs.syntax_highlight` module with YAML and HTML support.
|
|
8
|
+
- Wireguard: Bind server to specified address only.
|
|
9
|
+
|
|
10
|
+
## 17 February 2025: mitmproxy_rs 0.11.5
|
|
11
|
+
|
|
12
|
+
- Fix a bug where buffer space wasn't reclaimed correctly, leading to an error in local capture mode.
|
|
13
|
+
- macOS: Make sure an existing network extension is replaced if a newer version is available.
|
|
14
|
+
- macOS: Fix a bug where IPv6 addresses with scope ids were not parsed correctly.
|
|
15
|
+
- Improve error message if `bpf-linker` is missing.
|
|
16
|
+
|
|
4
17
|
## 06 January 2025: mitmproxy_rs 0.11.4
|
|
5
18
|
|
|
6
19
|
- Fix PyInstaller hooks to include `mitmproxy_linux`.
|