Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-660

expose workaround for connecting to FTP server from different subnets in PASV mode

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 2.4
    • Labels:
      None

      Description

      https://github.com/apache/commons-vfs/pull/35

       

      In PASV mode, the FTP server returns its server IP (eg. pasv_address in vsftpd.conf),
      when clients are from different subnets through NAT, they expect different server IP.

      This patch exposes the workaround in commons-ftp into commons-vfs:

      • use EPSV mode instead of PASV mode, EPSV mode returns only server port
      • use PASV mode but overwrite the returned server IP with HostnameResolver

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                liuyb@yahoo-inc.com Yubao Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m