Bug 958 - Portrange for active mode.

Advertisement

Progs
Guest

Bug 958 - Portrange for active mode.

I'm refering to this Bug: https://winscp.net/tracker/show_bug.cgi?id=958

As stated in the documentation the Client is listening on a random port for data:

In the active mode, the client starts listening on a random port for incoming data connections from the server (the client sends the FTP command PORT to inform the server on which port it is listening). Nowadays, it is typical that the client is behind a firewall (e.g. built-in Windows firewall) or NAT router (e.g. ADSL modem), unable to accept incoming TCP connections

In some situations a Network Administrator is blocking most ports for security reasons and only open a few ports for data connection. It would be great to have an Option to Limit the portrange.

Im thinking about and Option like activePortRagenMin and activePortRangeMax. There a user could enter a range for example from 10000 to 11000. With that Option the winscp Client could choose the random port from this range and inform the Server with the PORT-Command.

So there would be no Problem with blocked ports anymore. FileZilla has a similar Option:
https://wiki.filezilla-project.org/Network_Configuration#Active_mode

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Bug 958 - Portrange for active mode.

Why do you want to use the active mode at all?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

OK, I'll consider this. Though, I must say that it does not have a high priority. Active mode should not be used in general.

Reply with quote

Advertisement

You can post new topics in this forum