• exec/load/ircd/config.js

    From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sat Aug 1 02:05:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/eec77ec8415ff243a05d7e7d
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    ircd: keep SYSTEM_* macros through a config conversion or edit

    ircd.conf names the local system with SYSTEM_HOST_NAME, SYSTEM_NAME, SYSTEM_QWKID and VERSION_NOTICE, expanded as the file is read, so the
    shipped file works unedited and a ctrl directory shared between hosts
    gives each of them its own identity. The .ini format had no such
    macro, and Write_Config_File() writes whatever the globals hold -- so ircd_conf2ini.js and an ircdcfg.js "Save" both froze the converting
    host's values into the output.

    There is no correct value to freeze. system.host_name is set per
    process by jsexec's -h, which is how one host runs an IRCd under a
    name other than the BBS's own; converting without the daemon's -h
    silently renamed the server. Where the new name collided with a
    configured link, the result was a server configured to link to itself.

    Expand the macros through a single expand_config_macros(), apply it to
    .ini files as well as .conf, and skip expansion when IRCDCFG_Editor is
    set. The converter and the editor then read the macro unexpanded and
    write it back unchanged, while the daemon resolves it per process as
    before. A converted .ini is now as portable as the .conf it came
    from.

    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Wed Oct 28 00:37:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/fdffa7e9f6c51097471edf15
    Modified Files:
    exec/load/ircd/config.js link-security.js services-backend.js services-common.js services-help.js services.js services.md tls.md exec/tests/ircd/link-security.js services-link.js services-network.py services-notices.js services.js
    Log Message:
    ircd: refine services trust, memo notifications, and TLSROUTE lookup

    Treat INI Services sections as the complete services trust list. Add the built-in Synchronet trust entries only when no Services sections exist, including when explicit sections are empty or disabled.

    Keep automatic memo checks after identification quiet for empty mailboxes and omit their completion summaries. Preserve waiting-mail notices, per-BBS errors, explicit STATUS replies, and timeout progress without emitting blank notices. Accept older helpers that return only status text.

    Resolve TLSROUTE server masks with the shared server lookup and report the selected canonical name, retaining admission and route-security checks.

    Document the behavior and add regressions for trust selection and rehash, automatic versus explicit memo status, silent progress, and wildcard routing. Services and link-security suites passed, along with the full services network regression through a v2.0 relay; all child IRCds exited cleanly.

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