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

Handling invalid port number from client

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.0.1, 1.0.2, 1.0.3
    • 1.0.4, 1.1.0
    • Core
    • None
    • Windows XP, JDK 1.6.0_10, Intel Xeon processor

    Description

      Some FTP clients occasionally sends a invalid PORT number (PORT 0,0,0,0,0,0) (Tested with Python Ftplib and Windows WinInet API). The FtpServer server accepts the port number and starts processing the following STOR command. It sends 150 response. But during the call to openConnection inside STOR.execute( ) an exception is caught and the server responds with code 425. It is causing the FTP client to hang. It will perhaps be bettter if the server detects invalid port number and reject the STOR request with response 451.

      Attachments

        Activity

          People

            niklas Niklas Therning
            skaveti Satish Kaveti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: