Handling invalid port number from client
----------------------------------------
Key: FTPSERVER-341
URL: https://issues.apache.org/jira/browse/FTPSERVER-341
Project: FtpServer
Issue Type: Improvement
Components: Core
Affects Versions: 1.0.2
Environment: Windows XP, JDK 1.6.0_10, Intel Xeon processor
Reporter: Satish Kaveti
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.