You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-dev@incubator.apache.org by "Niklas Gustavsson (JIRA)" <ji...@apache.org> on 2006/11/28 21:53:24 UTC

[jira] Closed: (FTPSERVER-51) PASV command returns the wrong IP address when multiple interfaces are available.

     [ http://issues.apache.org/jira/browse/FTPSERVER-51?page=all ]

Niklas Gustavsson closed FTPSERVER-51.
--------------------------------------

    Resolution: Fixed
      Assignee: Niklas Gustavsson

Thanks, patch applied (rev 480226). I also added a test case to reproduce the bug.

> PASV command returns the wrong IP address when multiple interfaces are available.
> ---------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-51
>                 URL: http://issues.apache.org/jira/browse/FTPSERVER-51
>             Project: FtpServer
>          Issue Type: Bug
>            Reporter: Joseph Ferner
>         Assigned To: Niklas Gustavsson
>         Attachments: fix.patch
>
>
> If the FTP server has multiple NIC interfaces and the "config.data-connection.passive.address" configuration parameter is not set the server will return the first IP address found on the server and not the IP address of the established communications.
> Setting "config.data-connection.passive.address" is not a good solution because then the FTP server cannot listen on multiple IP addresses.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira