FTP server MLSD timeout

Please post questions and issues pertaining to share access and file permission here.

Re: FTP server MLSD timeout

Postby Esseci » Wed Jun 06, 2012 12:29 am

Do you have jumbo frames turned on?
Jumbo frames on my network card is turned off.

Also, does your PC server have a folder of similar size?
In the Pc Ftp server I shared the folder on the NAS.

The problem is also visible when I download one file from the server:
- From the Nas FTP the download stops and resumes continuously
- From PC Client it goes straight
Esseci
ReadyNAS Newbie
 
Posts: 12
Joined: Thu May 31, 2012 12:08 am
ReadyNAS: Duo

Re: FTP server MLSD timeout

Postby StephenB » Wed Jun 06, 2012 7:55 am

Esseci wrote:Do you have jumbo frames turned on?
Jumbo frames on my network card is turned off.
Also off on the NAS?
User avatar
StephenB
Incurable ReadyNAS Junkie
 
Posts: 5031
Joined: Mon Oct 05, 2009 5:08 pm
ReadyNAS: Pro

Re: FTP server MLSD timeout

Postby Esseci » Thu Jun 07, 2012 2:01 am

Also off on the NAS?
How do I check it on the NAS ?
Esseci
ReadyNAS Newbie
 
Posts: 12
Joined: Thu May 31, 2012 12:08 am
ReadyNAS: Duo

Re: FTP server MLSD timeout

Postby StephenB » Thu Jun 07, 2012 2:46 am

On a Duo V1 (4.1.x firmware), Frontview's network / interfaces configuration includes the MTU. Right underneath is "performance settings" which has a check-box for jumbo frames.

What firmware are you running?
User avatar
StephenB
Incurable ReadyNAS Junkie
 
Posts: 5031
Joined: Mon Oct 05, 2009 5:08 pm
ReadyNAS: Pro

Re: FTP server MLSD timeout

Postby Esseci » Thu Jun 07, 2012 10:02 am

I updated the firmware to the last one 4.1.8.
Esseci
ReadyNAS Newbie
 
Posts: 12
Joined: Thu May 31, 2012 12:08 am
ReadyNAS: Duo

Re: FTP server MLSD timeout

Postby StephenB » Fri Jun 08, 2012 12:43 am

Esseci wrote:I updated the firmware to the last one 4.1.8.
Ok. So you have a V1 platform. The jumbo frame configuration is as described above.
User avatar
StephenB
Incurable ReadyNAS Junkie
 
Posts: 5031
Joined: Mon Oct 05, 2009 5:08 pm
ReadyNAS: Pro

Re: FTP server MLSD timeout

Postby Esseci » Mon Jun 11, 2012 7:37 am

I checked the Jumbo Frame check-box and it was turned off.
It doen't work either with that flag turned on or tuned off.
Another usefull information about the problem:
I forwarded the 443 port of the NAS on the router to logon from outside. When I enter the public address the browser ask me for the Nas password but then it stops responding.
Nearly nothing gets out of the Nas (FTP and Https).
Esseci
ReadyNAS Newbie
 
Posts: 12
Joined: Thu May 31, 2012 12:08 am
ReadyNAS: Duo

Re: FTP server MLSD timeout

Postby StephenB » Mon Jun 11, 2012 8:01 am

It might be worth setting up an alternative https port on the NAS, and try forwarding that in the router instead. I am thinking that the router itself might allow external management over port 443, so there could be some special handling of that port in the router.

Is your router using PPPoE ADSL? If so, you may need to reduce the MTU size configured in the NAS.
User avatar
StephenB
Incurable ReadyNAS Junkie
 
Posts: 5031
Joined: Mon Oct 05, 2009 5:08 pm
ReadyNAS: Pro

Re: FTP server MLSD timeout

Postby Esseci » Mon Jun 11, 2012 8:57 am

I set up the alternative port 4443 and I forwarded: the same.
The NAS page finally arrives to the browser but several minutes later.
The router is that one the Telecom (an italian provider) gives to the clients (it's not configurable).
How much do I have to reduce the MTU size?
Esseci
ReadyNAS Newbie
 
Posts: 12
Joined: Thu May 31, 2012 12:08 am
ReadyNAS: Duo

Re: FTP server MLSD timeout

Postby StephenB » Mon Jun 11, 2012 9:13 am

Esseci wrote:I set up the alternative port 4443 and I forwarded: the same.
The NAS page finally arrives to the browser but several minutes later.
The router is that one the Telecom (an italian provider) gives to the clients (it's not configurable).
How much do I have to reduce the MTU size?
Maybe start with 1454, and see if there is any improvement.

If your router responds to ping (over the internet), you can measure the MTU using the procedure here: http://muzso.hu/2009/05/17/how-to-deter ... icmp-pings.
User avatar
StephenB
Incurable ReadyNAS Junkie
 
Posts: 5031
Joined: Mon Oct 05, 2009 5:08 pm
ReadyNAS: Pro

Re: FTP server MLSD timeout

Postby Esseci » Mon Jun 11, 2012 9:47 am

Ii found the best MTU with your hint, but the result is the same.
Next days I'm going to change the router to a Netgear one.
I'll inform you about it
Esseci
ReadyNAS Newbie
 
Posts: 12
Joined: Thu May 31, 2012 12:08 am
ReadyNAS: Duo

Re: FTP server MLSD timeout

Postby Esseci » Thu Jun 14, 2012 12:13 am

Router changed to NETGEAR DGNB1100.
The same !
Esseci
ReadyNAS Newbie
 
Posts: 12
Joined: Thu May 31, 2012 12:08 am
ReadyNAS: Duo

Re: FTP server MLSD timeout

Postby StephenB » Thu Jun 14, 2012 4:32 am

Have you tried using active mode?
User avatar
StephenB
Incurable ReadyNAS Junkie
 
Posts: 5031
Joined: Mon Oct 05, 2009 5:08 pm
ReadyNAS: Pro

Re: FTP server MLSD timeout

Postby Esseci » Mon Jun 18, 2012 3:33 am

In active mode it stops at first MLSD:
Stato: Risoluzione dell'indirizzo IP xxxxxxxxxxxxxxxxxxxxx in corso
Stato: Connessione a xxxxxxxxxxxxxxxxx:40...
Stato: Connessione stabilita, in attesa del messaggio di benvenuto...
Risposta: 220 ProFTPD 1.3.3c Server (NETGEAR ReadyNAS) [xx.xx.xx.xx]
Comando: USER xxxxxxx
Risposta: 331 Password required for xxxxxxx
Comando: PASS **********
Risposta: 230 User xxxxx logged in
Comando: SYST
Risposta: 215 UNIX Type: L8
Comando: FEAT
Risposta: 211-Features:
Risposta: MDTM
Risposta: MFMT
Risposta: TVFS
Risposta: UTF8
Risposta: AUTH TLS
Risposta: MFF modify;UNIX.group;UNIX.mode;
Risposta: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Risposta: LANG en-US*
Risposta: PBSZ
Risposta: PROT
Risposta: SITE MKDIR
Risposta: SITE RMDIR
Risposta: SITE UTIME
Risposta: SITE SYMLINK
Risposta: REST STREAM
Risposta: SIZE
Risposta: 211 End
Comando: OPTS UTF8 ON
Risposta: 200 UTF8 set to on
Stato: Connesso
Stato: Lettura elenco cartelle...
Comando: PWD
Risposta: 257 "/" is the current directory
Comando: TYPE I
Risposta: 200 Type set to I
Comando: PORT 192,168,10,12,19,138
Risposta: 200 PORT command successful
Comando: MLSD
Errore: Tempo scaduto per la connessione
Errore: Non è stato possibile leggere il contenuto della cartella
Esseci
ReadyNAS Newbie
 
Posts: 12
Joined: Thu May 31, 2012 12:08 am
ReadyNAS: Duo

Re: FTP server MLSD timeout

Postby pugilares » Sun Jun 24, 2012 1:25 pm

So in case of mine I get GnuTLS error 53 right after the _second_ MLSD command within the FTPS session.
I use Windows XP SP3 and Filezilla 3.5.3 client. I tried many tricks already but still without success.
Filezilla utilises passive mode explicit TLS in this case.
Data port range set on ReadyNAS, masquerade set also. DMZ set on the server side NAT to ReadyNAS host IP.
I have also turned OFF Application Layer Gateway service on the client machine. Filezilla and fzsftp added to exceptions in Windows Firewall.

Still GnuTLS error 53 after second MLSD :-(
pugilares
Advanced ReadyNAS User
 
Posts: 124
Joined: Tue May 29, 2012 6:09 am
ReadyNAS: Duo

PreviousNext

Return to Share Access and File Permission



Who is online

Users browsing this forum: No registered users and 5 guests