Skip to content

fix: camex 6.0.0 in the tunnel (2.28.1) - #301

Merged
compot-dev merged 1 commit into
v2from
fix/camex-6.0.0-300
Nov 22, 2026
Merged

compot-dev merged 1 commit into
v2from
fix/camex-6.0.0-300

Conversation

@compot-dev

Copy link
Copy Markdown
Collaborator

Closes #300.

  • bundles/camex: 5.2.1 → 6.0.0 (3577182). The Android library's Java code and build are unchanged; the native client changes: with a network name and no server key it no longer trusts a server on first contact, it creates a network only with --create-network (Decoder never passes it: a box joins a network the server knows), and it answers a loaded server's UDP cookie by itself.
  • README (en/ru/zh-CN): camex 6.0.0. Version 2.28.1 (versionCode 69).

Checked locally in Docker: unit tests, lint (13 warnings, as the baseline), assembleDebug, check-version.sh; e2e on API 21 and 34: UDP 19/19, TCP 20/20 (camex 6.0.0, client decoder, tunnel up after Network → Save).

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Upgrade camex tunnel to 6.0.0 for Decoder 2.28.1

🐞 Bug fix 📝 Documentation 🕐 20-40 Minutes

Grey Divider

AI Description

• Upgrade the camex tunnel to 6.0.0 for safer network joining and library-managed UDP cookies.
• Release Decoder 2.28.1 with unchanged Android tunnel integration.
• Update release notes and three localized READMEs for the new camex version.
Merge Risk 🟡 Medium

Blast radius 🟢 Low 💥 1 capability

  • 1 affected end-to-end capability after fault-specific containment; implementation boundaries do not widen its functional scope.
  • This is one bounded end-to-end integration: Decoder configuration and the embedded tunnel jointly establish the path used to watch cameras behind the camex server.
  • The changed library commit is the runtime producer of tunnel behavior; camera viewing is the resulting consumer behavior rather than a separate technical-layer capability.
  • The possible unintended-peer effect is on the same end-to-end camex tunnel integration as legitimate camera viewing.
  • It is not a separate capability merely because the failure occurs in authentication or is observed by a remote server.
Sources

bundles/camex[1-1]

Subproject commit 3577182c4b5a62649c82c6729c1692e8fa7881e1

CHANGELOG.md[17-20]

- camex 6.0.0 in the tunnel (#300). With a network name and no server key, the tunnel no
  longer trusts a server on first contact: a server that does not answer CPace is asked
  again, and Decoder joins only a network the server already knows (it creates none). A
  loaded server's cookie is answered by the library. Settings is unchanged.
Behavioral complexity 🟡 Medium 🧩 Compatibility cases, Interacting branches

  • Before, the existing tunnel library handled the prior server/client handshake and persisted settings.
  • After, the dependency changes first-contact trust, CPace non-answer retry, known-network admission, and loaded-cookie handling.
  • New correctness conditions are: a first contact must not create or trust an unknown network; a non-CPace response must lead to the supported retry state rather than a false success or permanent failure; and a stored cookie must be used consistently across reconnects and mixed-version peers.
  • These are newly interacting compatibility and state-transition conditions, not complexity inferred merely from using an existing tunnel helper.
Sources

CHANGELOG.md[17-20]

- camex 6.0.0 in the tunnel (#300). With a network name and no server key, the tunnel no
  longer trusts a server on first contact: a server that does not answer CPace is asked
  again, and Decoder joins only a network the server already knows (it creates none). A
  loaded server's cookie is answered by the library. Settings is unchanged.

bundles/camex[1-1]

Subproject commit 3577182c4b5a62649c82c6729c1692e8fa7881e1
Potential damage 🔴 High 🩹 Confidentiality

  • If the changed admission logic accepts an unintended server or network, camera traffic and possibly other traffic routed through the tunnel could be delivered to an unauthorized peer.
  • Reverting code does not recall data already exposed; recovery would require terminating the tunnel, correcting peer/network credentials or server state, and assessing any captured data.
  • This is a plausible fault consequence of the explicitly changed trust boundary, not a claim that the current implementation is known to contain the defect.
  • The active path can be stopped and credentials/network configuration corrected, but confidentiality loss for traffic already observed cannot be undone.
  • No source evidence establishes automatic revocation, peer quarantine, or compensation.
Sources

CHANGELOG.md[17-20]

- camex 6.0.0 in the tunnel (#300). With a network name and no server key, the tunnel no
  longer trusts a server on first contact: a server that does not answer CPace is asked
  again, and Decoder joins only a network the server already knows (it creates none). A
  loaded server's cookie is answered by the library. Settings is unchanged.
Assessed commit 4ef25ed
Diagram

graph TD
  A["Network settings"] --> B["NetworkPanel"] --> C["camex tunnel"] --> D["Native client"] --> E["camex server"]
Loading
High-Level Assessment

Using the upstream camex release is preferable to implementing handshake or cookie handling in Decoder: the app's existing tunnel integration remains unchanged. Review the upstream submodule commit separately, since its internal changes are not included in this diff.

Files changed (6) +13 / -6

Documentation (4) +10 / -3
CHANGELOG.mdDocument the 2.28.1 tunnel release +7/-0

Document the 2.28.1 tunnel release

• Adds release notes for camex 6.0.0, including the changed server-verification, network-joining, and UDP-cookie behavior.

CHANGELOG.md

README.mdUpdate the English tunnel version +1/-1

Update the English tunnel version

• Changes the documented bundled camex version from 5.2.1 to 6.0.0.

README.md

README.ru.mdUpdate the Russian tunnel version +1/-1

Update the Russian tunnel version

• Changes the documented bundled camex version from 5.2.1 to 6.0.0.

README.ru.md

README.zh-CN.mdUpdate the Chinese tunnel version +1/-1

Update the Chinese tunnel version

• Changes the documented bundled camex version from 5.2.1 to 6.0.0.

README.zh-CN.md

Other (2) +3 / -3
build.gradleSet the Decoder 2.28.1 release version +2/-2

Set the Decoder 2.28.1 release version

• Increments versionCode from 68 to 69 and versionName from 2.28.0 to 2.28.1. No Android build or dependency wiring changes are made in this file.

android/app/build.gradle

camexAdvance the bundled camex submodule to 6.0.0 +1/-1

Advance the bundled camex submodule to 6.0.0

• Moves the submodule pointer from 9b1c7a3 to 3577182. The supplied diff does not include the upstream source changes; the release notes describe updated network verification, joining, and UDP-cookie handling.

bundles/camex

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can route each severity your way: inline, summary, both, or drop

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@compot-dev
compot-dev merged commit b3f1c3c into v2 Nov 22, 2026
7 checks passed
@compot-dev
compot-dev deleted the fix/camex-6.0.0-300 branch November 22, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

camex 6.0.0 in the tunnel

1 participant