Skip to content
Snippets Groups Projects
  1. Oct 17, 2016
  2. 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
  3. 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
  4. Jan 21, 2016
  5. Dec 04, 2015
  6. Aug 22, 2015
  7. Aug 21, 2015
  8. Aug 20, 2015
    • deuce's avatar
      Use correct addr_len values. · 4ace0e8b
      deuce authored
      4ace0e8b
    • deuce's avatar
      Terminate IPv4 address before calling inet_addr(). On at least FreeBSD, · 48b07e59
      deuce authored
      leaving the |<port>| in the string causes inet_addr() to fail, breaking
      active FTP transfers.
      48b07e59
    • 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
  9. Aug 18, 2015
  10. 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
  11. Dec 11, 2014
    • rswindell's avatar
      Bug-fix: daily statistics and free-credits-per-day were not reset when the user · 43b6084e
      rswindell authored
      logged in via FTP. This affected: posts_today, emails_today, free_credits,
      timeon_today, and extra time values (e.g. posts_today would contnue to
      accumulate potentially affecting the users ability to post via FTP-uploaded REP
      packet). getuserdat() does the necessary value resets, we just needed to write
      the entire user record back to disk upon successfull login, rather than just
      updating specific fields in the user record on disk. The HTTP server looks like
      it might have the same/similar bug.
      43b6084e
  12. Nov 20, 2014
  13. Oct 30, 2014
  14. Oct 29, 2014
  15. Apr 20, 2014
  16. Jan 08, 2014
  17. Jan 07, 2014
  18. Feb 07, 2013
  19. Oct 24, 2012
  20. Aug 22, 2012
    • rswindell's avatar
      Fix race-condition during shutdown or recycle that could cause crash: · 21dcf57b
      rswindell authored
      active_clients (protected integer) could be 0 at the time of recycle because
      there can be delay at the beginning of the FTP ctrl thread (e.g. looking up
      filtered IPs/hostnames) before the active_clients is incremented which could
      be during/after it was destroyed by the cleanup() function. Now tracking
      number of threads using protected integer which increments immediately upon
      child thread creation and is not destroyed until the main thread terminates.
      There is currently *not* timeout while waiting for child threads to terminate
      upon shutdown/recycle, so this could result in a hung server thread if a child
      thread is indefinitely hung - consider using a timeout.
      21dcf57b
  21. Jul 04, 2012
    • deuce's avatar
      Fix Chrome solution. · 11dfec1b
      deuce authored
      Per RFC3659, the correct response for "Good command, but no size for you" is
      550, not 500 or 501 (these indicate an inability to parse the command).
      
      This works with Chrome.
      11dfec1b
  22. Mar 06, 2012
  23. Oct 29, 2011
    • deuce's avatar
      Fix format-related warnings. · 8563ad46
      deuce authored
      This is *likely* to break the Win32 build and even when the macros are
      specified in xpdev, I doubt Microsoft has added support for the 'z' size
      specifier used in smblib/smbadd.c we'll likely need a SIZE_T_SIZE macro
      that is "z" on C99 systems and "ll" or "64" or whatever it is on Win32.
      
      Or maybe a whole slew of complete SIZE_T macros since the 32/64 but thing
      and the max file size thing may actually need the full format specification
      to be in the macro... "zu" on C99 platforms and whatever magic Microsoft
      needs there.
      8563ad46
  24. Oct 28, 2011
  25. Oct 19, 2011
  26. Oct 16, 2011
  27. Oct 11, 2011
  28. Oct 10, 2011
  29. Oct 09, 2011
Loading