Skip to content
Snippets Groups Projects
  1. Nov 12, 2017
  2. Oct 23, 2017
  3. Aug 26, 2017
    • rswindell's avatar
      The SMTP received mail notice and forward notice (short messages/telegrams) · 53f8e5ec
      rswindell authored
      are now configurable via the following news keys in the [Mail] section of the
      sbbs.ini file:
      	NewMailNotice
      	ForwardNotice
      
      Using the newly updated string literal support to allow for Ctrl-A codes using
      C charater literal notation (\1) for control-A codes and standard C-escaping
      of carriage-return (\r), line-feed (\n), etc.
      Beginning and trailing space characters are also preserved (if specified) in
      the key values.
      
      The default strings are updated/different from what was previously hard-coded
      in mailsrvr.c. If you want the local timestamp (back) in the notice, change
      the '%.0s' in the default string to just '%s'.
      53f8e5ec
  4. Jun 04, 2017
  5. Dec 08, 2016
  6. Dec 02, 2016
  7. Dec 01, 2016
  8. Nov 28, 2016
  9. Nov 27, 2016
  10. Nov 21, 2016
  11. Nov 19, 2016
    • sbbs's avatar
      pthread thread names are limited to 15 chars (not including nul terminator) · f3da24f7
      sbbs authored
      so use shorter thread names.
      f3da24f7
    • rswindell's avatar
      Fix the root-cause of the high-CPU utlization on server recycle problem: · cdef2d33
      rswindell authored
      How did startup->sem_chk_freq get set (back) to 0 in the first place?
      The reason: the startup struct sanitization only occured when the various
      server threads were first started. When recycled, the server would call back to
      the original caller (e.g. sbbscon) which may (and did) re-read the sbbs.ini
      file, which could have SemCheckFrequency set to 0 (or missing) and the
      sanitization did not happen again (so a 0 value was used in select() calls,
      resuilting in high CPU utilization for several threads).
      
      So now, all startup struct sanitization occurs inside the init/recycle loop
      and sem_chk_freq should never revert to 0 again. This was the main bug.
      cdef2d33
    • sbbs's avatar
      Fixed high-CPU utilization after server recycling issue: if the sem_chk_freq · 324c41ba
      sbbs authored
      value is missing or set to 0 in the sbbs.ini file, the sanity checking this
      value (setting it to 2 seconds) will not occur after a server recycle and the
      sbbs.ini is re-parsed. So if for any reason, the sem_chk_freq value becomes
      0, these server threads won't hog the CPU because they all YIELD at the
      top of thier main loops.
      
      Also, changed all the thread names (e.g. adding "sbbs/" prefix), so they're
      more sensible in the Linux 'top' output.
      
      Also, started adding 'vi' modelines to auto-set tabstops when using vi/vim.
      324c41ba
  12. Nov 18, 2016
    • rswindell's avatar
      Introduced 2 new poll concepts: · 0ac4f937
      rswindell authored
      - Closures (polls can be closed for new voting by the pollster)
      - Results can have configurable visibility:
        a. Only to voters (and the pollster) - the default
        b. Everyone
        c. Everyone once the poll has closed
        d. Only the pollster
      
      Changes to smb_getmsgtxt():
      Main change: poll questions can now be quoted when replying to a posted poll
      (the results cannot be quoted).
      Also: there's now automatically a blank line inserted between comment header
      fields and poll answers or the msg body text.
      Also: upon any malloc failure, the function now returns NULL.
      New functions: smb_msg_is_from() and smb_addpollclosure().
      0ac4f937
  13. Nov 08, 2016
  14. Oct 17, 2016
  15. May 31, 2016
  16. May 27, 2016
    • rswindell's avatar
      Update the temp ban (loginBanned): · e0e5279f
      rswindell authored
      - Never ban the server's own address
      - Log the login attempt and last name attempted
      - Use a compressed version of the HH:MM:SS "time remaining" portion of the log
        message
      e0e5279f
  17. May 18, 2016
    • rswindell's avatar
      Implement IP temporary ban: · 7da4af1b
      rswindell authored
      By default, after 20 consecutive (unique) failed login attempts, *or*
      a failed login attempt wtih a name from the name.can filter file.
      The default temporary ban duration is 10 minutes.
      The temporary ban thershold is configurable via LoginAttemptTempBanThreshold
      in sbbs.ini and the ban duration is configurable via LoginAttemptTempBanDuration
      (in seconds).
      7da4af1b
  18. Jan 21, 2016
  19. Dec 04, 2015
  20. Nov 24, 2015
    • rswindell's avatar
    • rswindell's avatar
      Cool new feature {tm}: · c3ae3857
      rswindell authored
      FidoNet NetMail can now be gated to an SMTP client (as before), but replies are
      now successfully gated back to FTN NetMail. This uses a new more RFC-compliant
      To/From address header field format, so older messages (previously gated to
      an SMTP client) cannot be successfully replied-to. Tested with Microsoft
      "Windows Live Mail 2012" (previously known as Outlook Express).
      Test reports/results with other SMTP mail clients would be welcome.
      
      Requires SBBSecho v2.30 or later. File attachments are not yet supported.
      c3ae3857
  21. Nov 15, 2015
  22. Oct 30, 2015
  23. Sep 25, 2015
  24. Sep 11, 2015
    • rswindell's avatar
      Fix infinite recycle problem reported by Lord Time. · 47b0e6ae
      rswindell authored
      Also set the web server status to "Listening" once initializating is complete.
      I'm not sure what the newly-introduced "terminated" flag is supposed to
      indicate, but it's beign set to TRUE during recycle, so it's probably not
      working as intended. Something cleaner probably should be done, but I don't
      know exactly what Deuce was trying to accomlish with this variable.
      47b0e6ae
  25. Aug 22, 2015
  26. Aug 20, 2015
    • deuce's avatar
      Update to 3.17a · dbbfabf1
      deuce authored
      New Features:
      - Multiple bindings for each service
        Use comma-separated interfaces on Interface= lines in the ini file.
        Default is now "0.0.0.0,::"
      - IPv6 support
      - TLS support for the webserver and (non-static) services
        New TLS option in services.ini (ie: Options=TLS)
      - Decrease LEN_SCAN_CMD to 35 chars, increase the CID field to 45 chars,
        and rename the MAIL_CMD string to IPADDR.  I think this frees up the
        note field for SysOp use.
      dbbfabf1
  27. Apr 25, 2015
    • deuce's avatar
      Fix exit() behaviour by introducing the new js.scope value which is the · f3256d81
      deuce authored
      scripts global scope (as opposed to js.global which is the instance global
      scope), and having exit() define exit_code in js.scope instead of js.global.
      
      This also sets exit_code in js.scope to null when preparing to execute a new
      script.  If a new script starts in the same scope as an old one, the old
      exit_code value will be destroyed.
      
      This should only impact scripts where js.global != js.scope (bbs.exec()ed,
      and mailsrvr)
      f3256d81
  28. Mar 03, 2015
  29. Dec 11, 2014
  30. Nov 20, 2014
  31. Oct 29, 2014
Loading