-
Notifications
You must be signed in to change notification settings - Fork 4
AUTH TLS negotiation fails when using a ServerSocket #10
Comments
@charonn0 |
We'll probably have to wait for Xojo to either fix the ServerSocket/SSLSocket (or explain what we're doing wrong). In the meantime we can still work on getting AUTH TLS working in FTP.Server. Right now the stumbling block is the |
Like what i was posted on the xojo forum, looks like this log below is self explanatory :
CONNECT is from FTP Client request while SYSTEM or REPLY is from the FTP Server, as you can see after "PROT P" , FTP Client then requesting PASV (Encrypted on port 21) and then connection changed to PASV as requested by the Client and then Client renegotiating into configured PASV Port after the STOR (send from the client to server in plaintext?) . Looks like we only need port 21 TLS negotiation in between AUTH TLS command and PASV command, after that we can set back ServerSocket.Secure into False on port 21?. It seems most of the works being done on PASV a.k.a Passive ports. Looks like if i am using ftprush with only LIST -a command (not MLSD) it works fine?, managed to List all of the folders and files but with MLSD on FlashFXP always failed because of something wrong with PASV implementation and MLSD after PASV and AUTH TLS. |
The AUTH verb allows the client to initiate SSL/TLS negotiation on an existing clear-text socket.
However, when the FTP.Server class is used with a ServerSocket, the negotiation fails and clients report unexpected/illegal negotiation packets.
FileZilla:
FTPRush:
FlashFXP:
The text was updated successfully, but these errors were encountered: