Commons Net
  1. Commons Net
  2. NET-480

Wrong passivHost when using FTPHTTPClient with EPSV

    Details

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

      All Systems with ftp Access over http

      Description

      At the FTPHTTPClient Class in line 99 the Answer from the EPSV Command will parse to receive the Data port and the passiv Host.
      _parsePassiveModeReply(_replyLines.get(0))
      In this function the __passivHost is set to the remoteAddress, but this address is determine by "this._socket_.getInetAddress();" and the socket is the socket of the proxy Server and NOT of the ftp Server.

        Activity

        Sebb made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Sebb made changes -
        Affects Version/s 3.2 [ 12320140 ]
        Sebb made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.3 [ 12323751 ]
        Resolution Fixed [ 1 ]
        Sebb made changes -
        Summary Wrong passivHost by using FTPHTTPClient with EPSV Wrong passivHost when using FTPHTTPClient with EPSV
        Sebb made changes -
        Environment All Systems with ftp Access over ftp All Systems with ftp Access over http
        Peter Naber made changes -
        Attachment FTPSquidProxyClient.java [ 12544970 ]
        Sebb made changes -
        Field Original Value New Value
        Labels newbie
        Description At the FTPHTTPClient Class in line 99 the Answer from the EPSV Command will parse to receive the Data port and the passiv Host.
        _parsePassiveModeReply(_replyLines.get(0))
        In this function the __passivHost is set to the remoteAddress, but this address is determine by "this._socket_.getInetAddress();" and the socket is the socket of the proxy Server and NOT of the ftp Server.


        At the FTPHTTPClient Class in line 99 the Answer from the EPSV Command will parse to receive the Data port and the passiv Host.
        \_parsePassiveModeReply(\_replyLines.get(0))
        In this function the \_\_passivHost is set to the remoteAddress, but this address is determine by "this.\_socket\_.getInetAddress();" and the socket is the socket of the proxy Server and NOT of the ftp Server.


        Peter Naber created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Peter Naber
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development