This is correct, the feature is currently not supported.
I will consider it for a future update.
Andreas
On Mon, Jan 30, 2012 at 23:16, David Vasseur <dvas...@excelcio.com> wrote:
> The AUTH TLS command is not recognised and when issued the server is
> closing the connection.
>
> --
> You received this message because you are subscribed to the Google Groups "AndreasLiebig" group.
> To post to this group, send email to andreasl...@googlegroups.com.
> To unsubscribe from this group, send email to andreasliebiga...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/andreasliebigapps?hl=en.
>
Andreas
Same here: I can no longer connect using "nautilus" or "lftp" (but there is a workaround for lftp). I don't think, AUTH TLS is the main problem! I did some tests: 1. lftp with default settings: $ lftp -d ftp://tarantoga@galaxy:2121/ ---- Connecting to galaxy (192.168.108.105) port 2121 <--- 220 aFTPServer ready (cwd is /) ---> FEAT <--- 530 - NOT Logged In ---> AUTH TLS **** control-socket: Connection reset by peer 2.lftp without AUTH ("set ftp:ssl-allow off" in ~/.lftp/rc): $ lftp -d ftp://tarantoga@galaxy:2121/ ---- Connecting to galaxy (192.168.108.105) port 2121 <--- 220 aFTPServer ready (cwd is /) ---> FEAT <--- 530 - NOT Logged In ---> USER tarantoga **** control-socket: Connection reset by peer 3. lftp without FEAT ("set ftp:use-feat off" in ~/.lftp/rc): $ lftp -d ftp://tarantoga@galaxy:2121/ ---- Connecting to galaxy (192.168.108.105) port 2121 <--- 220 aFTPServer ready (cwd is /) ---> AUTH TLS <--- 530 - NOT Logged In ---> USER tarantoga **** Peer closed connection 4. lftp without AUTH and FEAT: $ lftp -d ftp://tarantoga@galaxy:2121/ ---- Connecting to galaxy (192.168.108.105) port 2121 <--- 220 aFTPServer ready (cwd is /) ---> USER tarantoga <--- 331 - Login as tarantoga OK. Send password ---> PASS XXXX <--- 230 - Password accepted ---> PWD <--- 257 "/" cd ok, cwd=/ OK, so lftp works by disabling AUTH and FEAT, but have a look at 1., 2. and 3.: lftp sends a command that FTPServer does not understand and the answer is always "530 - NOT Logged In" (IMHO that is not the correct response). After the next command FTPServer always closes the connection, even if valid! I did another test this time with netcat: $ nc galaxy 2121 220 aFTPServer ready (cwd is /) FEAT 530 - NOT Logged In $ $ nc galaxy 2121 220 aFTPServer ready (cwd is /) BADCOMMAND 530 - NOT Logged In $ $ nc galaxy 2121 220 aFTPServer ready (cwd is /) PWD 530 - NOT Logged In $ This shows: if the first command is not USER, FTPServer throws a 530 and FTPServer closes the connection (which it should not!); the next command will never reach FTPServer. Closing the connection takes some time and the client is able to send another command like AUTH or USER while FTPServer closes the connection; it looks like AUTH/USER/etc. is the problem, but it's not. I also tried unrecognized commands after login: then I get a 500 without closing the connection (this is the expected behavior). Conclusion: FTPServer should not close the connection, if the client sends commands before login. This must be a regression: I sync my music files using lftp and FTPServer quite often and this always worked without problems. Only recently it stopped working, so this behavior is new (last update?) tarantoga | |
| |
--
You received this message because you are subscribed to the Google Groups "AndreasLiebig" group.
To view this discussion on the web visit https://groups.google.com/d/msg/andreasliebigapps/-/g8ix3NlSlVUJ.
Sorry for the inconvenience.
Future versions will distinguish between commands that are allowed
without logging in and those that need a prior log in.
Andreas
> --
> You received this message because you are subscribed to the Google Groups
> "AndreasLiebig" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/andreasliebigapps/-/tY4Ku1g2Ur0J.
> --
> You received this message because you are subscribed to the Google Groups
> "AndreasLiebig" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/andreasliebigapps/-/05SsMLgpltMJ.