Hi there.
I'*ve set up the FTPD according to this thread here: http://phpbb.openmediavault.org/viewtopic.php?f=13&t=3205
So my setup looks like this:
- Basic FTPD configuration as stated above
- FTP service port changed from 21 to some high port through the WebGUI and added a matching port forwarding on the router (FritzBox)
- FTP service passive range setup in WebGUI and /etc/modprobe.d/options.conf (and edited /etc/modules accordingly)
- FTP service passive ports forwarded in router
- Added a <IfModule mod_facts.c> FactsAdvertise off </IfModule> in proftpd.conf to get FileZilla running correctly and use LIST/NLST instead of MLSD/MLST
It worked flawlessly and I could access it through the internet with Firefox (on Win7 + 8.1), FileZilla 3.7.1.1 (on Win7 + 8.1) and AndFTP (on Android smartphone) or the internal internet browser of a Blackberry smartphone. Even connecting from through internet with FileZilla through a proxy used to work fine.
After the latest update of ProFTPD (I think to version 1.3.4a-5+deb7u3) I can't access the FTP share anymore from the internet using FileZilla, Firefox or AndFTP. Only the internal Blackberry internet browser still works.
If I connect via FileZilla I get this debug output (see here the full log with more traces
Status: Connecting to xxxxx.no-ip.xxx:xxxxx through proxy
Status: Connecting to 192.xxx.xxx.xxx:3128...
Status: Connection with proxy established, performing handshake...
Response: Proxy reply: HTTP/1.1 200 Connection Established
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.4a Server ready.
Command: USER xxxxx
Response: 331 Password required for xxxxx
Command: PASS ********
Response: 230-xxxxx
Response: 230 User xxxxx logged in
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: MFMT
Response: TVFS
Response: UTF8
Response: MFF modify;UNIX.group;UNIX.mode;
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: SITE MKDIR
Response: SITE RMDIR
Response: SITE UTIME
Response: SITE SYMLINK
Response: REST STREAM
Response: LANG en-GB.UTF-8*
Response: SITE COPY
Response: SIZE
Response: 211 End
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (217,xxx,xxx,xxx,82,223).
Command: MLSD
Status: Connecting to 192.xxx.xxx.xxx:3128...
Status: Connection with proxy established, performing handshake...
Error: Connection timed out
Error: Failed to retrieve directory listing
Alles anzeigen
When trying to connect with Firefox I get a error message like this: 500 Unexpected PASV response.
AndFTP times out the same way as FileZilla does.
Stopping and re-enabling the service don't seem to have an impact on the behavior.
After reading through the FileZilla log I can see it advertises MLST - which looks a bit strange to me as I setup the proftpd.conf not to do so.
Does an update to the ftpd include changing config files back to "initial" values? Sadly I can't check the config file right now but I will do so if I get back to the machine later today. Also I will reset the user permissions for the share
My plans for checking later are:
- See if /etc/modprobe.d/options.conf and /etc/modules still have the correct settings for all ports
- See if proftpd.conf still holds the FactsAdvertise off setting
- Reset the user permissions of the FTP share
- Stop/re-enable the service and try connecting via https://ftptest.net/
Does any of you have more hints to get the service running normally again?