You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am continuing the evaluation of sftpgo for replacing an internal FTP server.
I have identified one of the blocking issues for that: the server to be replaced has a wide port range in which specific ports are NOT to be used. Eg: range is 2000-2020, but 2010 and 2012 cannot be used.
This is an ugly legacy for which there's no easy fix for logistic reasons (multiple 3rd party firewall configurations would be involved, which makes it unfeasible)
if the behavior with "busy" ports is like that, I'd rather occupy the ports inside the range that cannot be used. Thanks a lot for such answer, please disregard this feature request.
Is your feature request related to a problem? Please describe.
I am continuing the evaluation of sftpgo for replacing an internal FTP server.
I have identified one of the blocking issues for that: the server to be replaced has a wide port range in which specific ports are NOT to be used. Eg: range is 2000-2020, but 2010 and 2012 cannot be used.
This is an ugly legacy for which there's no easy fix for logistic reasons (multiple 3rd party firewall configurations would be involved, which makes it unfeasible)
Describe the solution you'd like
currently we have
it would be great to have either of these:
Minimal change, but not very flexible:
or (a little more flexible):
or (way more flexible but complex to implement and maintain probably):
Describe alternatives you've considered
I have been looking at the code and I believe that if I set 2000-2020 as port range, AND have another server listening on 2010 and 2012, then ftpserver lib will retry if the "port to be used" from the range is not usable:
https://github.com/fclairamb/ftpserverlib/blob/72f801a813ed2267c242f1bb6786d0c1287f746d/transfer_pasv.go#L108
However I am not 100% sure this is safe to proceed (could someone confirm?), and it's a little ugly anyway.
What are you using SFTPGo for?
Professional user, 1 person business
Additional context
This feature request just allows better handling of legacy cases with more flexibility on passive port assignment.
The text was updated successfully, but these errors were encountered: