Skip to content
Snippets Groups Projects
  1. Dec 02, 2024
  2. Dec 01, 2024
  3. Nov 30, 2024
    • Rob Swindell's avatar
      Implement max concurrent connections (per IP) limit in web server, default: 10 · cb28dafe
      Rob Swindell authored
      We have this feature for the FTP, Mail, and Terminal servers (with no default
      limit) but crazy abuse of my Synchronet web servers has now made this a
      necessity for Vertrauen. A limit of 2 used to be considered reasonable long
      ago. Today, 10 seems fair enough. Setting to 0 will impose no max-connections
      per IP address (other than the total client limit per server).
      cb28dafe
    • Rob Swindell's avatar
      Range check argc before deref of argv[1] · 52460c3a
      Rob Swindell authored
      Apparently JSVAL_IS_STRING() can return true even when argv[1] is out of range
      (I guess I assumed it'd alwasy be NULL or VOID/undefined) and this can lead to
      crash when calling JS_ValueToString() on it.
      52460c3a
  4. Nov 26, 2024
    • Rob Swindell's avatar
      Create/use SysopPageNotification text.dat string · 0dc160f0
      Rob Swindell authored
      to notify sysop (user #1) that they were paged. Previously, this was
      a hard-coded string. The new string in text.dat is the same, but adds
      2 BELs (CTRL-G chars) and is now customizable.
      
      Created an sbbs_t::notify() method to make this easier to use and that
      method supports @-code expansion, so this text.dat string supports @-codes
      (which I used).
      
      This addresses the feature request in issue #828 (beep the sysop in the
      telegram/short message, when they're paged).
      0dc160f0
  5. Nov 24, 2024
    • Deucе's avatar
      Some minor cleanups of echocfg · b1d22335
      Deucе authored
      1) Initialize saverobot.name since this is checked unconditionally.
         This has a side effect of initializing everything else, but name
         is the only thing that actually matters.
      2) Add a bar to the global settings menu.
         Previously, if you scrolled near the bottom and selected an option,
         after changing the option, you would jump up to the last item on
         the initial screen.
      3) Fix the AreaMgr Support default value to be the current, not the
         opposite of current.
      4) Use the correct variable for EchoMail Relay Filtered Messages
         setting default.
      b1d22335
    • Deucе's avatar
      Remove ssh_errors variable. · 26886a8c
      Deucе authored
      We're carefully counting the errors, but never looking at the count.
      26886a8c
    • Rob Swindell's avatar
      Fix potential deadlock in getnodedat(), observed on macOS · 15e40a45
      Rob Swindell authored
      Upon any node.dab lock or read failure, this code would cause errormsg() which
      would often/usually end up claling getnodedat() which would block forever trying
      to acquire the ndoefile_mutex (introduced in commit b9633069, I'm not clear why).
      
      Unlock/release the mutex *before* calling errormsg().
      15e40a45
  6. Nov 23, 2024
  7. Nov 21, 2024
  8. Nov 20, 2024
  9. Nov 19, 2024
    • Rob Swindell's avatar
      Allow Telnet client to be in binary mode persistently · 51c917d0
      Rob Swindell authored
      Before this change, we'd always request a return to Telnet NVT (turn off
      binary-TX in both directions) after any file transfer. So although a Telnet
      session might be negotiated into binary mode shortly after connection
      (e.g., using "telnet -8"), it would be reverted back to NVT mode after any
      file transfer.
      
      The request to turn off remote binary-TX after executing external programs
      didn't actually accomplish anything since we track the Telnet option states
      internally and don't send redundant requests (e.g. the change into a mode
      we're already in). External programs aren't expected to send Telnet requests
      anyway, so I think this was some holdover from early days of stp/sexyz
      development.
      51c917d0
    • Rob Swindell's avatar
      Don't use uninitialized variable: lockfname · 6d7f8568
      Rob Swindell authored
      Where's the compiler warnings guys?
      6d7f8568
    • Rob Swindell's avatar
      Add support for new experimental/optional Area File format: areas.ini · 813072cd
      Rob Swindell authored
      As suggested/requested by Fernando Toledo in issue #826, you can:
      1. run 'jsexec make_areas_ini.js' to export your areas.bbs file to areas.ini
         (your old areas.bbs is left in place, in tact, unmodified)
      2. change your Area File in echocfg->Paths and Filenames->Area File to
         somepath/somefile.ini (e.g. "../data/areas.ini") and SBBSecho will use
         the .ini file format instead of the old AREAS.BBS format (NIH)
      
      You can always go back to your areas.bbs file by just reverting the Area File
      setting back to some other non-ini filename (e.g. "../data/areas.bbs").
      
      Incremented version number to v3.23
      
      Of course documentation and echocfg changes will need to follow, but this is
      enough to start testing (looking at your Fernando! :-).
      
      I tried to minimize the diff as much as possible and resisted updating
      (modernizing, fixing) the very old AREAS.BBS parsing and areafix code.
      The new .ini code is largely modeled after the old areas.bbs code, but oh,
      xpdev/ini_file makes things so much nicer and easier.
      
      There are no known fixes for any pre-existing area file/fix issues (including
      issue #826), but it's always possible I've introduced a new issue.
      813072cd
Loading