Skip to content
Snippets Groups Projects
  1. Aug 14, 2019
    • rswindell's avatar
      Use "Open file description locks" when available (i.e. Linux 3.15 and later) · d28b74e4
      rswindell authored
      This variation on fcntl() record-locks resolves multiple-thread / forking
      issue with region locks. No longer falls back to using flock() (whole-file
      locks), when OFD locks are available and used successfully. At the least,
      this should provide a performance boost for shared files using region
      locks (on Linux). No change for Windows (region locks already worked sanely
      among multiple threads) and other *nixes (that use POSIX fcntl() locks
      only).
      d28b74e4
    • rswindell's avatar
      Allow user.dat fields: DLB (downloaded-bytes), ULB (uploaded-bytes), and CDT · 279bc350
      rswindell authored
      (credits) to use the full 4 gibibyte range of a 32-bit unsigned integer:
      max-out at 4,294,967,295 instead of 2,147,483,647.
      Since these values are stored as 10 characters, we could theoretically extend
      the range to 9,999,999,999 (credits/bytes) without changing the user.dat format
      but is a bigger change (moving to 64-bit integers everywhere these values are
      read or adjusted).
      279bc350
    • rswindell's avatar
      Log the length of received telnet sub-negotiation commands (in bytes). · 1d610b37
      rswindell authored
      Only retain the last (most recent) 10 data/<id>.qwk.*.bad files and
      data/file/<user-num>.rep.*.bad files.
      1d610b37
  2. Aug 13, 2019
  3. Aug 12, 2019
  4. Aug 11, 2019
  5. Aug 10, 2019
  6. Aug 09, 2019
    • rswindell's avatar
      Don't store the original RCPT TO argument (forward-path) when the message · c1c78bb4
      rswindell authored
      is being forwarded to an external email address. Introduced in rev 1.690,
      user-forwarded emails wouldn't work because sending envelope would contain
      the original forward-path. Thanks again to Alterego (ALTERANT) for testing
      this stuff and reporting issues with detail!
      c1c78bb4
    • rswindell's avatar
    • rswindell's avatar
      Fix off-by-two issue with fgets() calls in printfile() line-at-a-time mode · bf297492
      rswindell authored
      (new). Reported by Alterego (ALTERANT)
      bf297492
    • rswindell's avatar
      Fix long standing bug with the global JS function login(): · c65542f8
      rswindell authored
      A few *service.js scripts call this function without a password argument
      (the second argument), e.g. login("guest");
      If there was no guest account (or the guest account had a password assigned),
      this would result in a failed login attempt as "guest" along with a garbage
      password (e.g. a floating point number, like 3.7042561) and since it would
      be a unique garbage password for each login() call without an actual password
      specified, these login() calls would be counted as unique failed login attempts
      and potentially cause the client's IP address to be added to the hack.log
      and even ip.can (IP address filter).
      
      As seen on Mortifis' system where VERT was filtereed due to
      "SUSPECTED NNTP LOGIN HACK ATTEMPT", likely due to the daily sbbslist
      verifications when just perform a TCP connection and no actual login attempt,
      but nntpservice.js would still call login("guest") before the client (vert)
      would be disconnected.
      c65542f8
  7. Aug 08, 2019
  8. Aug 07, 2019
Loading