Skip to content
Snippets Groups Projects
  1. Jun 15, 2017
    • rswindell's avatar
      Fix web server startup crash when run as an NT service, as reported by · 0754da32
      rswindell authored
      Deepthaw (DS94):
      This was broken in revision 1.584 by deuce, Thu Aug 20 05:19:45 2015 UTC:
      The startup->socket_open callback is optional (may be NULL), and in the case
      of sbbsNTsvcs.exe, it is NULL, thus the crash when it was called
      unconditionally during socket creation. I guess not many people are running
      sbbsNTsvcs these days. :-/
      0754da32
  2. Jun 09, 2017
    • rswindell's avatar
    • rswindell's avatar
      7e73f9d4
    • rswindell's avatar
      The beginnings of auto-echo-add: · f4fedac6
      rswindell authored
      - SBBSecho will now maintain a file called the Bad Area File
        (default name is data/badarea.lst), in BACKBONE.NA format
      - This file is suitable for importing in SCFG->Message Areas now, but expect
        some automation in the near future
      - To get area descriptions (not just echo tags) in the Bad Area File, be sure
        to configure at least one "Additional EchoList" to point a comprehensive echo
        list (e.g. BACKBONE.NA or similar)
      - SBBSecho will automatically add new areas (when new messages are received for
        msg areas you don't carry) or remove areas that you start to carry - no sysop
        maintenance of this file should be needed. And the file does not have to be
        deleted after being imported (e.g. with SCFG).
      - SBBSecho does not (and may never) actually modify your Synchronet Message
        Areas configuration directly, that is yet to be determined
      
      Another new feature: Area File (areas.bbs) backups:
      - Whenever the Area File is modified via AreaFix, the current file is backed
        up  (e.g. areas.0.bbs, etc.)
      - This feature can be tweaked or disabled via the AreaFileBackups key in
        sbbsecho.ini (not yet in echocfg), default backup level is 100
      
      * Numerous EchoCfg help text updates.
      * Some minor terminology updates (e.g. AREAS.BBS->areas.bbs, Areafix->AreaFix).
      * Incremented SBBSecho version from 3.00 to 3.01.
      f4fedac6
    • rswindell's avatar
      More verbose log messages with regards to max_concurrent_connections being · 518048d1
      rswindell authored
      reached (connections with a successful login aren't counted).
      518048d1
    • rswindell's avatar
  3. Jun 07, 2017
    • rswindell's avatar
      When importing dirs.raw/Directory Listings into a library: · a3554a8f
      rswindell authored
      1. Randomize the last 3 characters of the internal code to generate a unique
         internal code.
      2. Attempt to skip sub-directory names when generating long/short names from
         imported path, if no sub-dirs are in the path, then just right-justify the
         truncated path - trying to generate meaninful long/short names from long
         paths.
      3. Do not allow duplicate paths to be imported into the same library.
      4. Skip (do not import) directory entries that are > 63 chars in length.
      5. Stop importing if/when total dirs >= MAX_DIRS (65534).
      a3554a8f
    • rswindell's avatar
      Add #defines for MAX_SUBS, MAX_DIRS, and MAX_XTRNS (65534). · 24f149d7
      rswindell authored
      If anybody actually hit these limits I'd be impressed, but it's not impossible.
      65535 (-1 as an int16_t) is a special value used to indicate an "invalid" item.
      24f149d7
  4. Jun 05, 2017
    • rswindell's avatar
      Improvements to dirs.raw/directory listing import into file library: · c7d39477
      rswindell authored
      1. added option to import empty sub-directories (previously empty subdirs were
          always ignored).
      2. attempt to generate a unique internal code when the auto-generated internal
          code (based on the characters in path) is not unique.
      3. display "Scannnig Directories..." popup since this can take a while
          (especially on network drives and especially recurisvely).
      
      Note: if you're importing lots of deeply nested subdirs, it's likely that a
      unique internal code can't be generated (from the path) for all subdirs.
      A randomly generated internal code might be an option if this is really
      a problem for any sysops.
      
      Also updated the brace style of this .c file, finally.
      c7d39477
  5. Jun 04, 2017
    • rswindell's avatar
      Replace "<unknown>" as the "Unknown User" string with "<unknown user>" · c635c3ac
      rswindell authored
      globally (using a new macro in sbbbsdefs.h: STR_UNKNOWN_USER). "<unknown>"
      in some contexts was too vague (e.g. the 'c' command output from the sbbs
      console).
      c635c3ac
    • rswindell's avatar
      1. Fixed "always syslog" mode Used to force log output to syslog even when · 7ca2cf57
      rswindell authored
         not daemonized: log output would be repeated (once with a timestamp in
         the log string, once without). Now direct calls to lputs/lprintf from
         sbbscon.c won't go to syslog (in this mode), but I think that's okay.
      2. Change the prompt when terminating the servers: replace the ?=help and
         colon implying you can enter commands with just "Termianting..." since
         you can't actually type commands while a terminate is in progress.
      3. Output the inactivity timeout values when waiting for servers to
         terminate (e.g. because they'res till in use).
      4. Report IP addresses in square-brackes in the client ('c' command) output
         to differentiate from hostnames.
      7ca2cf57
  6. Jun 03, 2017
  7. Apr 11, 2017
    • rswindell's avatar
      Another change for Bill: · 79e4c4b7
      rswindell authored
      Added (back) the '-d' command-line option to disable the deletion of processed
      (e.g. imported) inbound netmail messages.
      - This option has no effect if DeleteNetmail is set to "false" in sbbsecho.ini.
      - This option *only* disables deletion of incoming netmail (no effect on
        outbound netmail deletion)
      - In SBBSecho v2, the '-d' option disabled all netmail deletion, even though
        the help output only mentioned "netmail after import" (it was wrong).
      79e4c4b7
  8. Mar 22, 2017
  9. Mar 07, 2017
  10. Mar 06, 2017
  11. Mar 01, 2017
    • rswindell's avatar
      +1 for NULL terminator. · 097a0825
      rswindell authored
      097a0825
    • rswindell's avatar
      Fix GCC warnings: · e95e0dae
      rswindell authored
      sbbsecho.h:186:7: warning: array æpktTypeStringListÆ assumed to have one element
      Warning: size of symbol `pktTypeStringList' changed from 8 in .../rechocfg.o
      e95e0dae
    • rswindell's avatar
      Packet Type-2e (FSC-39.4) support: · aace645d
      rswindell authored
      For packet creation, the only difference (from Type-2+) is with packets created
      from point nodes: the origNet field won't be set to 0xffff (as is the case with
      FSC-48, Type-2+ packets). The auxNet field is now always set to the originating
      net (ala Squish) when configured for Type-2+ packet generation.
      When importing Type-2e (FSC-39) packets, the detected/logged packet type may be
      reported as "2e" for valid "2+" packets. This is normal and expected when the
      originating node is not a point and the auxNet field is 0.
      The second set of orig/dest zone fields in a type 2e/2+ pkt header will
      now be used when importing if the old/QM orig/dest zone fields are 0.
      Also, the originating point field may now be imported even if the auxNet field
      is not used (origNet != 0xffff).
      
      New umask sbbsecho.ini configuration option (global), maybe used to over-ride
      the default *nix file creation mode mask (077), similar to sbbs.ini.
      aace645d
    • rswindell's avatar
      Changes in comments only: · dbaa70bc
      rswindell authored
      Use more formal terminology (e.g. "Type-2", not "type 2.0").
      dbaa70bc
  12. Feb 24, 2017
    • rswindell's avatar
      2 Area-fix changes with regards to "pass-through areas": · 62f7e8ed
      rswindell authored
      - %RESCAN returns a different failure result if the requested echo is a
      pass-through area (cannot be rescanned)
      - %UNLINKED will return only the unlinked echoes even when an "additional
      echolist" is utliized and the linked areas are all pass-through (for Bill).
      62f7e8ed
  13. Feb 21, 2017
    • rswindell's avatar
      Fix potential crash (stack corruption) in qwk_route() reported by Hemo: · 2ff51deb
      rswindell authored
      If what appears to be a QWKnet addressed was passed, but the QWK-ID portion was
      exactly 9 characters, a 1-byte stack corruption would occur as the 10-char
      local variable (node) could be written with 11 chars (9-char QWK-ID, colon,
      null). The reported issue happend when attempting to send netmail to
      "hemo@ujointbbs" which is neither a valid Internet email address or a valid
      QWKnet address.
      2ff51deb
  14. Feb 10, 2017
    • rswindell's avatar
      Added IPv4 CIDR notation support to all filter (*.can) files via the functions: · 26524908
      rswindell authored
      findstr() and findstr_in_list().
      This means that rather than listing an IP address range using the traditional
      wildcard characters (e.g. "192.168.1.*"), you could specify a subnet range
      using CIDR notation (e.g. "192.168.1.0/24").
      The '!' prefix is supported for CIDR match lines (for negated match results),
      but no other wildcard/match characters are (e.g. '^', '~', or '*').
      You can mix and match traditional match lines and CIDR match lines in the same
      filter file.
      IPv6 CIDR notation is not yet supported.
      26524908
  15. Jan 03, 2017
    • rswindell's avatar
      Fix echomail loop-back from points for Dan Richter: · e3e0e945
      rswindell authored
      - When importing echomail packets and tossing to linked-nodes, don't loop
      messages back to originating nodes, even if their address is not in the PATH or
      SEEN-BYs.
      - To get the full originating address of an echomail message (for loop-back
      prevention), parse the Origin Line before tossing to links. If the Origin Line
      cannot be parsed, log a warning message.
      e3e0e945
  16. Dec 10, 2016
  17. Dec 08, 2016
  18. Dec 06, 2016
    • rswindell's avatar
      Make area file (e.g. areas.bbs) not case-sensitive. i.e. AREAS.BBS or areas.bbs · 37afe84a
      rswindell authored
      or Areas.BBS will all be found/opened successfully if "areas.bbs" is used.
      37afe84a
    • rswindell's avatar
      Beautified/colorized the thread listing a bit. · 91b3fd22
      rswindell authored
      Make sure pause ([Hit a key]) prompt doesn't appear on the same line as the
      Reading prompt.
      The '?' command now turns off "Thread View Mode".
      Backspace is now treated the same as '-' (move backwards through sub).
      When in Thread View mode, moving backwards now first searches for a thread
      with a lower thread ID and if that fails, look for any thread with a different ID.
      New Thread Nav command: Home (move to first msg in thread) and End (move
      to last message in thread). Last in this context means the last reply to last
      reply to the original message (not necessarily the newest reply). This is most
      obvious how this works when in Thread View mode.
      Moving forward through the sub (+ or <CR>) while in Thread View Mode now
      searches first for a thread with a higher thread ID, and if that fails, then
      any thread with a different ID.
      
      I experimented with not clearing the screen (homing the cursor and using clear
      to end of screen to remove old data), to avoid the "flash" while browing a
      thread, but both Netrunner and mTelnet appear to not support the <ESC>[J
      terminal escape sequence (clear to end of screen) correctly.
      91b3fd22
    • rswindell's avatar
      Fixed use of smb_get_first_in_thread(). · ced4f669
      rswindell authored
      ced4f669
    • rswindell's avatar
      putmsg() (used to display menus, text files, messages to the terminal console) · 8edfebc7
      rswindell authored
      no longer ignores Ctrl-Z characters (CP/M EOF) by default. If you want the
      old behavior (Ctrl-Z characters not displayed, just skipped), specify the
      P_CPM_EOF mode flag.
      8edfebc7
    • rswindell's avatar
      New console control @-codes: · 413e624f
      rswindell authored
      HOME - homes cursor (to upper left, 1:1)
      CLRLINE - clears current line (cursor to column 1)
      CLR2EOL - clears to end-of-current-line (doesn't move cursor)
      CLR2EOS - clears to end of screen (doesn't move cursor)
      413e624f
    • rswindell's avatar
      New Ctrl-A codes: · 5bf12c0d
      rswindell authored
      'J' - Clear to End-of-Screen, for ANSI users sends <ESC>[J, nothing otherwise
      '`' - Home Cursor, for ANSI users sends <ESC>[H, form feed otherwise
      5bf12c0d
  19. Dec 05, 2016
Loading