• Add ssl support for server to server connections.

    From Rob Swindell@VERT to GitLab note in main/sbbs on Friday, July 19, 2024 22:15:06
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/443#note_5395

    Looks like you've removed the default value (an empty object) for the `aliases` property here.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Friday, July 19, 2024 22:15:06
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/443#note_5396

    What does this change have to do with SSL?

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Friday, July 19, 2024 22:15:06
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/443#note_5397

    Probably should have echicken review this first.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Friday, July 19, 2024 22:30:56
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/443#note_5398

    Ah ok, you're right. I'll fix that in the next version.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Friday, July 19, 2024 22:35:36
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/443#note_5399

    Nothing. I pushed another commit after the first one, this was part of that commit. The first commit did not have any change to mrc-client.example.ini

    commit 812ca46b1a63f72c57d3ad981b9c9dc08c94ba77
    Author: Nigel Reed <nigel@nigelreed.net>
    Date: **Fri Jul 19 21:03:59** 2024 -0500

    Add ssl support for server to server connections.

    Something new for Keyop to play with. I'll maybe add client to
    server ssl support over the weekend. It's not too difficult.

    M xtrn/mrc/mrc-connector.js
    M xtrn/mrc/readme.txt

    commit d227fcff976589fbc92c6b25db5f7fc382a9a2fb (HEAD -> mrc_ssl, origin/mrc_ssl)
    Author: Nigel Reed <nigel@nigelreed.net>
    Date: **Fri Jul 19 21:34:53** 2024 -0500

    More MRC changes.

    js-connector.js - fixed a typo.
    Added ssl config examples to mrc-connector.examples.ini
    Added show_nicks to js-client.js and js-client.example.ini
    For Keyop. This allows the sysop to turn nick lists on when
    connecting to MRC.

    M **xtrn/mrc/mrc-client.example.ini**
    M xtrn/mrc/mrc-client.js
    M xtrn/mrc/mrc-connector.example.ini
    M xtrn/mrc/mrc-connector.js
    M xtrn/mrc/readme.txt

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to GitLab note in main/sbbs on Friday, July 19, 2024 23:33:58
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/443#note_5400

    Removing the default value would break the client if `[aliases]` doesn't exist in the ini file, or exists but isn't followed by a blank line (which makes the difference between `iniGetObject` returning `null` instead of `{}`). So line 27 should be left as:

    ```js
    aliases: f.iniGetObject('aliases') || {},
    ```

    Not a big problem for this merge since it would only affect people on first run with a particular bad `mrc-client.ini` but should be fixed.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to GitLab note in main/sbbs on Friday, July 19, 2024 23:38:10
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/443#note_5401

    I haven't paid any attention to MRC in years, but assuming SSL on 5001 is indeed a thing and this is tested and working, I don't see a problem (apart from my comment re: aliases object).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Saturday, July 20, 2024 03:11:44
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/443#note_5403

    Yup, Digital Man noted that and I've fixed it in my next commit.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Saturday, July 20, 2024 03:14:08
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/443#note_5404

    ![image](/uploads/f46885779744eeb1f220aa28121e978e/image.png){width=816 height=127}

    I'm connected on port 5001 and it's showing as ssl in the bbs list so I think it's tested.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Dave Cloutier@VERT to GitLab note in main/sbbs on Saturday, July 20, 2024 09:44:26
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/443#note_5406

    Ohh, I didn't see nigel had made that change.
    I've just pushed a PR myself too, feel free to use the one that fits best. Sorry for the extra work. :)

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Saturday, July 20, 2024 12:14:55
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/443#note_5408

    I like Stackfault's change better (it's cleaner), but since Nelgin's came in first and I am able to get a pipeline to run against it (because his branch in the sbbs project, not a personal project), I'll merge it first.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Monday, July 22, 2024 11:43:58
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/445#note_5414

    These are my last commits. If StackFault wants to have at it once merged, then that's fine. I'll let him know.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Monday, July 22, 2024 12:40:42
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/445#note_5415

    I don't think this would accomplish anything - `js.time_out` is not a property used by sbbs.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Monday, July 22, 2024 14:24:03
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/445#note_5418

    That line has been deleted. We'll check in with Keyop to see if it's still working.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net