Linux Support, Hosting & Security Hertfordshire

Sunday, 18 April 2010

Ubuntu Karmic|Lucid Pure-ftpd hangs when using TLS

Ubuntu Karmic (9.10) and Lucid (10.04) provide pure-ftpd version 1.0.22-1 and 1.0.24-1 by default. These versions of pureftp have a known issue with some FTP clients which cause the LIST command to stall/hang when using TLS. We noticed this with the OSX transmit and coda clients, but ubuntu bugs also shows users also having issues with the Cyberduck FTP client. See ubuntu bug #499854

Upgrading to version 1.0.28-2 resolves this issue. We used the pure-ftpd Debian sid packages successfully and without issue.

In our case we were using the 64bit pure-ftpd-mysql package, however this issue is also known to effect pure-ftpd-ldap

Steps outlined

  1. Remove current pure-ftpd install
  2. Install the required dependencies from ubuntu
  3. Upgrade the openssl package to the required version
  4. Download and install the Debian pure-ftpd packages

Example Commands for amd64 pure-ftpd-mysql packages

/etc/init.d/pure-ftpd-mysql stop
aptitude remove pure-ftpd-mysql
aptitude install libmysqlclient15off openbsd-inetd update-inetd
dpkg -i *.deb

Did this post help you? Thank us with bitcoin;

No comments:

Post a Comment