Repository navigation
Import cerberus - #1
Merged
Merged
Conversation
The agent moves out of the cloud monorepo into a repository of its own: the C source, its Makefile, the BusyBox init script and the two installers that ship to cameras. Builds: ci/build.sh packages musl-armv7 (static, for OpenIPC), armhf, arm64 and amd64 in containers, with -Werror and an ELF-architecture assertion per target. The version compiled into the binary now comes from the v* tag (make VERSION=...), so a tarball and the agent inside it never disagree. Tests: tests/run.sh runs the agent against a fake coordinator over real TLS - identity, TLS verification, enrolment, the heartbeat back-channel, start-up backoff, revocation - and then brings up a real kernel WireGuard tunnel to a hub in its own netns, including a stolen route the in-tunnel probe has to notice and repair. It runs on Alpine (musl, mbedTLS 3.x) and Debian bookworm (glibc, mbedTLS 2.28), the two generations found in firmware. CI: shellcheck, both test legs and the build matrix on every push and pull request; a v* tag publishes the tested tarballs as a GitHub release. S99cerberus now quotes the values it reads from the U-Boot environment: an unquoted export word-splits in BusyBox ash, so a hostname with a space broke the start script.
The same license OpenIPC/decoder carries, with OpenIPC as the contributor: free for noncommercial use, a thirty-day trial for commercial use. The template's Source Code line is filled in, since its Notices rule refers to it. Notices also asks that every copy carry the license text, binaries included, so ci/build.sh now puts LICENSE.md into each release tarball. Both READMEs say what the license allows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
initial commit