Skip to content
Snippets Groups Projects
  1. Oct 19, 2016
  2. Oct 17, 2016
  3. Oct 06, 2016
  4. Aug 11, 2016
  5. Aug 06, 2016
  6. Aug 03, 2016
  7. Jul 05, 2016
  8. Jun 30, 2016
    • rswindell's avatar
      When writing to area file (areas.bbs), pad echo tag to maximum length · 03ecec67
      rswindell authored
      (35 chars). Use macros for maximum internal code length and echo tag lengths.
      03ecec67
    • rswindell's avatar
      Address AreaFix bugs: · fa06eda4
      rswindell authored
      1. Reported by Accession and Rastus: when linking/unlinking echoes via AreaFix,
          all the linked node addresses (in the areas.bbs file) would be changed to a
          garbage address (e.g. "16720:17235/19521.19551").
          Bug introduced in sbbsecho.c rev 3.13 (May-9-2016).
      
      2. Reported by Accession:
          Extraneous debug-level log output (a log line for each echo that exists in
          the area file): "Adding areas for <addr> to path/to/areas.bbs" and
          "Removnig areas for <addr> from path/to/areas.bbs".
          Introduced way back in sbbsecho.c rev 1.249 (Apr-17-2014).
          Now, a single debug-level log entries is added per areafix change request
          for all adds (area linking) and then all deletions (area unlinking) which
          makes much more sense.
      
      3. Observed in the code:
          When using AreaFix to modify the area file (areas.bbs), if a modified
          echo's internal code was 16 characters, exaclty, then no space would be
          added between the internal code and the echotag.
          This bug has apparently been possible since the introduction of internal
          code prefixes in 2003.
      fa06eda4
  9. May 31, 2016
  10. May 27, 2016
  11. May 25, 2016
  12. May 19, 2016
    • rswindell's avatar
      Implement IP temporary ban: · ee159c40
      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).
      ee159c40
  13. May 18, 2016
  14. May 13, 2016
    • rswindell's avatar
      Fix bug introduced in rev 167 (the IPv6 commit): · b4049a3e
      rswindell authored
      calling Socket.bind() with an undefined hostname parameter would result in a
      getaddrinfo() failure, e.g. on Windows, WSAHOST_NOT_FOUND 11001
      The ircd.js passes the value of server.interface_ip_address to socket.bind()
      and when run from jsexec, this property is not defined. So you couldn't run the
      ircd from jsexec or you'd get "!Error 0 binding socket to TCP port xxx".
      Also now setting the socket last_error value upon getaddrinfo() failure so
      if there is a failure, the error message won't include the erroneous "Error 0".
      b4049a3e
    • deuce's avatar
      Fix socket.send() so that it returns the number of bytes sent. The · 698ca0bd
      deuce authored
      underlying send() function is free to send a subset of the bytes, and
      occasionally does (especially on non-blocking sockets).  The return value
      was true if all bytes were sent or false if not all bytes were sent.
      
      The new behaviour is to return the number of bytes sent or null on failure.
      
      This is mostly compatible with existing code which appears to universally use
      if (!sock.send(str))
      
      Cases where it's not compatible are when a zero-length string is sent.  The
      handling of errors is slightly different now too... previously, if you
      retransmitted on failure, the stream would "stutter" now it will have
      "holes".
      698ca0bd
  15. May 09, 2016
    • rswindell's avatar
      Introduced sbbsecho.ini advanced setting (not yet exposed in echocfg): · 4ea509a0
      rswindell authored
      StrictPacketPasswords (default is "true").
      If you want SBBSecho v3 to behave like SBBSecho v2 with regards to packet
      passwords for linked-nodes with *no* configured packet password, set this value
      to "true" in your sbbsecho.ini file. I don't recommend doing this if you care
      about the "security" of your echomail, but some sysops have been bitten by the
      strict enforcement of the configured password in SBBSecho v3.
      
      I also fixed some (but not all) of the signed/unsigned value comparison
      warnings reported by msvc2013. Hopefully this didn't introduce any stupid bugs.
      4ea509a0
    • rswindell's avatar
      Fix login_attempted() for IPv4 at least (I can't test for IPv6, Deuce?). · 8a042fb5
      rswindell authored
      This has been broken (did not track consecutive failed login attempts from
      the same client IP address) since the IPv6 commit of Aug-2015. I only noticed
      this wasn't working when I was documenting the "auto-block hackers" feature
      on the Wiki and noticed that every failed login (even those from the same IP)
      was listed as a separate entry in the "Failed Logins" list (e.g.
      sbbsctrl->View->Login Attempts). Ugh.
      8a042fb5
  16. Apr 30, 2016
  17. Apr 27, 2016
  18. Apr 24, 2016
Loading