]> git.corax.cc Git - toolbox/commit
utils: Add interceptor and injector for IPC PubSub messages
authorMatthias Kruk <m@m10k.eu>
Sat, 1 Oct 2022 06:02:45 +0000 (15:02 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 1 Oct 2022 06:02:45 +0000 (15:02 +0900)
commit4a98bc288f1e82c057fd9fdd8f92367c66e062e3
tree657320e0959581370d5e8def1a47a7cde7309951
parentaed0b2f64d44cf444a733ca96304a689f003ad30
utils: Add interceptor and injector for IPC PubSub messages

Because the IPC module uses the file system to exchange messages,
remote systems cannot communicate without a shared file system such
as NFS. However, NFS may not be an option due to resource and
security constraints.

This commit adds the ipc-tap and ipc-inject utilities, which can be
used to bridge messages over an SSH connection. As the name suggests,
the ipc-tap utility taps into topics and outputs messages published
on those topics to standard output.
The ipc-inject reads messages from standard input and injects them
into local PubSub topics.
Makefile
utils/ipc-inject.sh [new file with mode: 0755]
utils/ipc-tap.sh [new file with mode: 0755]