0 / start here
What this page is
This is the operator manual for the entire robobus stack, served from
operator/ on this machine only
(127.0.0.1). The right-hand console runs
allowlisted tasks - doctor, ship-set show, NASA/ICS/avionics/privacy
fragment compile + isolation verify, checksums, portable zip, census.
It is not a remote control plane and it will not execute a shell string.
Lab / hobbyist is the default clone: optional crypto, all adapters, laptop skips allowed. Production, CSfC, and NASA slices are opt-in subsets, not a replacement install. Cypherpunk / privacy stays a first-class profile.
Counts and library names on this page are filled from the live catalog
(/api/catalog) and the live host probe (/api/host).
Autodetect is the default; the target selector overrides it so you can
read configs for other OS/ISA combinations, MCU boards, phones, PLCs,
and WASM without leaving the page. Compile/doctor still execute on
this machine. If a README and the catalog disagree, believe the
catalog and python3 bench/robobus_census.py.
1 / this host
Autodetect, overridable for every other system we support
Default is the machine serving this page. Override the target to preview
dylib names, loader env, shm path, ROS/LSL reach, MCU rb_config.h,
and install notes for another OS, ISA, phone, board, PLC, or WASM runtime.
The override is a view. Buttons still compile/doctor on this host.
Share a view: ?target=mcu-esp32 or
?target=android-termux&fragment=space.
Darwin .dylib + DYLD_LIBRARY_PATH Linux .so + LD_LIBRARY_PATH Windows .dll + PATH MCU static / rb_config.h mobile Python / JNI / embed wasm32 IEC-61131 ST
C# P/Invoke uses DllImport("rbcodec") (no suffix) on host-shared
targets. Lua C modules use -bundle -undefined dynamic_lookup on
Darwin only; Linux/Android ELF is -shared -fPIC. Host FFI ignores
MCU rb_config.h flags and compiles every codec unless you pass
only the fragment sources (Compile on a host-shared target).
/tmp/librbcodec-space.*This console will actually write (live host):
/tmp/librbcodec-space.*
MCU builds honor these flags. Host FFI does not. Transports on this board:
| id | family | kind | plat / machine | label |
|---|
2 / safety
Local bind, allowlist, no arbitrary shell
- Binds
ROBOBUS_OPERATOR_HOSTdefault127.0.0.1port8765. POST /api/runaccepts{"action": "...", "args": {...}}only.- Unknown action, unknown profile, unknown fragment, unknown hash policy: HTTP 400.
- Compile is
ccof a named fragment, notmakeof an arbitrary target. - Do not expose this port. It runs as your user and can compile into
/tmp.
3 / first walkthrough
Tutorial: hobbyist laptop to NASA fragment
Use the console on the right. Lab doctor must not fail-close if OpenSSL is missing. Space compile must not pull Modbus.
- Doctor (lab) - profile
lab/ aliashobbyist. Crypto optional. A missingrclpyin a non-ROS env is normal. - List ship-sets - confirm lab is the public clone; space is 13 codecs, not 108.
- Show space - audience NASA / cFS / CCSDS. Crypto required. Fail-closed.
- Compile space - writes the host-native dylib/so/dll under
/tmp. Needsccon PATH. - Verify space - isolation: must export
rb_ccsds_apid; must not export Modbus / ARINC 429 / TLS. - Checksums - hobbyist policy
all(SHA-384/512 CNSA 2.0 + SHA-3 extra + SHA-256 interop). Production evidence pack: policycnsa20(no SHA-256 in that pack). SHA-256 is never CNSA 2.0. - Census - filesystem truth, not a README count.
4 / four C libraries
Do not treat these as one ABI
librobobus
✓ RBX1 seal / open + FLOAT64 C ABI ✗ not the 108 codecs · not PQC KEMlibrbcodec
✓ 108 protocol codecs (FFI / MCU) ✗ does not encrypt (no RBX1 seal)librbxport
✓ throughput shim over brokers ✗ not a product ABIlibrbcrypto
✓ primitive timing shim ✗ not the session handshake| library | job | not |
|---|---|---|
librobobus | RBX1 seal/open + FLOAT64 | 108 codecs, PQC KEM |
librbcodec | 108 protocol codecs (FFI/MCU) | RBX1 seal |
librbxport | bench throughput shim | product ABI |
librbcrypto | bench primitive timing | session handshake |
34-language codec identity tests load librbcodec.
Seal identity tests load librobobus.
Linking librobobus does not give you Modbus. Linking librbcodec does not encrypt.
A unified rb_adapter_t C vtable is still a roadmap item.
5 / ship-sets
Named operator profiles
Canonical names: lab privacy csfc crypto-toe ics avionics space telecom.
Aliases: hobbyist = lab, cypherpunk = privacy, nasa = space, cnsa = csfc,
ccaas/liberty/telephony/voip = telecom.
Lab is never removed. Production profiles are subsets.
| name | audience | crypto | fail-closed | adapters |
|---|
6 / compile
Fragments that actually enter an image
Flight software cannot carry 108 industrial codecs. Compileable fragments:
space (13 CCSDS/NASA), ics, avionics,
privacy, telecom (SIP + RTP + SRTP RFC 3711 / CCaaS).
Lab / csfc / crypto-toe have no codec fragment
(csfc payloads ride the bus; crypto-toe is librobobus + OpenSSL only).
| fragment | must_have | must_not |
|---|
MCU: paste the printed #define RB_ADAPTER_* snippet into
native/embedded/rb_config.h and compile the listed .c files.
Host FFI still compiles everything unless you use this compile path.
robobus shipsets fragment space robobus shipsets compile space # same as the Compile button make fragment-space
7 / languages
Three different "every language" claims - do not mix them
- 34 LANGS in
bench/lang_conformance.py- C-ABI codec identity against librbcodec. A missing toolchain is a skip on a laptop, a hard fail intools/all-languages.Dockerfile. - 14 Schema.render languages - struct codegen, compile/run-verified in
tests/test_codegen.py: C, C++, Rust, Go, Java, C#, TypeScript, Python, Julia, MATLAB/Octave, Swift, Kotlin, Ruby, Lua. - 3 packaged bindings - Rust crates.io, JS npm, Java Maven. These wrap seal+codec, not 108 adapters.
Roster below is live from this checkout. Tool column is what the harness looks for. On this host, the dylib name in the top bar is what each FFI dlopen should load.
| language | tool |
|---|
Packaged seal endpoints also exist independently of that roster:
bindings/rust, bindings/js, bindings/java,
plus Python robobus.crypto and Cython bench/cython.
docker build -f tools/all-languages.Dockerfile -t robobus-all-langs . docker run --rm -v "$PWD":/src:ro robobus-all-langs
8 / adapters
Protocol codecs on the bus
Foreign wire stays native; once on the bus, transports can carry it sealed (default: seal-over-payload). Do not assume every adapter is "seal the PDU." Python codecs always run. C ports exist for all adapters as FFI/MCU extracts; they are not a second copy of the Python Bridge.
NASA fragment (live): ccsds pus tmtc cfs spacewire spacefibre sdls dtn sle gmsec momal klv irig106
crypto-less carry
Modbus, CCSDS, ARINC, J1939, finance… robobus seals the PDU in an RBX1 envelope; the bus / gateway carries itself-securing transport
TLS, SSH, IPsec, WireGuard, QUIC, MACsec, SRTP, SDLS graft a hybrid PQC key exchange into its own handshake — no second cipherauthentication
QRL, TPM 2.0 migrate the signature to ML-DSA / SLH-DSA (FIPS 204 / 205)network fabric
OSPF, BGP, DNS, NTP, VXLAN, GRE… recognized on the wire + posture-reported, not carried or upgraded hererobobus pqc-plan). One PQC engine, four insertion points.
| name | tier | transport | summary |
|---|
9 / transports
Bridges off the shared-memory ring
Core pip deps are empty. UDP/TCP are stdlib. Everything else is an extra or a
non-pip client. pip install -e ".[transports]" does not
install ZeroCM or DDS (rclpy lives in the ROS 2 conda env).
| bridge | needs | note |
|---|---|---|
udp / tcp | stdlib | always there |
mqtt amqp kafka nats redis nng zmq ws grpc serial can zenoh | [transports] | PyPI clients |
zcm | ZeroCM from source | not on PyPI as used here |
dds | rclpy | ROS 2 env; opaque sealed frames; fast take-drain default |
ros1 / ros2 / lsl | matching conda env | run the bridge in that env |
Every bridge accepts --security <suite> --keyfile <path> to seal that hop.
10 / crypto
Suites, backends, what "required" means
Default suite is hybrid3 (X25519+ML-KEM-768). CNSA 2.0 is
cnsa20 (ML-KEM-1024 + ML-DSA-87 + AES-256-GCM + SHA-384) and is
stricter than "any NIST PQC suite." Handshake (ML-KEM) is per session; AEAD is
per message.
| suite | when |
|---|---|
classical | interop / constrained peer; not quantum-safe |
nist1/3/5 | pure PQC by NIST category + SHA-3 |
hybrid3 | lab/hobbyist recommended default |
hybrid5 | highest hybrid assurance |
cnsa20 | NSS / production hash SHA-384 (SHA-2 per CNSA) |
nist5-kmac | Keccak-native KDF (KMAC256), no HMAC nesting |
sphincs5 / falcon5 | alt signatures |
csfc | two independent AEAD layers |
Python extras: crypto (pyca), pq (quantcrypt). Direct-EVP
(ROBOBUS_PQ_BACKEND=openssl) needs OpenSSL 3.5+ with ML-KEM/ML-DSA.
Compiled AEAD (ROBOBUS_AEAD=fast / make native-aead) is a
third path; generated _aead_fast.c is gitignored. "openssl backend"
is not a CMVP-validated module - robobus crypto compliance --standard cnsa20 --suite cnsa20
is the honest check.
11 / hashing
CNSA 2.0 is SHA-384 / SHA-512, not SHA-256
| policy | files | who |
|---|---|---|
all | SHA-384, SHA-512, SHA3-384, SHA3-512, SHA-256 | hobbyist / tag-release default |
cnsa20 | SHA384SUMS + SHA512SUMS only | production evidence pack; no SHA-256 |
fips202 | SHA3-384 + SHA3-512 only | FIPS 202 extra |
Sigstore typically still hashes SHA-256 internally; that does not make SHA-256
a CNSA 2.0 algorithm. Verify-all with --require-cnsa fail-closes if
SHA384SUMS / SHA512SUMS are missing. SHA-256, if present, is verified last and
labeled interop.
make checksums # policy all make checksums-cnsa # policy cnsa20 make checksums-verify-all # --require-cnsa
12 / doctor
What doctor actually checks
Interpreter / conda prefix, whether rclpy / rospy /
pylsl import in this env, liblsl, DDS RMW, shm ring round-trip.
ROS 1, ROS 2, and LSL live in separate conda envs - a missing rclpy
in the LSL env is expected.
It does not (in lab) require OpenSSL, HAVE_EVP_PQC,
librobobus, librbcodec, or transport extras. Fail-closed profiles
(privacy/cypherpunk, csfc/cnsa, crypto-toe,
ics, avionics, space/nasa) exit 1 when their
crypto/backend bar is not met.
13 / CLI
robobus <command>
doctor bench ros2 ros1 lsl udp tcp mqtt serial can zenoh zcm zmq nng redis nats grpc ws amqp kafka dds mobile crypto adapters shipsets top determinism
plus every registered adapter name (robobus dnp3, robobus bgp, ...).
robobus adapters robobus shipsets show space robobus doctor --profile lab robobus crypto suites robobus crypto handshake --suite cnsa20
14 / architectures
Where the stack actually runs
| platform | bus + PQC | ROS 1/2 + LSL | how |
|---|---|---|---|
| macOS arm64 / x64 | yes | yes | scripts/install_macos.sh |
| Linux x86_64 / aarch64 | yes (/dev/shm) | yes | scripts/install_linux.sh |
| Whonix / Tails / Qubes / Kali | yes | yes (notes in PORTABILITY.md) | privacy profile |
| Windows 10/11 x64 | yes (%TEMP% mmap) | yes | scripts\install_windows.ps1 |
| Raspberry Pi 64-bit | yes | yes | scripts/install_rpi.sh |
| Android / GrapheneOS / Termux | yes | via bridge | PORTABILITY.md |
| iOS / a-Shell | yes | via bridge | PORTABILITY.md |
make release-arches / tools/package-librobobus-arches.sh
cross-builds librobobus for aarch64, armv7, ppc64le, riscv64, s390x (big-endian)
via Docker/QEMU. This console compiles the host fragment, not those ISAs.
15 / personas
One slice each (combining rows is allowed; one install is not all of them)
./bootstrap.sh source env/activate-ros2.sh robobus doctor make e2eIsolated Miniforge, three Python 3.12 envs, shm bus. Not automatic: pip transport extras, librobobus, native AEAD, MCU ports.
from robobus.bus import Publisher, Subscriber
pub = Publisher("telemetry")
sub = Subscriber("telemetry", start="new")
pub.put_raw(b"hello")
No ROS. Encryption: pip install -e ".[crypto]".
robobus mqtt|kafka|nats|... then -h for the extra. Seal that hop with --security.
robobus adapters then robobus dnp3 -h. Use the adapter table on this page.
Build librobobus. Include robobus.h. Do not expect rb_modbus_*.
Build librbcodec. Probes: bench/c_abi_probes.py. Compose with librobobus if you need RBX1.
rb_config.h flags for your link line. PLC: native/plc61131/ Structured Text, separate from C ports.
COMPLIANCE.md + robobus crypto compliance --standard cnsa20 --suite cnsa20. Ship-set csfc or crypto-toe.
robobus mobile routes, profile lab_open5gs. Not a public cellular stack.
Bus + PQC in Python; reach a ROS graph over a transport. liblsl is the realistic native extra.
Profile space / nasa. Compile the 13-codec fragment from this page. Isolation verify before you ship the image.
Profile privacy / cypherpunk. Tor/Sphinx/WG allowed; no vendor cloud; fail-closed if no local crypto. Bench shims out of SBOM.
Profile telecom / ccaas / liberty. SIP and IETF SRTP are robobus sip / robobus srtp. GE Fanuc PLC is robobus ge_srtp. SS7/Diameter is robobus mobile on top.
16 / bundle
Portable zip for another machine
Source snapshot, not a binary distro. Unpack, pip install -e ".[crypto]",
robobus doctor --profile lab. This guidebook folder travels with the zip.
make bundle # dist/robobus-portable-*.zip + CNSA hashes python3 operator/server.py # open http://127.0.0.1:8765/
The Bundle button on the right is --no-hash so the page returns quickly; run checksums separately with the policy you need.
17 / MCU
Embedded C ports vs host FFI
native/embedded/rb_*.c plus rb_codec_abi.h. MCU builds
honor RB_ADAPTER_* / RB_TRANSPORT_* in rb_config.h.
Host lang-conformance ignores those flags and compiles every codec into one dylib.
The fragment Compile button is the host analogue of an MCU slice: only those
.c files reach cc.
18 / mobile
3GPP / mil / intel lab routes
robobus mobile binds SS7 / Diameter / 5G-SBI onto mn.*
channels. Profiles constrain which channels activate can see.
Compose with any transport + any suite. See docs/MOBILE_NETWORKS.md.
SIP/RTP/SRTP call control is the telecom ship-set, not this mobile
route layer. SS7 interconnect for a CCaaS image is this page plus
robobus mobile.
19 / make
Targets this console is a front-end for
make operator # this page make doctor-profile PROFILE=space make fragment-space | fragment-ics | fragment-avionics | fragment-privacy | fragment-telecom make verify-fragments make bundle make checksums | checksums-cnsa | checksums-verify-all make shipset-export # sbom/shipsets.json make sbom-excludes PROFILE=space
Other useful targets (not wired as HTTP actions, on purpose):
test, e2e, librobobus, native-aead,
release, release-arches, coverage,
suite-matrix, mobile-doctor.
20 / census
Do not trust a slogan for a count
bench/robobus_census.py walks the trees and classifies. Coverage
universe is derived, not recalled. The Census button dumps that report into the log.
21 / gotchas
Intersections that bite
start="new"subscribers skip frames already in the ring. Lapping a 1024-slot ring under a flood is overwrite, not "recv_batch failed."- DDS
robobus ddsneedsrclpy. Fast take-drain is the default; the executor path is slower and can drop. - PROTOCOL.md may still say Rust/JS bindings are "on the roadmap";
bindings/and tests say they exist. Prefer the bindings tree. - A pytest skip is not a green pass of that slice.
- SHA-256 in a SUMS file is interop, not CNSA 2.0.
- Doctor lab must not be used as a production gate. Use
--profile csfcorspace.
22 / actions
What the API will actually run
| action | summary |
|---|