Skip to content
Snippets Groups Projects
  1. Jan 14, 2025
    • Rob Swindell's avatar
      First pass run of uncrustify (code beautification) · 45c8fa94
      Rob Swindell authored
      White-space changes only, exception being the rare insertion of NL before
      closing brace (couldn't find the option to disable that behavior).
      
      I excluded some header files (e.g. sbbs.h) since uncrustify seemed to be doing
      more harm than good there. I might just end up applying different set of rules
      to .h files.
      45c8fa94
  2. Dec 02, 2024
  3. Mar 03, 2024
    • Rob Swindell's avatar
      Address the SFTP logon issues (timeout waiting for keypress, node status, etc) · f1276068
      Rob Swindell authored
      For SFTP sessions, there's no shell/terminal, so no need to run command
      shells (with their input timeouts, etc.). Reflect the node connection as
      "via sftp" in the node status. Handle node interruption signal. Probably more
      to do here with node status/actions (e.g. it'd be nice to set the action to
      "uploading or "downloading" when appropriate).
      f1276068
  4. Dec 17, 2023
  5. Sep 01, 2023
    • Rob Swindell's avatar
      node utility can now display one/some/all key/values from node*/client.ini · 5531de7b
      Rob Swindell authored
      <nelgin> Remind me why you can't show the ip address on node status? :)
      
      Using the new '-v[key]' option, a sysop can view one, some, or all of the
      key/value pairs from the nodes with a connected client. For nodes without
      a connected client, the client.ini file values aren't particularly useful, but
      if someone wants an option to show those values for non-client-connected nodes
      I can do that too.
      
      When using '-v', all the client.ini key/value pairs will be displayed for all
      the node records requested with currently connected clients. By specifying
      '-v[key]' the sysop can specify a key to display (rather than all of them)
      e.g. 'node list -vaddr' to list nodes with remote client IP addresses.
      This option can be used multiple times on the command-line to view multiple
      keys. See node*/client.ini for the list of supported keys.
      
      This feature only works for nodes whose directory paths are ../node#/
      relative to the ctrl directory. Since the node utility doesn't read any
      configuration files, this is a limitation. If you have different node
      directory names/parents and need to use this feature, let me know and I'll
      see about adding support for reading/parsing main.ini file to discover those
      non-standard/default node directory paths automatically.
      
      The version number displayed is now taken from the sbbs version (sbbsdefs.h).
      The maximum ctrl directory path is now extended from 40 chars to MAX_PATH.
      More readable help/usage output (using indentation).
      5531de7b
  6. Aug 10, 2023
  7. Apr 04, 2021
    • Rob Swindell's avatar
      A poll() failure with EINTR does not mean a socket is closed. · 925e3b0a
      Rob Swindell authored
      This won't impact Synchronet as it has a separate signal handling
      thread, but we still need to behave properly for processes that
      don't.  I'm also saying that ENOMEM does not indicate a disconnection,
      though it may be better to pretend it was disconnected...
      925e3b0a
  8. Sep 18, 2020
  9. Aug 16, 2020
  10. Aug 01, 2020
    • rswindell's avatar
      Auto-detect non-Telnet connections to the terminal server's Telnet port and · 40d829f2
      rswindell authored
      automatically revert to Raw/TCP mode. This resolves the issue of users that
      connect using modem/serial emulators over TCP that do not actually support Telnet and then either try to transfer files, which usually will not work due to escaped (or unescaped) IAC (0xFF) characters, or the user may be sent Telnet Go Ahead (GA) sequences which may display as periodic garbage in their terminal program.
      
      This seemed like a better solution than having (yet another) dedicated terminal server port for "raw" connections over TCP, though a "raw" port still might not be a bad idea for a future enhancement. RLogin is already super close to "raw", so it's probably not really necessary to have another port configured/listening.
      40d829f2
  11. Nov 30, 2015
    • rswindell's avatar
      Introduce new node status (NODE_LOGOUT), which is used for the status of a node · 1d847ed3
      rswindell authored
      after a user (has been) disconnected and before the node transitions to waiting
      for connection (WFC) status. Usually the duration of this status is very short,
      but it can be longer (e.g. for running log-out module and event) and for (new)
      msg-scan pointer fix-ups.
      Updated logout() to remove some cruft and add some more log/debug output.
      Automatic new-scan pointer fix-ups when performing new-message scans (if the
      current pointer is greater than the last message number, set it to the last
      message number) and when saving message pointers.
      Passing user_t* to get/putmsgptrs() instead of message number now (to better
      detect Guest account).
      1d847ed3
  12. Jan 06, 2008
  13. Jan 05, 2008
  14. Jul 08, 2007
  15. May 01, 2007
  16. Oct 10, 2003
  17. Oct 09, 2003
  18. Jun 18, 2002
  19. May 03, 2002
  20. Nov 09, 2000
  21. Nov 06, 2000
  22. Nov 04, 2000
  23. Oct 26, 2000
  24. Oct 10, 2000
  25. Sep 25, 2000
Loading