Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-507

Option to disable private IP replacement in FTP passive mode.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Component/s: FTP
    • Labels:
      None

      Description

      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.

        Attachments

        1. NETFTP.patch
          3 kB
          Jiri Netolicky

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              netolish Jiri Netolicky
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: