• IRC command /users causes ircd to crash

    From Keyop Troy@VERT to GitLab issue in main/sbbs on Thu Aug 17 11:00:03 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/601

    Issuing the "/users" command during a Synchronet IRC session causes ircd to crash with the same effect/errors as Nelgin's #402 issue.

    Aug 17 18:41:33 lr08 jsexec[938184]: SynchronetIRCd-1.10 started.
    Aug 17 18:41:33 lr08 jsexec[938184]: Trying to read configuration from: /sbbs/ctrl/ircd.conf
    Aug 17 18:41:33 lr08 jsexec[938184]: 0013 !ERROR 98 binding IRCd socket to port 6667: Address already in use
    Aug 17 18:41:33 lr08 jsexec[938184]: !Error Error: Unable to add host to socket set creating listening socket on port 6667
    Aug 17 18:41:33 lr08 jsexec[938184]: !Module (/sbbs/exec/ircd.js) set exit_code: 1
    Aug 17 18:41:33 lr08 jsexec[938184]: #012Re-running: /sbbs/exec/ircd.js

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Thu Aug 17 11:14:16 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/601#note_3793

    Aug 17 13:07:12 bbs ircd2[2161]: !JavaScript /sbbs/exec/load/ircd/core.js line 1533: ReferenceError: node is not defined


    This could be reproduced by running ircd from systemd and having a user logged into the BBS. If there is no user, the issue cannot be reproduced. I don't know if it affects ircd running as a service from sbbs.

    This also manifests the issue
    ~~~
    Aug 17 13:07:24 bbs ircd2[2161]: Trying to read configuration from: /sbbs/ctrl/ircd2.conf
    Aug 17 13:07:24 bbs ircd2[2161]: Creating new socket object on port 6666
    Aug 17 13:07:24 bbs ircd2[2161]: 0015 !ERROR 98 binding IRCd socket to port 6666: Address already in use
    Aug 17 13:07:24 bbs ircd2[2161]: !Error Error: Unable to add host to socket set creating listening socket on port 6666
    Aug 17 13:07:24 bbs ircd2[2161]: !Module (/sbbs/exec/ircd.js) set exit_code: 1 ~~~

    This can lead to a rapid DOS attack by causing the disk to fill since these errors are generated at high speed. more than 7 per second.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to GitLab issue in main/sbbs on Thu Aug 31 20:02:06 2023
    close https://gitlab.synchro.net/main/sbbs/-/issues/601

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to GitLab issue in main/sbbs on Thu Aug 31 20:03:02 2023
    reopen https://gitlab.synchro.net/main/sbbs/-/issues/601

    Issuing the "/users" command during a Synchronet IRC session causes ircd to crash with the same effect/errors as Nelgin's #402 issue.

    Aug 17 18:41:33 lr08 jsexec[938184]: SynchronetIRCd-1.10 started.

    Aug 17 18:41:33 lr08 jsexec[938184]: Trying to read configuration from: /sbbs/ctrl/ircd.conf

    Aug 17 18:41:33 lr08 jsexec[938184]: 0013 !ERROR 98 binding IRCd socket to port 6667: Address already in use

    Aug 17 18:41:33 lr08 jsexec[938184]: !Error Error: Unable to add host to socket set creating listening socket on port 6667

    Aug 17 18:41:33 lr08 jsexec[938184]: !Module (/sbbs/exec/ircd.js) set exit_code: 1

    Aug 17 18:41:33 lr08 jsexec[938184]: #012Re-running: /sbbs/exec/ircd.js

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to GitLab note in main/sbbs on Thu Aug 31 20:03:02 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/601#note_3851

    https://gitlab.synchro.net/main/sbbs/-/commit/3ed05836cfa5991345b416be

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