EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SimpleFTPSClient - how to specify client port

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#3743
Posted: 09/12/2007 03:15:50
by Tomas Mlcoch (Basic support level)
Joined: 02/22/2007
Posts: 5

Our customer has request to he can specify communication ports of FTPS client. Does exist any possibility in the SecureBlackBox to do it?
#3745
Posted: 09/12/2007 05:18:19
by Eugene Mayevski (EldoS Corp.)

What kind of port is the customer asking for? Is this the port or the port range for incoming Data channel connection or is it the port for outgoing Command channel?


Sincerely yours
Eugene Mayevski
#3746
Posted: 09/12/2007 06:49:05
by Tomas Mlcoch (Basic support level)
Joined: 02/22/2007
Posts: 5

He is asking for a range of ports for both channels: data channel and command channel
#3747
Posted: 09/12/2007 07:18:40
by Eugene Mayevski (EldoS Corp.)

Hmm. This can be complicated. Specifying one port is almost a trivial task to do, port range will require some logic that will attempt to bind the socket to the ports from the range until a free one is found. Added to ToDo list.


Sincerely yours
Eugene Mayevski
#3748
Posted: 09/12/2007 08:15:24
by Tomas Mlcoch (Basic support level)
Joined: 02/22/2007
Posts: 5

So in up to date version is not possible to specify even one port for data or communication channel. Am I right?
#3749
Posted: 09/12/2007 08:34:27
by Eugene Mayevski (EldoS Corp.)

No, because this makes very little sense and nobody asked for this.


Sincerely yours
Eugene Mayevski
#3750
Posted: 09/12/2007 09:49:57
by Josef Novak (Basic support level)
Joined: 08/30/2006
Posts: 47

I think it makes sense a lot. Consider a case when between the two sides there is a firewall blocking ports. If you can't specify ports for data channel, the FTP might not be able to transfer any data.
#3752
Posted: 09/12/2007 10:13:10
by Eugene Mayevski (EldoS Corp.)

This is a server administration problem. The server must be capable of processing requests of various clients in Passive mode. To do this, network admin must open the range of ports *for the server* and setup the firewall to forward connection requests to these ports. One can not expect the client to be capable of handling incoming connection requests for FTP DATA channel. In all cases, it's easier to tune-up one server rather than many clients.


Sincerely yours
Eugene Mayevski
#3755
Posted: 09/12/2007 10:44:44
by Josef Novak (Basic support level)
Joined: 08/30/2006
Posts: 47

Problem is not in passive mode. In this case client doesn't choose port. The port is chosen by server and client just uses it. Problem is in active mode, when client chooses port. Question is if SimpleFTPSClient can be configured from outside to choise specific port in active mode. Otherwise it is problem because the choice is out of control for programmer which uses SimpleFTPSClient.
#3756
Posted: 09/12/2007 11:00:09
by Eugene Mayevski (EldoS Corp.)

Do you mean that the client can't work in Passive mode for some reason?


Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.

Reply

Statistics

Topic viewed 5210 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!