NAME
zerodds-corba-bridged - DDS to CORBA GIOP/IIOP bridge daemon
SYNOPSIS
zerodds-corba-bridged [--config FILE] [--set PATH=VALUE]... [--check-config] [--iiop-bind ADDR] [--domain ID] [--topic REPO_ID=TOPIC]... [--dump-iors] [-V | -h]
DESCRIPTION
zerodds-corba-bridged maps CORBA operations onto DDS request/reply topic pairs and DDS samples onto oneway CORBA calls. It serves IIOP and, with a certificate, SSLIOP; it writes one IOR per mapping. GIOP 1.0 to 1.2 are accepted; a mapped operation needs GIOP 1.2. With corba.csiv2.enabled, every request's SAS EstablishContext is evaluated against a GSSUP password file (CORBA 3.4 Part 2 §10/§24); a rejected one gets NO_PERMISSION with a SAS ContextError attached, additively next to SSLIOP client certificates and the ACL. With corba.ior.publish_to_naming, every mapping's IOR is rebind into corba.ior.naming_service (a corbaname: or corbaloc: URL) at start and unbind at a clean stop. corba.naming.serve (hosting a NameService in-process, sharing this daemon's own transport) is not built. Implements docs/specs/zerodds-corba-bridge-1.0.md.
OPTIONS
- --config=FILE
-
Base file, plus FILE.d/. Without it: corba-bridged.yaml and corba-bridged.d/ in the system directory. See zerodds-corba-bridged.yaml(5).
- --set=PATH=VALUE
-
One value above all files; repeatable. Every option below except --dump-iors is short for --set of its file key.
- --check-config
-
Check the configuration, print every value with its origin, exit 0 (valid) or 1 (invalid).
- --iiop-bind=ADDR
-
IIOP listen address. Default: 0.0.0.0:6833.
- --ssliop-bind=ADDR
-
SSLIOP listen address; enables SSLIOP. Default: 0.0.0.0:6834.
- --domain=ID
-
DDS Domain ID.
- --orb-id=ID
-
ORB-Identity.
- --tls-cert=FILE
-
SSLIOP server certificate (PEM); only together with --tls-key.
- --tls-key=FILE
-
SSLIOP server key (PEM).
- --topic=REPO_ID=TOPIC
-
One more mapping, repeatable.
- --dump-iors
-
Print one line per mapping, repo_id operation IOR:..., and exit.
- --log-level=LEVEL
-
One of trace, debug, info, warn, error.
- --metrics=ADDR
-
Prometheus listen addr.
Test hooks. Real options, documented because the program accepts them and an option nobody can find is one nobody maintains.
- --idle-timeout-ms=N
-
Stop after N milliseconds, as on SIGTERM.
- -V, --version
-
Print version.
- -h, --help
-
Show the option synopsis.
SIGNALS
SIGTERM and SIGINT stop the daemon: requests arriving then get TRANSIENT, pending requests get their reply or their TIMEOUT for at most 30 s, then every connection gets CloseConnection. SIGHUP reads the configuration again: the ACL and the SSLIOP certificate apply from then on (the certificate to new connections); changed mappings, binds or domain need a restart and are logged. A configuration that does not load changes nothing.
ENVIRONMENT
- OTEL_EXPORTER_OTLP_ENDPOINT
-
Optional OTLP endpoint, such as http://localhost:4318.
- ZERODDS_CORBA_ADVERTISE_HOST
-
The host the IORs name when corba.iiop.bind is a wildcard address; the setting corba.iiop.advertise_host, above the files, below --set. Default 127.0.0.1.
EXIT STATUS
0 normal stop, 1 configuration, 2 bind, 3 DDS, 4 TLS.
FILES
/etc/zerodds/corba-bridged.yaml, the file named by corba.ior.ior_file.
SEE ALSO
zerodds-corba-bridged.yaml(5).
STANDARDS
CORBA 3.3, GIOP 1.2, SSLIOP.
AUTHORS
ZeroDDS Contributors.
BEZEICHNUNG
zerodds-corba-bridged - Bridge-Daemon von DDS nach CORBA GIOP/IIOP
ÜBERSICHT
zerodds-corba-bridged [--config DATEI] [--set PFAD=WERT]... [--check-config] [--iiop-bind ADR] [--domain ID] [--topic REPO_ID=TOPIC]... [--dump-iors] [-V | -h]
BESCHREIBUNG
zerodds-corba-bridged bildet CORBA-Operationen auf DDS-Request/Reply-Topic-Paare ab und DDS-Samples auf Oneway-CORBA-Aufrufe. Es bedient IIOP und, mit einem Zertifikat, SSLIOP; es schreibt eine IOR je Zuordnung. GIOP 1.0 bis 1.2 werden angenommen; eine zugeordnete Operation braucht GIOP 1.2. Mit corba.csiv2.enabled wird der SAS-Kontext EstablishContext jedes Requests gegen eine GSSUP-Passwortdatei geprüft (CORBA 3.4 Teil 2 §10/§24); ein abgelehnter bekommt NO_PERMISSION mit angehängtem SAS- ContextError, zusätzlich zu SSLIOP-Client-Zertifikaten und der ACL. Mit corba.ior.publish_to_naming wird die IOR jeder Zuordnung beim Start per rebind in corba.ior.naming_service (eine corbaname:- oder corbaloc:-URL) eingetragen und bei einem sauberen Ende per unbind entfernt. corba.naming.serve (ein NameService im selben Prozess, der den Transport dieses Daemons mitbenutzt) ist nicht gebaut. Implementiert docs/specs/zerodds-corba-bridge-1.0.md.
OPTIONEN
- --config=DATEI
-
Basisdatei, dazu DATEI.d/. Ohne diese Option: corba-bridged.yaml und corba-bridged.d/ im Systemverzeichnis. Siehe zerodds-corba-bridged.yaml(5).
- --set=PFAD=WERT
-
Ein Wert über allen Dateien; wiederholbar. Jede Option unten außer --dump-iors ist eine Kurzform für --set ihres Schlüssels in der Datei.
- --check-config
-
Prüft die Konfiguration, gibt jeden Wert mit seiner Herkunft aus, Ende mit 0 (gültig) oder 1 (ungültig).
- --iiop-bind=ADR
-
IIOP-Listen-Adresse. Standard: 0.0.0.0:6833.
- --ssliop-bind=ADR
-
SSLIOP-Listen-Adresse; schaltet SSLIOP ein. Standard: 0.0.0.0:6834.
- --domain=ID
-
DDS-Domain-ID.
- --orb-id=ID
-
ORB-Identität.
- --tls-cert=DATEI
-
SSLIOP-Server-Zertifikat (PEM); nur zusammen mit --tls-key.
- --tls-key=DATEI
-
SSLIOP-Server-Schlüssel (PEM).
- --topic=REPO_ID=TOPIC
-
Eine weitere Zuordnung, wiederholbar.
- --dump-iors
-
Gibt eine Zeile je Zuordnung aus, repo_id operation IOR:..., und beendet sich.
- --log-level=STUFE
-
Eine von trace, debug, info, warn, error.
- --metrics=ADR
-
Listen-Adresse für Prometheus.
Test-Hooks. Echte Optionen, dokumentiert, weil das Programm sie annimmt und eine Option, die niemand findet, auch niemand pflegt.
- --idle-timeout-ms=N
-
Nach N Millisekunden beenden, wie bei SIGTERM.
- -V, --version
-
Gibt die Version aus.
- -h, --help
-
Zeigt die Übersicht der Optionen.
SIGNALE
SIGTERM und SIGINT beenden den Daemon: Requests, die dann ankommen, bekommen TRANSIENT, offene Requests bekommen höchstens 30 s lang ihre Antwort oder ihr TIMEOUT, dann bekommt jede Verbindung CloseConnection. SIGHUP liest die Konfiguration neu: Die ACL und das SSLIOP-Zertifikat gelten ab dann (das Zertifikat für neue Verbindungen); geänderte Zuordnungen, Binds oder Domäne brauchen einen Neustart und werden protokolliert. Eine Konfiguration, die nicht lädt, ändert nichts.
UMGEBUNGSVARIABLEN
- OTEL_EXPORTER_OTLP_ENDPOINT
-
Optionaler OTLP-Endpunkt, etwa http://localhost:4318.
- ZERODDS_CORBA_ADVERTISE_HOST
-
Der Host, den die IORs nennen, wenn corba.iiop.bind eine Wildcard-Adresse ist; die Einstellung corba.iiop.advertise_host, über den Dateien, unter --set. Standard 127.0.0.1.
EXIT-STATUS
0 normales Ende, 1 Konfiguration, 2 Bind, 3 DDS, 4 TLS.
DATEIEN
/etc/zerodds/corba-bridged.yaml, die Datei, die corba.ior.ior_file nennt.
SIEHE AUCH
zerodds-corba-bridged.yaml(5).
STANDARDS
CORBA 3.3, GIOP 1.2, SSLIOP.
AUTOREN
ZeroDDS Contributors.