Skip to content
Snippets Groups Projects
  1. Oct 23, 2020
  2. Oct 22, 2020
  3. Oct 21, 2020
  4. Sep 13, 2020
  5. Sep 07, 2020
    • Rob Swindell's avatar
      Fix observed race-condition resulting in the HOSTNAME @-code being blank. · dee21ed6
      Rob Swindell authored
      Eliminate the hack in each server where it will over-write startup host_name
      (with the configured Internet email address), if it's blank. This hack was
      subject to a race condition where the parent app (e.g. sbbsctrl.exe) would
      clear or re-initialize the host_name after the sever threads had initialized.
      Instead, just use a function which will return either the startup->host_name
      or (fallback to) scfg.inet_addr.
      dee21ed6
  6. Aug 30, 2020
    • Rob Swindell's avatar
      Only over-ride (lower the severity) of the cryptlib log msg for a single case · 20393557
      Rob Swindell authored
      Add another "get cryptlib error string" (at least, that's what I assume GCES
      stands for) that allows the log level to be specified, rather than derived
      from Cryptlib thinks the log level should be. Do this rather than adding one
      (lowering the severity) of every cryptlib log message as I did in the previous
      commit to this file.
      20393557
  7. Aug 29, 2020
  8. Aug 16, 2020
  9. Aug 08, 2020
    • rswindell's avatar
      The problem: the sysop (me) is not notified of critical errors (e.g.... · 5899a303
      rswindell authored
      The problem: the sysop (me) is not notified of critical errors (e.g. synchro.net zone file problems) in a timely manner.
      Part of the solution: notify a configured user (e.g. user #1) via short-message/telegram and email/netmail logged-errors when messages of a configured severity (e.g. "Critical") are logged.
      The second part of the solution (coming next) will be allowing timed events to log a message of a configurable severity logged when the event fails (returns a non-zero error level to sbbs).
      
      I'm saving the error-notification-user-number and log-severity as part of the node.cnf file because:
      - that's where the validation user number is already set
      - I can conceive of a large system were certain node ranges (different instances of sbbs) might want different operators to be notified of logged-errors
      
      This also means I eliminated all the legacy com port/modem stuff from the end of the node.cnf file. None of that is used in sbbs v3.
      
      Also included in this commit are improvements around logging:
      - reduce the severity of UDP recvfrom failures in services
      - a more detailed log message when the mail server successfully delivers an email (via SMTP) - easier to answer the question: was that email you/they sent delivered successfully?
      5899a303
  10. Jul 20, 2020
  11. Jun 02, 2020
  12. Jun 01, 2020
  13. May 14, 2020
    • rswindell's avatar
      No longer dynamically allocate compiled access requirment (AR) strings for configuration items. · 110cc8ac
      rswindell authored
      SCFG for Win32 is linked against a load_cfg lib that builds withOUT SCFG defined, so these compiled AR elements were allocated and then many SCFG operations (e.g. copy/paste, create new) would copy the allocated ARs to another configuration and then be subjected to double-free upon exit/clean-up (resulting in exception or crash).
      Just get rid of this cruft and some other related RAM-byte-saving hold-overs from the MS-DOS days.
      110cc8ac
  14. May 05, 2020
  15. May 01, 2020
    • rswindell's avatar
      Set the KILLSENT network attribute for created Internet email messages when... · 53068c01
      rswindell authored
      Set the KILLSENT network attribute for created Internet email messages when enabled in SCFG->Networks->Internet (new option).
      Do the same for FidoNet NetMail messages routed via SMTP.
      Only auto-delete sent Internet mail messges when either the KILLSENT
      network attribute flag is set or there was no SENDEREXT (from_ext) on the sent message.
      53068c01
  16. Apr 28, 2020
  17. Apr 24, 2020
  18. Apr 12, 2020
  19. Apr 09, 2020
    • rswindell's avatar
      Fix bug introduced in previous commit of this file (8 months ago): · 8412ed06
      rswindell authored
      If the RECIPIENTTOLIST header fields exists and the RFC822 header field
      does not exist, that means the original RFC822 "To" field was not MIME-encoded,
      which is the majority of email. The routine that converted an smbmsg_t to an
      RFC822 header did not use this new field however (ignored it). Whoops. So
      multiple recipients were reflect in the To field and the original destination
      address(es) in the To field weren't passed on either. Thanks, Frank!
      8412ed06
  20. Mar 31, 2020
  21. Mar 19, 2020
    • rswindell's avatar
      Added usernum member to client_t which tracks if the client_t.user (name) · 570a9466
      rswindell authored
      is actually an authenticated local user (when usernum != 0).
      
      msg_client_hfields() no longer saves the client->user as the SMB SENDERUSERID
      hfield when the client hasn't been authenticated (as is the case with normal
      SMTP). The SENDUSERIDs were redundant and misleading for unauthenticated
      SMTP-received mail messages, so that's now fixed.
      570a9466
  22. Mar 15, 2020
  23. Oct 05, 2019
  24. Sep 24, 2019
  25. Sep 09, 2019
  26. Sep 04, 2019
  27. Sep 01, 2019
  28. Aug 31, 2019
    • rswindell's avatar
      Update the C getnodedat/putnodedat API to not require that the node file · 4c8482c9
      rswindell authored
      (ctrl/node.dab) is constantly closed and re-opened for every non-locking read.
      This is really slow across network file systems and unnecessary, so use a
      similar optimization as the C++ sbbs_t class where the file can (and normally
      is) left open across multiple consecutive reads.
      Create/use opennodedat() function.
      Uses the new CLOSE_OPEN_FILE() macro from xpdev/filewrap.h.
      4c8482c9
  29. Aug 09, 2019
Loading