Skip to content

Releases

v0.7.0

Choose a tag to compare

@fastrevmd-lab fastrevmd-lab released this 28 Nov 03:46
v0.7.0
246a392

Added

  • unifi_stage_change takes a reorder mutation that sets the first-match order of
    one zone pair's custom firewall policies through
    PUT /v2/api/site/<site>/firewall-policies/batch-reorder, the only call that
    re-indexes them (UniFi Network 10.6.109 ignores index on create and on update):
    {"operation": "reorder", "kind": "firewall_policy", "source_zone_id": "…", "destination_zone_id": "…", "order": ["<policy id>", {"created_name": "<name>"}, …]}.
    order must be a permutation of the pair's custom policies, and may place a policy
    created earlier in the same set by its staged name, resolved at apply to the id
    the create returned. Staging refuses an unknown zone, a foreign, predefined or
    duplicate id, a dropped policy, and an ambiguous name; a pair with a custom policy
    placed before its predefined ones is refused rather than moved. The pair's order is
    the pre-image: apply refuses as stale if it moved, verifies by re-listing, and a
    rollback restores it before deleting a policy the set created. A set that reorders
    may not also carry a firewall-policy update that sets source or destination
    (stage zone moves separately), and verification fails on any extra policy in the
    pair other than one the set creates there after the reorder.

Security

  • The container image runs on distroless/base-nossl-debian13, with only
    libgcc_s.so.1 copied in, so libssl3t64 (unfixed CVE-2026-124709) is no
    longer in the image. The server is rustls-only and never loaded it.

v0.6.14

Choose a tag to compare

@fastrevmd-lab fastrevmd-lab released this 13 Nov 22:31
v0.6.14
e10d3dd

Security

  • quinn-proto 0.11.19 and quinn-udp 0.5.16 for RUSTSEC-2026-0523, -0524 and -0538
    (#182), and rustix 1.1.6 for RUSTSEC-2026-0486 (#183). Lockfile only.

Changed

  • axum-server 0.9 (#180), the HTTPS listener, and uuid 1.29.2 (#178).
  • The container image is published for linux/amd64 and linux/arm64 again,
    so docker pull works on Apple Silicon and other arm64 hosts
    (mechubsec/rustjunosmcp#648). Each platform builds on a native GitHub-hosted
    runner rather than QEMU (the emulated build was dropped in 0.6.0 for making
    releases take most of an hour). Both registries get one manifest list, which
    is what is signed and attested. Releases before this change are amd64-only.

Fixed

  • backfill-dockerhub-signature signs the Docker Hub image only when its tag
    resolves to the same digest that GHCR signed, and refuses otherwise (#184).

v0.6.13

Choose a tag to compare

@fastrevmd-lab fastrevmd-lab released this 10 Nov 05:18
v0.6.13
6f784ec

Security

  • The container image's distroless/cc-debian13 runtime base moves to cc66d22,
    which carries zlib 1.3.1-1+deb13u1 for CVE-2026-76844 and CVE-2026-85091. The
    0.6.12 image's base is affected (#176).
  • rmcp 3.9.0 for RUSTSEC-2026-0462 (#175). The advisory is in rmcp's Streamable
    HTTP client, which this server does not use.

Changed

  • A firewall zone delete must be the last mutation in its change set, so a set holds
    at most one. Rollback cannot recreate a deleted zone, and a delete with nothing
    after it never needs rolling back. Validation, approval and apply refuse any other
    order.

Fixed

  • Validation, approval and apply refuse an update setting report_flow: true on a
    firewall policy whose live copy has report_flow_supported: false, instead of
    leaving the controller to reject or ignore it.
  • Validation checks a staged network_id or zone id against the controller's whole
    network or zone list, not its first 200 entries, so an id past them is no longer
    refused as unknown.

v0.6.12

Choose a tag to compare

@fastrevmd-lab fastrevmd-lab released this 08 Nov 16:18
v0.6.12
904c1f5

Fixed

  • Staging a firewall policy read from a UniFi Network 11.0 controller no longer fails
    on report_flow, which every 11.0 policy carries. report_flow_supported is
    controller-computed and, like hits, must be dropped from a restaged body.

v0.6.11

Choose a tag to compare

@fastrevmd-lab fastrevmd-lab released this 07 Nov 00:49
v0.6.11
17da85c

Fixed

  • Validation now checks a firewall_policy update's effective action and
    create_allow_respond against the live policy, so an update that sets only
    create_allow_respond: true on a BLOCK or REJECT policy, or that claims
    predefined, is refused at validation, at approval, and by apply before it
    writes anything, instead of by the controller. Whether a policy is
    predefined is read from the controller's copy.

v0.6.10

Choose a tag to compare

@fastrevmd-lab fastrevmd-lab released this 06 Nov 15:18
v0.6.10
77ce95e

Changed

  • unifi_apply_change_set now reports failed, not partial, when the
    controller refuses the first change with a 4xx: nothing was written and
    nothing needed rolling back. A first change that fails any other way (a 5xx,
    a timeout, a create answered without an id) is still partial, since it may
    have landed; check the controller. The unifi_change_set_applied audit
    event's outcome carries the same value. The stored change set is Failed
    in both cases, as before.

Fixed

  • Staging a firewall_policy whose action is BLOCK or REJECT now requires
    create_allow_respond: false. The controller refuses such a policy
    otherwise, on create and on update, and defaults the field to true when it
    is left out (UniFi Network 11.0.97). Before, the refusal came only at apply.
    A predefined policy is not checked: the controller's own BLOCK policies
    carry create_allow_respond: true.

v0.6.9

Choose a tag to compare

@fastrevmd-lab fastrevmd-lab released this 06 Nov 01:43
v0.6.9
6a3c22b

Fixed

  • Updating a firewall_zone failed: the controller refused the PUT with
    Unrecognized field "attr_no_edit" (#143). The update body was built from the
    zone list, which carries fields the zone endpoint does not take. A zone update
    now sends _id, name and network_ids only, the staged fields over them,
    and so does rolling a zone update back. Rolling a zone delete back still
    fails: no zone create restores the original _id, so it is reported as a
    failed rollback.
    Staging default_zone or external_id on a zone is now refused at staging:
    the controller rejects both on create and update (UniFi Network 11.0.97).
  • Validation now refuses a reservation whose network_id is not a network on
    the controller, or is one the same change set deletes (#143). The network
    list is fetched only when a staged body names a network_id.
  • Post-apply verification now also compares nested fields such as a policy's
    source.zone_id, by path, and scalar arrays without regard to order (#143).

v0.6.8

Choose a tag to compare

@fastrevmd-lab fastrevmd-lab released this 05 Nov 00:17
v0.6.8
cadedba

Changed

  • mecmcp 0.27.0 → 0.32.0. Nothing this server does changes: the options
    mecmcp added since (OAuth resource mode, device selectors, IdP-verified
    proposers, whoami, compact tool mode) are not wired here, and
    token add mints no device selectors. Each per-call audit record now
    also carries identity_mechanism and empty oauth_issuer,
    oauth_subject and oauth_client_id fields, so a parser that matches
    audit lines exactly must allow them. unifimcp_status reports
    mecmcp_version: 0.32.0. The change-set state and token files keep
    their shape, so rolling back to 0.6.7 stays possible. A token named
    oauth:… is now reserved, and a token file holding one fails to load
    as a whole; rename it before upgrading.

v0.6.7

Choose a tag to compare

@fastrevmd-lab fastrevmd-lab released this 04 Nov 17:12
v0.6.7
6f01ff3

Added

  • unifi_cancel_change_set (#145). A change set that failed validation
    stayed planned and blocked its token from creating another for the
    whole approval window, with no way out. The owner or approver can now
    cancel a planned, approved or expired set; the record is kept as
    cancelled, and the cancel is logged as an audit event. A set that
    started applying cannot be cancelled: a failed apply may have left
    writes on the controller, and cancelled would hide them. It is a write
    tool, so a --tools "*" token does not get it: add it by name. This
    brings tool_count to 23 and write_tool_count to 12.

  • port_forward and static_route can now be staged for create, update, and
    delete through unifi_stage_change (#143). They were read-only kinds
    (MEC-509). Apply, rollback, and verify already addressed
    rest/portforward and rest/routing generically, so only the
    writable-field allowlist changed. firewall_rule stays read-only.
    Verified live on 2026-11-03: a create, update and delete of each kind
    went through stage, validate, approve and apply against a real
    controller, and each verified.

Changed

  • unifi_list_resources and unifi_get_resource for network now return
    the fields needed to plan a network move or copy one before a
    delete-and-recreate: firewall_zone_id, domain_name, vlan_enabled,
    networkgroup, enabled, igmp_snooping, internet_access_enabled,
    network_isolation_enabled, dhcpd_dns_enabled, dhcpd_dns_1 to
    dhcpd_dns_4, dhcpd_leasetime, attr_no_delete and wan_type.
    dhcp_reservation now returns network_id and use_fixedip. Credential
    fields (the x_* family, wireguard_private_key) are still withheld.
    All of these except attr_no_delete and wan_type can also be staged,
    so a network read back can be recreated as it was and a reservation can be
    moved to it with network_id. Verified live against UniFi Network 10.5.67.
    The controller refuses moving a network with network_isolation_enabled
    into the guest Hotspot zone (NetworkIsolationAppliedOnNonCorporateNetwork).

Fixed

  • Staging a dhcp_reservation delete is now refused (#143). A reservation is
    not its own controller record but the client's user record with
    use_fixedip: true, so the delete sent DELETE rest/user/{id} and forgot the
    whole client (name, note, group, local DNS), and its rollback could not
    restore it. To remove only the reservation, stage an update with
    {"use_fixedip": false}. A change set already holding such a delete is
    refused at validate and apply.

  • Staging a firewall_zone update no longer fails with failed to capture pre-image for firewall_zone <id> (#143). The controller answers a per-id
    GET firewall/zone/{id} with 405 Method Not Allowed, so the pre-image, the
    drift check, the update merge, post-apply verification and
    unifi_get_resource now read the zone list and pick the zone by _id. A v2
    read that returns an array also selects by _id instead of taking its first
    element. Not yet checked against a live controller: whether a zone PUT or
    DELETE by id is accepted.

  • An applied update is now verified against every top-level scalar field it
    staged, not only name (#143). An update that changed, say, fwd_port
    and did not land was reported applied; it is now applied_unverified
    and names the fields that did not read back. Nested objects and arrays are
    still not compared.

v0.6.6

Choose a tag to compare

@fastrevmd-lab fastrevmd-lab released this 27 Oct 23:44
v0.6.6
48ae3b4

Fixed

  • A firewall_policy, firewall_zone or traffic_route delete no longer
    reports failure (EOF while parsing a value) after it succeeded (#144).
    Private v2 answers a delete with an empty body. The same fix applies to
    rolling back a v2 create. On earlier versions, a v2 delete or rollback
    marked partial most likely did land; check the controller.

Changed

  • The MCP registry entry's config_dir description now says that
    controllers.json's api_key_file must be the in-container path.
  • The Docker and LXC guides were corrected against a new-user run of 0.6.5
    (#146). The Docker guide's docker run commands had failed as written.
    The LXC guide now leads with the signed release tarball and has an
    upgrade section.