Skip to content
Snippets Groups Projects
  1. Aug 22, 2015
  2. Aug 21, 2015
  3. Aug 20, 2015
  4. Aug 18, 2015
    • rswindell's avatar
    • rswindell's avatar
      Implement minimum and maximum file sizes allowed for upload, configurable via · 2bbc8f50
      rswindell authored
      MinFileSize and MaxFileSize keys in the [ftp] section of the ctrl/sbbs.ini file
      these values default to 0 which effectively applies no min/max to uploaded
      files. Set MinFileSize to 11 to defeat the recent penetration testing seen
      uploading 10 byte files with random filenames (8 alpha cars ending in ".txt")
      with 8 alpha chars in the file, followed by a CRLF pair for a total size of 10
      bytes.
      Fixed bug whereby failed/aborted uploaded files would be left (not deleted).
      Log errors when any file deletion fails in the FTP server.
      2bbc8f50
    • rswindell's avatar
      Fix cosmetic error introduced in previous commit: use the correct attribute · 892b9083
      rswindell authored
      code for the size/credit value.
      892b9083
    • rswindell's avatar
      When listing files in a file area (directory) configured as "FREE" (no cost to · fe36e759
      rswindell authored
      downlaod), and the "check for file existence" option is enabled, then get the
      file size as well and display that instead of the credit value. This fixes the
      problem with files whose size has changed after they were uploaded or added
      to the filebase. Directories which are not free still displayed with each
      file's credit value (since that may not have any correlation with the file
      size).
      Display file sizes and credit values in a shorter more easy to read format
      with suffixes for gigabytes (G), megabytes (M), kilobytes (K), and bytes (B).
      Using an uppercase 'K' now to be more consistent with modern conventions
      for abbreviating Kilobytes/Kibibyte (1024 bytes).
      fe36e759
  5. Aug 17, 2015
  6. Aug 15, 2015
  7. Aug 14, 2015
  8. Aug 06, 2015
Loading