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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 2.4
    • 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

              Unassigned Unassigned
              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