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

Incorrect behavior when max logins limit is reached

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0.4
    • 1.0.0-M1, 1.1.5
    • 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

          People

            Unassigned Unassigned
            psai Sai Pullabhotla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: