FTP and Spacebridge


#1

Is there a strategy to use spacebridge to facilitate an FTP session with a device. Unfortunately my device only supports passive mode. Is there any way to dynamically open tunnels after a connection has been established?


#2

Hey @superpanda,

I am not sure if this is possible. Since passive FTP can choose random (unprivileged) ports for the data port for each session, there wouldn’t be a way to use that with SpaceBridge currently. The passive FTP standard doesn’t necessarily identify a session by the tuple (source_ip,source_port,dest_ip,dest_port), but by the random dest_port that was selected for just that session.

Best,
Maiky


#3

The way I was able to make this work was to have fixed list of ports the server can choose and use those with spacebridge.


#4

That’s very clever!

Thanks for following up.


#5

This topic was automatically closed after 30 days. New replies are no longer allowed.