Skip to content

PRT and EPRT don't respect the configured proxy #1560

@TSRBerry

Description

@TSRBerry

FTP Server OS: Linux

FTP Server Type: Vsftpd

Client Computer OS: Arch Linux

FluentFTP Version: 49.0.2

Framework: .NET 8

Currently when you try to transfer files in active mode using FtpClientSocks5Proxy the client doesn't send a BIND request to the proxy server and instead listens on a random port on the client (as it should when no proxy is involved).

However when a SOCKS5 proxy is configured the client should send a request to the proxy server to open a port which could then be used for the data connection. Without this step the server tries to establish the data connection with the client directly, which might not be possible (the client could only be reachable over the proxy).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions