proftpd dropping connections

Discussion about using NAS on Linux and Unix OS.

proftpd dropping connections

Postby EmBee » Tue Apr 05, 2011 10:34 pm

I'm having issues with proftpd dropping connections after a very short amount of time.

All timeout settings in the configuration file and the router have been modified to prevent this from happening. For large files, the data connection stays alive, but the control connection dies after x minutes. After the data file finishes, the client just sits there not knowing what to do because it doesn't receive the proper response from proftpd on the control connection indicating that the transfer has completed.

I am being forced to perform PASV connections due to firewall restrictions on the server side.

Is this proftpd's fault, or is it the ISP's fault? How can I find out?

Thanks.
EmBee
New here
 
Posts: 2
Joined: Tue Apr 05, 2011 10:26 pm
NAS Model: TS-639U

Re: proftpd dropping connections

Postby schumaku » Wed Apr 06, 2011 12:21 am

If I understand you correc,t the ftp-control session is dropped, while the ftp-data connection remains transfering data?

Any router doing ftp-ALG in between? Be aware that many simple NAT routers are dropping the oldest sessions if the NAT pool or connection table is exhausted due to intensive traffic for example. What router is in place?

What says the cliente, i.e. FileZilla?

Plain ftp, or ftps/ftpes ? If it's ftpes, please check viewtopic.php?f=182&t=41148

What file sizes are in transfer?

If plain text ftp, capture the ftp-control and ftp-data traffic on the ftp client, on the NAS side, or if feasible on the security appliance...
User avatar
schumaku
Guru
 
Posts: 22155
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro


Return to Linux & Unix (NFS)

Who is online

Users browsing this forum: No registered users and 1 guest