Skip to content

Commit aac9397

Browse files
committed
macos: docs++
1 parent 448d203 commit aac9397

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

mitmproxy-macos/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,10 @@ This package contains the following precompiled binaries for macOS:
88
## Redirector Development Setup
99

1010
The macOS Network System Extension needs to be signed and notarized during development.
11-
You need to reconfigure the XCode project to use your own (paid) Apple Developer Account.
11+
You need to reconfigure the XCode project to use your own (paid) Apple Developer Account.
12+
13+
- Clicking "Build" in XCode should automatically install `/Applications/Mitmproxy Redirector.app`.
14+
- Run mitmproxy with an `MITMPROXY_KEEP_REDIRECTOR=1` env var to keep the development version.
15+
mitmproxy should start with "Using existing mitmproxy redirector app."
16+
- ⚠️ Bump the network extension version on changes, otherwise existing installations will not be replaced
17+
on upgrade, see https://github.com/mitmproxy/mitmproxy_rs/pull/227.

src/ipc/mitmproxy_ipc.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,29 @@ message FromProxy {
2525
}
2626
}
2727
// Packet (macOS UDP Stream)
28+
// ⚠️ Bump network extension version on changes, https://github.com/mitmproxy/mitmproxy_rs/pull/227.
2829
message Packet {
2930
bytes data = 1;
3031
}
3132
// Intercept conf (macOS Control Stream)
33+
// ⚠️ Bump network extension version on changes, https://github.com/mitmproxy/mitmproxy_rs/pull/227.
3234
message InterceptConf {
3335
repeated string actions = 1;
3436
}
3537
// New flow (macOS TCP/UDP Stream)
38+
// ⚠️ Bump network extension version on changes, https://github.com/mitmproxy/mitmproxy_rs/pull/227.
3639
message NewFlow {
3740
oneof message {
3841
TcpFlow tcp = 1;
3942
UdpFlow udp = 2;
4043
}
4144
}
45+
// ⚠️ Bump network extension version on changes, https://github.com/mitmproxy/mitmproxy_rs/pull/227.
4246
message TcpFlow {
4347
Address remote_address = 1;
4448
TunnelInfo tunnel_info = 2;
4549
}
50+
// ⚠️ Bump network extension version on changes, https://github.com/mitmproxy/mitmproxy_rs/pull/227.
4651
message UdpFlow {
4752
optional Address local_address = 1;
4853
TunnelInfo tunnel_info = 3;

0 commit comments

Comments
 (0)