Repository navigation
Expand file tree
/
Copy pathmc.env.example
More file actions
41 lines (34 loc) · 1.83 KB
/
Copy pathmc.env.example
File metadata and controls
41 lines (34 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# mcwire runtime configuration — every key is OPTIONAL.
#
# Copy to mc.env (git-ignored) and edit:
# cp mc.env.example mc.env
#
# The client is dynamic by default: it learns peers from mDNS / TCP / UDP
# like real MultipeerConnectivity. With an unedited template everything stays
# anonymous and auto-detected. Lines are simple KEY=VALUE; blank lines and
# # comments are skipped; an `export ` prefix is allowed.
# --- Target service: the Bonjour service type of the app's MC channel ------
# Default: secondsee-mpc (the validated target). Any app's type works:
# MC_SERVICE_TYPE=my-app-mpc
# --- Our display name: TXT `_d` record + handshake identity ---------------
# MC_DISPLAY_NAME=PYSRV
# --- Peer addresses: who to spray ICE checks at (UDP) ---------------------
# Unset = learn live (browser role: the advertiser we dialed; advert role:
# the peer that connected to us). Pin fixed peers with a space/comma list:
# MC_PEER_IP=192.0.2.50,192.0.2.60
# --- Our address: published in mDNS + bound for UDP -----------------------
# Default auto-detected from the default route (no packets sent). Override
# only when that guess is wrong (VPNs / multiple interfaces):
# MC_MY_IP=192.0.2.42
# --- mDNS host identity (the record's server= / host) ---------------------
# Defaults are anonymous: this host's name, and a random UUID host. Pin them
# only if you need a fixed, recognizable host:
# MC_SERVER_NAME=my-mac.local.
# MC_HOST_UUID=12345678-90ab-cdef-1234-567890abcdef
# --- Our advert TCP port (0 = ephemeral, like real MC) --------------------
# MC_ADVERT_PORT=0
# --- DTLS session dump ----------------------------------------------------
# After the DTLS handshake, every key-schedule input + the captured encrypted
# transcript is dumped here for offline key-schedule analysis. Set empty to
# disable dumping:
# MC_DTLS_DUMP=/tmp/dtls_session.json