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

Sebb resolved NET-507.
----------------------

       Resolution: Fixed
    Fix Version/s: 3.3

Thanks for the patch; applied with some additional docn.

URL: http://svn.apache.org/r1469044
Log:
NET-507 Option to disable private IP replacement in FTP passive mode.

Modified:
    commons/proper/net/trunk/src/changes/changes.xml
    
commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java
                
> Option to disable private IP replacement in FTP passive mode.
> -------------------------------------------------------------
>
>                 Key: NET-507
>                 URL: https://issues.apache.org/jira/browse/NET-507
>             Project: Commons Net
>          Issue Type: Improvement
>          Components: FTP
>    Affects Versions: 3.2
>            Reporter: Jiri Netolicky
>             Fix For: 3.3
>
>         Attachments: NETFTP.patch
>
>
> Method parsePassiveModeReply replaces returned private IP when remote IP is 
> from public range. But we have this situation. FTP client on internal 10.x 
> network and on the "gate" is FTP proxy. Connections is opened to original 
> public IP, but when switch to passive mode, FTP proxy replaces public IP 
> returned by FTP server by it's internal 10.x IP.
> Small patch leaves current functionality but provides the option to disable 
> IP replacement functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to