|
|
Why are FTP downloads from my NetMAX being corrupted? |
| Applies to: NetMAX version 3.1p1 and 3.1p2
address-suppressed | |
|
If you are running L22Pv31p1 or L22Pv31p2, then you are running ProFTPD version 1.2.0. There is a bug in ProFTPD where sendfile() semantics are incorrect under Linux, and may result in data corruption if the sendfile() syscall is interrupted. This is more likely to happen the longer the file transfer takes.
This problem is resolved in ProFTPD 1.2.2rc2. To upgrade your ProFTPD daemon to the current version, download the 1.2.2rc2 or later tarball from ProFTPD's web site. Normally you will then need to ungzip, untar, and compile the program and replace your proftpd binary with the one you just compiled. A typical session would go like this (logged in as root):
gzip -d proftpd-1.2.2rc2.tar.gz tar -xvf .tar cd proftpd-1.2.2rc2 ./configure --prefix=/usr/netmax --datadir=/var/conf/proftpd --sysconfdir=/var/conf/proftpd --sharedstatedir=/var/conf --localstatedir=/var/conf --with-modules=mod_l inuxprivs:mod_quota:mod_ratio:mod_ldap --with-includes=/usr/netmax/include --with-libraries=/usr/netmax/lib make cp /usr/netmax/sbin/proftpd /usr/netmax/sbin/proftpd.old cp -f proftpd /usr/netmax/sbin/
|
| Previous: |
|
| Next: |
|
| ||||||||