• exec/login.js

    From Rob Swindell@1:103/705 to Git commit to sbbs/master on Sat Sep 19 22:54:45 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/b05b2cc15bc5da16d5da1be6
    Modified Files:
    exec/login.js
    Log Message:
    Re-enable the short inactivity timeout for non-terminal connections (bots)As of Oct-25-2018, the NO_EXASCII flag was set in the autoterm variablewhen there was no ANSI terminal auto-detected. This defeated the shortinactivity timeout feature of login.js because it was checking specificallyfor a zero-value autoterm.So change this logic to check for no ANSI, PETSCII, or UTF-8 (the 3 indicatorsof a valid terminal) - though I suppose PETSCII is questionable (it's notactually auto-detected, just a non-standard port usually).
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Mar 27 21:57:16 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/35d1f33534a152aa7c46c56c
    Modified Files:
    exec/login.js
    Log Message:
    Run the "inactive_hangup" option through parseInt()Just in case it was read as a string (e.g. had a ; comment following the value)
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Jan 21 18:28:12 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/e6017a35aa2fecf4d05a4621
    Modified Files:
    exec/login.js
    Log Message:
    Restore stealth legacy login prompt (NN:)This old prompt used to be sent for any login scripts (e.g. QWKnetvia dial-up) that would key off that WWIV-like "name or number"(NN:) prompt, but was removed (accidentally?) in commit fedabb0b8f6dfcdc4.Send "NN: " and "PW: " (include the trailing space, just in case), and usecarriage return to move back (and overwrite) rather than 4 backspaces.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sat Feb 4 20:20:08 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/f5c555808b050bc980af2852
    Modified Files:
    exec/login.js
    Log Message:
    The bare CR is treated as CRLF on PETSCII, so use Ctrl-A[ insteadWe don't do output translation for PETSCII terminals for CR or LFchars, so this trick is needed, at least currently, for the NN legacy promptto be properly over-written/invisible for CBM/PETSCII terminals.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Sat Feb 11 13:35:16 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/1b67a35ef4230d8ac379e04a
    Modified Files:
    exec/login.js
    Log Message:
    Use the new (to v3.20) method of checking for login-by-usernumber supportThe old NM_NO_NUM flag is unused/deprecated.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sat Mar 18 14:51:34 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/b91e77719928033321808776
    Modified Files:
    exec/login.js
    Log Message:
    Apply inactive_hangup option (for dumb terminals) using max_socket_inactivitythis insures that inactive dumb (bot) connections will be disconnected evenwhen using a script (e.g. animated pause prompt) that doesn't time-out.Also, if the connected node is the last node (for this sbbs instance), dividethe socket inactivity timeout value in half.These changes (along with sbbs v3.20) should help with DOS (denial-of-service,not MS-DOS) prevention.Mainly for Krueger.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Tue Jul 25 17:02:02 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/7f1525c5bca05030d54a2c40
    Modified Files:
    exec/login.js
    Log Message:
    Enable "use strict" mode in this script - best practiceRequires hex literals for control chars instead of octal(e.g. \x01 instead of \1)All stock scripts should be using strict mode, so this was a miss.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Fri Nov 10 20:38:03 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/567753c0f1a7793407dc3566
    Modified Files:
    exec/login.js
    Log Message:
    Only call the re-login support functions if re-logging-in

    These functions were causing enumeration issues with JSDOC builds (before the recent refactor that fixes that enumertion order problem), but
    really these calls should've been conditional anyway.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)