mirrord
The release changelog for the mirrord CLI.
3.285.0 - 2026-11-04
Added
Added
common.baggagetomirrord-up.yaml, which sets thebaggageoption for every service.Added
exclude_tablesto the MySQL and MariaDB database branch copy config to leave tables out of the copy by name or pattern.Split queue entries without a filter now use the filter set on the target's
MirrordSplitConfig.
Fixed
Clear error for
multi_cluster: falseand label targets on a management-only multi-cluster Primary.The configuration schema accepts a Redis branch in
feature.db_brancheswithoutlocation, which defaults toremote.
3.284.0 - 2026-11-02
Added
Added
db_branchingtomirrord-up.yamlmodes:empty,schemaorallrequests everyMirrordSplitConfigDB branch with that copy mode,inheritwith each entry's own,offnone. An entry namedsplit,replaceormirrormay set it for that built-in mode. A mode without it branches like the built-in mode itsincomingnames, and a mode withoutqueuessplits them like itsincoming: mirrored withincoming: mirror, stolen otherwise. Inmirrord.json,feature.db_branchestakes{ "entries": "*", "copy": { "mode": "schema" } }to request a copy mode.mirrord upfails before starting any service when a mode'sdb_branchingorqueuesline can't be served: no usable operator (saying why), no DB branch definitions, an entry's database engine turned off in the operator, a copy mode outside an entry'sallowedModes, or an operator that splits no queues. It also fails up front when services sharing a DB branch ask for different copy modes.Added custom modes to
mirrord-up.yaml: amodesentry setsincomingandqueues, and is selected by name withdefault_modeormirrord up --mode.
Changed
On Linux,
experimental.hook_libc_syscallandexperimental.old_glibc_supportare now enabled by default for OSS users.
Fixed
Fixed the layer losing its internal proxy connection when an application reuses low fd numbers, such as the s6-overlay
/initscript.
3.283.0 - 2026-11-01
Added
Added
mirrord preview sync, which previews each service withsyncinmirrord-up.yamlwith your local code instead of a built image: the CLI pushes thesync.filesdirectories into the preview pod,sync.installinstalls the dependencies again when they change, and--watchkeeps pushing your edits. A service runs its image from--imageorMIRRORD_<SERVICE>_IMAGE, or the target's own image without one.mirrord preview statusshows the sync of each session.
Changed
Update the bundled apple-utils to
v10.
3.282.0 - 2026-10-30
Added
Experimental:
mirrord up --debug <service>holds that service's program before its own code runs, until an IDE attaches its debugger and releases it. It's hidden from help on every platform, and may still change.New
mirrord up listprints every service in an up file asmirrord upwould run it: its target, mode, command and folder, without touching the cluster.--format jsonprints the same for scripts and IDE extensions.
Changed
mirrord upshows inmirrord --helpand shell completions on Windows.
Fixed
Calls that describe a folder above the working directory, such as
statandaccess, now stay local by default on Linux and macOS, so resolving a local path no longer fails when the target doesn't have those folders.Honor workload selector expressions when selecting target pods, including workloads with expression-only selectors.
mirrord no longer waits for many minutes, printing nothing, when the cluster answers 503 for the mirrord operator.
startup_retryalone now decides how often those requests are retried.
3.281.0 - 2026-10-28
Added
Paid-feature errors identify the configuration key and required plan, with billing guidance for cluster administrators. Local paid-feature refusals are reported to operators that support license-gate reporting.
Changed
Added sanitization to the
JDK_JAVA_OPTIONSenvironment variable by removingjavaagentoptions. This fixes some cases of injected variables pointing to non-existent files and causing errors. Malformed values (those with unmatched quotes) are left unchanged. Setfeature.magic.java_agentstofalseto keep the remote value unchanged.
Fixed
Added
agent.http2_max_header_list_sizeto configure the agent's HTTP/2 header size limit.Fix the permissions of the local placeholder file created for remote files when
experimental.use_dev_nullisfalse.mirrord upno longer stops showing a service's output, and reports the service as crashed, when the service prints text that isn't UTF-8, such as a Windows console code page's£.mirrord upnow returns a helpful error when trying to use a label selector target.
3.280.0 - 2026-10-27
Removed
Removed the
imagefield frommirrord-up.yamlservices.mirrord preview uptakes each service's image from--image <service>=<image ref>orMIRRORD_<SERVICE>_IMAGE.
Added
Remote Redis branches accept
cluster: trueto run as a one node Redis Cluster, so applications using a Redis Cluster client can connect to the branch.
Changed
On Linux, the layer logs at startup which glibc the process runs on, which glibc the executable was built against, and the kernel release, to help diagnose hooks that never fire.
3.279.1 - 2026-10-25
Fixed
Keep the parent's live listening-port subscription when a short-lived child spawned through
vforkcloses an inherited listening socket.
3.279.0 - 2026-10-24
Added
Add
mirrord preview down, which deletes every preview environment under a key in all namespaces, finding the key the waymirrord preview updoes.Add
mirrord preview up, which starts a preview environment for every service of amirrord-up.yamlthat has an image (from--image <service>=<ref>,MIRRORD_<SERVICE>_IMAGEor the service'simage), all under one key, and returns once each one is ready.Services in
mirrord-up.yamlaccept an optionalimagefield, the container imagemirrord preview upruns in the service's preview environment.mirrord upignores it.
Fixed
Fixed a SIGSEGV on macOS when apps using libuv 1.53+ (e.g. Homebrew Node) connect to a unix socket.
3.278.0 - 2026-10-22
Added
A
kube_contextset in the global~/.mirrord/mirrord.json(mirrord config set kube_context <context>) is used when a command has no context of its own, includingmirrord up,mirrord tuiand themirrord operatorcommands, andmirrord uiopens on it.Install script verifies downloads and takes an install directory.
Read DB branch connection values from AWS SSM Parameter Store with
aws_ssm_parameter.
Changed
Point at the Helm value to enable when an operator feature is switched off in the chart, instead of suggesting an upgrade.
Fixed
DB branches name the right database when the source URL is a literal
value.Fixed concurrency issues in the layer<->intproxy connection handler, improving performance of multi-threaded applications.
Joining a session through the browser extension from
mirrord uisends the session's kube context, so the extension finds the session's HTTP filter when it runs outside the current context.
3.277.0 - 2026-10-21
Security
Update
webpki-roots,webpki-root-certsandrustls-webpkito stop trusting the compromised eMudhra intermediate certificate authorities.
Added
Added a tip pointing to
mirrord operator installon mirrord runs without an operator.mirrord operator signupstarts a 7-day Enterprise trial under a new organization, prints its claim URL and saves its API key on the machine formirrord operator install --from-signup, so AI agents can set up mirrord without an account.mirrord uprequests DB branching (db_branches: "*") for services insplitandmirrormode, so services of one run that use the same database share one branch. What each service requested and gets is printed before the sessions start, and a session that fails before launching its service now reportsService {name} failed to start.
Changed
Clarified CI command help and documentation for running without a CI API key on supporting Free and Teams operators.
mirrord operator installwithout--api-keynow logs you in to the MetalBear app and creates your organization's operator API key, which goes into the cluster without being shown, instead of starting a trial under a new organization. Only organization admins can create the key, and an organization that already has one is asked to install with it. It also no longer prints a helm takeover command after installing.mirrord up initpicks each service's namespace and workload from the cluster, follows the flow and wording ofmirrord wizard, and asks only for what has no good default.
Fixed
Take the source address of a connection handed off by the remote layer from the transferred socket instead of the address the layer reports.
The workload picker of
mirrord upoffers the namespace of the kube context when the user can't list all namespaces, and lists the workloads of the kinds that the user can read. When the user can't read any workload of a namespace, it asks for another namespace.
3.276.0 - 2026-10-19
Added
Add
namespaceto run DB branches in a namespace per key
Changed
Renamed the "License key" label in the mirrord UI session details to "Session key".
Fixed
Fix Go programs on Linux arm64 receiving syscall results truncated to 32 bits, which crashed them when the result was a pointer such as an
mmapaddress. #5092Avoid reporting an incorrect namespace in database branch warnings when the operator uses a custom namespace pattern.
Fix
mirrord execon Windows not printingReady!when the layer is injected withapcoriat, somirrord upnever saw those services become ready.Fix
mirrord upon Windows printing the "norun.directoryset" notice when run from the folder that holdsmirrord-up.yaml.Fix
mirrord upon Windows sometimes hanging, even through Ctrl-C, after a service exited or crashed on its own.
3.275.0 - 2026-10-17
Added
Added
--chartand--valuestomirrord preview startandmirrord preview diffto build previews from a Helm chart.Added
feature.kafka_branch, which points a session's Kafka clients at an isolated broker shared by every session with the same key.On Windows,
feature.fspatterns can name a drive, as in^C:/Repos/, and thepath_patterntemplate filter turns a path from the environment into a pattern, as in"^{{ get_env(name='TEMP') | path_pattern }}/(.*)$": "/tmp/$1".On Windows, a stack overflow in the mirrord CLI prints the stack with the size of each frame, largest first, so the report shows what used the stack up.
Select one field from JSON AWS/GCP secrets in DB branching.
Changed
Bundle a non-SIP-protected
zshin apple-utils, so/bin/zshno longer needs to be SIP-patched.BranchDatabaseresources record the names of the sources they copy, and their spec can no longer change after creation except formigrations.
Fixed
The README and the configuration reference show how to set
agent.disabled_capabilities, and mirrord warns about values in it that it ignores. #5026A
feature.fs.mappingpattern rewrites a path whose case differs from the pattern's, as documented, instead of leaving the path unchanged.A session whose process never connects ends after
internal_proxy.start_idle_timeout; IDE launches keep waiting for it unless that is set.Fixed
sendfileon Linux skipping data when the output accepted fewer bytes than were read.On Linux,
lstatthrough glibc's__lxstatno longer follows symlinks. Node.js sees remote file metadata with the newexperimental.hook_libc_syscallandexperimental.old_glibc_supportoptions.On Windows,
%TEMP%stays local by default even when the user name holds a character such as(or[.On Windows,
feature.fs.mode: "localwithoverrides"keeps a file local unless a pattern sends it to the remote, instead of reading every file remotely.mirrord no longer patches
/usr/bin/securityfor SIP, so tools that read their credentials from the keychain through it, such as Claude Code, no longer make macOS ask for the keychain password on every run.
3.274.0 - 2026-10-14
Added
mirrord upservices can setrun.pre_commandto run a build step without mirrord before their session starts.
Changed
Warn when a Temporal task queue requested in
mirrormode runs assteal.
Fixed
Fixed a crash on macOS when a process passes its own environment to
execveand starts a binary in an app bundle that mirrord patches for SIP.mirrord preview startkeeps the preview URL when replacing a session for the same key and target.mirrord uperrors show their help again, such as the list of available services, and YAML parse errors no longer print their snippet twice.
3.273.0 - 2026-10-13
Added
Added the
get_skilltool tomirrord mcp, and served every vendored skill as an MCP prompt and amirrord://skills/<name>resource.Added the
search_docsandread_doctools tomirrord mcp, for keyword search and reading of the docs, skills, and config options shipped with mirrord, and served every docs page as amirrord://docs/<path>resource.mirrord subscribestreams every session without a key and names each event's cluster.
Fixed
Include Kubernetes type and object metadata when submitting literal database branch credentials, allowing Kubernetes access proxies to decode the request.
Preview
secret_mountsanddb_branchesfrom aMirrordSplitConfigwork for users bound tomirrord-operator-userby aRoleBinding.The
TMPDIR,TMPandTEMPenvironment variables of the target are now not copied to the local process by default, because their directory often does not exist on the local machine. For example,yarn runfailed withENOENT: no such file or directory, lstaton the remote temporary directory.Users bound to
mirrord-operator-userby aRoleBindingcan use literaldb_branchesconnection values.
3.272.0 - 2026-10-11
Added
Added local fallback collection and
mirrord diagnose sip-reportfor protected macOS binaries that still require Rosetta.
Added the
explain_config_optiontool tomirrord mcp, which describes amirrord.jsonormirrord-up.yamloption (docs, type, allowed values, default and required plan) from the installed version's schema.TLS stealing can present a client certificate matching the identity of the original mTLS client: the agent when passing through unmatched traffic (
agentAsClient.identitiesin the TLS steal configuration), and the local delivery when sending stolen and mirrored traffic to the local application (feature.network.incoming.tls_delivery.client_identities).Vendored the mirrord docs and skills into the
mirrord mcpbinary from pinned commits, whichmirrord://inforeports and every release PR bumps.feature.db_branchesaccepts"*"or entry ids from the target's MirrordSplitConfig.mirrord-schema.jsonandmirrord-up-schema.jsonrecord the mirrord plan (oss,teamorenterprise) each feature option and target kind needs, asx-mirrord-plan.
Fixed
An invalid
feature.network.incoming.http_filter(a regex, method or jq expression that doesn't compile, ormethod_filter/header_filter_jqcombined with another filter) is reported when the config is verified, instead of crashing the layer when it starts.Bun users now resolve cluster hostnames, without needing
BUN_FEATURE_FLAG_DISABLE_DNS_CACHE_LIBINFO.Corrected CI command help:
mirrord ci startandmirrord ci containeruse automatic ordinary credentials without a CI API key when a supporting Free operator advertises keyless CI; other operator-backed CI sessions require a CI API key. No-operator sessions and localmirrord ci stopdo not require one.Fixed
unlinkatrelative to an opened remote directory to keep using that directory after it is renamed or its original path is replaced, preventing deletion in a replacement directory.Fixed some calls in mirrord that waited for I/O while they kept an internal lock:
closeon a socket or a remote file,closediron a remote directory,connectto a local listener, anddup2ordup3onto a remote file. Other threads could stall while one of these calls waited, if they made socket or file calls or started a process. Also fixed a remote directory that could stay open afterclosedirwhen another thread calledforkat the same time.Fixed the interactive progress spinner on Windows erasing the output of the program started by
mirrord exec.On Windows, programs that mirrord runs by name (
docker,podman,redis-server,git, ...) are now also found when they are installed as.cmd/.batshims, the same waycmd.exeand PowerShell resolve them throughPATHEXT.Starting a queue-splitting session shows why the target's pods aren't ready yet, and
mirrord queues statuslists each pod's reason.The
validate_configtool ofmirrord mcpchecks eachmirrord-up.yamlservice the waymirrord upassembles it, so it reports services thatmirrord upwould refuse to run, such as a targetless service insplitmode or areplaceservice with a pod target.The configuration reference describes what MySQL and MariaDB
copy.dump_argscan leave out of a branch.Warnings about a database branch, such as a server version mismatch, show in the session that creates the branch, not only in sessions that reuse it.
3.271.0 - 2026-10-07
Added
Added
mirrord preview diffto compare manifest files with the live cluster.Added
mirrord preview start --resourceto build previews from your manifest files.Experimental Windows support: the layer is injected with stork and installs its hooks before a launched program reaches its entry point. The injection method can be chosen with
MIRRORD_INJECTION_METHOD(load-library,apcoriat).mirrord attachreports why the layer failed to initialize instead of waiting out a timeout, the layer log file recordsinfoevents withoutMIRRORD_LOG, and crash reports explain fast-fail and heap-corruption exits.
Fixed
An unreachable
mirrord-consoleno longer aborts the target: the layer reports it on stderr and logs to its usual file and stderr sinks instead. On Windows, console logging works again, and a console that stops responding is reported once instead of stalling the process.Fixed the internal proxy ending the whole session when accepting a new layer connection failed transiently, for example when a process exited while its connection was still waiting to be accepted.
The
featureandfeature.envconfig examples in the docs no longer set bothincludeandexclude. mirrord does not allow them together, somirrord verify-configrejected these examples.The complete config example in the docs is now a valid config. It had the removed
connect_tcpfield, a trailing comma, and bothincludeandexcludeinfeature.env, somirrord verify-configrejected it.mirrord operator installrefuses to install an operator older than 3.197.0.
3.270.0 - 2026-10-05
Added
Added
feature.network.incoming.tls_delivery.client_cert_source. With"target", a preview session presents the client certificate already inside the target's container (at theclient_certandclient_keypaths), read by the operator from a running pod, so mutual TLS previews no longer need the certificate copied to the developer's machine.Added
mirrord operator uninstall, which removes the operator thatmirrord operator installinstalled, also when the installation failed half-way. Likemirrord operator install, it does not require the helm CLI, takes--context, and on a terminal asks for confirmation first.mirrord operator installandmirrord operator uninstallsend one anonymous usage event for each run, with its outcome. SeeTELEMETRY.mdfor what the events contain and how to disable them.mirrord operator installtakes--contextto install into a different Kubernetes context. On a terminal, it asks for confirmation before it starts a trial or changes the cluster, and--yesskips the question.
Fixed
Fixed
posix_spawnchildren missing shared socket configuration after an earlier child on the same thread executed.
3.269.0 - 2026-10-05
Changed
The "operator not found" error explains how to disable the operator remembered in
~/.mirrord/mirrord.json.
Fixed
Reused db branches now override the current config's env vars, not the creator's.
3.268.0 - 2026-10-02
Added
Added
mirrord mcp, an MCP server over stdio for AI agents, with avalidate_configtool that checksmirrord.jsonandmirrord-up.yamlcontent against the installed mirrord version's schema.Added
mirrord operator install, which installs the operator from the helm chart without requiring the helm CLI, and starts a claimable trial when no API key is given.Added
mirrord session list --format jsonso scripts can select sessions without parsing a table.CLI errors now show the Kubernetes context, cluster, namespace and mirrord config file used for the run.
Show a warning when the local application listens on a port that the target container does not declare. The warning suggests setting
feature.network.incoming.port_mapping.mirrord upsuggests the closest allowed name whenmirrord-up.yamlhas an unknown field or value, for example "did you meantarget?".
Changed
The agent no longer logs an error when the kernel does not support
pidfd_open. It logs a warning that says the agent won't stop when the target container exits. #4918
Fixed
Fixed
sendfileon macOS reporting a failed send as fully sent when the socket would block, which made callers like Ruby'sIO.copy_streamsilently drop data.Start the local UI daemon for DB branch port forwarding only when needed, and keep it running when the process that started it receives Ctrl+C.
When the port-forward to the agent fails because the WebSocket upgrade is rejected, the error now says that this step failed, and shows the HTTP status and the response body.
3.267.0 - 2026-09-30
Added
PostgreSQL branches can copy several databases from one source server into one branch with
additional_databases.
Changed
Two
db_branchesentries that would be the same branch now fail the session instead of one silently using the source database.
Fixed
Database branches of different types sharing an
idno longer share, and overwrite, one credential Secret.Database branches of different types that share an
id, or set none, each get their own branch instead of one reaching the source.mirrord cipersists its cleanup state atomically and rejects malformed state instead of silently discarding recorded cleanup targets.
3.266.0 - 2026-09-29
Added
Added a JSON schema,
mirrord-up-schema.json, formirrord-up.yaml.Preview environments accept a label target covering several workloads.
Changed
mirrord upreplace mode no longer automatically adds queue splitting config.
Fixed
Fixed remote
stat-family calls in the agent:fstatatrelative to a directory fd looked up a path with the target root prefixed twice, and in targetless mode paths were resolved relative to the agent's working directory instead of/.The internal proxy terminates registered mirrord-injected processes during shutdown, including processes outside the launched application's process group.
mirrord ci stoplets the internal proxy terminate registered injected processes and retains failed cleanup targets for a later retry.mirrord ci stopterminates background application process groups so child processes started by wrappers do not keep running.
3.265.0 - 2026-09-27
Added
Add turbopuffer namespace branching.
Added
feature.fs.prefetch, a list of remote paths that mirrord copies into a local temporary directory before the process starts, so that operations on those paths are served locally instead of going through the agent. Use cases speeding up include HTTP servers that re-read/etc/sslfrom the filesystem on every request.
Fixed
Fixed the internal proxy terminating every process in the session when a single layer connection closed before completing its handshake.
The agent now correctly resolves chained symlinks and symlinks in paths.
3.264.0 - 2026-09-25
Added
Added
tls_delivery.client_certandclient_keyso stolen TLS traffic reaches local and preview apps that require a client certificate.Database branch connection parameters now accept a
urlbase that the other parameters override.Queue splitting filters can now be composed with
any_of/all_ofand match any message attribute viametadataregexes, aligned with the HTTP filter shape.
Fixed
Fixed debugging Node apps from VS Code hanging when the app uses a fixed inspector port.
Reject unsupported preview TLS delivery and incomplete client credentials before replacing an existing preview.
3.263.0 - 2026-09-24
Added
The mirrord UI now shows how many incoming traffic deliveries each active port subscription receives.
mirrord now warns when a database branch's image runs a different server version than the source database, naming both versions.
Changed
Messages that say a run needs the operator, and
mirrord session list, tell AI coding agents they can install the operator themselves, pointing athttps://metalbear.com/agents.md.The
guard_std_fdsexperimental config is now deprecated and enabled for all users by default.mirrord upnow startsmirrord uiin the background by default.
Fixed
Fixed a deadlock when a process with an active gRPC channel forks.
The mirrord UI now distinguishes a missing operator from lost Kubernetes access, shows the Kubernetes error with re-authentication guidance, and retries with refreshed credentials.
mirrord upnow gracefully stops all managed services when interrupted, instead of reporting user-ended sessions as failures or leaving child processes running.
3.262.0 - 2026-09-20
Added
Added
--unmatchedand--session-key-fieldtomirrord subscribe, reporting queue messages no filter took and naming the session each event belongs to.Added an Events tab to
mirrord ui, listing the HTTP and queue messages the operator intercepted across every cluster session.
Fixed
Fixed
mirrord subscribeandmirrord uiignoring the configuredbaggage, so neither could reach an operator you are running yourself.Fixed
mirrord uihanging indefinitely when the selected kube context's credentials have expired, instead of reporting it as unreachable.Fixed node-local UDP routing through the operator by preserving the target pod's HostIP metadata when resolving its runtime state.
Fixed unix stream socket pathname truncation when clients like PHP report
addrlenwithout the trailing NUL, allowing the complete path to reach outgoing matching and forwarding.HTTPS stealing works when the original client sends no SNI and the certificate names a host: set
serverNamein the TLS steal config.
3.261.0 - 2026-09-17
Changed
Add
/var/run/secrets/and/run/secrets/to read remote by default list.
Fixed
Fixed
mirrord containerconnections to outgoing unix stream andSOCK_SEQPACKETsockets by sharing the temporary bridge socket with the app container.
3.260.0 - 2026-09-16
Changed
Apply global configuration consistently to every mirrord command that resolves configuration while preserving explicit project configuration, environment variables, and CLI flags.
Fixed
Fixed
xcrun,make,gitand other developer command line tools failing under mirrord on macOS 27 with an architecture mismatch when loadinglibxcrun.dylib.
3.259.0 - 2026-09-16
Added
mirrord's anonymous usage analytics now report whether a session was launched by an AI coding agent (Claude Code, Cursor, Codex, Gemini CLI, Amp), detected from environment variables the agents set, in the same best-effort way as the existing CI detection.
Fixed
Fixed remote
lstatandreadlinkfailing withENOENTwhen a parent directory is an absolute symlink, such as/var/run -> /run. This broke PHPfile_get_contentson files like/var/run/secrets/eks.amazonaws.com/serviceaccount/token.
3.258.0 - 2026-09-15
Added
Add
mirrord config setandmirrord config unsetcommands for updating user-wide mirrord configuration.Added
mirrormode tomirrord up. Use it in the command (--mode mirror) or the config file (default_mode: mirror).Preview environments can target a CronJob (
cronjob/<name>), withfeature.preview.cronjob.scheduleoverriding the inherited schedule.
Fixed
Fixed SIP patching on macOS when system binaries contain the newer
arm64e.x1architecture slice.
3.257.0 - 2026-09-14
Added
Added Liquibase migration support.
3.256.0 - 2026-09-09
Added
Add user-wide configuration for remembering successful operator use per Kubernetes context and selecting a default Kubernetes context for
mirrord exec.
Changed
Skip the
cloud-sql-proxysidecar when automatically picking a target container, so a pod running the Cloud SQL Auth Proxy resolves to the application container.
Fixed
Show which database branch a session reuses and why, instead of "0 ready, 0 pending"
mirrord operator session stopnow echoes the session id back as uppercase hex, matching the id the user passed and theSession IDcolumn ofmirrord operator status, instead of the decimal value it parsed into.
3.255.0 - 2026-09-09
Added
Added
mirrord tui, a terminal interface for browsing the targets, sessions, queue splits, branch databases and preview environments on the connected cluster. It runs on macOS and Linux for now, and is experimental: depending on how it gets used and what feedback it draws, it may change substantially or be removed.Added a
configmapconnection source for DB branching, reading host, port, or database name out of a ConfigMap entry such as a mounted config file.Added the
NATSPubSubqueue type to thesplit_queuesconfig, splitting core NATS (non-JetStream) subject subscriptions with best-effort delivery.Preview environments print their pods' last output when they fail, and
mirrord preview logsreads it back afterwards.The
mirrord uievent stream now reports preview environments as they appear, change phase, and go away.The
mirrord uisession view now shows why a preview environment is in the phase it reports, what each cluster of a fleet reports, and what its pods printed.mirrord queues statusnow shows the temporary queues mirrord created for each session (mirrord-tmp-...): always in the single-split detail view, and as an extra column in the listing when--temp-queuesis passed.
Fixed
Fixed
mirrord containerfailing on startup withunexpected EOF when reading stdoutsince 3.252.0: the intproxy sidecar panicked building an HTTP client for the local daemon because the CLI container image has no system CA certificates. The client is now built fallibly and themirrord-cliimage installsca-certificates. #4856Fall back to a generated directory with a warning when the default layer extraction path is an existing file.
The agent now logs a warning when an explicitly configured iptables backend (
agent.nftables) hides service mesh rules living in the other backend. Such a mismatch disables mesh-aware traffic redirection and can deliver still-encrypted mesh traffic directly to the application's plaintext port.
3.254.0 - 2026-09-03
Added
Added NATS queue type to the
split_queuesconfig.
Fixed
Failed iptables rule removal during steal port teardown no longer disconnects all clients.
Fixed
mirrord db-branches connectionsshowing no port forward for branches whose connection parameters usevalue_patternsources.Keep remote file operations and cleanup working after an agent reconnect.
Make mirrord user data updates atomic so concurrent processes and interrupted writes do not corrupt or lose stored data.
3.253.1 - 2026-09-02
Fixed
Fixed a stolen HTTP/2 request being sent to the local application over HTTP/1 without a
Hostheader, which servers that enforce the HTTP/1.1 host requirement answer with a 400 response before the application sees the request.Fixed a stolen HTTP/2 request being sent to the local application over a pooled HTTP/1 connection, which made the protocol the application saw depend on what was in the connection pool.
3.253.0 - 2026-09-01
Added
RabbitMQ queue splitting now supports
jq_filterinfeature.split_queues, andmirrord upincludes RabbitMQ in its automatic queue splitting (requires operator support).
Fixed
Fixed an issue where
conntrack -Dflush entries of newly redirected incoming connections.
3.252.1 - 2026-08-31
Fixed
Detect the PyCharm debugger port when the interpreter runs with options before the script, such as
python -X pycache_prefix=... pydevd.py. The layer looked for the script right after the interpreter, so it missed the port and sent the debugger connection to the target, leaving the IDE stuck waiting to attach. #4776
3.252.0 - 2026-08-31
Added
Add S3 bucket branching.
{"type": "s3", "source": {"params": {"bucket": "MY_BUCKET_ENV_VAR"}}}gives the session a branch S3 bucket, cloned in the provider's cloud. The branch bucket can be seeded empty, with all objects, or with the objects matching a list of configured regular expressions.Keep database branch port forwards alive while another local mirrord session is using them. Sessions attach to a shared local forward, and the forward closes automatically after the last session exits or crashes.
Changed
Adds support for JSON output for
db-branches connectionscommand.Improve some certificate error messages when starting a session with the operator.
Fixed
Added
JB_IDE_PORTto the ignored debugger ports.Fixed a bug where the agent could scramble data in tunneled outgoing connections.
3.251.0 - 2026-08-25
Added
Added AWS IAM (MONGODB-AWS) authentication for MongoDB DB branching.
Added AWS Secrets Manager connection sources for DB branching.
Added copy Job and profile-supplied defaults for generic db branches.
Branch databases and preview sessions report a
Readycondition.Copy targets report when they become eligible for deletion.
Profiles and queue registries report whether the operator accepted them.
kubectl getshows phase, readiness, target, and timing details for mirrord resources.mirrord upservices can setrun.directoryto run their command from a directory relative to the configuration file.
Changed
Adds a
config_patchoption to the mirrord up config, where you can use this to patch the config of individual services with custom values.
Fixed
Make the
install.shscript POSIX sh compatible, so that piping it intoshworks on systems where/bin/shis dash (e.g. Ubuntu). #4762Fail
mirrord upbefore starting sessions on Windows when a selected service usesmirrord containeror an API key would route it through mirrord for CI, and defaultmirrord up inittomirrord exec.Fixed the session monitor's
Affectedevent filter, which compared chaos rule selectors against resolved IP addresses and so never matched anything.
3.250.0 - 2026-08-21
Security
Updated
h2to a release that fixes unbounded memory use when handling empty HTTP/2 DATA frames (RUSTSEC-2026-0258).
Added
Added
query_paramsto pg db branches for branch connection overrides likesslmode.
Changed
Changed
mirrord preview statusto use the same table format as other CLI commands.Made subcommands and options more consistent across the CLI, while keeping old command names as aliases.
Temporarily removed outgoing connection latency injection for chaos testing.
Fixed
Stop generated shell completions from suggesting internal mirrord commands.
Stop the session monitor UI from re-sending a telemetry opt-in event on every session poll, so an idle
mirrord uitab no longer emits a steady stream of redundant events.
3.249.0 - 2026-08-17
Security
Released agent and CLI images and the released CLI binaries are now published with signed SLSA build provenance, so you can verify that what you pulled or downloaded was built by our release pipeline from this repository. Verify with
gh attestation verify oci://ghcr.io/metalbear-co/mirrord:<version> --owner metalbear-co, orgh attestation verify <binary> --owner metalbear-cofor a downloaded binary.
Added
Kafka queue splitting can decode plain-protobuf payloads for jq filters via
payload_protobuf.
3.248.1 - 2026-08-16
No significant changes.
3.248.0 - 2026-08-16
Added
The
preview statusandpreview stopcommands can now filter/stop multiple sessions at once through the--globoption, which compares session keys using a glob pattern instead of a direct string comparison.
Fixed
Fixed the agent panicking and dropping the session when a outgoing connection ended in a read error.
3.247.0 - 2026-08-12
Added
Browsers can join a session from a share link, with no extension.
Multi-cluster preview replicas.
Changed
mirrord uinow shows the state, e.g. idling or active, of preview sessions.
3.246.0 - 2026-08-10
Added
The agent now replaces the
Cache-Controlheader of HTTP responses that went through it withno-cache, no-store, must-revalidate, so that browsers and caching proxies don't cache responses served while mirrord redirects a target. Set the newagent.override_cache_controlconfig option tofalseto turn this off.
Changed
mirrord can now use
target.path.labelsto target every matching pod in a namespace (requires operator), allowing one local session to intercept traffic across multiple workloads that share the configured labels.
Fixed
Fixed concurrency issues in mirrord-agent logic for outgoing connections.
3.245.0 - 2026-08-07
Added
Added Windows crash diagnostics for
mirrord exec, producing a crash record, memory dump, and report for native faults and external kills.Added a
--keyfilter tomirrord session ls, letting you list only the active local and in-cluster sessions started with a given sessionkey.Added support for specifying a kube context in
mirrord up. In order of precedence, it can be set:with the
--contextargument when runningmirrord up(highest precedence)with the
contextfield under a service in the configuration filewith the
common.contextfield in the configuration file
If none of these are set, the default behaviour remains the same.
Configuration templating now exposes a
git_branchvariable holding the current git branch, so a config can derive values from it, for example giving each branch its own session key. Outside a git checkout the variable stays undefined, so pair it with thedefaultfilter when the same config also has to work there.
Changed
Raised the default CPU limit on agent pods from
100mto1core, so agents are not throttled under heavier traffic. Setagent.resourcesto override.Set
TCP_NODELAYon the agent's connection to its clients, so messages sent to a session are not held back by Nagle's algorithm.Updated the
kubefork to 4.2.0.TCP_NODELAYis now set on connections to the Kubernetes API server, so requests are not held back by Nagle's algorithm./etc/ssl/certsis now read from the remote target by default, so the local process trusts the same certificate authorities as the target when talking to services in the cluster. Add the path tofeature.fs.localto restore the previous behaviour.
Fixed
Fixed Windows
pitmreusing a stale layer DLL after the mirrord binary was upgraded by giving its extracted layer the existing per-build unique filename.Fixed Windows applications reporting the wrong error when a requested local port was unavailable.
Fixed the Windows layer's Java debugger-port auto-detection.
Fixed the Windows mirrord JetBrains extension leaking application processes when a Debug session is terminated.
Fixed the config wizard generating invalid config when path or header filter is set.
Renewing an expired client certificate no longer requests a CI credential from the operator. Users whose stored certificate had expired failed to start a session with
Enterprise license is required for generating mirrord CI api keyunless the operator ran on an Enterprise license.Send the user-provided session key when creating a copy target.
The
chaos editcommand no longer returns a "422 Unprocessable Entity" error.mirrord upnow splits Kafka topics automatically.
3.244.1 - 2026-08-02
No significant changes.
3.244.0 - 2026-08-02
Added
Added
profilefield for selecting administrator-defined db branch configuration profiles.Added an
sslmodeconnection parameter for CockroachDB branching, for use when the connection is configured with individual parameters instead of a URL.
3.243.0 - 2026-07-31
Added
Added
auto_queue_splittingoption for copy target. Set totruebymirrord upcommand to inform the operator that parameters of unsupported queue kinds shall be dismissed rather than rejected.
Changed
Connections accepted by the layer now have
TCP_NODELAYset to reduce latency.experimental.guard_std_fdsis now enabled by default in OSS (still off by default in mfT). #4622
Fixed
Stolen HTTP requests no longer wait out a retry backoff on a connection the local application has already closed. Connections were cached for reuse without checking whether they were still open, so a request that drew a closed one from the cache failed its first send attempt and waited 50 milliseconds before making the connection it could have made immediately.
getaddrinfocalls that passAI_NUMERICHOSTare no longer resolved remotely. That flag asks whether the given string is already a numeric address rather than for a name lookup, and must fail when it is not, so resolving it reported every hostname as a literal address.
3.242.0 - 2026-07-30
Changed
Enabled IPv6 support by default; set
feature.network.ipv6: falseto disable.Enabled
TCP_NODELAYon every socket used to relay mirrord traffic - layer to internal proxy, internal proxy to external proxy and to the agent, agent outgoing and passthrough connections, redirected incoming connections, and the local sockets used for intercepted and port-forwarded traffic. Relayed data was already framed by the app on the other end of the hop, so Nagle's algorithm only added latency to small writes.
Fixed
Added the
experimental.guard_std_fdsconfig (off by default), which keeps the layer's internal proxy connection from breaking when the process starts with a closed standard fd. The connection socket could be assigned fd 0-2 and get reconfigured by the app's runtime (e.g.libuvsettingO_NONBLOCKonstdin), killing the process with "Resource temporarily unavailable." This broke Next.js with Turbopack, which spawns its worker processes withstdinclosed. #4622Database branch failures now surface the failure reason instead of a bare timeout.
mirrord operator statusnow more clearly labels machine session counts.
3.241.0 - 2026-07-29
Added
Added a
replaceservice mode tomirrord up. A service run inreplacemode copies the target workload and scales the original down to zero.Added templating support with tera to
mirrord up.Added the
mirrord chaoscommand for managing chaos rules. The available subcommands arelist,add,editanddelete. Silently starts the local UI if needed. New rules can be provided as a file or tostdin, and output can be JSON format or pretty printed.
Changed
The "Generic" DB-branching type is now capitalized in the status output, again.
Fixed
Fixed
mirrord upservices withrun.type: containerrunning with an empty default config: the spawnedmirrord containerchild resolved its config from scratch instead of using the resolved config passed bymirrord up, silently dropping the target,feature.env.override, remote environment, and HTTP filters.Fixed corrupted permissions on files created through
openat64oropenat$NOCANCELon a path that mirrord handles locally. Both hooks dropped the variadicmodeargument before bypassing to libc, so libc read whatever value happened to occupy that argument slot.
3.240.0 - 2026-07-27
Added
mirrord upcan now run a subset of services (mirrord up service-a service-b), and services can be markedskip: true.
Fixed
Fixed
mirrord execon Windows failing to launch targets whose executable path contains a space (e.g. Python installed underC:\Program Files), by quoting the child command line instead of naively space-joining the arguments.Fixed a
layer <-> intproxyprotocol framing bug that broke sessions where an app opened many concurrent outgoing connections.Windows layer now falls back to a random local port when the requested bind port is busy, matching the unix layer's behavior.
3.239.0 - 2026-07-27
Changed
Update config doc about
agent.external_ip_fix.
Fixed
Fixed
mirrord uireturning 404 for every page on Windows: the Windows release build skipped the frontend build, so released binaries embedded no UI assets.Fixed an issue where chaos UI not refreshing existing rule definition if the rule isn't updated by using the UI.
Fixed the broken Tera template engine link in the configuration docs.
3.238.0 - 2026-07-24
Added
Added container and image-native Flyway DB branch migration flavors.
Changed
The mirrord ui dark mode now uses neutral dark gray surfaces with the brand purple reserved for accents, improving contrast over the previous purple-on-purple scheme.
Fixed
Fixed 410 session errors when reusing an existing copy target.
3.237.0 - 2026-07-22
Changed
Job and CronJob targets no longer require enabling the
copy_targetfeature manually. Since these targets have no long-running pod to attach to, mirrord now enables copy target for them automatically and tells you it did so, instead of failing config verification.
Fixed
Made the mirrord logo on the config wizard homepage render identically in both themes, on its own periwinkle chip, instead of only getting the chip in dark mode.
3.236.1 - 2026-07-21
Fixed
Fixed a bug in
mirrord-authcausing seat counting client key pair being re-generated when running a burst of mirrord sessions concurrently.
3.236.0 - 2026-07-21
Added
Add CockroachDB database branching support.
Add IRSA support for AWS RDS branching.
Add support for specifying a custom image per db branch via the
imagefield infeature.db_branches(all db types).If the operator advertises the
DiagnosticsPingfeature, mirrord uses the new ping endpoint for diagnosing local-to-cluster latency.
Changed
Preview sessions that fail to start are no longer immediately deleted, to allow further inspection of why they failed.
3.235.0 - 2026-07-20
Added
Add MariaDB database branching support.
Support mirrord chaos testing rule management via
mirrord uiweb application.
Fixed
Terminate the local process when the agent connection is lost and cannot be recovered, instead of silently entering failover and leaving it running disconnected as a zombie that keeps holding its ports. #4563
3.234.0 - 2026-07-17
Added
Added idle mode for preview environments (
feature.preview.idle).Added the
MIRRORD_AGENT_STEALER_FLUSH_CONNECTIONS_CONNTRACKagent environment variable. When set tofalse, the connection flush performed when stealing starts skips theconntrack -Dcommand and relies only onss -K, avoiding a burst of dropped redirected connections (and accompanyingENOENTerrors) on busy ports. Defaults totrue, preserving the previous behaviour.mirrord upnow infers a service's target from its key inmirrord-up.yamlwhentarget.pathis omitted, prompting you to pick one when nothing matches.
Changed
Fix bug in
AddressFilter::Namethat allowed port filters to match hostnames ports incorrectly.Fix error
File not foundbeing shown when runningmirrord ui stopwith no mirrord UI running.Renamed
feature.preview.idle.timeout_secstosleep_after_secs.The environment variable used to control the logging level for the mirrord CLI and layer has been changed from
RUST_LOGtoMIRRORD_LOG.
Fixed
Fixed
mirrord operator session kill --idrejecting the names of multi-cluster sessions, which carry anmc-prefix.Fixed local redis database branch startup so readiness no longer depends on
redis-clibeing installed on the host.
3.233.0 - 2026-07-14
Added
Detect missing queue splitting configuration.
Inject
mirrord-keyinto all forwarded messages.Preview environments can now selectively filter which labels are copied from the target through the
feature.preview.labels.{include,exclude}options, analogous to our existingfeature.env.{include,exclude}options.Support CronJob and Job database branching targets.
mirrord preview startnow overrides existing sessions with the same key and target by default, essentially making--forcethe default behavior. Consequently, that argument is now unnecessary and deprecated.
Changed
Copy target with an HTTP filter now tailors its warning to the connected operator's behaviour instead of always claiming that unmatched requests are discarded.
List active sessions through the operator's active-sessions API.
3.232.0 - 2026-07-12
Removed
Removed the experimental
go_cgo_stack_switchflag. The Go 1.25+ cgo stack-switch fix is now covered only by thego_asmcgocallexperimental flag.go_asmcgocallis now enabled by default for OSS users.
Added
Add a retryable agent error variant.
Add support for generic db branching.
Added
container.host_gateway_detection, enabled by default, which makes mirrord container detects and connects through host gateway.Added
feature.preview.secret_mountsto mount files into a preview pod from a Kubernetes Secret, so sensitive files can be access-controlled via RBAC separately from the session.Added a context and namespace selector to the
mirrord ui, backed by a new context/namespace-aware/api/v2API. You can now view cluster sessions per kube context and filter them by namespace, independently in each browser tab. Local sessions always show, and each one displays the context and namespace it runs against. The previous/api/*routes stay in place for backward compatibility.Added support for
jq_filterin Kafka queue splitting. The jq program runs on a JSON representation of each Kafka message (topic, partition, offset, timestamp, key, payload, and headers), and messages for which it outputstrueare routed to the local application. Requires a mirrord Operator version that supports jq filters for Kafka.Allow sharing preview environments.
Changed
API routes for managing chaos rules are now under
/api/chaos/rulesinstead of/chaos/rules.Add queue splitting config support to
mirrord up.Improve error message when no
mirrord-up.yamlconfig file is found as part ofmirrord up, suggestingmirrord up init.Requests for chaos rules with a latency effect now specify
"read_ms"and"write_ms"instead of"delay_ms". They are applied in the read and write directions respectively and cannot both be 0.The
mirrord uisession monitor and themirrord wizardconfig wizard are now a single web app served bymirrord ui.mirrord wizardopens the same app on the config wizard tab, and both features share one server, one theme, and a light/dark toggle.
Fixed
Requesting a database branch whose engine is disabled on the mirrord operator now fails with a clear "not enabled on the mirrord operator" message, instead of an opaque
404 page not foundor a hang waiting for the branch to become ready.The
mirrord uisession monitor no longer shows a duplicate logo inside the merged UI, and its kube context, namespace, and account controls now share the shell's top bar instead of a separate row. The logo is also no longer inverted in dark mode.The
mirrord uisession monitor no longer shows an operator error when the operator's status service is momentarily unavailable (e.g. during a pod restart). It now keeps the last-known team sessions on screen and displays a "Reconnecting to operator…" hint instead.The config wizard's mirrord logo is now legible in dark mode, shown on a light backdrop instead of blending into the dark card.
3.231.0 - 2026-07-08
Added
Queue splitting support for mirror mode (
queue_mode: mirror), delivering matched messages to both the session and the deployed application.
Changed
Adds handling for chaos errors for ongoing connections.
Fixed
When running
mirrord containercommand from a WSL instance, docker bridge between WSL instances may not be ready by the time mirrord's proxy container sidecar connects its proxy process, e.g. Docker Desktop WSL to another WSL. Added connection retry mechanism that will make the end-to-end flow reliable.operator status for SQS now shows jq-filter-only sessions
3.230.0 - 2026-07-07
Added
Add support for ClickHouse.
Add support for Google Spanner.
Added
mirrord uiAPI endpoints to list available kube contexts and to list namespaces for the current or a specified context.Implement Flyway migrations.
mirrord config files can now be loaded from
stdinby passing-to the--config-fileor-farguments.
Changed
Add support for ClickHouse.
Preview sessions will no longer fail to spawn when targeting workloads with very long names.
The
mirrord uicommand now starts the local UI server as a separate process that runs in the background on your machine. To stop the server, runmirrord ui stop.
Fixed
Fixed a phantom session in
mirrord uishowing an empty target and "NaNs" uptime that could not be removed and crashed the page when clicked. The WebSocketsession_addedpayload now carries the same flat session shape asGET /api/sessions.Fixed passthrough requests failing when the target app listens on the pod's external IP instead of loopback. The new
agent.external_ip_fixoption, enabled by default in the open source CLI, fixes this.Fixed the database branching config docs repeating the shared branch fields (
connection,id,name,ttl_secs,ttl_mins,creation_timeout_secs,version,migrations) once per engine, which produced duplicate-1/-2anchors on the config options page. They are now documented once.Relaxed rules used when searching the prebuilt SIP-utils bundle, fixing SIP issues on some macOS versions.
3.229.0 - 2026-07-05
Changed
Due to the Windows MSI installer limit of 255 for the major and minor version components, updated mirrord's MSI installer versioning scheme so that a CLI version of
3.256.1is mapped to an MSI installer version of1.3.2561.Properly upstream errors from the session monitor to the UI server.
3.228.0 - 2026-07-03
Added
Added Google Secret Manager as a source for database branching connection parameters, so the branch data copy can fetch secrets (such as the source database password) at runtime without putting them in the mirrord config, a Kubernetes Secret, or the pod spec. Set
env_var_nameto also expose the resolved value to your local process for a local or preview override.
Changed
Updated
kube-rsto 4.0. The Kubernetes client now falls back to the operating system's native trust store through the rustls platform verifier when a kubeconfig sets no CA, rather than to a bundled set of root certificates. #4468Adjust go hook implementation that's behind the
go_asmcgocallexperimental flag.Changed experimental
go_cgo_stack_switchgo hook implementation to resolve g TLS offset dynamically.
3.227.0 - 2026-07-02
Added
Added
mirrord queues(aliasmirrord qs) to browse the status of active queue-splitting sessions, including each session's phase, target, the queues resolved from the target, and which target pods are patched and ready.Added a list form for the
split_queuesconfig so the same queue id can be used more than once across different broker types.Added support for DynamoDB database branches, including
emptyandallcopy modes and IAM-based authentication for reading source tables.
Fixed
Fixed a use-after-free in the macOS
getifaddrshook (used whenhide_ipv6_interfacesis enabled) that could make applications see garbage interface addresses and fail DNS resolution.
3.226.0 - 2026-07-01
Added
Added an experimental
go_asmcgocallflag that makes the Go 1.25+syscallhook onx86-64reuse the Go runtime's ownasmcgocallstack-switching routine (as thearm64hook already does), fixing crashes seen in some Go programs that usecgo.
Changed
Added per-connection client-to-agent write back pressure to intercepted outgoing connections.
3.225.0 - 2026-06-30
Added
Added
feature.db_branches[].connection_settingsfor PostgreSQL database branches. mirrord sends these PostgreSQL session settings on every source connection it opens while building the branch, so they take effect for the schema dump and the data copies. This lets a branch copy read tables guarded by a Row-Level Security policy that depends on a session variable.
Changed
Don't suggest a bug report on agent-reported errors.
3.224.0 - 2026-06-29
Changed
Improves the error message when
mirrord containerfails to read the intproxy address, or when the TLS PEM file cannot be accessed.Marked
experimental.latencyconfiguration as deprecated. To perform chaos testing, use the mirrord chaos feature instead.Updated the chaos outgoing latency implementation so that busy connection's latency will not accumulate. Latency chaos rules will now add the specified latency amount more accurately.
Fixed
Fixed the issue that chaos latency is not applied to the read direction of outgoing connections.
Queue splitting and other operator features now work through ingress proxies (e.g. GKE Connect Gateway) that reject the encoded JSON in the connect URL query string, by sending the connect parameters in a header when the operator supports it.
3.223.0 - 2026-06-25
Added
mirrord now support running on clusters managed by
vcluster.
Changed
Stripped instrument and logging in layer functions that Golang hooks make call to in order to reduce stack consumption.
Tweaked the Go 1.25+ syscall hook's stack switch to mimic the runtime's
asmcgocallcontract, avoiding mutation of goroutine scheduler state that may cause intermittent crashes.
Fixed
Fixed
mirrord uinot syncing its token to the browser extension when the page loads without a?token=query string, such as from theOpen mirrord uibutton or after a reload. The page now reads the token from a new authenticated/api/tokenendpoint and forwards it to the extension.
3.222.0 - 2026-06-24
Added
Adds the pre-mvp implementation of mirrord chaos testing. With this feature, you can artificially add latency and connection errors for outgoing traffic through an API that runs as part of
mirrord ui.
Changed
added
--no-browserflag to prevent the browser opening automaticallyUI now respects
BROWSERenv var for selecting which browser to open withUI auth token can be set as
x-auth-tokenheadermirrord execnow includes session ID in progress printout
3.221.1 - 2026-06-23
Fixed
Fixed a segfault in the macOS DNS configuration hook (
dns_configuration_free) that crashed short-lived Node workers (e.g. Next.js/Turbopack) on macOS 26 when remote DNS config could not be built.Stopped the layer from reporting
EOPNOTSUPP("Operation not supported on socket") socket errors as hard layer errors, which flooded logs and could kill processes such as Turbopack workers.
3.221.0 - 2026-06-22
Changed
The bundled Apple utilities are now re-extracted to
~/.mirrord/binariesonly when their version changes, tracked via~/.mirrord/binaries_version.
Fixed
Fixed Next.js development servers crashing under mirrord when Turbopack compiles CSS. Turbopack runs its pooled Node workers over a loopback TCP connection back to the parent process. To keep that connection local, mirrord now detects Next.js processes and enables the outgoing
ignore_localhostoption, so the worker handshake succeeds. #2500
3.220.0 - 2026-06-19
Added
Add
copy.dump_argsfor PostgreSQL and MySQL database branches, allowing users to override the arguments passed topg_dumpandmysqldump.
Changed
Migrating
RabbitMQqueue splitting to the unifiedoperator-queue-splittingcrate andCRDs.
3.219.0 - 2026-06-18
Added
Added
mirrord subscribecommand that streams operator interception events for a session key as JSON.
Fixed
Fixed a bug in SIP-patch flow using the bundled coreutils.
3.218.0 - 2026-06-16
Added
Running
mirrord uiwhile one is already running now detects the existing instance and prints its URL with the reused token instead of failing to start a second server.
Changed
Split the
mirrord up initsave step into separate save/filename prompts, and re-ask for a filename instead of aborting when declining to overwrite.mirrord up initno longer writes commented-out template lines for omitted defaults.
Fixed
Fixed incorrect deprecation warnings emitted by mirrord when
experimental.sip_utilsconfig is used.Reject duplicate incoming port mappings instead of silently dropping one of them.
3.217.1 - 2026-06-14
Fixed
Fixed the Windows computer-name hooks
GetComputerNameW,GetComputerNameExW, andgethostnameto respect the caller's buffer and the standard size-probe contract. A long remote podhostnameno longer makes .NET'sEnvironment.MachineNamethrow, which broke clients such asStackExchange.Rediswith aRedisConnectionException. It also no longer breaks outgoingTLS:SChannelqueries theNetBIOSname with a fixed buffer during the handshake, and a too-long name madeAcquireCredentialsHandlefail withSEC_E_SECPKG_NOT_FOUND, breakingHTTPSandgRPCto external services such asGCP.
3.217.0 - 2026-06-14
Added
Add support for
Redis Pub/Sub.Add support for redis with
location: remote.Added support for splitting Temporal task queues.
Added the number of concurrent Preview Environment session to the output of
mirrord operator status.The
--keyargument formirrord exec,mirrord preview, andmirrord upcan now be provided with theMIRRORD_KEYenvironment variable.
Changed
A new command argument
--resolvedis added to themirrord verify-configsubcommand to display a fully resolved mirrord config including user inputs and all default values being used.Renamed the mirrord UI identity label to "Running as" (previously "Signed in as") to reflect that it shows the active cluster identity queried by the CLI rather than an authenticated session.
feature.network.dns.filteris no longer marked as unstable in config docs or CLI warnings.
Fixed
Fixed concurrent DNS resolution intermittently failing under mirrord on Windows. A burst of in-flight async
GetAddrInfoExWqueries, such as a .NETHttpClientissues under load, could exhaust the managed-handle registry's single-lock retry budget and drop a query, which surfaced to the app as aWSAHOST_NOT_FOUNDSocketException. The registry now shards its lock across independent shards, so concurrent registration no longer serializes on one lock.Fixed concurrent file I/O contending the Windows
IOCPfile-binding map under mirrord. Many parallel open/close operations serialized on a singleRwLock, sobindandunbindcould give up under contention and drop a file's async-read completion binding, or leak its entry on close. The binding now lives in the file's managed-handle record, which shards its lock across independent locks and drops the binding atomically when the handle closes.Preview environments now hash the session key before placing it in the
PreviewSessionresource's label. In practice this means keys containing characters like/, which are invalid for Kubernetes labels, are accepted.
3.216.0 - 2026-06-07
Added
Added
-uflag toupthat opens the UI in parallel to runningmirrord up.Added
internal_proxy.ping_intervalto configure how often intproxy checks the agent connection.
Fixed
Database branches with a user-specified
idare now shared across workloads. Two sessions targeting different deployments that point at the same database and use the same branchidnow reuse a single branch instead of each creating its own.
3.215.1 - 2026-06-04
No significant changes.
3.215.0 - 2026-06-04
Added
mirrord upnow reports a single aggregate analytics event per invocation describing how the multi-service configuration is shaped, alongside the existing per-session events. Honors thetelemetryopt-out.
3.214.0 - 2026-06-03
Added
Preview environments can now control the number of pod replicas in a session through the new
feature.preview.replicasoption.mirrord uinow works on Windows, using a named pipe restricted to the current user instead of the mode 0o600 unix socket.
Changed
Refreshed experimental feature configuration default values.
hook_rename,dns_permission_error_fatal,force_hook_connectare removed.non_blocking_tcp_connectandsip_utilsare nowtrueby default and marked as deprecated.disable_reuseaddris set totrueby default for OSS users.
Fixed
Fix so if db-branching resource name is generated will not exceed the 63 character limit of k8s.
3.213.0 - 2026-05-28
Added
Add support for Unix sockets of type
SOCK_SEQPACKET.Added the
s3Eventflag to the operator queue registry CRD.Windows: added support for asynchronous file reads (fixes
File.ReadAllTextAsyncetc).mirrord now automatically reads the target container's volume mounts (ConfigMaps, Secrets, PVCs) from the remote pod and serves those paths read-only from the remote, so the local process transparently sees its mounted files. Controlled by the new
feature.magic.auto_mountflag, enabled by default.
Changed
Wizard target selection now lets users choose the target container.
Fixed
Agent now sets up ip6tables rules whenever the IPv6 stack is usable (including IPv4-only clusters that still have an IPv6 loopback), so traffic to
[::1]is no longer silently excluded from steal/mirror.Fixed mirrored/stolen HTTP traffic failing to reach a local server bound to a wildcard address such as
0.0.0.0on Windows: the intproxy HTTP gateway now normalizes the forward address to loopback before connecting, matching the raw-TCP path.Fixed the issue where foreground CI session prints stdout and stderr even though output directory is set in mirrord CI configuration.
Implemented support for Windows async DNS resolution, and solved scenarios where DNS resolution would wrongly pass through local.
3.212.0 - 2026-05-22
Added
Added operator-session listings to the local
mirrord ui: a Team tab that shows cluster-wide sessions, and a 3-step Connect operator wizard for the no-operator state.Preview environments are now resilient to pod crashes and evictions.
Preview environments now support mounting user-supplied files in the preview pod via a new
spec.config_mountsfield onPreviewSession.
Changed
Preview sessions are now deleted automatically when their TTL expires, and failed sessions are cleaned up automatically after the retention window configured by
operator.preview.cleanupAfterMinsin the chart configuration. Alongside this change,mirrord preview statusnow only shows active sessions by default, and a new--failedflag lets you inspect failed sessions that haven't been cleaned up yet.Rewrite README intro to name both halves of the developer + AI coding agent feedback loop. Update
metalbear.colinks tometalbear.com.
Fixed
Fixed an issue where remote DNS resolution would always fail for host names containing an underscore.
Fixed broken pipe error in install script.
Fixed panic on Windows when resolving config with
feature.magic.awsenabled. The auto-generated~/.awspath mapping now uses the same home-directory transform as thelayer-winfilter logic (drive letter stripped, slashes flipped, regex-escaped), so it no longer produces an invalid regex from a WindowsUSERPROFILE(HOME) likeC:\Users\foo.Host names listed in
feature.network.outgoing.filterare now automatically mirrored intofeature.network.dns.filterso that DNS resolution for each host happens on the same side (local app or remote pod) the connection is routed to.Reject configurations that put the same environment variable in both
feature.env.overrideandfeature.db_branches[].connection.mirrord operator statusandmirrord session listno longer show preview-env entries. Previews are still surfaced in the localmirrord uiand browser extension viaMirrordOperator.status.sessions, but the CLI's session-management surfaces hide them so the displayed ids, ports, and queue-splitting state always reflect real exec sessions. Long-term unification of previews and exec sessions is tracked separately.
3.211.0 - 2026-05-19
Added
Add
iamauth formysql.Add support for
Azure Servicebusqueue splitting.Add support for unified queue splitting
azure+gcpfor preview env.Added
mirrord up init, an interactive wizard that generates a skeletonmirrord-up.yaml.HTTP protocol detection on redirected connections now applies a read timeout (default
2s, configurable viaagent.http_detection_timeout/MIRRORD_AGENT_HTTP_DETECTION_TIMEOUT) instead of waiting indefinitely for the client's first byte. This unblocks server-first protocols such as SMTP that previously stalled in detection.
3.210.0 - 2026-05-13
Added
Added
feature.preview.ttl_secsandfeature.db_branches[].ttl_minsso each feature accepts the TTL in either unit. Setting bothttl_secsandttl_minson the same item is rejected.Added clarifications for Windows-specific
fsmapping andfsfilter quirksDocument jq filtering support for GCP Pub/Sub in the configuration docs.
Changed
In mirrord-up, renamed
modetodefault_modeand added a CLI argument to set it.
Fixed
Agent now falls back to an IPv4 client listener when setting up the dual-stack IPv6 one fails (e.g. on clusters with IPv6 disabled).
Fixed
getaddrinfotruncating IPv6 addresses resolved through the agent.Fixed outgoing connections to path-addressed Unix sockets failing with a "not found" error when the agent runs as an ephemeral container.
The agent no longer logs a spurious warning when a DNS server returns an error response code, and layer no longer logs bogus DNS errors with error level.
3.209.2 - 2026-05-09
Fixed
Fixed remote Unix socket connections failing for some applications, including when the socket lives in a directory mounted into the target pod.
mirrord uino longer drops operator sessions whoseuserfield doesn't match theusername/k8s_username@hostnameformat. Falls back to the raw user string for both fields, so synthetic owners like preview environments surface in the session list.
3.209.1 - 2026-05-01
Fixed
Add missing
fileutility inappleutils
3.209.0 - 2026-04-30
Added
Support for single cluster sessions in Multi Cluster.
Changed
Bump bundled
appleutils
3.208.0 - 2026-04-30
Added
Added support for GCP Pub Sub.
Changed
mirrord upnow rejects unknown fields inmirrord-up.yamlto catch typos in configuration.mirrord upnow reports a clear error whenmirrord-up.yamlis missing, with help text on how to specify a custom path.
Fixed
Fixed Windows DNS hook error reporting so DNS lookup failures now return the correct WinSock error, for example
WSAHOST_NOT_FOUNDcode11001, instead of surfacing unrelated errors likeERROR_INVALID_HANDLEwithos error 6.Fixed a Node/libuv crash when mirrord's Unix
getaddrinfohook returned a non-EAI_*error after remote DNS found no records.Fixed example in
agent.image_pull_secretsconfiguration docs to usenameinstead ofsecret-key.Fixed local
Rediscontainers/processes not being cleaned up.mirrord now expands templates inside the root
keyfield, so you can derive session keys from expressions like{{ get_env(...) }}in the config file.
3.207.0 - 2026-04-28
Added
mirrord uinow auto-configures the mirrord browser extension once the user opens its Web UI in Chrome, so users no longer have to copy achrome-extension://...configure URL by hand. The session UI binds on127.0.0.1instead of[::1]so the page origin matches what the extension'sexternally_connectablemanifest entry accepts.
3.206.1 - 2026-04-24
No significant changes.
3.206.0 - 2026-04-24
Added
mirrord uinow pollsMirrordOperator.status.sessionsand exposes the result through a/api/operator-sessionsHTTP endpoint, letting the browser extension list existing sessions grouped by theirkey. Addskeyandhttp_filtertoSessionso external clients can identify which sessions to join and derive the matching header to inject.
Fixed
Fix issue where username can't be determined breaking operator use
3.205.0 - 2026-04-24
Added
Added
mirrord up, a tool for spawning and managing multiple concurrent mirrord sessions from a singlemirrord-up.yamlfile.Support for composite environment variables (with
value_patternregex) and multi source connection parameters in db branching.
Changed
Agent now automatically decides when to enable IPv6 based on IPs assigned to available interfaces.
Fixed
DB branch credentials from a literal value or Secret reference now override the local env vars correctly, even when the target pod does not set them.
3.204.1 - 2026-04-20
Fixed
mirrord go run on macOS regression fixed
3.204.0 - 2026-04-20
Added
Added
pitmsubcommand for Windows as a necessity to support JetBrains IDE extensions.Support for plain value credentials in db branching.
Fixed
tailwind wrong config didn't bundle
metalbear-ui.
3.203.1 - 2026-04-17
Fixed
Changed the release workflow to build Linux and Windows CLI artifacts through
cargo xtask build-cliinstead of handwritten cargo build steps. Fixes regression with wrong artifact on Linux causing mirrord to not work
3.203.0 - 2026-04-16
Added
Add a Settings dialog to the session monitor UI (accessed via the gear icon in the header) with a toggle for anonymous usage analytics. The preference persists in the browser's local storage. When turned off, the client calls
posthog.opt_out_capturingand stops any active session recording immediately; the session's ownconfig.telemetry = falsestill vetoes telemetry regardless of the UI toggle.
Fixed
Fix
mirrord uiserving 404 in release builds: enablecorepackon the macOS CLI release jobs so the xtask actually builds the monitor frontend. Also permit the PostHog telemetry host in the UIContent-Security-Policy, and mask all text and inputs in session replays so they do not capture customer-sensitive content surfaced by the UI.
3.202.0 - 2026-04-16
Added
Add -n and -f flags to session commands
Add token-based authentication, CORS, Host header validation, and security response headers to the session monitor API to protect against cross-origin attacks on localhost.
Added a web frontend for the local session monitor API under
monitor-frontend/.
Changed
Fix the squashed mirrord logo in the session monitor header and align the monitor's typography, color tokens, and header layout with the operator-dashboard's design system so both apps share the same look.
Fixed
Fix an issue where mirrord would wait indefinitely if the agent image could not be pulled (e.g. ImagePullBackOff, ErrImagePull). The CLI now surfaces a clear error instead of hanging. #366
Adds agent support for multiple mirrord sessions that have the same target pod, but they're targeting different containers of this pod. Previously the second agent iptables' would take over the first agent's, now iptables' chain names are dynamic, and thus avoid this problem.
Fix a bug where unknown fields in some nested mirrord config sections were accepted during deserialization instead of being rejected.
Fix the root layer process being absent from the local UI processes list. Also update the
mirrord uihelp text from "Launch the session monitor UI" to "Launch the mirrord local UI".
3.201.0 - 2026-04-10
Added
Added
mirrord diagnose licensefor troubleshooting mirrord for Teams license usage.Added local and remote session management commands under
mirrord session.Implemented
mirrord attachon Windows to support IDE extensions.
Changed
Preview environments now have a default HTTP header filter,
baggage: *.mirrord-session={{key}}.*, which will be used if no filter is configured.Preview environments now ignore the config option
feature.network.incoming.http_filter.portsto prevent accidentally stealing traffic without a filter. This means that all HTTP filters now unconditionally apply to all intercepted ports.
3.200.0 - 2026-04-09
Changed
Add Ruby and sh files to default local filter
Moved agent container command line arguments from
commandtoargsin order to enable matching with GKE Autopilot WorkloadAllowlist.Identify local redis database branch instances by db branch id instead of by port.
Fixed
Fix preview environments failure when using it in CI contexts where a mirrord user isn't configured.
Preview env resolve target backwards compatible fix.
3.199.0 - 2026-04-06
Added
Emit a warning when agent settings are configured but ignored because the mirrord operator is managing the session.
Changed
Adjusted error message for client failure to connect to operator
Fixed
fixed regression of mirrord container introduced in 3.196.0 #4126
mirrord container on colima now works without disabling TLS
3.198.0 - 2026-04-02
Added
Added
mirrord uicommand that launches a local web dashboard for monitoring all active mirrord sessions in real time. Each session now exposes a per-session HTTP API on a Unix socket for health checks, session info, event streaming (SSE), and session termination.Preview env support for Multi Cluster.
When DB branches are enabled, intproxy now automatically creates portforwards to DB pods. Active portforwards can be viewed with
mirrord db-branches connections.
Fixed
Changed the progress printout to specify
(cli version X.Y.Z)to avoid confusing output in operator commands.Fixed an issue where new versions of the mirrord CLI were sometimes not able to use old versions of the mirrord Operator (
Unable to decode to pem body...error).
3.197.1 - 2026-03-31
Fixed
Fixed windows python
socketpairregression. affecting versions 3.190.0-3.196.0
3.197.0 - 2026-03-31
Added
Added RabbitMQ queue splitting support.
Changed
Check for existing key (preview env) and warn the user.
mirrord ci start --foregroundcommand behaves exactly likemirrord exec.
3.196.0 - 2026-03-28
Added
Add
mirrord ci containercommand: starts a mirrord for CI session using a container, similar to mirrord container.Preview environments now support DB branching.
Preview environments now support
feature.network.incoming.ignore_ports.Preview environments now support environment variable manipulation (
feature.env).Preview environments now support queue splitting.
Support for Copy Target for Multi Cluster.
Fixed
Fixed regression using
mirrord.exe execwithout an already existingMIRRORD_LAYER_FILEenvironment variable.
3.195.0 - 2026-03-26
Changed
Apple binary bundle is now included in mirrord CLI binary.
Bumped dependencies
Run
mirrord ci startinstead ofmirrord execwhen the user ranmirrord execbut the environment variableMIRRORD_CI_API_KEYis set.Using pre-built Apple utility binaries is on by default for OSS users.
Fixed
Fixed a misleading "invalid state" error shown when the target node has reached its pod limit: mirrord now explains the real cause and suggests freeing pod capacity or using ephemeral containers. #3037
SIP no longer needlessly patches binaries that allow DYLD side loading like Node but are runtime-protected
3.194.0 - 2026-03-19
Added
Revamped the interactive configuration wizard frontend for generating
mirrord.jsonfiles, with cluster-aware target selection, traffic mode configuration, and JSON export. #3994Added Windows installation via Chocolatey (
choco install --pre mirrord)Added header filtering using jaq for more complex queries, removed safejaq crate
Experimental flag 'experimental.sip_utils' that uses our own built binaries instead of patching
Preview environment's usage is now collected through our telemetry system
Changed
HTTP filter docs now instruct users to use W3C baggage/tracestate
Modified non-blocking TCP connect mechanism to eliminate delays.
mirrord preview startno longer replaces an existing session automatically when giving it the same image registry, image repository, target and key. To replace an existing session use the new--forceargument, which will replace it regardless of whether the images "match" or not.
Fixed
Fixed the example in the documentation for outgoing traffic.
Preview env will now respect
MIRRORD_PROGRESS_MODEwhen printing info.
1.193.0 - 2026-03-05
Changed
Make db branching type to be optional, now it always checks for env and env_from.
Updated the
experimentalsection of the mirrord config:Marked
hook_renameas deprecated.Marked
dns_permission_error_fatalas deprecated.Marked
force_hook_connectas deprecated.
3.192.1 - 2026-03-04
No significant changes.
3.192.0 - 2026-03-02
Added
You can now update the configuration and/or image of an existing preview environment session by re-running
preview startwith the same key, target, image registry and image repository. #1664mirrord preview stopnow resolves the given target's container before comparing it to the preview sessions, allowing you to specify, for example,deployment/foo, instead of having to spell out the full target, including container. #1676The
feature.preview.ttl_mins/--ttlsetting for preview environments now accepts the"infinite"string value, which makes the session live indefinitely until being manually stopped.
3.191.0 - 2026-02-26
Added
SQS splitting now supports filtering by jq programs. A jq program runs against a json of each message and if it returns true, the messaged is filtered.
mirrord dumpno longer requires--portsto be specified manually - they will be auto-detected if absent.
Changed
Updated mirrord for Teams links across CLI, error messages, and agent to point directly to app.metalbear.com instead of docs pages, providing a shorter path to trial signup.
Use nodeSelector when possible for agent creation. Improve capacity/scheduling issues.
When using nodeName directly (old, fallback way) we bypass kube scheduler, meaning we can't preempt existing pods. By using nodeSelector, we still use kube scheduler and with the right priority class for the agent (default in operator chart now) we always get scheduled. User might not have "get" access on node, but operator always has so that's why we have a fallback.
3.190.0 - 2026-02-23
Added
Add multi cluster session to the CLI status.
The
mirrord preview statuscommand will now show the remaining TTL of each preview environment session.
Changed
Update reqwest dependency
Fixed
Fixed a Windows file-read regression where remote reads could return EOF too early when reading beyond the first chunk of data.
3.189.0 - 2026-02-19
Added
Added feature.magic.aws — allows using the AWS CLI within mirrord with the remote pod's identity by default.
Inject mirrord session key headers into incoming requests.
mirrord now supports "Preview Environments" — a new type of mirrord session that runs directly in the cluster and can be shared with other users.
Fixed
Show all branches in the db-branching status command when no branch name is specified.
mirrord dumpno longer hangs if the required--portsflag is not specified. It also no longer reports an incorrect error when no target is specified.
3.188.2 - 2026-02-13
Fixed
Rolled back the change for loading into arm64e, fixing many bugs on macOS.
3.188.1 - 2026-02-12
Re-releasing 3.188.0 for pipeline mistake.
3.188.0 - 2026-02-12
Added
Expose feature.env.load_from_process as env MIRRORD_ENV_LOAD_FROM_PROCESS
Fixed
Don't require emulation for macOS arm64e
The db-branches status command would fail when one of the branching features (MySQL/PostgreSQL) was not enabled on the cluster.
3.187.0 - 2026-02-09
Added
Add new functionality to support multi cluster sessions.
3.186.0 - 2026-02-06
Added
SIP - add option to re-sign binary using codesign for santa usecases if santa detected.
Add new flag for debugging deadlock in mirrord layer - controlled by env MIRRORD_NODEADLOCK.
Fixed
Fixed socket regressions.
3.185.1 - 2026-02-04
Fixed
Fix double listen making port unsubscribed. Happens in Rails.
3.185.0 - 2026-02-03
Removed
Removed operator setup command, use helm chart instead.
Added
.NET 10 switched to using $NOCANCEL variants of the libc functions. A full list of functions affected can be found under this issue. For each function in the list that
mirrordalready hooks a detour,mirrordnow hooks the $NOCANCEL variant as well.
Changed
Add concurrent ci sessions count to
mirrord operator status.
Fixed
Fixed CI start command output directory on macOS.
Layer will now reuse intproxy connections across
execcalls. This fixes remote resource tracking in the intproxy.
3.184.0 - 2026-01-27
Added
"traceparent" and "baggage" fields can now be added to the mirrord configuration and propagated in requests to the operator. Follows OTel/W3C context propagation conventions.
Added
agent.disable_mesh_sidecar_injectionconfig option that controls relevant annotations are added to agent pods that disable service mesh sidecar injection.
Fixed
Fix issue with subscriptions being removed when multiprocessing is used.
Fixed an issue where mirrord was not able to deliver incoming traffic due to firewall rules on the local machine.
Fixed bug on Windows where
fstatwould fail on Node.js read file operation.
3.183.0 - 2026-01-23
Added
Add bypassed requests metric.
Added BSD
connectx(2)detour.Added
mirrord kubeconfig fix, which finds non-absolute paths in kubeconfigexecfields and interactively replaces them with absolute paths to make them$PATH-independent.Db Branching support for MongoDB.
Experimental configuration to add artificial latency to outgoing connections
Changed
Improved error messages produced in case of mirrord-agent pod failure.
make /Program Files always local, helps when debugging Python in WSL
Fixed
Agent will no longer ignore trailing slashes when handling file open requests
Fixed bogus error logs printed by the agent on failed reverse DNS lookups.
Link to tree-sitter version that doesn't break release build.
3.182.0 - 2026-01-16
Added
Add support for db branches IAM.
Changed
mirrordnow sets agent priority class for targeted agent pod as well. #3871.targeted-agent-priority-class
Fixed
Agent will now terminate the intproxy side of HTTP connections that were closed by the remote HTTP client.
Fixed a regression caused by panicking when closing a user socket that is already dropped.
3.181.1 - 2026-01-14
Fixed
mirrordnow unsets env from process even if the process is skipped on macOS.getsockname/getpeernamewill now correctly report IPv4-mapped-IPv6 addresses when necessary. When the client receives an IPv6 connection on an IPv4 server socket,127.0.0.1will be reported instead.
3.181.0 - 2026-01-12
Removed
Removed traffic mirroring implementation based on packet sniffing, along with related configuration options.
Added
Control agent repository/tag via env vars #3843
Added new operator feature that allows bypassing user credential verification when running mirrord ci start.
Changed
Allows
mirrord ci startto be run multiple times (now you can start multiple mirrord ci sessions), andmirrord ci stopwill stop every session.Unified
http_filter.portsandincoming.portsbehavior and made it more intuitive. Now, ports will be stolen unfiltered/not stolen whenhttp_filter.ports/incoming.portsis set AND the port in question is not in the list.
Fixed
Connections redirected by the agent will now correctly terminate when the target pod is killed
Ports will now be unsubscribed only when
close.2has been called on all handles referring to the matching socket.
3.180.0 - 2026-01-06
Added
Add support local redis in db branches.
Added an experimental configuration for logging all Apple variables before process start.
Support for limiting outgoing connections from mirrord sessions using a kubernetes policy has been added to the operator.
Changed
Changed
experimental.force_hook_connectdefault value totrue.Changed changelog instructions
Make file not found logs more detailed
Fixed
Fixed file not found Windows build regression
iptables cleanup would fail if some rules were already deleted.
3.179.0 - 2025-12-24
Added
Agents can be told to cleanup leftover iptable rules on startup instead of erroring out.
Changed
Fixed two issues found in DB branching:
resolve env when target type is rollout
support envFrom as connection source
Print browser extension configuration URL if Chrome couldn't launch
When targeting an empty deployment with the operator, mirrord now checks if the deployment is managed by a rollout with the same name. If this is the case, the user is instructed to target that rollout instead.
Fixed
mirrord will now fail (panic) if SIP patching encounters the
"Too many open files"error. To fix this, the user can try increasing the file limit usingulimit.
3.178.0 - 2025-12-20
Added
Added the
mirrord wizardcommand, which starts the onboarding wizard in your browser. You can use the wizard to learn about mirrord basics and create a config file from existing boilerplate.
Fixed
fix openapi v3 spec of Target
3.177.0 - 2025-12-18
Changed
Added /var/db/timezone/zoneinfo to local to improve performance.
Refreshed configuration documentation.
Switched
mirrord port-forwardto evaluate connections eagerly. Using it with MySQL is now possible.
3.176.0 - 2025-12-07
Added
Added support for node.js'
fs.copyFilefunction. #3741Added clang in build tools list, so mirrord only patches it and hooks exec and spawn.
Added security context configuration option for agent pod.
3.175.0 - 2025-12-03
Added
Add pg branching.
Added dlopen detour to support cgo library being loaded dynamically on Linux. The feature is behind an experimental feature flag.
Added support for filtering incoming HTTP requests by running JSONPath queries on the body and matching the results against a regex.
Changed
Change tracing to not emit ansi format logs in the terminal
Made
mirrord ci stopcommand idempotent.Marked mirrord config settings related to agent's mirroring as deprecated. Mirroring implementation based on raw sockets will be removed in the future.
Updated the
experimentalsection of the mirrord config:Removed deprecated
readlinksetting.Removed deprecated
readonly_file_buffersetting, which had been moved tofeature.fs.Removed
vfork_emulationsetting. vfork emulation is now always enabled.hook_renameis now enabled by default.dns_permission_error_fatalis now enabled by default.
Fixed
Fixed a rare layer crash in
execFixed an issue where mirrord-agent could fail with an OOM error when serving heavy TCP traffic.
Fixed main branch Windows build errors and warnings
mirrord-console now compiles again
3.174.0 - 2025-11-20
Added
Added HM Courts & Tribunal Service to ADOPTERS.md.
Added a new option under
mirrord ci startto run the binary and wait for it to complete.
Changed
Allow an overlap in the configuration for
incoming.portsandincoming.http_filter.ports.
Fixed
Fixed minor edge case where intproxy might hit code that's supposed to be unreachable and panic #intproxy-panic
Fixed a DNS regression that happens when user's DNS library bind their outgoing socket to unspecified address before send UDP message to the nameserver.
3.173.2 - 2025-11-18
Changed
Exclude
GOPATHandGOMODCACHEfrom env fetched
3.173.1 - 2025-11-16
No significant changes.
3.173.0 - 2025-11-16
Changed
Update
experimental.non_blocking_tcp_connectconfig default tofalse.
Fixed
Fixed the security advisories of the config's template engine by updating it to the newest version #3657
3.172.0 - 2025-11-06
Removed
Reverted arm64e support in mirrord-sip.
Changed
When possible, mirrord now binds application socket to the requested address (instead of always to localhost or unspecified). #3693
Reverted independent send handles for intproxy tasks.
The
fs.not_foundfilesystem filter is now checked before bypassing relative files, meaning you can now ignore relative files instead of always reading them locallyincoming.listen_portsmappings now always apply, regardless of whether the port is stolen or not.mirrord CLI progress messages now always include the binary version.
3.171.0 - 2025-11-04
Added
Added ADOPTERS.md
Added configurable creation timeout to the db branching config
mirrord can now run arm64e binaries, both when inside a universal binary and standalone. In practice, this means running arm64e+x86_64 universal binaries no longer has to go through the Rosetta emulation layer.
3.170.0 - 2025-10-29
Added
Added copy mode configuration for MySQL branching.
Changed
experimental.non_blocking_tcp_connectnow defaults totruein OSS.
Fixed
Fixed a bogus error reported by
mirrord ci stopwhen the application has already exited.
3.169.0 - 2025-10-27
Added
mirrord ci startnow pipes application's stdout and stderr to files in a temporary directory (/tmp/mirrord/{binary-name}-{timestamp}-{random}by default). This can be configured with theci.output_diroption in your mirrord config.
3.168.1 - 2025-10-24
Changed
Operator status not showing data for SQS split queues.
When it's root, CWD will no longer be in the default-local list for file operations.
3.168.0 - 2025-10-23
Added
CLI for db branches to show and destroy
Changed
Changed semantics of
internal_proxy.log_destinationandexternal_proxy.log_destinationfields. Now mirrord auto detects whether the path leads to the desired log files, or directories where the log files should be created.
Fixed
fix rare case of fork and deadlock #3659
3.167.0 - 2025-10-17
Added
Add Kafka splitting info to the operator status.
mirrord now makes outgoing connect attempts concurrently.
Fixed
Fixed a bug in the
mirrord port-forwardcommand where half closed streams were not properly handled, causing "missing" traffic.Fixed issues with outgoing connections to abstract UNIX sockets.
mirrord cisubcommand is now visible in the--helpoutput.
3.166.0 - 2025-10-15
Added
Added new config option
experimental.non_blocking_tcp_connect. The setting enables a new way of handling outgoing TCP connections, which should improve performance of asynchronous applications. #2744Added 2 new commands:
mirrord ci startwhich runs mirrord in a ci runner, andmirrord ci stopwhich stops the mirrord-for-ci.add MIRRORD_DONT_LOAD to crash mirrord if exists when mirrord loads to enable users running destructive actions with mirrord
Changed
Moving operator tests from mirrord to operator. #842
Fixed
Improved error messages originating from parsing configuration files. #3371
Fix JSONSchema to reflect that target.path can be string
3.165.0 - 2025-10-09
Changed
intproxy compiles on Windows. #.531
All configuration snippets for agent are now self-contained. #3610
Fixed
Fixed the check that disallows operator-only targets when the operator is not in use.
3.164.0 - 2025-10-06
Added
Added a new command to generate mirrord CI API key for operator users.
Changed
Improves the agent handling of background tasks by having them run in a separate tokio runtime. Also adds a timeout for waiting on these tasks to finish (timeout of 5 seconds).
Removed the outdated operator version check.
Fixed
Disallow nested
mirrord execandmirrord containerexecutions.Fixed an issue where mirrord sessions would sometimes fail after reconnecting to the operator.
3.163.0 - 2025-09-19
Added
Improved UX when spawning the agent pod fails or takes a long time #3578
Added a configuration option to automatically inject
Mirrord-Agentheader into responses to HTTP requests served by the mirrord-agent. The header indicates whether the request was handled by the local or the remote app. Header can be enabled withagent.inject_headers.
Fixed
Fixed compatibility issues with Go 1.25.
3.162.0 - 2025-09-16
Added
Mirroring incoming TCP traffic now supports using an HTTP filter. #2538
mirrord now retries failed Kubernetes API requests made during startup. This should improve stability when facing transient errors, like cluster connectivity issues.
The retry policy can be adjusted in startup_retry mirrord config section.
Changed
Agent->layer message logs will no longer contain environment variables.
Update TELEMETRY.md to include the machine_id metric in the OSS.
Updated so if the PingPong will not attempt to request restart if not connected to operator.
Fixed
Intproxy now no longer runs as a child of the user process so it doesn't get reaped by wait/waitall calls. #3563
3.161.0 - 2025-09-04
Added
Added config for specifying mirrord-tls.pem path when using mirrord container command. #3508
Changed
Changed MySQL database branch's default TTL to 5 minutes.
Fixed
Fixed an issue where mirrord was not handling gRPC error responses properly, resulting in errors like "server closed connection with RST_STREAM without sending trailers".
Fixed iptables backend detection on kernel 6.12+.
3.160.0 - 2025-09-02
Added
Added hook for the
renamefunction, enabled with theexperimental.hook_renamesetting. #3456Introduced
MysqlBranchDatabaseCRD.workloadRestartTimeoutfield forMirrordWorkloadQueueRegistry, that controls the timeout for the target workload to restart on the first SQS session start of a target.
3.159.2 - 2025-09-01
Changed
A mirrord session can now be terminated early if a remote DNS lookup fails with
permission deniederror. This error indicates that the Kubernetes cluster is hardened and the mirrord-agent might not be fully functional. The behavior is controlled with theexperimental.dns_permission_error_fatalsetting, and enabled by default in OSS.
Fixed
Fixed a compatibility issue with openapiv2 for operator CRDs #3398
3.159.1 - 2025-08-27
Changed
Default "/run/" and "/selinux" to local.
SimpleProgress implementation now handles prints nicely instead of debug print.
Changed some Debug implementations to not print HTTP body.
Fixed
Removed conntrack-related bogus warnings from mirrord-agent logs.
3.159.0 - 2025-08-24
Added
Add method filter to HTTP filters.
Changed
Proper error message when the operator cannot be retrieved, and it's required. #3476
Improve copy target schema docs
In SIP-patched binaries, set the identifier to start with the original filename, like the codesign binary does.
agent.passthrough_mirroringnow defaults totruein both OSS and mfT.change vfork emulation to be enabled by default, fixes different issues around the use of it
mirrord container: change to always use native arch for intproxy, improving performance significantly
3.158.0 - 2025-08-20
Added
Added rtt metrics (prometheus) for checking mirrord and operator latency.
Changed
mirrord-agent and mirrord-intproxy now include the crate version in the produced HTTP 502 responses.
Fixed
Fixed a bug in automatic iptables backend detection in the mirrord agent.
3.157.2 - 2025-08-14
Added
Added periodic dump of connected processes for diagnostic purposes.
Added the logfile location to the
intproxycommand-line so it can be seen in the process output.
3.157.1 - 2025-08-13
Fixed
Fixed an issue where the mirrord-agent would sometimes hang and linger in the cluster.
3.157.0 - 2025-08-08
Added
Added a new configuration option to ignore specified containers and init containers when copying the session target.
3.156.0 - 2025-08-06
Added
On Linux, mirrord now checks whether the target binary is dynamically linked. If it's not, a warning is issued.
Fixed
Fixed incorrect parsing of PATH-like
kubeconfigconfig values. #3457Fixed an issue where mirrord agent was not able to pass through gRPC requests without scheme or authority in the URI.
3.155.0 - 2025-08-05
Added
When picking a target container automatically, mirrord now takes the
kubectl.kubernetes.io/default-containerannotation into consideration.
Changed
mirrord policy CRDs now allow for blocking scale down when using the copy target feature.
Fixed
Fixed a bug where mirrord-layer was encountering issues due to
vforkin the user application. The fix is hidden behind theexperimental.vfork_emulationmirrord config flag.Fixed issues with default mirrord CLI progress mode and interactive cluster auth plugins.
3.154.1 - 2025-08-04
Fixed
Fixed an issue where
mirrord dumpcommand was not receiving HTTP traffic from an agent configured to use passthrough mirroring.Fixed an issue with how mirrord-intproxy handles operator connection errors. #3432
3.154.0 - 2025-07-30
Added
Add machine_id to UserData so it can be used in analytics.
Extended
MirrordKafkaClientConfigCRD with a kind of a SASL OAUTH token provider to use.
Fixed
Added "Ready!" message when
mirrord port-forwardcommand finishes setup.Fixed a bug in
kubecrate which did not show messages printed out from interactive cluster auth.Fixed progress message printed when mirrord automatically adds probe ports to
feature.network.incoming.http_filter.ports.Reverted changes to SIP log levels that might cause bad instructions under the hood.
3.153.0 - 2025-07-28
Added
Added the
mirrord newslettercommand, which opens the sign-up page in the browser.
Changed
Passthrough mirroring is now enabled by default, unless mirrord for Teams is used.
Fixed
Fixed a bug where the SIP patching process was discarding too many open files error during layer injection.
Fixed a typo in Istio Ambient warning message.
3.152.1 - 2025-07-22
Fixed
Agent communication port now uses the
SO_REUSEADDRflag, fixing cases where agent port is reused in a fast consecutive manner and fails.Fixed a bug where mirrord-agents were lingering after all client connections were gone.
3.152.0 - 2025-07-18
Added
Added the config option
experimental.sip_log_destinationto write basic SIP logs to a file. #3407
3.151.0 - 2025-07-16
Added
Added a new traffic mirroring implementation, in which the connections are redirected using iptables. The new implementation can be enabled in the agent configuration with the
agent.passthrough_mirroringflag.
3.150.0 - 2025-07-14
Changed
Changed semantics of the
agent.nftablesconfiguration field.When the field is not set, the agent will pick between
iptables-legacyandiptables-nftat runtime, based on kernel support and existing mesh rules.When the field is set, the agent will always use either
iptables-legacyoriptables-nft.The agent now eagerly detects HTTP in incoming connections.
3.149.0 - 2025-07-11
Added
mirrord-intproxy now propagates critical errors to the mirrord-layer, solving the issue where the user application was terminating with a very generic
Proxy error, connectivity issue or a bugerror message. #3161Added MirrordClusterSession CRD initial implementation, currently hidden behind "experimental" feature for mirrord-operator crate.
Added browser extension configuration and initiation.
Changed
Change the SIP patch dir to be nested in the same folder as the extracted layer (
TMPDIR/mirrord).Do not check for pod running or if the deployment has replicas when using copy-target.
Clearer error when iptables are dirty.
Fixed
Fixed an issue where mirrord was failing to spawn an ephemeral agent due to
resourceVersionconflict.
3.148.0 - 2025-07-01
Added
Added a warning that notifies about the possibility of losing requests unmatched requests when both HTTP filter and copy target are used. #3223
Added E2BIG error handling in the mirrord CLI. mirrord CLI now shows a more informative error. #3254
Changed
Made the documentation on outgoing traffic configuration clearer.
Fixed
Fixed an issue where the copy target feature was failing with a request timeout.
3.147.0 - 2025-06-26
Changed
mirrord exec config_file with no extension, e.g. heredoc, now assumed to be of json format #3370
mirrord now extracts layer to temp_dir()/mirrord to allow easier whitelisting with Carbon Black #3373
Expand current profile config doc to address the new namespaced profile feature.
3.146.0 - 2025-06-24
Added
Added a new mirrord config
agent.priority_classfield for specifying a priority class name for targetless agent pods. #1007Added a new
mirrord dump -p <PORT> -t <TARGET>command. The command allows for getting dump of target's incoming traffic.
Changed
Changed
container.override_host_ipconfig to use Docker's internal address by default when runningmirrord container docker(also changesexternal_proxy.host_ipto 0.0.0.0). #3285Removed Discord links.
3.145.0 - 2025-06-17
Added
Introduced namespaced mirrord profile.
Pass the user's git branch to the operator to allow integration with mirrord Jira app.
Fixed
Fix duplicated http_filter_ports and not having the default 80,8080.
Optimized mirrord-agent's memory usage when mirroring incoming traffic.
3.144.0 - 2025-06-10
Added
Add user-agent to version check
Added an option to exclude agent's communication port from sidecar proxy if the target is in a service mesh.
Changed
Automatically add health probe ports to http_filter ports (if a filter is set). #3244
Fixed
Fixed big packets crashing mirrord agent - skip and warn, allow user to override max packet size
3.143.0 - 2025-05-29
Added
Added
fallbackNameto theMirrordWorkloadQueueRegistryCRD.Added support for SQS splitting without copy target if the feature is enabled in the operator.
Changed
Updated
mirrord.devlinks in docs.When
skip_sipis not set in user's configuration, use a default list that currently only containsgit.
Fixed
Fixed an issue where copy target sessions could fail to reuse an existing copy.
3.142.2 - 2025-05-22
Added
Added a link to Slack to error messages and documentation.
Changed
When mirrord sends an error response to a stolen request, the request body now indicates whether the error comes from the agent or from the internal proxy.
Fixed
Added
experimental.ignore_system_proxy_configflag to disable any system proxy from affecting the running app. #3329
3.142.1 - 2025-05-16
Changed
mirrord-agent is now less strict when parsing intercepted HTTP/1 requests.
Fixed
Fixed the logic for dirty iptables detection and cleanup in the mirrord-agent.
3.142.0 - 2025-05-12
Added
Add new
container.override_host_ipconfig key to override what address will be used as host addr inside the container. #3289Add the
-targument to themirrord lscommand to list targets of a specific type. Also allow target types to be read from env.Added support for skipping custom build tools via environment variable and
skip_build_toolsin config.
Changed
Renamed
MirorrdProfiletoMirrordClusterProfileand support both. #mirorrdprofileIncrease timeout of outgoing.rs tests to (hopefully) reduce flakiness. #2679
In iptables guard, skip iptables cleanup if the child agent process has already done so. #3220
Improved HTTP detection logic in the mirrord agent. #3296
Add watch permission for mirrord policies (so the operator can use a reflector and cache policies).
3.141.0 - 2025-04-28
Added
Added the option to skip sip patching.
Extended the
MirrordKafkaTopicsConsumerCRD with asplit_ttlfield.
Changed
Increased the maximum allowed size of
config.feature.fs.readonly_file_bufferto 15 MB. Added a warning when using size over 1 MB.
Fixed
Tied SIP patch files to the version of mirrord binary, so that fixes to patching logic will create new files. #3245
Fixed docs on how to specify multiple binaries. #3271
Fixed logic for detecting whether the operator supports Kafka splitting without copying the target.
3.140.0 - 2025-04-22
Added
New config value to allow override of listen ip for external proxy (
external_proxy.host_ip). #3274
Changed
The IP table chain names used by the agent are no longer randomized. The agent detects if another agent is already running or if a previous cleanup failed. #3159
Corrected agent pod creation progress message.
Fixed
Fix issue with port-forward feature that prevented more than one open connection per socket addr. #3158
Use ss for killing existing connections to allow stealing to begin
3.139.1 - 2025-04-17
Fixed
Fixed an issue where mirrord-agent was being OOM killed due to a traffic redirection loop.
3.139.0 - 2025-04-16
Added
Added config file option for
mirrord operator sessioncommands (-f). #3178
Changed
Increased number of OS threads used by the mirrord agent.
3.138.0 - 2025-04-15
Added
Added
applies_to_copy_targetsto the mirrord Policy specs, so we can enable policies when using copied targets. #797Added a sanity e2e test for the copy target feature. #799
Added CLI support for Kafka splitting without copying the target.
The agent now issues warnings to clients that do not meet minimum protocol version requirement for stealing an HTTP request. #3119
Changed
Improved mermaid diagrams readability (changed colors and lines). #819
Improved mirrord progress message from spawning the agent without an operator. #3167
By default, the
DOTNET_STARTUP_HOOKSenv var will not be fetched from the target.Updated contributing guidance.
Updated dev container base image and JSON configuration file.
Fixed
mirrord now correctly detects whether the configuration allows for stealing health checks from the targeted pod. #3188
Fixed
mirrord_agent_dns_request_countPrometheus metric.
3.137.0 - 2025-03-26
Added
mirrord prolicies now allow for enforcing usage of mirrord profiles.
Changed
Moved the
readonly_file_bufferconfiguration option from experimental toconfig.feature.fs. #2984Allow ping-pong an extra timeout period if intproxy receives other messages from the agent in last period.
Fixed
Added a limit on the size of
config.feature.fs.readonly_file_bufferto a maximum of 1 MB to avoid EIO errors. #3206Fixed a bug related to stealing IPv6 traffic (resolving original destination of a stolen connection).
Fixed an issue where mirrord was preventing the local application from making gRPC connections to sidecar containers. #3212
3.136.0 - 2025-03-21
Added
mirrord CLI now prints the path to the internal proxy logfile. #3137
Added support for new CRD - MirrordProfile. mirrord profiles allow for storing mirrord config templates in the cluster and applying them to the mirrord config at runtime.
Fixed
Regression in running some SIP-protected binaries with mirrord. #3149
Regression in running SIP-protected binaries that have entitelements. #3184
3.135.0 - 2025-03-18
Added
mirrord now issues a warning when the user's config allows for stealing health checks from the target. #3121
Changed
502 Bad Gatewayresponses returned by the mirrord-agent now contain the source error.
Fixed
Added missing
PodTemplatepermissions to theClusterRoleproduced bymirrord operator setup.Fixed a bug where mirrord was producing a malformed
credentialsfile.Fixed a bug where mirrord was unable to target Argo Rollouts with both
workloadRefs andselectors.
3.134.2 - 2025-03-06
Added
If a stolen HTTP request matches filters of multiple users, the users who don't get the request are now notified with a log message. #3120
Changed
Improved the
mirrord_agent_http_request_in_progress_countmetric. #3092
Fixed
Fixed
unlinkandunlinkatlogic for files vs. directories. #3094Fixed an bug in TCP mirroring feature.
Fixed an error where mirrord would sometimes fail with
NotImplementederror due to latency on agent/operator connection.Fixed an issue where mirrord was unable to perform an HTTP/1 upgrade over a local TLS connection.
Improved remote DNS errors returned to the client application from the mirrord-agent.
3.134.1 - 2025-02-28
Fixed
Fixed mirrord failing to load when running emulated in an x86 shell by using code shim in builds for arm64 and x86. #3052
Fix go -> execve sip use cases, i.e air or go reloaders #3123
Fixed mirrord Operator's
ClusterRolegenerated by themirrord operator setupcommand.
3.134.0 - 2025-02-24
Added
Added support for stealing HTTPS requests with a filter (requires mirrord Operator). #2771
Added Nix installation instructions to the README. #3034
Fixed
Fixed an issue where stealing a remote port was preventing the application from making TCP connections with the same destination port number. #3006
Fixed the order of path checks/operations in file ops handlers in the mirrord layer. #3095
Fixed an issue where mirrord was sometimes unable to steal traffic from more than one port with an HTTP filter.
3.133.1 - 2025-02-19
Fixed
Added a reconnection mechanism when using mirrord operator. #2901
Fixed issues with rollout targets without a
selectorfield present. #3063Look for the correct pid that matches the targets container_id (by searching /proc/pid/cgroup). #3076
Prevent reading a remote directory from producing an 'unexpected response' error and crashing. #3081
Fixed a remote DNS regression introduced when
hickory-resolverandhickory-protoversions were bumped. #3098mirrord CLI now correctly emits logs when enabled with
RUST_LOGenvironment variable. #3099
3.133.0 - 2025-02-17
Added
Added an option to configure timeout for idle local HTTP connections (
experimental.idle_local_http_connection_timeout).
Changed
Improved the warning produced when the user specifies agent namespace for a targetless run.
Fixed
Correct statfs data for Go. #3044
Updated
hickory-resolverandhickory-prototo0.25.0-alpha.5andrandfrom0.8to0.9. #3079Respect ignored paths and path mapping in statfs hook. #3082
Some FS libc calls could be carried out remotely instead of locally in some cases. #3083
mirrord lscommand now does not list unnecessary target types when called from a plugin/extension. #3086Fixed wrong link for ipv6 config docs.
3.132.1 - 2025-02-06
Fixed
Fixed operator connect URL produced by the CLI when a target container is specified.
3.132.0 - 2025-02-06
Removed
Removed faulty
statfshook for Go applications.
Added
Added Kubernetes ReplicaSet as a new target type (requires mirrord Operator).
Changed
Namespace for
targetlessruns is now specified with thetarget.namespaceconfig field (or theMIRRORD_TARGET_NAMESPACEenvironment variable).agent.namespacefield is ignored in targetless runs.
3.131.2 - 2025-01-29
Fixed
Removed an error log on a
notimplementedresponse from themirrord-intproxy, might fix go crash. #3044
3.131.1 - 2025-01-28
Changed
mirrord commands now accept the
-f/--config-fileargument without the value as well. When no value is provided,./.mirrord/mirrord.jsonis assumed. #1706
Fixed
Added ping pong subtask to mirrord-extproxy to keep agent connection alive while it is up. #3030
agent.privilegedno longer affects targetless agents' pods.
3.131.0 - 2025-01-27
Added
statfssupport #statfsSupport for in-cluster DNS resolution of IPv6 addresses. #2958
Prometheus metrics to the mirrord-agent. #2975
Kubernetes Service as a new type of mirrord target (requires mirrord operator).
Fixed
Misleading doc for
.target.namespaceconfig. #3009Agent now correctly clears incoming port subscriptions of disconnected clients.
mirrord no longer uses the default
{"operator": "Exists"}tolerations when spawning targetless agent pods.
3.130.0 - 2025-01-21
Added
Added support for
rmdir,unlinkandunlinkat. #2221
Changed
Updated
configuration.mdand improved.feature.env.mappingdoc.
Fixed
Stopped mirrord entering a crash loop when trying to load into some processes like VSCode's
watchdog.jswhen the user config contained a call toget_env(), which occurred due to missing env - the config is now only rendered once and set into an env var. #2936Fixed an issue where HTTP requests stolen with a filter would hang with a single-threaded local HTTP server. Improved handling of incoming connections on the local machine (e.g introduces reuse of local HTTP connections). #3013
3.129.0 - 2025-01-14
Added
Support for stealing incoming connections that are over IPv6. #2956
mirrord policy to control file ops from the operator.
mirrord policy to restrict fetching remote environment variables.
Changed
Updated how intproxy is outputting logfile when using container mode, now logs will be written on host machine. #2868
Changed log level for debugger ports detection. #2986
Readonly file buffering is not enabled by default to improve performance #3004
Extended docs for HTTP filter in the mirrord config.
Fixed
Fixed panic when Go >=1.23.3 verifies pidfd support on Linux. #2988
Fix misleading agent IO operation error that always mentioned getaddrinfo. #2992
Fixed a bug where port mirroring block (due to active mirrord policies) would terminate the mirrord session.
3.128.0 - 2024-12-19
Added
Added to mirrord config a new experimental field
.experimental.readonly_file_buffer. If set to a value greater than 0, mirrord will fetch remote readonly files in chunks of at least this size (in bytes). This is to improve performance with applications that make many small reads from remote files. #2069Added
mirrord container-extcommand that should be used by extension and works similarly tomirrord extbut for containers.Added runAsNonRoot and RO file system to operator deployment
Added custom resource definition for cluster-wide mirrord policy -
MirrordClusterPolicy.Added mapping option for env vars config, allowing the user to map multiple env vars to another value based on regexes. #2920
Added mkdir support #2221
Fixed
Added debugger port detection type for the node
--inspect,--inspect-waitand--inspect-brkflags. #2936Fixed
mirrord operator setup- added missing/tmpvolume to the operator deployment.
3.127.0 - 2024-12-10
Added
MirrordPolicycan now block traffic mirroring (requires operator support).
Changed
Updated dependencies. #2952
Fixed
Fixed link to operator docs.
3.126.0 - 2024-12-06
Added
Added SQS splitting state to mirrord operator status reporting (requires operator support).
Changed
Hidden files and directories in
$HOMEdirectory are now read locally by default.
Fixed
Can now run cs-installed sbt. We now only need to be able to parse the first line of a script, so we now support scripts like that sbt, which starts with a normal shebang but then has text in a weird encoding, or maybe non-textual data. #2947
Prevent reverse port forwarding from ending unexpectedly due to unexpected connection end. #2962
Added a sleep and await on it after websocket connection to drive IO runtime and prevent websocket closing without handshake.
3.125.2 - 2024-11-29
Fixed
Manually call
docker start <sidecar_id>if after our sidecarruncommand the container hasn't started yet and is in "created" status. #2927
3.125.1 - 2024-11-27
Fixed
Added retry of HTTP requests (intproxy) on hyper's
IncompleteMessageerror.
3.125.0 - 2024-11-21
Added
Added a configuration option that allows for specifying an env file for mirrord execution. #1913
Added notice that fs mapping does not apply to relative paths. #2894
Changed
Ignore paths that start with the current dir path, instead of any path that contains the current dir path. Also, ignore only paths that end with the current exe's path, not all that contain it.
Print a warning to the user when
-pis provided as part ofmirrord containerrun command, as it may cause issues because of our usage of container type network mode.
Fixed
Change
getifaddrshook to allocate memory for a new list instead of modifying list returned from libc call. #2903Read current dir, current exe, and temp dir locally, also when they contain characters with a meaning for regexes, like e.g. parentheses.
3.124.2 - 2024-11-08
Fixed
Fix agent crash on sniffer failure #2909
Fix file mapping doesn't affect xstat
3.124.1 - 2024-11-07
Changed
Bump dependencies
Fixed
Fix crash when listing interfaces caused by enabling the new hook by default
3.124.0 - 2024-11-06
Changed
hide ipv6 interfaces by default #2849
Fixed
Make sure agent doesn't send
Closemessage when Sniffer fails to load. #2896
3.123.0 - 2024-11-05
Changed
log better errors of local file creation and add option to use alternative way #2889
add .class to be always local
Fixed
use /dev/null by default #2889
3.122.1 - 2024-10-30
Changed
Bump rust version to 2024-10-11 on macOS [match Linux]
Fixed
Add arm64 layer to macOS fat binary. #2885
3.122.0 - 2024-10-30
Added
Added serviceAccount option to agent config #2876
Changed
Allow targetless mode to run with local fs-mode. #2368
Remove unstable tags on feature.network.outgoing.filter config #2862
Add option to have logs when running ext commands
Fixed
Added experimental disable_reuseaddr to bypass the issue #2819
mirrord-intproxyno longer lingers forever when the user tries to execute a non-existent binary. #2869
3.121.1 - 2024-10-22
Changed
Improve error logging and reporting when a getaddrinfo-adjacent failure happens due to IO in the agent. #2287
Improve error checking for InvalidCertificate errors in mirrord-cli. #2824
Ignore CATALINA_HOME env by default
Skip mirrord injections into
bazel-real, considering it a build tool.
Fixed
Fix a bug where file mode was ignored when Go applications were creating local files. #2614
Update mirrord-container sidecar logs command to improve printing of errors. #2726
Fix SIP detection on scripts with no shebang, SIP of default interpreter is now used #2797
Bump dependencies, fix empty user in a kube context
3.121.0 - 2024-10-17
Added
Added support for Istio CNI #2851
Added
nodeSelectoroption to agent config.
Changed
Allowed filtered steal requests to be retried when we get a Reset from hyper(h2).
Fixed
Fixed an issue where
mirrord exec ... -- npm run servein a Vue project was failing withEAFNOSUPPORT: address family not supported ::1:80. Added new.experimental.hide_ipv6_interfacesconfiguration entry that allows for hiding local IPv6 interface addresses from the user application. #2807Fixed wrong warning being displayed when binding UDP port 0 and filtering HTTP. #2812
mirrord now respects
insecure-skip-tls-verifyoption set in the kubeconfig whenaccept_invalid_certificatesis not provided in the mirrord config. #2825
3.120.1 - 2024-10-14
Removed
Remove support for IPv6 sockets with mirrord. #2836
3.120.0 - 2024-10-13
Added
Added Kafka splitting feature. #2601
Changed
Add analytics about usage of experimental features
Add option to have logs when running ext commands
update dependencies
Fixed
Fixed a bug where
all_ofandany_ofHTTP filters were stealing all HTTP traffic. #2817Handle IPv4 in IPv6, should help with regressions related to allowing AF_INET6 #2827
3.119.1 - 2024-10-09
Changed
Allow setting port for int/extproxy from the command line.
Fixed
Use new kube rs to support empty user. #2803
Allow using IPv6 sockets with mirrord. #2807
Fix mirrord making double bind of port 0 fail.
3.119.0 - 2024-10-07
Added
Add reverse port forwarding which can be used to proxy data from a remote port on the target pod to a local one - if only one port is specified, it will be used for both.
To use the incoming network mode and filters from a config file, use -f as normal:
Changed
Dependency tree does not contain tonic 0.11.
Use forked version of apple-codesign to remove RSA dependency
Fixed
Collect and pass environment variables to the process to be executed locally instead of setting them for the entire local environment, which was causing interference with analytics instrumentation. #2783
Don't drop RSTs, makes long-lived connections drop on steal start #2794
3.118.1 - 2024-10-02
Added
Internal proxy now explicitly logs exit error.
Changed
Enabled readlink hook by default. #2518
Prompt user for intproxy logs (when intproxy crashes). Adds
.logas a file type for intproxy default log file. #2750Refactor how mirrord gets a target when the operator is enabled, and warn when randomly selecting a container in multi-container situations (if the user did not specify a container).
Fixed
Handle cases where target pod has IPv6 #2788
3.118.0 - 2024-09-22
Added
Add
cli_extra_argsfield tocontainerconfig to allow specifying custom arguments formirrord containersidecar container.this config will spawn mirrord cli container with
<runtime> run --network host --rm -d .... #2756
Changed
Increase timeout of layer-intproxy socket connection to a ludicrous amount. #2652
Have intproxy log to a file in /tmp by default. #2750
Bump dependencies
Fixed
Add a retry for port-forward agent connection if error was received via error channel after websocket was established. #2759
3.117.0 - 2024-09-12
Added
Detect Telepresence's traffic-agent and warn user about incompatibility #2738
3.116.3 - 2024-09-05
Fixed
Fixed
mirrord lshanging when there is a lot of possible targets in the cluster.Update detour for
dns_configuration_copyto return remote value from "/etc/resolv.conf" to fix nodejs dns resolution not working on macos. #2713
3.116.2 - 2024-09-05
Changed
Add option to have logs when running ext commands
3.116.1 - 2024-09-04
Fixed
Fixed upload of mirrord binaries' shasums to homebrew repository in the release action.
Fix mirrord ls hanging by making so
KubeResourceSeekerwill list different kinds of resources sequentially instead of in parallel. #2724
3.116.0 - 2024-09-03
Added
Add initial and very basic implementation of vpn #2387
Add warning when user tries to mirrord exec [container], pointing them to use mirrord container instead. #2599
Add support for hostname resolution in port-forward. #2696
Add support for all_of, any_of composite http filters in config. #2699
Changed
mirrord now produces a more descriptive error message when it fails to call authentication command specified in the kubeconfig. #2575
SQS CRD field names changed to camelCase.
Fixed
Start on deprecating operator target list. #2706
3.115.1 - 2024-08-21
Fixed
Add retry for checking intproxy logs to get its listening port, Prevents any issues when it takes a bit of time for intproxy to start when running in container mode. #2687
Fixed
mirrord-agentnot picking up graceful shutdown signal. #2690
3.115.0 - 2024-08-21
Added
Adds a batching readdir requests, which should improve the performance when traversing large directories. Introduces a new
ReadDirBatchedmessage to the protocol. #2611
Fixed
Fix hooking on arm64 Go on Linux #2680
3.114.1 - 2024-08-18
Fixed
Make splitqueues optional to support old version #2675
3.114.0 - 2024-08-16
Added
Add port forwarding feature which can be used to proxy data from a local port to a remote one - if the local port is not specified, it will default to the same as the remote
Client side support for the upcoming SQS queue splitting support in mirrord for Teams. #2066
3.113.1 - 2024-08-15
Fixed
Fix small error in shared sockets that resulted in it adding the shared socket env several times. #864
Specify that
mirrord containeris an unstable feature. #2641Fix IncomingConfig json schema regression. #2662
Fix
arm64version ofmirrord-clicontainer image and add github cache for container builds.Fixed symbol hooks for Go 1.23.
3.113.0 - 2024-08-14
Added
Add new api to run mirrord inside container
Because we need to run internal proxy process on the same network as the process loaded with
mirrord-layer, to keep config and kubernetes comparability the communication to mirrord agent is made via external proxy that will run on the host machine.
Fixed
Fix issue introduced in #2612 that broke configs with one-value definition for IncomingConfig for network feature. #2647
3.112.1 - 2024-08-05
Added
Added
experimental.enable_exec_hooks_linuxswitch to the mirrord config.
Changed
Change operator port from 3000 to 443 to work without any FW exceptions
Fixed
Fixed execve hook (fix data race on process initialization, might fix more stuff) #2624
Added new VSCode debugpy args layout to debugger port detection
3.112.0 - 2024-07-30
Added
Add fs mapping, under
feature.fs.mappingnow it's possible to specify regex match and replace for paths while running mirrord exec.Example:
Warning when mirrord automatically picked one of multiple containers on the target.
Changed
Allows targeting StatefulSet without the copy_target feature (still requires operator though).
Fixed
Remove invalid schema doc mentioning podname as a valid pod target selector. #721
Pass the list of UserSocket to child processes when exec is called through an env var MIRRORD_SHARED_SOCKETS. #864
Fixed an issue where operator license was incorrectly recognized as expired when it was expiring later the same day.
Fixed new exec hooks breaking execution of Flask apps.
3.111.0 - 2024-07-17
Added
Extended
feature.network.dnsconfig with an optional local/remote filter, followingfeature.network.outgoingpattern. #2581
Fixed
Update loopback detection to include pod ip's #2572
Fixed a bug where enabling remote DNS prevented making a local connection with telnet. #2579
Remove automatic ignore of incoming/outgoing traffic for ports 50000-60000 #2597
3.110.0 - 2024-07-12
Added
Added experimental.trust_any_certificate to enable making app trust any certificate on macOS #2576
Fixed
Fix empty request streaming hanging forever #2590
3.109.0 - 2024-07-10
Changed
mirrord commands now provide a nicer error message when the operator required but not installed. #1730
Add Unknown target variant for forwards compatibility. #2515
Fixed
Improved agent performance when mirroring is under high load. #2529
Don't include non-running pods in node capacity check #2582
Add exclusion for DOTNET_EnableDiagnostics to make DotNet debugging work by default
3.108.0 - 2024-07-02
Added
Added support for streaming HTTP responses. #2557
Changed
Changed http path filter to include query params in match #2551
Configuration documentation contents order.
Errors that occur when using discovery API to detect mirrord operator are no longer fatal. When such error is encountered, mirrord command falls back to using the OSS version.
Fixed
When using mesh use
lointerface for mirroring traffic. #2452
3.107.0 - 2024-06-25
Added
Added support for intercepting streaming HTTP requests with an HTTP filter. #2478
mirrord now queries kube discovery API to confirm that mirrord operator is not installed (when an attempt to use operator API fails). #2487
Fixed
Fix network interface configuration not propagating to agent #2539
3.106.0 - 2024-06-18
Added
Add cronjobs and statefulsets(/scale) to operator role setup.
Allows a CronJob and StatefulSet to be used as a target when copy_target is enabled.
Changed
Put the copy_target config example in the proper place on the main complete config sample. #2508
Dependencies update
Fixed
A few changes to medschool - refactored the code, changed the algorithm taking into consideration we don't ever drop fields. #1580
Kill the intproxy child process when mirrord-cli execvp fails. #2386
mirrord CLI no longer incorrectly warns the user about soon license expiration (renewing licenses). #2526
Downgrade certificate dependency to avoid loss of support for older certificates
Fix json snippets in configuration docs by escaping backslashes and removing trailing commas.
Fixed crash on missing cwd/exe
Fixed rustls initialization.
3.105.0 - 2024-06-12
Added
Add readlink hook (under experimental config). #2488
Display filtered and unfiltered stolen ports when filter is set.
When an http filter is set and a port is bound that is not included in the filtered ports, and there are no unfiltered ports specified, emit a warning.
Changed
Now not accepting configs with the same port in
feature.network.incoming.portsand infeature.network.incoming.http_filter.ports.
Fixed
Fixed SIP issue with Turbo #2500
Fixed mirrord-agent/cli protocol negotiation
3.104.0 - 2024-06-06
Added
Emit a warning when the
port_mappingfield of the configuration contains an unnecessary mapping of a port to itself.
Changed
Update syn to version 2. #1235
Fixed
Fix HTTP2/1.1 translated messages dropping #2497
Clean hostname/name sent to operator to fix issue of hostname with linebreaks
Fixed a bug where two mirrord sessions could not target the same pod while stealing from different ports.
Fixed typo in auto-generated docs for mirrord config.
3.103.0 - 2024-05-29
Added
Allows a Job to be used as a target when copy_target is enabled.
Changed
Allows the user to set labels and annotations for the agent job and pod via agent config.
Fixed
mirrord now prints an informative error when the targeted pod is not in correct state (e.g. is not
Runningor the target container is notready). When picking a pod from target deployment/rollout, mirrord filters out pods that are not in correct state. #462Fix config printout error showing repeated messages.
Fixed listing targets when using operator ignoring namespace - always using default
Fixed missing pods/deployments with more than 1 container when using operator ls
3.102.0 - 2024-05-22
Removed
Remove deprecated unstable pause feature #2458
Added
Added json_log config under agent to control whether the agent produces logs as normal tracing or json. #2155
Added config info printout at session start. #2367
Fixed
Fixed agent crashing when mirrord target is explicitly set to
targetless. #2444Fixed confusing errors produced when creating an agent.
3.101.0 - 2024-05-14
Changed
Use operator to list targets to avoid inconsistencies #1959
Don't print error on permission denied
Fixed
Fixed a bug where outgoing connections where not intercepted from bound sockets. #2438
3.100.1 - 2024-05-06
Fixed
mirrord-agent now catches SIGTERM signal and cleans iptables during graceful deletion. #2427
Fixed ping pong logic for intproxy-agent communication. Intproxy now sends pings on a fixed schedule, regardless of any other messages.
3.100.0 - 2024-05-05
Added
Added experimental, temp feature for supporting hazelcast pings #2421
Provide value hint to Clap for generating shell completions for config_file to only resolve to files, not just first match.
Changed
Changed default env exclude to have
BUNDLE_WITHOUT#2417Append more permissions to operator clusterrole
Improve tera templating config error to dig into source and give out more details.
env.unset feature is now case insensitive
3.99.2 - 2024-04-30
Fixed
Fixed case where resolving DNS failed when setting HTTP filter #2411
3.99.1 - 2024-04-30
Changed
Change agent resolver to only resolve IPv4
Fallback to OSS when operator license expired
Fixed
Fix IntelliJ Rider newest version stuck on macOS #2408
Fix case were agent log message causes startup failure
3.99.0 - 2024-04-28
Added
added configuration option to control (local) hostname resolving #2395
Add ability to configure DNS params for agent (timeout, attempts)
Changed
Change ports and http_ports in incoming configuration to be checked upon mapped port instead of local #2371
Read /Network locally by default on macOS
Fixed
3.98.1 - 2024-04-23
Changed
Internal proxy now emits plain text instead of ANSI
Fixed
don't re-resolve when connecting to loopback on outgoing filter #2389
Added
JetBrains.Debugger.Workerto the list of known build tools, fixing compatibility with Rider 2024.1.
3.98.0 - 2024-04-18
Added
Added
createanddeleteverbs onpodsresource inclusterrole/mirrord-operatorfor operator setup.
Changed
Set timeout of dns request to 1s and only attempt once #2379
Fixed
Fix memory issue when binding
3.97.0 - 2024-04-16
Added
Agent now authenticates TLS connections, using a provided X509 certificate (mirrord for Teams only). #2362
Changed
Changed port stealing configuration:
Added new
portsfield to theincomingconfiguration. The field lists ports that should be stolen/mirrored. Other ports remain local.Changed the way
incoming.http_filter.portsfield is interpreted. Ports not listed in this field are not stolen, unless listed inincoming.ports. #2366
Fixed
Change reqwest to use rustls with native certificates to work in more cases
3.96.1 - 2024-04-14
Changed
Increase max fd in internal proxy to fix connection limit issues
Fixed
Fixed layer making process zombie by calling panic from hookerror, also use
sigkillinstead ofsigterm
3.96.0 - 2024-04-09
Changed
mirrord now listens on 0.0.0.0 when requested and changes address to localhost only when needed. #2319
3.95.2 - 2024-04-07
No significant changes.
3.95.1 - 2024-04-07
Fixed
Allow
targetbe astringin the JSON Schema #2188Fixed excessive stack consumption in the
mirrord-layerby reducing tracing in release profile.
3.95.0 - 2024-04-02
Changed
mirrord now unsets the env from within the process aswell
3.94.0 - 2024-04-01
Added
New config
env.unsetthat allows user to unset environment variables in the executed process. This is useful for unsetting env likeHTTP_PROXY,AWS_PROFILEthat come from the local environment and cause undesired behavior (because those aren't needed for deployed apps). #2260
3.93.1 - 2024-03-31
Fixed
Fix new IDE progress breaking older plugins. Three issues fixed:
Show the new progress only when env var is set (to be set in newer IDE versions).
Multi pod warning was showing everytime when no operator, not only when targeting a deployment + no operator.
Show the message for rollouts as well. #2339
3.93.0 - 2024-03-31
Added
Added handling HTTP upgrades in filtered connections (
mirrord-agent). Refactored TCP stealer code. #2270Add a new diagnostic command to calculate mirrord session latency
Changed
Changed
agent.imageconfig to also accept an extended version where you may specify both registry and tag withagent.image.registryandagent.image.tag.Proxy errors now don't propagate back to libc but exit with a message
use_proxybehavior is now setting the proxy env to empty value instead of unsetting. This should help with cases where we need it to propagate to the extensions.
Fixed
Internal proxy and agent now properly handle connection shutdowns. #2309
Fix some open/fd potential issues
Fixed the display of agent startup errors to the user.
Fixed timeout set on new internal proxy connection in
forkdetour.
3.92.1 - 2024-03-17
Removed
Removed problematic DNS cache from internal proxy.
Fixed
Fixed a bug with handling hints passed to
getaddrinfofunction.
3.92.0 - 2024-03-13
Added
Added support for
statxfunction. #2204
Fixed
Fix incoming network interception via port-forward when "stealing" traffic with a mesh like linkerd or istio (Using the same
OUTPUTiptable rules for both meshed and not meshed networks) #2255Add Kuma mesh detection and support to mirrord-agent. #2296
Added sidecar exclusion for kuma mesh, fixing issues running in that setup
3.91.0 - 2024-03-05
Added
Adds operator session management commands to mirrord-cli, these are:
mirrord operator session kill-all,mirrord operator session kill --id {id}, and the hiddenmirrrod operator session retain-active. #217Notify user on license validity. #382
Changed
Adds a new
PolicyRulefordeleteanddeletecollectionofsessionsformirrord operator setup. #456Change pause feature from unstable to deprecated
Increased size of buffers used by TCP steal to read incoming streams (from 4k to 64k in the agent, from 1k to 64k in the internal proxy).
Increased size of buffers used by outgoing feature to read streams (from 4k to 64k in the agent, from 1k to 64k in the internal proxy).
Fixed
Fixed a bug where
gethostbynamecalls where intercepted regardless of the remote dns feature status. #2281Fixed a bug where non-existent hosts in outgoing filter would prevent the application from initiating outgoing connections. #2283
Remove special handling for DNS when dealing with UDP outgoing sockets (manual UDP resolving). #2289
3.90.0 - 2024-02-27
Added
Add agent configuration to use nftables instead of iptables-legacy to make it work in mesh that uses nftables. #2272
The agent now processes all DNS queries concurrently. Also, client sessions in the agent do not block on the DNS queries.
Changed
change kubeconfig path expansion to use env as well #2262
Increase internal proxy timeout from 5 seconds to 10 seconds to fix long agent ops
3.89.1 - 2024-02-22
Fixed
Fixed issue with Golang calling fstat on Linux causing crash #2254
3.89.0 - 2024-02-22
Changed
Change intproxy log to append
use_proxy configuration now applies to mirrord operator status, and mirrord ls
3.88.0 - 2024-02-18
Added
Add log level and log destination for int proxy #2246
Changed
mirrord CLI now does not check target type when the
copy_targetfeature is enabled. The check is now done only in the operator.mirrord operator setupnot includes permissions to read and change rollouts scale.
Fixed
Incoming traffic was being mirrord when set to
false.
3.87.0 - 2024-02-15
Removed
Remove pause tests as part of deprecation
Added
Changed internal proxy to allow for HTTP upgrades with filtered HTTP steal. #2224
Added support for selecting malfunctioning targets with
copy_targetfeature. #2239Added configuration option
feature.env.load_from_process, which allows for changing the way mirrord loads environment variables from the remote target.
Fixed
Add missing permissions needed by operator for copy and scaledown
3.86.1 - 2024-02-05
Fixed
Added
runAsNonRoot: falseandrunAsUser: 0to the security context of an ephemeral agent when running privileged (to prevent overriding these values with values from the pod spec).Disabled unix sockets being wrongfully sent to the agent when socket isn't connected
3.86.0 - 2024-01-29
Changed
JAVA_TOOL_OPTIONSis excluded by default from the environment variables that are fetched from the target.
3.85.1 - 2024-01-29
Fixed
Running
mirrod exec go run EXECUTABLEon macOS with go1.21. #2202Fixed a compilation bug in
mirrord-operatorcrate tests.
3.85.0 - 2024-01-24
Added
Added license subscription id to operator status CRD. Adjusted
CredentialStoreto preserve signing key pair for the same operator license subscription id. #2190CLI now sends machine host + username to show in mirrord operator status (not sent to our cloud!)
Report port locks and filters in operator status
Changed
Change configuration parsing to be strict unallowing unknown fields
Cluster DNS resolving now happens by nameserver order rather by statistics
Fixed
3.84.1 - 2024-01-19
Fixed
Add support for shebang containing spaces like asdf's node does #2181
3.84.0 - 2024-01-18
Added
Report namespace for operator sessions
Fixed
add preadv and readv to fix erlang file reading #2178
3.83.0 - 2024-01-11
Changed
Filesystem: File not found default filter happens after checking local filter
The
copy_targetfeature is now officially stable.mirrord operator statusreports active copy targets.
Fixed
Remove guard from dlopen, making calls from within dlopen hookable, potentially fixing issues
3.82.0 - 2024-01-08
Removed
Removed
http_header_filter. Please usehttp_filterwith keyheader_filterinstead.
Added
mirrord operator setupdefines aMirrordPolicyCRD so that admins can block certain features by creating policies. When receiving a forbidden error from the operator for trying to steal traffic, mirrord shows an error and exits.
Fixed
Added userextras/oid to mirrord operator role to solve issues in some AKS clusters #2152
3.81.0 - 2024-01-01
Changed
Changed setup to not create self signed, letting operator fallback to it automatically on runtime
Update dependencies
Fixed
Fix opendir not being hooked on macOS arm64
3.80.0 - 2023-12-27
Changed
Remove unstable from ignore localhost
Fixed
Allow license key that starts with - #2140
Fix job lingering by exiting always successfully on agent
3.79.2 - 2023-12-24
Fixed
Added hook for realpath function, fixing issues on files not found in Java
3.79.1 - 2023-12-23
Fixed
Fix dirfd crashing on macOS
3.79.0 - 2023-12-21
Removed
Remove waitlist signup from CLI
Added
Added new
teamscommand to the CLI.Remove support for old cri-o, use new CRI API (v1)
Fixed
Uses the
syscallscrate to handle calling the syscalls for go. And addspwrite64,pread64,fsyncandfdatasynchooks for go. #2099
3.78.2 - 2023-12-14
Fixed
Fixed config verification in IDE context when the config does not specify the target but uses the
scale_downfeature.
3.78.1 - 2023-12-13
Fixed
Removed confusing error from
mirrord execprogress. #2115Support binding [::] by resolving to ipv4 unspecified. Fix gRPC Python running in Docker #2117
3.78.0 - 2023-12-12
Fixed
Fix create react apps by adding node related files to default local #2074
Fixed an issue with internal proxy timing out when the user application spawns lengthy build processes. #2101
3.77.1 - 2023-12-11
Fixed
Fix asdf compatibility by adjusting local files read defaults #2051
3.77.0 - 2023-12-07
Added
mirrord verify-confignow outputs a list of available target types. #2096
Fixed
Changed
operatorconfig to be optional. If the option is set totrue, mirrord always uses the operator and aborts in case of failure. If the option is set tofalse, mirrord does not attempt to use the operator. If the option is not set at all, mirrord attempts to use the operator, but does not abort in case it could not be found.Fixed config verification in IDE context when
copy_targetfeature is used.
3.76.0 - 2023-12-04
Added
Added support for connecting to the cluster with an HTTP proxy. #2087
Changed
Improved incoming config docs
Fixed
Improved handling of operator-related errors. #2049
3.75.3 - 2023-11-23
Added
Added new configuration 'use_proxy' that lets user disable usage of http/s proxy by mirrord even when env is set
Fixed
Changed the way
targetlessis printed inmirrord verify-configto allow the IDEs to properly show target selection dialogs.
3.75.2 - 2023-11-22
Fixed
Fixed issues with mirroring incoming TCP connections when targeting multi-pod deployments. #2078
3.75.1 - 2023-11-14
Fixed
Add a hook for gethostbyname to allow erlang/elixir to resolve DNS. #2055
Change spammy connect log's level from info to trace.
3.75.0 - 2023-11-08
Added
Added 'copy pod' operator feature to the CLI. #1974
Added option to scale down target deployment when using
copy targetfeature. #2053
Fixed
Don't drop mutex in child on fork_detour, fixes bug with elixir. #2047
Fixed
port_mappingfeature. #2058Local file filter now applies to directory listing [regex] and not just underlying files
3.74.1 - 2023-10-31
Fixed
Support for cluster information in exec plugin (
KUBERNETES_EXEC_INFO) #2037Fixed logging using
mirrord-console.
3.74.0 - 2023-10-27
Added
Added source identifier to waitlist register
Fixed
tokioruntime dropped from layer. #1952
3.73.1 - 2023-10-24
Fixed
Fixed
KUBERNETES_EXEC_INFOenvironment variable passed tokubectlauthentication plugins.
3.73.0 - 2023-10-23
Added
Added k0s support - add k0s containerd socket path. #2014
Fixed
Clarify more about the pre-defined FS exceptions in docs, link to lists. #2020
3.72.1 - 2023-10-18
Fixed
Added
--meshoption undercli::Mode::Ephemeral, allowing the agent to run in a mesh context with an ephemeral target. #2009
3.72.0 - 2023-10-12
Added
SOCKS5 proxy is now supported. #1734
Fixed
Implemented missing hooks for
readdirandreaddir64. #2001
3.71.2 - 2023-10-10
Fixed
Reverted breaking change in CLI for config verify #1993
Adding some e2e tests for to protect against breaking changes in the cli. #1997
3.71.1 - 2023-10-04
Fixed
Adds the optional
--ideflag tomirrord verify-config [--ide] --path {/config/path}, turning some errors into warnings (target related). #1979
3.71.0 - 2023-10-03
Added
Add ability to override container resource requests/limits for job agents via
agent.resourcesconfig. #1983
Fixed
Propagate to the agent that we're in a mesh context (moved
MeshVendorto a common crate), and handle the special case foristio, where the sniffer should capture traffic on thelointerface. #1963
3.70.0 - 2023-09-27
Added
Added templating for mirrord config using Tera engine. #1817
Fixed
Running
mixworks now (bug was callinglstatinstatbypass). #1967Fix progress message shows wrong latest version #1972
3.69.0 - 2023-09-26
Removed
Remove spammy messages from progress #1934
Added
Added the ability to specify targetless in config file, to allow non-interactive targetless in IDEs #1962
Changed
Change targetless + steal mode to warning instead of error.
Changed file filter to exclude jar files from being read remote by default #1968
Fixed
Fixes selecting container to use when using operator
3.68.0 - 2023-09-19
Added
New subcommand for generating shell completions for bash/fish/zsh/powershell/elvish #1947
Fixed
Fix mirrord-cli verify-config command not serializing failures correctly due to serde not being able to serialize newtype pattern in tagged unions. #1840
3.67.0 - 2023-09-13
Added
Add new command
mirrord verify-config [path]to the mirrord-cli. It verifies a mirrord config file producing a tool friendly output. #1840
Fixed
Support mirroring existing sessions by introducing an HTTP check when the sniffer receives a tcp packet. #1317
3.66.0 - 2023-09-12
Added
Added support for pausing ephemeral containers. This feature requires the agent to have privileged access. #1358
Changed
Add ruby related ENV to the default exclude list
3.65.2 - 2023-09-10
Changed
Add ruby related ENV to the default exclude list
Fixed
Fixed connecting to unspecified ip i.e 0.0.0.0 #1928
3.65.1 - 2023-09-07
Changed
Add some Ruby env to excluded: GEM_HOME, GEM_PATH #1892
Fixed
Disable opendir hook on aarch macOS since it crashes due to arm64e issues #1920
3.65.0 - 2023-09-06
Added
Add hooks for
opendir,readdir64_r,__lxstat,__lxstat64,__xstat64. Also contains a refactor of the*statfamily of hooks (they now call a shared function), andopenat64as its own function. #1899
Changed
CLI: Change operator setup to fetch from API version of operator to install
Don't error on agent ready missing absent, add retry in connection to upstream agent
Fixed
Fixed agent crashing on flush connections not enabled #1904
CI: run macOS clippy on all of the codebase
Fixed pause flakiness by improving our cleanup process [using watch]
3.64.2 - 2023-09-05
Changed
Changed the targeted and non targeted flows for creating agent. #1844
Add info about errors to TELEMETRY.md
Fixed
Change agent to use current thread runtime, multi thread is enabled by mistake.
Added a sleep before exiting both in layer and agent to allow
tokio::spawntasks spawned fromDropfinish.Changed implementation of pause guard to use
tokio::spawn- fixes pause in combination with above change.
Fix analytics not being sent on drop
3.64.1 - 2023-09-03
Fixed
Remove extra message of
{"type":"FinishedTask","name":"mirrord preparing to launch","success":true,"message":null}that causes breakage in extensions.
3.64.0 - 2023-09-02
Added
Warn when running in a mesh service with mirror mode. #1768
Fixed
Fixed detecting operator not found as an error #1868
Update hyper and hyper-util to fix double select call (and properly handle large http traffic). #1869
Fixed ongoing connections not being stolen by changing our flush mechanism - add a rule to drop marked connections and then mark existing connections when starting to steal. #1870
Fixed panic on crash analytics #1872
Fixed showing error on each file not found triggered by the file not found configuration
Regex meta characters are now escaped in
$HOME(not-foundfile filter).
3.63.0 - 2023-08-28
Added
Add the ability to send analytics on errors and not only on successful runs. #1785
Report back internal proxy error stream to cli #1855
Changed
Changed config unstable/deprecations to be aggregated with other config warnings #1860
Fixed
not-foundfile filter fixed to only match files inside the$HOMEdirectory. #1863Fix openshift detection taking too long by querying a subset instead of all APIs
3.62.0 - 2023-08-26
Added
Add analytics collection to operator session information. #1805
Added an extra
not-foundfile filter to improve experience when using cloud services under mirrord. #1694
Changed
Update telemetry.md with new info about mirrord for Teams #1837
Changed keep alive to happen from internal proxy to support cases where layer process is stuck [breakpoint/etc] #1839
Changed CLI progress to print warnings and not only set it as the last message of progress
Changed config verify to return aggregated warnings list for user to print instead of warn in current progress - can fix issues with extension where we printed to stderr.
Fixed
Fix ephemeral agent creation api using agent namespace instead of target. Add note about agent namespace being irrelevant in ephemeral.
Fix macOS SIP potential issues from exec having mirrord loaded into the code sign binary.
Fix operator setup so
MIRRORD_OPERATOR_IMAGEwill function properly.Fixed issue connecting to ephemeral container when target is in different namespace
3.61.0 - 2023-08-22
Added
Support DNS resolution for the outgoing filter config. #702
Fixed
Fixed wrong errno being set by mirrord, fixing various flows that rely on errno even when return code is ok #1828
3.60.0 - 2023-08-21
Added
Detect and warn when cluster is openshift #1560
Add missing hook for open64, fixing certificate loading on C# + Linux #1815
Small changes relevant to operator for #1782.
Fixed
Fixed environment on ephemeral container This is done by two things:
There was an issue where we used
selfinstead of1to obtain env based on pid.We didn't have container runtime to use for fetching, so now we also copy env from the original pod spec and set it to ours. #1818
3.59.0 - 2023-08-18
Added
Add option to run agent container as privileged -
"agent" : {"privileged": true}Should help with Bottlerocket or other secured k8s environments. Applicable for both job/ephemeral. #1806
Fixed
Send only ResponseError::DnsLookup for all errors during DNS lookups #1809
3.58.0 - 2023-08-17
Added
Introduced hooks for sendmsg and recvmsg, so mongodb+srv protocol (Csharp) may resolve DNS (implementation follows previous sendto and recvfrom patch). #1776
Fixed
Fixed more complicated scenarios using Go on Linux Arm
3.57.2 - 2023-08-16
Fixed
Fix crash on forks by leaking HOOK_SENDER #1792
CLI now uses the json progress tracker as default.
3.57.1 - 2023-08-15
No significant changes.
3.57.0 - 2023-08-15
Added
Add hooks for Go 1.19 >= on Linux Arm #563
Add node allocatabillity check to prevent OutOfPods error on agent job. #1782
Changed
Incoming config now supports off mode, which is also used when
"incoming": "off". When incoming is off, listen requests go through. Changed targetless to warn on listen, since bind can happen on outgoing sockets as well.
Fixed
Replaced termspin with indicatif, fix multi line issues and refactored progress. #1664
3.56.1 - 2023-08-09
Fixed
Add missing hook for
read$NOCANCEL, fixes reading remote files in some scenarios. #1747
3.56.0 - 2023-08-07
Added
Added
internal_proxytimeout configurations to allow users specify timeouts in edge cases. #1761
Changed
Change operator / cli version mismatch to show only when mirrord is older than operator
Fixed
Fix grpc errors caused by missing trailers on filtered http responses. #1731
3.55.2 - 2023-08-06
Fixed
macOS - Running Go build with mirrord while Go binary is SIP protected is fixed by enabling file hooks on SIP load mode. #1764
3.55.1 - 2023-08-06
Fixed
Try to resolve an issue where internal proxy is under heavy load since bash scripts does a lot of fork/exec by:
Increasing internal proxy's listen backlog (might not help on macOS)
Change internal proxy to create the upstream (agent) connection in a different task, allowing it to keep accepting. #1716
Fixed detecting skipped processes during layer injection. #1752
Fix fork issues by changing layer runtime to be current thread #1759
3.55.0 - 2023-08-03
Added
Add support for selecting Kubeconfig context to use by either using:
Configuration option
kube_context.mirrord exec argument
--contextEnvironment variable
MIRRORD_KUBE_CONTEXT#1735
Changed
Add userextras/prinicipalid to operators cluster role
Document behavior of deployment in OSS vs mirrord for Teams
Skip HashiCorp Vault supporting containers
Fixed
Fix fork issue on macOS #1745
Add access for the operator's cluster role to argoproj rollouts #1751
Fixed warning on using deployment target with no operator
3.54.1 - 2023-08-01
Fixed
Sometimes the internal proxy doesn't flush before we do redirection then caller can't read port leading to "Couldn't get port of internal proxy"
3.54.0 - 2023-07-31
Added
Added mirrord-operator-user
ClusterRoleto operator setup with RBAC permissions to use operator. #1428
Fixed
Exclude environment variable COMPLUS_EnableDiagnostics, fixes mirrord intellij #67 #1728
3.53.3 - 2023-07-26
Fixed
Add
jspawnhelperto build-tool list & fix skip_processes detection #1709Use
shellexpandto resolve tilde forkubeconfig. #1721
3.53.2 - 2023-07-24
Fixed
Add automatic skip for build-tools
"skip_build_tools": booleanto config [default: True] (build-tool list:as,cc,ld,go,air,asm,cc1,cgo,dlv,gcc,git,link,math,cargo,hpack,rustc,compile,collect2,cargo-watchanddebugserver) #1478Fix
feature.env.overridedocumentation "overrides" -> "override". mirrord.dev#120Specify default value for
agent.tolerationsin docs as json instead of yaml.
3.53.1 - 2023-07-23
Changed
Changed internal proxy to drop stdout/stderr after it finishes loading
3.53.0 - 2023-07-20
Added
Add support for
agent.tolerationsconfiguration field for setting agentTolerations to work aroundTaints in the cluster. #1692
Changed
Added env var exclusion for
_JAVA_OPTIONSto avoid loading remote jars or settings that wouldn't work locally. #1695
3.52.1 - 2023-07-19
No significant changes.
3.52.0 - 2023-07-18
Added
Support for OIDC refresh token #1460
Fixed
Fixed case where proxy can timeout since it holds a stale connection. Added heartbeat to the connection handling
Fixed dynamic pause with operator not working - moved pause request to be from internal proxy
Update the code to reimplement the fix but without moving the pinging source.
3.51.1 - 2023-07-16
Changed
'mirrod ls' command now no longer lists crashed pods as targets #1617
3.51.0 - 2023-07-16
Added
Add outgoing traffic filter feature.
Adds a way of controlling from where outgoing traffic should go, either through the remote pod, or from the local app. Can be configured with the
remoteandlocaloptions underfeature.network.outgoing. #702mirrord configuration now allows disabling Linux capabilities for the agent container. #1662
Add env to specify operator image
3.50.5 - 2023-07-13
Fixed
Make sure conntrack flushes the correct port. #1655
Added
CAP_NET_RAWLinux capability agent.
3.50.4 - 2023-07-11
Fixed
Layer now passes detected debugger port down to the child processes. #1641
3.50.3 - 2023-07-11
Fixed
Fixed double slash in uri path on
pause/unpauserequests in agent #1638Fix agent steal crash by adding fallback to using only
PREROUTINGiptable chain. #1640
3.50.2 - 2023-07-10
Changed
Changed agent job definition to tolerate everything #1634
3.50.1 - 2023-07-09
Fixed
Small fix to operator setup command.
3.50.0 - 2023-07-07
Removed
Removed error capture error trace feature
Added
Add support for Argo rollout target. #1593
Changed
Agent container is no longer privileged. Instead, it is given a specific set of Linux capabilities:
CAP_NET_ADMIN,CAP_SYS_PTRACE,CAP_SYS_ADMIN. #1615Changed agent job definition to include limits #1621
Fixed
Running java 17.0.6-tem with mirrord. #1459
3.49.1 - 2023-07-04
Changed
Small optimization in file reads to avoid sending empty data #1254
Changed internal proxy to close after 5s of inactivity instead of 1
use Frida's replace_fast in Linux Go hooks
Fixed
Child processes of python application would hang after a fork without an exec. #1588
3.49.0 - 2023-07-03
Added
Added new analytics, see TELEMETRY.md for more details.
3.48.0 - 2023-06-29
Added
Added Deployment to list of targets returned from
mirrord ls. #1503
Changed
Bump rust nightly to 2023-04-19 (latest nightly with support for const std traits). #1457
Change loglevel of warnings to info of logs that were mistakenly warning
Moved IntelliJ to its own repository and versioning
Fixed
Hook send_to and recv_from, leveraging our existing UDP interceptor mechanism to manually resolve DNS (as expected by netty, especially relevant for macos). #1458
Add new rule to the OUTPUT chain of iptables in agent to support kubectl port-forward #1479
If the local user application closes a socket but continues running, we now also stop mirroring/stealing from the target. #1530
Add /home and /usr to the default file filter. #1582
Fixed reporting EADDRINUSE as an error
3.47.0 - 2023-06-20
Added
Added
listen_portstoincomingconfig to control what port is actually being used locally so mirrored/stolen ports can still be accessed locally via those. If port provided bylisten_portsisn't available, application will receiveEADDRINUSE. Example configuration:will make port 80 available on 7111 locally, while stealing/mirroring port 80. #1554
Changed
Changed the logic of choosing local port to use for intercepting mirror/steal sockets now instead of assigning a random port always, we try to use the original one and if we fail we assign random port. This only happens if
listen_portsisn't used. #1554The path
/optitself is read locally by default (up until now paths inside that directory were read locally by default, but not the directory itself). #1570Changed back required IntelliJ version to 222+ from 223+
Moved VSCode extension to its own repository and versioning https://github.com/metalbear-co/mirrord-vscode
Fixed
Running python with mirrord on apple CPUs. #1570
3.46.0 - 2023-06-14
Added
Add support for HTTP Path filtering #1512
Changed
Refactor vscode-ext code to be more modular
Fixed
Fixed bogus warnings in the VS Code extension. #1504
Mirroring/stealing a port for a second time after the user application closed it once. #1526
fixed using dotnet debugger on VSCode #1529
Properly detecting and ignoring localhost port used by Rider's debugger.
fix vscode SIP patch not working
3.45.2 - 2023-06-12
No significant changes.
3.45.1 - 2023-06-11
Fixed
Installation script now does not use
sudowhen not needed. This enbables installing mirrord in aRUNstep in an ubuntu docker container, without installingsudoin an earlier step. #1514fix crio on openshift #1534
Skipping
gccwhen debugging Go in VS Code extension.
3.45.0 - 2023-06-05
Added
Rider is now supported by the IntelliJ plugin. #1012
Fixed
Changed agent to not return errors on reading from outgoing sockets, and layer to not crash in that case anyway
3.44.2 - 2023-06-01
Changed
Change phrasing on version mismatch warning.
Add
/Volumesto default local on macOSChange Ping interval from 60s down to 30s.
Changed local read defaults - list now includes
^/sbin(/|$)and^/var/run/com.apple.
Fixed
Running postman with mirrord works. #1445
Return valid error code when dns lookup fails, instead of -1.
3.44.1 - 2023-05-26
Changed
Never importing
RUST_LOGenvironment variable from the cluster, regardless of configuration.
Fixed
Provide helpful error messages on errors in IDEs. #1392
Log level control when running targetless. #1446
Change to sticky balloon on warnings in intelliJ #1456
Setting the namespace via the configuration was not possible in the IDE without also setting a target in the configuration file. #1461
fixed IntelliJ failing silently when error happened on listing pods
3.44.0 - 2023-05-24
Added
Changed agent's pause feature. Now the pause is requested dynamically by CLI during setup and the agent keeps the target container paused until exit or the unpause request was received. #1408
Added support for NPM run configuration on JetBrains products. #1418
Changed
Change mirrord ls to show only pods that are in running state (not crashing,starting,etc) #1436
Change fs mode to be local with overrides when targetless is used
Make progress text consistently lowercase.
Fixed
Fix misalignment on IntelliJ not accepting complex path in target #1441
Add impersonate permissions for GCP specific RBAC in operator
3.43.0 - 2023-05-22
Added
Support for targetless execution: when not specifying any target for the agent, mirrord now spins up an independent agent. This can be useful e.g. if you are just interested in getting the cluster's DNS resolution and outgoing connectivity but don't want any pod's incoming traffic or FS. #574
Support for targetless mode in IntelliJ based IDEs. #1375
Support for targetless mode in vscode. #1376
Changed
If a user application tries to read paths inside mirrord's temp dir, we hook that and read the path outside instead. #1403
Don't print error if we fail checking for operator
Fixed
Added better detection for protected binaries, fixes not loading into Go binary #1397
Disallow binding on the same address:port twice. Solves part of issue 1123. #1123
Fix the lost update bug with config dropdown for intelliJ Fix the lost update bug with config dropdown for intelliJ. #1420
Fix intelliJ compatibility issue by implementing missing createPopupActionGroup
3.42.0 - 2023-05-15
Added
mirrord config dropdown for intelliJ. #1030
Log agent version when initializing the agent.
Changed
Remove quotes in InvalidTarget' target error message
Fixed
Use ProgressManager for mirrord progress on intelliJ #1337
Fixed
go runfailing because of reading remote files by maing paths under /private and /var/folders read locally by default. #1397Fix not loading into Go because of SIP by adding into default patched binaries
3.41.1 - 2023-05-07
Fixed
Fixed regression in GoLand and NodeJS causing a crash #1389
3.41.0 - 2023-05-06
Added
Last selected target is now remembered in IntelliJ extension and shown first in the target selection dialog. #1347
Warn user when their mirrord version doesn't match the operator version.
Changed
mirrord loading progress is displayed in the status indicator on IntelliJ, replacing the singleton notifier #1337
Fixed
Fix crash on unexpected LogMessage #1380
Added hook for recvfrom to support cases where caller expects the messages to be from address they were sent to. #1386
3.40.0 - 2023-05-01
Added
Add a message informing users of the operator when they impersonate deployments with mirrord. #add-operator-message
Last selected target is now remembered in VS Code and shown first in the quick pick widget. #1348
Fixed
PyCharm plugin now detects
pydevddebugger and properly excludes its port. #1020VS Code extension now detects
debugpydebugger and properly excludes its port. #1145Fixed delve patch not working on GoLand macOS when running go tests #1364
Fixed issues when importing some packages in Python caused by PYTHONPATH to be used from the remote pod (add it to exclude)
3.39.1 - 2023-04-21
Changed
Updated IntelliJ usage gif.
Fixed
Add magic fix (by polling send_request) to (connection was not ready) hyper error. Also adds some more logs around HTTP stealer. #1302
3.39.0 - 2023-04-19
Added
Support for Node.js on IntelliJ - run/debug JavaScript scripts on IntelliJ with mirrord. #1284
Fixed
Use RemoteFile ops in gethostname to not have a local fd. #1202
3.38.1 - 2023-04-19
Fixed
Release action should work now.
3.38.0 - 2023-04-18
Added
Add support for cri-o container runtime. #1258
A descriptive message is now presented in the IntelliJ extension when no target is available. Listing targets failure is now handled and an error notification is presented. #1267
Added waitlist registration via cli. Join the waitlist to try out first mirrord for Teams which is invite only at the moment. #1303
Add email option to help messages. #1318
Changed
When patching for SIP, use arm64 if possible (running on aarch64 and an arm64 binary is available). #1155
Changed our Discord invite link to https://discord.gg/metalbear
Fixed
Change detour bypass to be more robust, not crashing in case it can't update the bypass #1320
3.37.0 - 2023-04-14
Removed
Removed armv7 builds that were wrongly added
Added
Add
ignore_portstoincomingconfiguration so you can have ports that only listen locally (mirrord will not steal/mirror those ports). #1295Add support for
xstatfsto prevent unexpected behavior with SQLite. #1270
Changed
Improved bad target error #1291
3.36.0 - 2023-04-13
Added
Notify clients about errors happening in agent's background tasks. #1163
Add support for the imagePullSecrets parameter on the agent pod. This can be specified in the configuration file, under agent.image_pull_secrets. #1276
3.35.0 - 2023-04-11
Added
Added an error prompt to the VS Code extension when there is no available target in the configured namespace. #1266
Changed
HTTP traffic stealer now supports HTTP/2 requests. #922
Fixed
Executable field was set to null if present, but no SIP patching was done. #1271
Fixed random crash in
close_layer_fdcaused by supposed closing of stdout/stderr then calling to log that writes to it
3.34.0 - 2023-03-30
Added
Support for running SIP binaries via the vscode extension, for common configuration types. #1061
Changed
Add the failed connection address on failure to debug easily
New IntelliJ icons - feel free to give feedback
Fixed
Fix internal proxy receiving signals from terminal targeted for the mirrord process/parent process by using setsid #1232
fix listing pods failing when config file exists on macOS #1245
3.33.1 - 2023-03-28
Changed
Add default requests and limits values to mirrord-operator setup (100m/100Mi).
Fixed
Change CLI's version update message to display the correct command when mirrord has been installed with homebrew. #1194
fix using config with WSL on JetBrains #1210
Fix internal proxy exiting before IntelliJ connects to it in some situations (maven). Issue was parent process closing causing child to exit. Fixed by waiting from the extension call to the child. #1211
mirrord-cli: update cli so failing to use operator will fallback to no-operator mode. #1218
Add option to install specific version using the
install.shscript via command line argument orVERSIONenvironment variable #1222Change connection reset to be a trace message instead of error
Error when agent exits.
3.33.0 - 2023-03-22
Added
Support for outgoing unix stream sockets (configurable via config file or environment variable). #1105
Add version of hooked functions. #1203
Changed
add
Hashtrait onmirrord_operator::license::Licensestructdependencies bump and cleanup
fix mirrord loading twice (to build also) and improve error message when no pods found
Fixed
fix f-stream functions by removing its hooks and add missing underlying libc calls #947
fix deadlock in go20 test (remove trace?) #1206
3.32.3 - 2023-03-19
Changed
change outgoing connection drop to be trace instead of error since it's not an error
Fixed
Support stealing on meshed services with ports specified in --skip-inbound-ports on linkerd and itsio equivalent. #1041
3.32.2 - 2023-03-14
Fixed
fix microk8s support by adding possible containerd socket path #1186
fix gethostname null termination missing #1189
Update webbrowser dependency to fix security issue.
3.32.1 - 2023-03-12
Fixed
fix mirroring not handling big requests - increase buffer size (in rawsocket dependency). also trace logs to not log the data. #1178
fix environment regression by mixing the two approaches together. priority is proc > oci (via container api) #1180
3.32.0 - 2023-03-08
Changed
mirrord-layer: changed result of
getsocknameto return requested socket onbindinstead of the detoured socket address #1047mirrord-layer: Added
SocketIdtoUserSocketas a better way of identifying sockets, part of #1054. #1054CHANGELOG - changed to use towncrier
Change socket error on reading from outgoing sockets and mirror to be info instead of error
Fixed
Possible bug when bound address is bypassed and socket stays in
SOCKETSmap.
3.31.0
Added
config:
ignore_localhosttooutgoingconfig for ignoring localhost connections, meaning it will connect to local instead of remote localhost.config:
ignore_localhosttoincomingconfig for ignoring localhost bound sockets, meaning it will not steal/mirror those.combination of
ignore_localhostinincomingandoutgoingcan be useful when you run complex processes that does IPC over localhost.sip_binariesto config file to allow specifying SIP-protected binaries that needs to be patched when mirrord doesn't detect those. See #1152.
Fixed
Unnecessary error logs when running a script that uses
envin its shebang.VSCode extension: running Python script with debugger fails because it tries to connect to the debugger port remotely.
Big file leading to timeout: we found out that
bincodedoesn't do so well with large chunked messages so we limited remote read size to 1 megabyte, and read operation supports getting partial data until EOF.mirrord-operator: fix silent fail when parsing websocket messages fails.
Changed
improved mirrord cli help message.
mirrord-config: Change
flush_connectionsdefault totrue, related to #1029.
3.30.0
Added
mirrord-layer: Added
port_mappingunderincomingconfiguration to allow mapping local ports to custom remote port, for example you can listen on port 9999 locally and it will steal/mirror the remote 80 port ifport_mapping: [[9999, 80]]. See #1129
Fixed
Fix issue when two (or more) containerd sockets exist and we use the wrong one. Fixes #1133.
Invalid toml in environment variables configuration examples.
Changed
Use container's runtime env instead of reading it from
/proc/{container_root_pid}/environas some processes (such as nginx) wipe it. Fixes #1135Removed the prefix "test" from all test names - #1065.
Created symbolic link from the vscode directory to the
LICENSEandCHANGELOG.mdfiles so that mirrord developers don't need to copy them there before building the app.mirrord-layer:
sockethook will now block ipv6 requests and will return EAFNOSUPPORT. See #1121.
3.29.0
Added
mirrord debug feature (for mirrord developers to debug mirrord): Cause the agent to exit early with an error.
mirrord E2E tests: support for custom namespaces.
Fixed
Unpause the target container before exiting if the agent exits early on an error and the container is paused - #1111.
intellij-plugin: fix issue where execution hangs when running using Gradle. Fixes #1120.
intellij-plugin: fix issue where mirrord doesn't load into gradle, was found when fixing #1120.
mirrord-agent: reintroduce
-o loback to iptable rules to prevent issue where outinging messages could be intersepted by mirrord as incoming ones.mirrord-layer: binding same port on different IPs leads to a crash due to
ListenAlreadyExistserror. This is now ignored with ainfomessage since we can't know if the IP/Port was already bound or not. Created a follow up issue to complete implementation and error at application's bind.
3.28.4
Fixed
VSCode Extension: Fix wrong CLI path on Linux
3.28.3
Fixed
VSCode Extension: Fix wrong CLI path
3.28.2
Fixed
Fix error in VSCode extension compilation
3.28.1
Fixed
CI: fix error caused by missing dir
3.28.0
Changed
Change VSCode extension to package all binaries and select the correct one based on the platform. Fixes #1101.
agent: add log to error when handling a client message fails.
Fixed
agent: Make sniffer optional to support cases when it's not available and mirroring is not required.
3.27.1
Changed
Update operator version
3.27.0
Fixed
mirrord now handles it when the local app closes a forwarded stolen tcp connection instead of exiting with an error. Potential fix for #1063.
missing kubeconfig doesn't fail extensions (it failed because it first tried to resolve the default then used custom one)
Changed
layer: Don't print error when tcp socket faces error as it can be a normal flow.
internal proxy - set different timeout for
mirrord execand running from extension fixing race conditions when running from IntelliJ/VSCode.Changed
with_span_eventsfromFmtSpan::ActivetoFmtSpan::NEW | FmtSpan::CLOSE. Practically this means we will have less logs on enter/exit to span and only when it's first created and when it's closed.JetBrains Plugin: Add debug logs for investigating user issues.
JetBrains compatibility: set limit from 222 (2022.2.4) since 221 isn't supported by us.
Make
kubeconfigsetting effective always by using-finmirrord ls.mirrord agent can now run without sniffer, will not be able to mirror but can still steal. this is to enable users who have older kernel (4.20>=) to use the steal feature.
3.26.1
Fixed
VSCode Extension: Prevent double prompting of the user to select the target if not specified in config. See #1080.
Changed
JetBrains enable support from 2021.3 (like we had in 3.14.3).
3.26.0
Changed
mirrord-agent: localhost traffic (like healthprobes) won't be stolen by mirrord on meshed targets to align behavior with non meshed targets. See #1070
Filter out agent pods from
mirrord ls, for better IDE UX. Closes #1045.Not exiting on SIP-check fail. Instead, logging an error and letting the program fail as it would without mirrord. See #951.
Fixed
Fix cache does not work on test-agent workflow. See #251.
CI: merge queue + branch protection issues
3.25.0
Added
gethostnamedetour that returns contents of/etc/hostnamefrom target pod. See relevant #1041.
Fixed
getsocknamenow returns the remote local address of the socket, instead of the local fake address of the socket. This should fix issues with Akka or other software that checks the local address and expects it to match the local ip of the pod. This breaks agent protocol (agent/layer need to match).GoLand debug fails because of reading
/private/var/foldersremotely (trying to access self file?). fixed with filter change (see below)
Changed
VSCode extension: update dialog message
JetBrains: can now change focus from search field to targets using tab/shift+tab (for backward)
Refactor - mirrord cli now spawns
internal proxywhich does the Kubernetes operations for the layer, so layer need not interact with k8s (solves issues with remote/local env mix)filter: add `/private/var/folders" to default local read override
filter: fixed regex for
/tmpdefault local read overridedisable flask e2e until we solve the glibc issue (probably fstream issue)
3.24.0
Added
Add a field to mirrord-config to specify custom path for kubeconfig , resolves #1027.
Changed
Removed limit on future builds
untilBuildin JetBrains plugin.IntelliJ-ext: change the dialog to provide a sorted list and make it searchable, resolves #1031.
mirrord-layer: Changed default to read AWS credentials + config from remote pod.
Removed unused env var (
MIRRORD_EXTERNAL_ENV)mirrord-agent: Use
conntrackto flush stealer connections (temporary fix for #1029).
Fixed
Added env guard to be used in cli + extension to prevent (self) misconfigurations (our kube settings being used from remote).
3.23.0
Fixed
mirrord-config: Fix disabled feature for env in config file,
env = falseshould work. See #1015.VS Code extension: release universal extension as a fallback for Windows and other platforms to be used with WSL/Remote development. Fixes #1017
Fix
MIRRORD_AGENT_RUST_LOGcan't be more than info due to dependency on info log.Fix pause feature not working in extension due to writing to stdout (changed to use trace)
Changed
DNSLookupfailures changed to be info log from error since it is a common case.mirrord-agent: now prints "agent ready" instead of logging it so it can't be fudged with
RUST_LOGcontrol.mirrord-agent:
agent::layer_recvchanged instrumentation to be trace instead of info.mirrord-layer/agent: change ttl of job to be 1 second for cases where 0 means in cluster don't clean up.
Convert go fileops e2e tests into integration tests. Part of #994.
3.22.0
Changed
Rust: update rust toolchain (and agent rust
DOCKERFILE) tonightly-2023-01-31.exec/spawn detour refactor #999.
mirrord-layer: Partially load mirrord on certain processes that spawn other processes to allow sip patch on the spawned process. This to prevent breaking mirrord-layer load if parent process is specified in
--skip-processes. (macOS only)
Fixed
mirrord-layer: DNS resolving doesn't work when having a non-OS resolver (using UDP sockets) since
/etc/resolv.confand/etc/hostswere in the local read override, leading to use the local nameserver for resolving. Fixes #989mirrord-agent: Infinite reading a file when using
fgets/read_linedue to bug seeking to start of file.Rare deadlock on file close that caused the e2e file-ops test to sometimes fail (#994).
3.21.0
Added
Support for Go's
os.ReadDiron Linux (by hooking thegetdents64syscall). Part of #120.Test mirrord with Go 1.20rc3.
Changed
mirrord-agent: Wrap agent with a parent process to doublecheck the clearing of iptables. See #955
mirrord-layer: Change
HOOK_SENDERfromOptiontoOnceLock.
Fixed
mirrord-agent: Handle HTTP upgrade requests when the stealer feature is enabled (with HTTP traffic) PR #973.
E2E tests compile on MacOS.
mirrord could not load into some newer binaries of node - #987. Now hooking also
posix_spawn, since node now useslibuv'suv_spawn(which in turn callsposix_spawn) instead of libc'sexecvp(which callsexecve).Read files from the temp dir (defined by the system's
TMPDIR) locally, closes #986.
3.20.0
Added
Support impersonation in operator
Fixed
Go crash in some scenarios #834.
Remove already deprecated
--no-fsand--rwoptions, that do not do anything anymore, but were still listed in the help message.Bug: SIP would fail the second time to run scripts for which the user does not have write permissions.
Changed
Change layer/cli logs to be to stderr instead of stdout to avoid mixing with the output of the application. Closes #786
3.19.2
Changed
Code refactor: moved all file request and response types into own file.
3.19.1
Fixed
Changelog error failing the JetBrains release.
3.19.0
Changed
mirrord-operator: replace operator api to use KubernetesAPI extension. #915
Fixed
tests: flaky passthrough fix. Avoid 2 agents running at the same time, add minimal sleep (1s)
macOS x64/SIP(arm): fix double hooking
fstatat$INODE64. Possible crash and undefined behavior.
Added
introduce
mirrord-console- a utility to debug and investigate mirrord issues.
Deprecated
Remove old fs mode
cli: no
--rwor--no-fs.layer: no
MIRRORD_FILE_OPS/MIRRORD_FILE_RO_OPS/MIRRORD_FILE_FILTER_INCLUDE/MIRRORD_FILE_FILTER_EXCLUDE
3.18.2
Fixed
crash when
getaddrinfois bypassed and libc tries to free our structure. Closes #930Stealer hangs on short streams left open and fails on short closed streams to filtered HTTP ports - #926.
3.18.1
Fixed
Issue when connect returns
libc::EINTRorlibc::EINPROGRESScausing outgoing connections to fail.config: file config updated to fix simple pattern of IncomingConfig. #933
3.18.0
Added
Agent now sends error encountered back to layer for better UX when bad times happen. (This only applies to error happening on connection-level).
Partial ls flow for Go on macOS (implemented
fdopendirandreaddir_r). Closes #902New feature: HTTP traffic filter!
Allows the user to steal HTTP traffic based on HTTP request headers, for example
Client: mewould steal requests that match this header, while letting unmatched requests (and non-HTTP packets) through to their original destinations.
Fixed
Update the setup-qemu-action action to remove a deprecation warning in the Release Workflow
stat functions now support directories.
Possible bugs with fds being closed before time (we now handle dup'ing of fds, and hold those as ref counts)
Changed
agent: Return better error message when failing to use
PACKET_IGNORE_OUTGOINGflag.
3.17.0
Added
Add brew command to README
Fixed
intellij plugin: mirrord icon should always load now.
intellij plugin: on target selection cancel, don't show error - just disable mirrord for the run and show message.
fixed setting a breakpoint in GoLand on simple app hanging on release build (disabled lto). - Fixes #906.
Deprecated
Removed
disabledin favor oflocalinfsconfiguration.
Changed
update
kubedependency + bump otherupdate
dlvpacked with plugins.
3.16.2
Fixed
Add go to skipped processes in JetBrains plugin. Solving GoLand bug.
3.16.1
Fixed
Running on specific Kubernetes setups, such as Docker for Desktop should work again.
3.16.0
Added
Add golang stat hooks, closes #856
Fixed
agent: mount /var from host and reconfigure docker socket to /var/run/docker.sock for better compatibility
Error on specifying namespace in configuration without path (pod/container/deployment). Closes #830
IntelliJ plugin with new UI enabled now shows buttons. Closes #881
Fix deprecation warnings (partially), update checkout action to version 3.
Changed
Refactored detours to use new helper function
Result::as_hookto simplify flow. (no change in behavior)
3.15.2
Added
Logging for IntelliJ plugin for debugging/bug reports.
Fixed
Crash when mirroring and state is different between local and remote (happens in Mesh). We now ignore messages that are not in the expected state. (as we can't do anything about it).
agent: Fix typo in socket path for k3s environments
intellij-plugin: fix missing telemetry/version check
3.15.1
Added
Add
__xstathook, fixes #867
Fixed
Fix build scripts for the refactored IntelliJ plugin
3.15.0
Added
agent: Add support for k3s envs
IntelliJ plugin - refactor, uses cli like vs code.
Fixed
Changed
cli now loads env, removes go env stuff at load, might fix some bugs there.
3.14.3
Fixed
Create empty release to overcome temporary issue with VS Code marketplace publication
3.14.2
Fixed
vscode ext: use process env for running mirrord. Fixes #854
3.14.1
Fixed
layer + go - connect didn't intercept sometimes (we lacked a match). Fixes 851.
3.14.0
Changed
cli: Set environment variables from cli to spawned process instead of layer when using
mirrord exec.cli: use miette for nicer errors
cli: some ext exec preparations, nothing user facing yet.
vs code ext: use cli, fixes some env bugs with go and better user experience.
3.13.5
Changed
Don't add temp prefix when using
extractcommand.VS Code extension: mirrord enable/disable to be per workspace.
VS Code extension: bundle the resources
Add
/Systemto default ignore list.Remove
test_mirrord_layerfrom CI as it's covered in integration testing.
Fixed
fd leak on Linux when using libuv (Node). Caused undefined behavior. Fixes #757.
Misc
Better separation in mirrord cli.
3.13.4
Changed
Adjust filters - all directory filters also filter the directory itself (for when lstat/stating the directory). Added
/Applications
3.13.3
Added
Add
mirrord lswhich allows listing target path. Hidden from user at the moment, as for now it's meant for extension use only.
Changed
Refactor e2e tests: split into modules based on functionality they test.
internal refactor in mirrord-agent: Stealer feature changed from working per connection to now starting with the agent itself ("global"). Got rid of
steal_workerin favor of a similar abstraction to what we have insniffer.rs(TcpConnectionStealerthat acts as the traffic stealing task, andTcpStealerApiwhich bridges the communication between the agent and the stealer task).Tests CI: don't wait for integration tests to start testing E2E tests.
Fixed
Add missing
fstat/lstat/fstatat/stathooks.
3.13.2
Fixed
Weird crash that started happening after Frida upgrade on macOS M1.
3.13.1
Fixed
Fix asdf:
Add
/tmpnot just/tmp/to exclusion.Add
.tool-versionto exclusion.fclosewas calling close which doesn't flush.
3.13.0
Changed
IntelliJ Plugin: downgrade Java to version 11.
IntelliJ Plugin: update platform version to 2022.3.
Disable progress in mirrord-layer - can cause issues with forks and generally confusing now that agent is created by cli (and soon to be created by IDE plugin via cli).
Update to Frida 16.0.7
Add more paths to the default ignore list (
/snapand*/.asdf/*) - to fix asdf issues.Add
/bin/to default ignore list - asdf should be okay now!Update GitHub action to use latest
rust-cache
Added
mirrord-operator: Add securityContext section for deployment in operator setup
Fixed
Fix
--fs-mode=localdidn't disable hooks as it was supposed to.Fix hooking wrong libc functions because of lack of module specification - add function to resolve module name to hook from (libc on Unix,libsystem on macOS). Partially fixes asdf issue.
3.12.1
Added
E2E test for pause feature with service that logs http requests and a service that makes requests.
mirrord-layer: automatic operator discovery and connection if deployed on cluster. (Discovery can be disabled with
MIRRORD_OPERATOR_ENABLE=false).
Changed
Added
/tmp/to be excluded from file ops by default. Fixes #800.
Misc
Reformatted a bit the file stuff, to make it more readable. We now have
FILE_MODEinstead ofFILE_OPS_*internally.Changed fileops test to also test write override (mirrord mode is read and override specific path)
3.12.0
Added
--pausefeature (unstable). See #712.operator setup cli feature.
mirrord-layer: operator connection that can be used instead of using kubernetes api to access agents.
Changed
CI: cancel previous runs of same PR.
cli: set canonical path for config file to avoid possible issues when child processes change current working directory.
config: Refactor config proc macro and behavior - we now error if a config value is wrong instead of defaulting.
layer: panic on error instead of exiting without any message.
CI: don't run CI on draft PRs.
Update dependencies.
Update to clap v4 (cli parser crate).
Started deprecation of fsmode=disabled, use fsmode=local instead.
Fixed
Typo in
--agent-startup-timeoutflag.
3.11.2
Fixed
Agent dockerfile: fix build for cross arch
Changed
Added clippy on macOS and cleaned warnings.
3.11.1
Fixed
release.yaml: Linux AArch64 for real this time. (embedded so was x64)
Changed
Create agent in the cli and pass environment variables to exec'd process to improve agent re-use.
IntelliJ: change default log level to warning (match cli/vscode).
IntelliJ: don't show progress (can make some tests/scenarios fail).
release.yaml: Build layer/cli with Centos 7 compatible glibc (AmazonLinux2 support).
Change CPU/memory values requested by the Job agent to the lowest values possible.
3.11.0
Added
MacOS: Support for executing SIP binaries in user applications. We hook
execveand create a SIP-free version of the binary on-the-go and execute that instead of the SIP binary. This means we now support running bash scripts with mirrord also on MacOS. Closes #649.
Changed
Only warn about invalid certificates once per agent.
Reduce tokio features to needed ones only.
Fixed
CI: Fix regex for homebrew formula
Potentially ignoring write calls (
fd < 2).CI: Fix release for linux aarch64. Fixes #760.
Possible cases where we don't close fds correctly.
3.10.4
Fixed
VS Code Extension: Fix crash when no env vars are defined in launch.json
3.10.3
Changed
CLI: change temp lib file to only be created for new versions
mirrord-config: refactored macro so future implementations will be easier
Fixed
Release: fix homebrew release step
3.10.2
Fixed
CI: fix
release_ghzip file step
3.10.1
Changed
CI: download shasums and add git username/email to make the homebrew release work
Remove
unimplementedfor some IO cases, we now returnUnknowninstead. Also added warning logs for these cases to track.Only recommend
--accept-invalid-certificateson connection errors if not already set.Terminate user application on connection error instead of only stopping mirrord.
3.10.0
Added
CI: Update homebrew formula on release, refer #484
Changed
VS Code Extension: change extension to use the target specified in the mirrord config file, if specified, rather than show the pod dropdown
3.9.0
Added
MIRRORD_AGENT_NETWORK_INTERFACEenvironment variable/file config to let user control which network interface to use. Workaround for #670.mirrord-config:
deprecatedandunstabletags to MirrordConfig macro for messaging user when using said fields
Changed
VS Code Extension: change extension to use a mirrord-config file for configuration
VS Code Extension: use the IDE's telemetry settings to determine if telemetry should be enabled
3.8.0
Changed
mirrord-layer: Remove
unwrapfrom initialization functions.Log level of operation bypassing log from warn to trace (for real this time).
Perform filesystem operations for paths in
/homelocally by default (for real this time).
Added
VS Code Extension: add JSON schema
Bypass SIP on MacOS on the executed binary, (also via shebang). See [#649]. This does not yet include binaries that are executed by the first binary.
Fixed
fix markdown job by adding the checkout action
3.7.3
Fixed
mirrord-agent: No longer resolves to
eth0by default, now we first try to resolve the appropriate network interface, if this fails then we useeth0as a last resort. Fixes #670.
Changed
intelliJ: use custom delve on macos
3.7.2
Fixed
Release: fix broken docker build step caused by folder restructure
3.7.1
Fixed
using gcloud auth for kubernetes. (mistakenly loaded layer into it)
debugging Go on VSCode. We patch to use our own delivered delve.
Changed layer not to crash when connection is closed by agent. Closed #693.
Changed
IntelliJ: fallback to using a textfield if listing namespaces fails
3.7.0
Added
mirrord-config: New
mirrord-schema.jsonfile that contains docs and types which should help the user write their mirrord config files. This file has to be manually generated (there is a test to help you remember).
Fixed
IntelliJ: Fix occurring of small namespace selection window and make mirrord dialogs resizable
IntelliJ: Fix bug when pressing cancel in mirrord dialog and rerunning the application no mirrord window appears again
VS Code: Fix crash occurring because it used deprecated env vars.
Changed
mirrord-config: Take
schemafeature out of feature flag (now it's always on).mirrord-config: Add docs for the user config types.
3.6.0
Added
mirrord-layer: Allow capturing tracing logs to file and print github issue creation link via MIRRORD_CAPTURE_ERROR_TRACE env variable
Fixed
Fix vscode artifacts where arm64 package was not released.
IntelliJ plugin: if namespaces can't be accessed, use the default namespace
Changed
Add
/hometo default file exclude list.Changed log level of
Bypassing operation...from warning to trace.IntelliJ settings default to match CLI/VSCode.
3.5.3
Fixed
Fixed broken release step for VS Code Darwin arm64 version
3.5.2
Fixed
Fixed breaking vscode release step
3.5.1
Fixed
Fixed an issue with the release CI
Changed
3.5.0
Added
aarch64 release binaries (no go support yet, no IntelliJ also).
mirrord-layer: Add
FileFilterthat allows the user to include or exclude file paths (with regex support) for file operations.
Changed
mirrord-layer: Improve error message when user tries to run a program with args without
--.Add tests for environment variables passed to KubeApi for authentication feature for cli credential fetch
Remove openssl/libssl dependency, cross compilation is easier now. (It wasn't needed/used)
mirrord-config: Changed the way
fsworks: now it supports 2 modesSimpleandAdvanced, whereSimpleis similar to the old behavior (enables read-only, read-write, or disable file ops), andAdvancedallows the user to specify include and exclude (regexes) filters forFileFilter.Lint
READMEand update it for--targetflag.mirrord-layer: improve error message for invalid targets.
Removed
--pod-name,--pod-namespace,--impersonated_container_namehave been removed in favor of--target,--target-namespace
Fixed
Env var to ignore ports used by a debugger for intelliJ/VSCode, refer #644
3.4.0
Added
Add changelog for intelliJ extension, closes #542
Add filter for changelog to ci.yml
Telemetry for intelliJ extension.
Changed
Update intelliJ extension: lint & bump java version to 17.
Added
/Usersand/Libraryto path to ignore for file operations to improve UX on macOS.Use same default options as CLI in intelliJ extension.
Improve UI layout of intelliJ extension.
Separate tcp and udp outgoing option in intelliJ extension.
Tighter control of witch environment variables would be passed to the KubeApi when fetching credentials via cli in kube-config. See #637
Fixed
Lint Changelog and fix level of a "Changed" tag.
File operations - following symlinks now works as expected. Previously, absolute symlinks lead to use our own path instead of target path. For example, AWS/K8S uses
/var/run/..for service account credentials. In many machines,/var/runis symlink to/runso we were using/run/..instead of/proc/{target_pid}/root/run.Fix not reappearing window after pressing cancel-button in intelliJ extension.
3.3.0
Added
Telemetries, see TELEMETRY.md for more information.
Changed
Added timeout for "waiting for pod to be ready..." in mirrord-layer to prevent unresponsive behavior. See #579
IntelliJ Extension: Default log level to
ERRORfromDEBUG
Fixed
Issue with bottlerocket where they use
/run/dockershim.sockinstead of the default containerd path. Add new path as fallback.
3.2.0
Changed
Extended support for both
-sand-xwildcard matching, now supportsPREFIX_*,*_SUFFIX, etc.Add to env default ignore
JAVA_HOME,HOMEPATH,CLASSPATH,JAVA_EXEas it's usually runtime that you don't want from remote. Possibly fixes issue discussed on Discord (used complained that they had to use absolute path and not relative).Add
jvm.cfgto default bypass for files.Clarify wrong target error message.
mirrord-layer: Improve error message in
connection::handle_error.
Fixed
Don't ignore passed
--pod-namespaceargument, closes [#605]Replace deprecated environment variables in IntelliJ plugin
Issues with IntelliJ extension when debugging Kotlin applications
Scrollable list for pods and namespaces for IntelliJ extension, closes [#610]
Deprecated
--impersonated-container-nameandMIRRORD_IMPERSONATED_CONTAINER_NAMEare deprecated in favor of--targetorMIRRORD_IMPERSONATED_TARGET--pod-namespaceandMIRRORD_AGENT_IMPERSONATED_POD_NAMESPACEare deprecated in favor of--target-namespaceandMIRRORD_TARGET_NAMESPACE
3.1.3
Changed
release: VS Code extension release as stable and not pre-release.
Fixed
Dev container failing to execute
apt-get install -y clang
3.1.2
Changed
Update some texts in documentation, READMEs, and extension package descriptions
IntelliJ version check on enabling instead of on project start. Don't check again after less than 3 minutes.
3.1.1
Fixed
IntelliJ plugin crashing on run because both include and exclude were being set for env vars.
3.1.0
Added
pwritehook (used bydotnet);
Fixed
Issue #577. Changed non-error logs from
error!totrace!.
Changed
Agent pod definition now has
requestsspecifications to avoid being defaulted to high values. See #579.Change VSCode extension configuration to have file ops, outgoing traffic, DNS, and environment variables turned on by default.
update intelliJ extension: toggles + panel for include/exclude env vars
3.0.22-alpha
Changed
Exclude internal configuration fields from generated schema.
Fixed
Issue #531. We now detect NixOS/Devbox usage and add
shto skipped list.
3.0.21-alpha
Added
Reuse agent - first process that runs will create the agent and its children will be able to reuse the same one to avoid creating many agents.
Don't print progress for child processes to avoid confusion.
Skip istio/linkerd-proxy/init container when mirroring a pod without a specific container name.
Add "linkerd.io/inject": "disabled" annotation to pod created by mirrord to avoid linkerd auto inject.
mirrord-layer: support
-target deployment/deployment_name/container/container_nameflag to run on a specific container./nix/*path is now ignored for file operations to support NixOS.Shortcut
deployfordeploymentin target argument.Added the ability to override environment variables in the config file.
Changed
Print exit message when terminating application due to an unhandled error in the layer.
mirrord-layer: refactored
pod_api.rsto be more maintainble.Use kube config namespace by default.
mirrord-layer: Ignore
EAFNOSUPPORTerror reporting (valid scenario).
3.0.20-alpha
Added
preadhook (used bydotnet);mirrord-layer: ignore opening self-binary (temporal SDK calculates the hash of the binary, and it fails because it happens remotely)
Added progress reporting to the CLI.
CI: use bors for merging! woohoo.
Changed
Don't report InProgress io error as error (log as info)
mirrord-layer: Added some
dotnetfiles toIGNORE_FILESregex set;mirrord-layer: Added the
Detourtype for use in theopsmodules instead ofHookResult. This type supports returning aBypassto avoid manually checking if a hook actually failed or if we should just bypass it;mirrord-protocol: Reduce duplicated types around
readoperation;Layer integration tests for more apps. Closes [#472].
Rename http mirroring tests from
integrationtohttp_mirroringsince there are now also integration tests in other files.Delete useless
e2e_macosCI job.Integration tests also display test process output (with mirrord logs) when they time out.
CI: mirrord-layer UT and integration run in same job.
.devcontainer: Added missing dependencies and also kind for running e2e tests.
Fixed
Fix IntelliJ Extension artifact - use glob pattern
Use LabelSelector instead of app=* to select pods from deployments
Added another protection to not execute in child processes from k8s auth by setting an env flag to avoid loading then removing it after executing the api.
3.0.19-alpha
Added
Release image for armv7 (Cloud ARM)
Fixed
Release for non-amd64 arch failed because of lack of QEMU step in the github action. Re-added it
3.0.18-alpha
Changed
Replaced
pcapdependency with our ownrawsocketto make cross compiling faster and easier.
3.0.17-alpha
Fixed
Release CI: Remove another failing step
3.0.16-alpha
Fixed
Release CI: Temporarily comment out failing step
3.0.15-alpha
Fixed
Release CI: Fix checkout action position in intelliJ release.
3.0.14-alpha
Added
Layer integration test. Tests the layer's loading and hooking in an http mirroring simulation with a flask web app. Addresses but does not close [#472] (more integration tests still needed).
Fixed
Release CI: Fix paths for release artifacts
3.0.13-alpha
Added
mirrord-cli: added a SIP protection check for macos binaries, closes [#412]
Fixed
Fixed unused dependencies issue, closes [#494]
Changed
Remove building of arm64 Docker image from the release CI
3.0.12-alpha
Added
Release CI: add extensions as artifacts, closes [#355]
Changed
Remote operations that fail logged on
infolevel instead oferrorbecause having a file not found, connection failed, etc can be part of a valid successful flow.mirrord-layer: When handling an outgoing connection to localhost, check first if it's a socket we intercept/mirror, then just let it connect normally.
mirrord-layer: removed
tracing::instrumentfrom*_detourfunctions.
Fixed
getaddrinfonow usestrust-dns-resolverwhen resolving DNS (previously it would do agetaddrinfocall in mirrord-agent that could result in incompatibility between the mirrored pod and the user environments).Support clusters running Istio. Closes [#485].
3.0.11-alpha
Added
Support impersonated deployments, closes [#293]
Shorter way to select which deployment/pod/container to impersonate through
--targetorMIRRORD_IMPERSONATED_TARGET, closes [#392]mirrord-layer: Support config from file alongside environment variables.
intellij-ext: Add version check, closes [#289]
intellij-ext: better support for Windows with WSL.
Deprecated
--pod-nameorMIRRORD_AGENT_IMPERSONATED_POD_NAMEis deprecated in favor of--targetorMIRRORD_IMPERSONATED_TARGET
Fixed
tcp-steal working with linkerd meshing.
mirrord-layer should exit when agent disconnects or unable to make initial connection
3.0.10-alpha
Added
Test that verifies that outgoing UDP traffic (only with a bind to non-0 port and a call to
connect) is successfully intercepted and forwarded.
Fixed
macOS binaries should be okay now.
3.0.9-alpha
Changed
Ignore http tests because they are unstable, and they block the CI.
Bundle arm64 binary into the universal binary for MacOS.
3.0.8-alpha
Fixed
release CI: Fix dylib path for
dd.
3.0.7-alpha
Fixed
mirrord-layer: Fix
connectreturning error when called on UDP sockets and the outgoing traffic feature of mirrord is disabled.mirrord-agent: Add a
tokio::time:timeouttoTcpStream::connect, fixes golang issue where sometimes it would get stuck attempting to connect on IPv6.intelliJ-ext: Fix CLion crash issue, closes [#317]
vscode-ext: Support debugging Go, and fix issues with configuring file ops and traffic stealing.
Changed
mirrord-layer: Remove check for ignored IP (localhost) from
connect.mirrord-layer: Refactor
connectfunction to be less bloated..dockerignorenow ignores more useless files (reduces mirrord-agent image build time, and size).mirrord-agent: Use
tracing::instrumentfor the outgoing traffic feature.mirrord-agent:
IndexAllocatornow usesConnectionIdfor outgoing traffic feature.
3.0.6-alpha
Changed
mirrord-layer: Remove
tracing::instrumentfromgo_env::goenvs_unix_detour.mirrord-layer: Log to info instead of error when failing to write to local tunneled streams.
Added
release CI: add arm64e to the universal dylib
intellij-ext: Add support for Goland
3.0.5-alpha
Fixed
mirrord-layer: Return errors from agent when
connectfails back to the hook (previously we were handling these as errors in layer, soconnecthad slightly wrong behavior).mirrord-layer: instrumenting error when
write_detouris called to stdout/stderrmirrord-layer: workaround for
presented server name type wasn't supportederror when Kubernetes server has IP for CN in certificate. [#388]
Changed
mirrord-layer: Use
tracing::instrumentto improve logs.
Added
Outgoing UDP test with node. Closes [#323]
3.0.4-alpha
Fixed
Fix crash in VS Code extension happening because the MIRRORD_OVERRIDE_ENV_VARS_INCLUDE and MIRRORD_OVERRIDE_ENV_VARS_EXCLUDE vars being populated with empty values (rather than not being populated at all) .Closes [#413].
Add exception to gradle when dylib/so file is not found. Closes [#345]
mirrord-layer: Return errors from agent when
connectfails back to the hook (previously we were handling these as errors in layer, soconnecthad slightly wrong behavior).
3.0.3-alpha
Changed
Changed agent namespace to default to the pod namespace. Closes [#404].
3.0.2-alpha
Added
Code sign Apple binaries.
CD - Update latest tag after release is published.
Changed
In
go-e2etest, callos.Exitinstead of sendingSIGINTto the process.Install script now downloads latest tag instead of main branch to avoid downtime on installs.
Fixed
Fix Environment parsing error when value contained '=' Closes [#387].
Fix bug in outgoing traffic with multiple requests in quick succession. Closes [#331].
3.0.1-alpha
Fixed
Add missing dependency breaking the VS Code release.
3.0.0-alpha
Added
New feature: UDP outgoing, mainly for Go DNS but should work for most use cases also!
E2E: add tests for python's fastapi with uvicorn
Socket ops -
connect: ignore localhost and ports 50000 - 60000 (reserved for debugger)Add "*.plist" to
IGNORE_REGEX, refer [#350].
Changed
Change all functionality (incoming traffic mirroring, remote DNS outgoing traffic, environment variables, file reads) to be enabled by default. Note that flags now disable functionality
Fixed
mirrord-layer: User-friendly error for invalid kubernetes api certificate
mirrord-cli: Add random prefix to the generated shared lib to prevent Bus Error/EXC_BAD_ACCESS
Support for Go 1.19>= syscall hooking
Fix Python debugger crash in VS Code Extension. Closes [#350].
2.13.0
Added
Release arm64 agent image.
Fixed
Use selected namespace in IntelliJ plugin instead of always using default namespace.
2.12.1
Fixed
Fix bug where VS Code extension would crash on startup due to new configuration values not being the correct type.
Unset DYLD_INSERT_LIBRARIES/LD_PRELOAD when creating the agent. Closes [#330].
Fix NullPointerException in IntelliJ Extension. Closes [#335].
FIx dylib/so paths for the IntelliJ Extension. Closes [#337].
2.12.0
Added
Add more configuration values to the VS Code extension.
Warning when using remote tcp without remote DNS (can cause ipv6/v4 issues). Closes #327
Fixed
VS Code needed restart to apply kubectl config/context change. Closes 316.
Fixed DNS feature causing crash on macOS on invalid DNS name due to mismatch of return codes. #321.
Fixed DNS feature not using impersonated container namespace, resulting with incorrect resolved DNS names.
mirrord-agent: Use
IndexAllocatorto properly generateConnectionIds for the tcp outgoing feature.tests: Fix outgoing and DNS tests that were passing invalid flags to mirrord.
Go Hooks - use global ENABLED_FILE_OPS
Support macOS with apple chip in the IntelliJ plugin. Closes #337.
2.11.0
Added
New feature: mirrord now supports TCP traffic stealing instead of mirroring. You can enable it by passing
--tcp-stealflag to cli.
Fixed
mirrord-layer: Go environment variables crash - run Go env setup in a different stack (should fix #292)
Changed
mirrord-layer: Add
#![feature(let_chains)]tolib.rsto support new compiler version.
2.10.1
Fixed
CI:Release - Fix typo that broke the build
2.10.0
Added
New feature, tcp outgoing traffic. It's now possible to make requests to a remote host from the staging environment context. You can enable this feature setting the
MIRRORD_TCP_OUTGOINGvariable to true, or using the-ooption in mirrord-cli.mirrord-cli add login command for logging in to metalbear-cloud
CI:Release - Provide zip and sha256 sums
Fixed
Environment variables feature on Golang programs. Issue #292 closed in #299
2.9.1
Fixed
CI - set typescript version at 4.7.4 to fix broken release action
2.9.0
Added
Support for Golang fileops
IntelliJ Extension for mirrord
Changed
mirrord-layer: Added common
Resulttype to to reduce boilerplate, removed dependency ofanyhowcrate.mirrord-layer: Split
LayerErrorintoLayerErrorandHookErrorto distinguish between errors that can be handled by the layer and errors that can be handled by the hook. (no more requiring libc errno for each error!). Closes #247
2.8.1
Fixed
CI - remove usage of ubuntu-18.04 machines (deprecated)
2.8.0
Added
E2E - add basic env tests for bash scripts
Fixed
mirrord-agent - Update pcap library, hopefully will fix dropped packets (syn sometimes missed in e2e).
mirrord-agent/layer - Sometimes layer tries to connect to agent before it finished loading, even though pod is running. Added watching the log stream for a "ready" log message before attempting to connect.
Changed
E2E - describe all pods on failure and add file name to print of logs.
E2E - print timestamp of stdout/stderr of
TestProcess.E2E - Don't delete pod/service on failure, instead leave them for debugging.
mirrord-agent - Don't use
tokio::spawnfor spawningsniffer(or any other namespace changing task) to avoid namespace-clashing/undefined behavior. Possibly fixing bugs.Change the version check on the VS Code extension to happen when mirrord is enabled rather than when the IDE starts up.
2.7.0
Added
mirrord-layer: You can now pass
MIRRORD_AGENT_COMMUNICATION_TIMEOUTas environment variable to control agent timeout.Expand file system operations with
accessandfaccessathooks for absolute paths
Fixed
Ephemeral Containers didn't wait for the right condition, leading to timeouts in many cases.
mirrord-layer: Wait for the correct condition in job creation, resolving startup/timeout issues.
mirrord-layer: Add a sleep on closing local socket after receiving close to let local application respond before closing.
mirrord-layer: Fix DNS issue where
ai_addrwould not live long enough (breaking the remote DNS feature).
Changed
Removed unused dependencies from
mirrord-layer/Cargo.toml. (Closes #220)reduce e2e flakiness (add message sent on tcp listen subscription, wait for that message)
reduce e2e flakiness - increase timeout time
mirrord-layer - increase agent creation timeout (to reduce e2e flakiness on macOS)
E2E - Don't do file stuff on http traffic to reduce flakiness (doesn't add any coverage value..)
mirrord-layer - Change tcp mirror tunnel
selectto be biased so it flushes all data before closing it (better testing, reduces e2e flakiness)E2E - unify resolve_node_host for linux and macOS with support for wsl provided Docker & Kubernetes
E2E - add
tracefor tests to have parameterized arguments printedmirrord-agent - add debug print of args to identify runs
E2E - remove double
--extract-pathparameter in testsE2E - macOS colima start with 3 cores and 8GB of RAM.
E2E - Increase agent communication timeout to reduce flakiness.
mirrord-layer - add
DetourGuardto prevent unwanted calls to detours from our code.mirrord-layer - extract reused detours to separate logic functions
E2E - macOS run only sanity http mirror traffic with Python
2.6.0
Added
Add a flag for the agent,
--ephemeral-container, to correctly refer to the filesystem i.e. refer to root path as/proc/1/rootwhen the flag is on, otherwise/.Add support for Golang on amd64 (x86-64).
Changed
Assign a random port number instead of
61337. (Reason: A forking process creates multiple agents sending traffic on the same port, causing addrinuse error.)mirrord-layer/socketnow usessocket2::SockAddrto comply with Rust's new IP format.
Fixed
Fix filesystem tests to only run if the default path exists.
Fix extension not running due to the node_modules directory not being packaged.
2.5.0
Added
New feature, remote DNS resolving. It is now possible to use the remote's
addrinfoby setting theMIRRORD_REMOTE_DNSvariable totrue, or using the-doption in mirrord-cli.New feature, Ephemeral Containers. Use Kubernetes beta feature
Ephemeral Containersto mirror traffic with the--ephemeral-containerflag.E2E tests on macos for Golang using the Gin framework.
Changed
Refactored
mirrord-layer/socketinto a module structure similar tomirrord-layer/file.Refactored the error part of the many
Result<Response, ResponseError>.Refactored
filerelated functions, createdFileHandlerand improved structure.Refactored error handling in mirrord-layer.
E2E: Collect minikube logs and fix collecting container logs
E2E: macOS use colima instead of minikube.
Refactored
mirrord-layer/lib.rs- no more passing many arguments! :)Refactored
mirrord-layer/lib.rs- removeunwrap()and propagate error usingResult
Fixed
Handle unwraps in fileops to gracefully exit and enable python fileops tests.
Changed
addrinfotoVecDeque- fixes a potential bug (loss of order)
2.4.1
Added
mirrord-cli
execsubcommand accepts--extract-pathargument to set the directory to extract the library to. Used for tests mainly.mirrord-layer provides
MIRRORD_IMPERSONATED_CONTAINER_NAMEenvironment variable to specify container name to impersonate. mirrord-cli accepts argument to set variable.vscode-ext provides quick-select for setting
MIRRORD_IMPERSONATED_CONTAINER_NAME
Changed
Refactor e2e, enable only Node HTTP mirroring test.
E2E: add macOS to E2E, support using minikube by env var.
E2E: Skip loading to docker before loading to minikube (load directly to minikube..)
layer: Environment variables now load before process starts, no more race conditions.
Fixed
Support connections that start with tcp flags in addition to Syn (on macOS CI we saw CWR + NS)
fcntlerror on macOS #184 by a workaround.
2.3.1
Changed
Refactor(agent) - change
FileManagerto be per peer, thus removing the need of it being in a different task, moving the handling to the peer logic, change structure of peer handling to a struct.Don't fail environment variable request if none exists.
E2E: Don't assert jobs and pods length, to allow better debugging and less flakiness.
Refactor(agent) - Main loop doesn't pass messages around but instead spawned peers interact directly with tcp sniffer. Renamed Peer -> Client and ClientID.
Add context to agent/job creation errors (Fixes #112)
Add context to stream creation error (Fixes #110)
Change E2E to use real app, closes #149
2.3.0
Added
Add support for overriding a process' environment variables by setting
MIRRORD_OVERRIDE_ENV_VARStotrue. To filter out undesired variables, use theMIRRORD_OVERRIDE_FILTER_ENV_VARSconfiguration with arguments such asFOO;BAR.
Changed
Remove
unwrapfrom theFuturethat was waiting for Kube pod to spin up inpod_api.rs. (Fixes #110)Speed up agent container image building by using a more specific base image.
CI: Remove building agent before building & running tests (duplicate)
CI: Add Docker cache to Docker build-push action to reduce build duration.
CD release: Fix universal binary for macOS
Refactor: Change protocol + mirrord-layer to split messages into modules, so main module only handles general messages, passing down to the appropriate module for handling.
Add a CLI flag to specify
MIRRORD_AGENT_TTLCI: Collect mirrord-agent logs in case of failure in e2e.
Add "app" = "mirrord" label to the agent pod for log collection at ease.
CI: Add sleep after local app finishes loading for agent to load filter make tests less flaky.
Handle relative paths for open, openat
Fix once cell renamings, PR #98165
Enable the blocking feature of the
reqwestlibrary
2.2.1
Changed
Compile universal binaries for MacOS. (Fixes #131)
E2E small improvements, removing sleeps. (Fixes #99)
2.2.0
Added
File operations are now available behind the
MIRRORD_FILE_OPSenv variable, this means that mirrord now hooks into the following file functions:open,fopen,fdopen,openat,read,fread,fileno,lseek, andwriteto provide a mirrored file system.Support for running x64 (Intel) binary on arm (Silicon) macOS using mirrord. This will download and use the x64 mirrord-layer binary when needed.
Add detours for fcntl/dup system calls, closes #51
Changed
Add graceful exit for library extraction logic in case of error.
Refactor the CI by splitting the building of mirrord-agent in a separate job and caching the agent image for E2E tests.
Update bug report template to apply to the latest version of mirrord.
Change release profile to strip debuginfo and enable LTO.
VS Code extension - update dependencies.
CLI & macOS: Extract to
/tmp/instead of$TMPDIRas the executed process is getting killed for some reason.
Fixed
Fix bug that caused configuration changes in the VS Code extension not to work
Fix typos
2.1.0
Added
Prompt user to update if their version is outdated in the VS Code extension or CLI.
Add support for docker runtime, closes #95.
Add a keep-alive to keep the agent-pod from exiting, closes #63
2.0.4
Complete refactor and re-write of everything.
The CLI/VSCode extension now use
mirrord-layerwhich loads into debugged process usingLD_PRELOAD/DYLD_INSERT_LIBRARIES. It hooks some of the syscalls in order to proxy incoming traffic into the process as if it was running in the remote pod.Mono repo
Fixed unwraps inside of agent-creation, closes #191
Last updated
Was this helpful?

