mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Latorre (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FTPSERVER-300) Create an extensible getPassiveExternalAddress() method in PASV command so ftp integrators can define additional ways to obtain their 'external passive address'.
Date Thu, 14 May 2009 15:46:45 GMT

     [ https://issues.apache.org/jira/browse/FTPSERVER-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Latorre resolved FTPSERVER-300.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.2

Are you ok with this, Niklas? We are exporting FtpIoSession but FtpSession doesn't have access
to the Listener information... would that cause any trouble in the case of OSGI? Sorry,  I
didn't think about that possibility until I had already committed.

>  Create an extensible getPassiveExternalAddress() method in PASV command so ftp integrators
can define additional ways to obtain their 'external passive address'.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-300
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-300
>             Project: FtpServer
>          Issue Type: Improvement
>            Reporter: David Latorre
>            Assignee: David Latorre
>             Fix For: 1.0.2
>
>
> PASV command will return the server's ip address and a port number  to the client in
order for this to initiate a new data connection.
> In the case we are behind a NAT proxy,  we need to figure out what  is the IP address
the client is actually connecting to. For this, ftpserver provides a configuration option
to establish the IP address which will be  returned after a PASV command is sent.
> This method will work in a number of cases but it is not enough in several others , e.g.,
if the server has a dynamic ip or if different users see different ips for the same machine
( which can   be the case, it is my case actually) .
> So we might add a protected method getExternalPassiveAddress() in PASV command implementation
so the external ip guessing can be customized as needed by extenders. Otherwise, the whole
Passive method should be re-implemented.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message