Hello there,
I am the happy user of the OMV, currently running version 3.0.89. HTTP, FTP, VirtualBox, Subsonic, Plex and SSL are running, and have been working without issue. Box was last restarted a month ago. No firewall rules specified on OMV.
But this morning I had to connect via FTP and it failed, which hasnt been an issue before.
FTP is set to run in passive mode and with a masqurade address specified. SSL/TLS with LetsEncrypt is enabled, as well "Clients to use FTP over TLS". Required ports have been specified in the router (Asus RT-AC68U).
No user configuration has been made OMV since it last worked. Only OMV patches have been installed.
I have tried to disble the different plugins to see if they were interferring. No difference.
FTP changed to standard mode - non passive. No difference.
FTP SSL/TLS disabled. No difference.
OMV rebooted. No difference.
Router rebootet. No difference.
Tried to connect via both internal and external IP. No difference.
FileZilla not set to time out.
I have checked the logs in /var/logs/proftpd but havent found anytying which have pointed me in the right direction.
The client - FileZilla - terminates with following message:
08:54:25 Error: Directory listing aborted by user
08:54:25 Status: Disconnected from server
08:54:25 Status: Resolving address of xxx.asuscomm.com
08:54:25 Status: Connecting to xxx.xxx.xxx.xxx:21...
08:54:25 Status: Connection established, waiting for welcome message...
08:54:25 Status: Initializing TLS...
08:54:25 Status: Verifying certificate...
08:54:25 Status: TLS connection established.
08:54:25 Status: Logged in
08:54:25 Status: Retrieving directory listing...
08:54:46 Command: PWD
08:54:46 Response: 257 "/" is the current directory
08:54:46 Command: TYPE I
08:54:46 Response: 200 Type set to I
08:54:46 Command: PASV
08:54:46 Response: 227 Entering Passive Mode (5,186,209,204,199,137).
08:54:46 Command: MLSD
08:54:46 Error: The data connection could not be established: ETIMEDOUT - Connection attempt timed out
Does anyone have an idea of what it can be - or what log files I should luck at?
I have the feeling, that it is a patch which has broken something - but of course, I might be very wrong.
Many thanks and regards Kjeld
FTP configuration (shares and IP have been removed):
Include /etc/proftpd/modules.conf
LoadModule mod_vroot.c
UseIPv6 on
ServerName "openmediavault"
ServerType standalone
DeferWelcome on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
DisplayChdir .message true
ListOptions "-l"
MaxInstances 30
DenyFilter \*.*/
User proftpd
Group nogroup
Umask 000 000
PersistentPasswd off
TimesGMT off
AllowOverwrite on
AuthOrder mod_auth_pam.c* mod_auth_unix.c
DefaultTransferMode ascii
#SystemLog /var/log/proftpd/proftpd.log
<IfModule mod_facl.c>
FACLEngine on
</IfModule>
<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>
<IfModule mod_ratio.c>
Ratios off
</IfModule>
<IfModule mod_delay.c>
DelayEngine on
</IfModule>
<IfModule mod_ctrls.c>
ControlsEngine on
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>
<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>
<IfModule mod_vroot.c>
VRootEngine on
VRootLog /var/log/proftpd/vroot.log
</IfModule>
Include /etc/proftpd/tls.conf
Port 21
TransferLog /var/log/proftpd/xferlog
IdentLookups off
UseReverseDNS off
TimeoutIdle 0
TimeoutNoTransfer 600
TimeoutStalled 600
PassivePorts yyyyy yyyyy
MasqueradeAddress xxx.xxx.xxx.xxx
DeleteAbortedStores off
MaxConnectionsPerHost 5
<Directory />
HideFiles (welcome.msg)
</Directory>
<IfModule mod_auth.c>
DefaultRoot /srv/ftp
MaxClients 5
MaxLoginAttempts 1
RequireValidShell on
# This option is useless because this is handled via the PAM
# pam_listfile.so module, so set it to 'off' by default.
UseFtpUsers off
</IfModule>
<IfModule mod_auth_pam.c>
AuthPAM on
AuthPAMConfig proftpd
</IfModule>
<IfModule mod_ban.c>
BanEngine off
BanControlsACLs all allow user root
BanLog /var/log/proftpd/ban.log
BanMessage Host %a has been banned
BanTable /var/run/proftpd/ban.tab
</IfModule>
DisplayLogin /srv/ftp/welcome.msg
<IfModule mod_wrap.c>
TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
TCPAccessSyslogLevels info warn
TCPServiceName ftpd
</IfModule>
root@openNAS:~#