• src/sbbs3/ftpsrvr.c ftpsrvr.h sbbs_ini.c

    From rswindell@VERT to CVS commit on Monday, August 17, 2015 19:16:25
    src/sbbs3 ftpsrvr.c 1.409 1.410 ftpsrvr.h 1.50 1.51 sbbs_ini.c 1.145 1.146 Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv16321

    Modified Files:
    ftpsrvr.c ftpsrvr.h sbbs_ini.c
    Log Message:
    Implement minimum and maximum file sizes allowed for upload, configurable via 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.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, December 29, 2020 23:10:06
    https://gitlab.synchro.net/main/sbbs/-/commit/8b2b02e1c4fb9e807fc592fd
    Modified Files:
    src/sbbs3/ftpsrvr.c ftpsrvr.h sbbs_ini.c
    Log Message:
    Implement max concurrent connections for FTP

    Support optional limit on concurrent connections from the same IP address to the FTP server by setting MaxConcurrentConnections in the [ftp] section of sbbs.ini. Unlike the mail server and the terminal server, this concurrent-connection count is not discounted by the number of authenticated logins. The default value is 0 (unlimited).

    This closes issue #156

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net