[ https://issues.apache.org/jira/browse/FTPSERVER-341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson updated FTPSERVER-341: ---------------------------------------- Affects Version/s: 1.0.0 1.0.1 1.0.3 Fix Version/s: 1.1.0 1.0.4 Assignee: Niklas Gustavsson > 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.0, 1.0.1, 1.0.2, 1.0.3 > Environment: Windows XP, JDK 1.6.0_10, Intel Xeon processor > Reporter: Satish Kaveti > Assignee: Niklas Gustavsson > Fix For: 1.0.4, 1.1.0 > > > 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.