Skip to content

Releases: metalbear-co/mirrord

3.13.5

13 Dec 18:54
Compare
Choose a tag to compare

Changed

  • Don't add temp prefix when using extract command.
  • VS Code extension: mirrord enable/disable to be per workspace.
  • VS Code extension: bundle the resources
  • Add /System to default ignore list.
  • Remove test_mirrord_layer from 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

12 Dec 13:33
Compare
Choose a tag to compare

Changed

  • Adjust filters - all directory filters also filter the directory itself (for when lstat/stating the directory).
    Added /Applications

3.13.3

12 Dec 08:07
Compare
Choose a tag to compare

Added

  • Add mirrord ls which 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_worker in favor of a similar abstraction to what
    we have in sniffer.rs (TcpConnectionStealer that acts as the traffic stealing task, and
    TcpStealerApi which 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/stat hooks.

3.13.2

08 Dec 21:03
Compare
Choose a tag to compare

Fixed

  • Weird crash that started happening after Frida upgrade on macOS M1.

3.13.1

08 Dec 16:24
Compare
Choose a tag to compare

Fixed

  • Fix asdf:
    • Add /tmp not just /tmp/ to exclusion.
    • Add .tool-version to exclusion.
    • fclose was calling close which doesn't flush.

3.13.0

07 Dec 19:51
Compare
Choose a tag to compare

Changed

  • IntelliJ Plugin: downgrade Java to version 11.
  • 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 (/snap and */.asdf/*) - to fix asdf issues.

Fixed

  • Fix --fs-mode=local didn'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

30 Nov 20:59
Compare
Choose a tag to compare

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_MODE instead of FILE_OPS_* internally.
  • Changed fileops test to also test write override (mirrord mode is read and override specific path)

3.12.0

30 Nov 08:37
Compare
Choose a tag to compare

Added

  • --pause feature (unstable). See #712.
  • operator setup cli feature.
  • mirrord-layer: operator connection that can be used instad 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.

3.11.2

23 Nov 05:45
Compare
Choose a tag to compare

Fixed

  • Agent dockerfile: fix build for cross arch

3.11.1

22 Nov 20:01
Compare
Choose a tag to compare

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.