• exec/mqtt_spy.jsexec/str_cmds.js

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Fri Aug 4 17:46:56 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/e99aa524ac27e8f9a1b3d4c4
    Added Files:
    exec/mqtt_spy.js
    Modified Files:
    exec/str_cmds.js
    Log Message:
    Support for spying via MQTT between nodesFor read-only spying, the mqtt_spy.js module can be used via jsexec (from anOS shell command prompt), similar to mosquitto_sub.For read-write spying, just use the ;SPY sysop command as before and if MQTTis configured/enabled, it'll use MQTT rather than sockets or shared memoryqueues to spy on the target node.For the first time, you can spy between nodes that are on different servers ofthe same BBS using the ;SPY sysop command.Passes through ctrl characters (except Ctrl-C), unlike the built-in spyfunction. This could be revisited later or made optional, but it sems to makesense to allow Ctrl-Z (e.g. to save a message in fseditor.js) to be passedthrough to the target node.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deon@1:103/705 to Rob Swindell (on Debian Linux) on Sat Aug 5 16:34:52 2023
    Re: exec/mqtt_spy.jsexec/str_cmds.js
    By: Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Fri Aug 04 2023 05:46 pm

    For read-write spying, just use the ;SPY sysop command as before and if MQTT is configured/enabled, it'll use MQTT rather than sockets or shared memory queues to spy on the target node.

    For the first time, you can spy between nodes that are on different servers of the same BBS using the ;SPY sysop command.

    Nice :)


    ...лоеп

    ---
    ю Synchronet ю AnsiTEX bringing back videotex but with ANSI
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)