Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-364

Incorrect behavior when max logins limit is reached

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0.4
    • 1.0.0-M1, 1.1.2
    • Core
    • None

    Description

      When max logins limit is reached, the server currently behaves as below:

      Accepts connections from new clients and keeps them open
      Let's the new clients issue some commands (like I can go ahead and issue as many invalid commands as I want)
      When the client sends a valid USER command with username argument, the server then figures out that it has reached the max limit.

      I think t would probably makes sense to change the behavior as follows:

      When a new client comes in, check if we reached the cap, and if so, send 421 message right away, instead of sending a 2xxx reply.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            psai Sai Pullabhotla

            Dates

              Created:
              Updated:

              Issue deployment