ProFTPD terminating because of TLS and User Disconnect

andrwhmmr

Dabbler
Joined
Oct 8, 2017
Messages
13
Hi,

Version:
TrueNAS-12.0-U8
ProFTPD Version 1.3.6b

I have several IP Cams that upload their images and videos via FTP, some of them support SFTP.
The "cheapish" Cams (Reolink) have the habit of just disconnecting. The Log gets flooded with:
Code:
notice: user reolink: aborting transfer: Data connection closed


But it usually works just fine. Until I enabled SFTP with some of the cams and configured ProFTPD to enable TLS.
Now it crashes regularly with:
Code:
Feb 15 12:10:57 truenas proftpd[75500]: 127.0.0.1 - -----BEGIN STACK TRACE-----
Feb 15 12:10:57 truenas proftpd[75500]: 127.0.0.1 - [0] 0x800435c2e <_pthread_sigmask+0x53e> at /lib/libthr.so.3
Feb 15 12:10:57 truenas proftpd[75500]: 127.0.0.1 - -----END STACK TRACE-----
Feb 15 12:10:57 truenas proftpd[75500]: 127.0.0.1 - ProFTPD terminating (signal 11)
Feb 15 12:10:57 truenas proftpd[75500]: 127.0.0.1 - ProFTPD 1.3.6b standalone mode SHUTDOWN


Can somebody advise on this topic?

Thanks!
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Hi,

Version:
TrueNAS-12.0-U8
ProFTPD Version 1.3.6b

I have several IP Cams that upload their images and videos via FTP, some of them support SFTP.
The "cheapish" Cams (Reolink) have the habit of just disconnecting. The Log gets flooded with:
Code:
notice: user reolink: aborting transfer: Data connection closed


But it usually works just fine. Until I enabled SFTP with some of the cams and configured ProFTPD to enable TLS.
Now it crashes regularly with:
Code:
Feb 15 12:10:57 truenas proftpd[75500]: 127.0.0.1 - -----BEGIN STACK TRACE-----
Feb 15 12:10:57 truenas proftpd[75500]: 127.0.0.1 - [0] 0x800435c2e <_pthread_sigmask+0x53e> at /lib/libthr.so.3
Feb 15 12:10:57 truenas proftpd[75500]: 127.0.0.1 - -----END STACK TRACE-----
Feb 15 12:10:57 truenas proftpd[75500]: 127.0.0.1 - ProFTPD terminating (signal 11)
Feb 15 12:10:57 truenas proftpd[75500]: 127.0.0.1 - ProFTPD 1.3.6b standalone mode SHUTDOWN


Can somebody advise on this topic?

Thanks!
Can you file a jira ticket, and attach the corefile from proftpd?
 
Top