curl-users
Bug in curl lead to bug in curlftpfs
Date: Thu, 07 Feb 2008 21:18:02 +0300
Looking at the ftp server log (proftpd), I see that instead of my user
name curftpfs (by means of curl) sends each time different URL parts. For example:
========================CUT========================================
USER denis: Login successful.
proftpd[23500]: linux-mvs.local (192.168.0.2[192.168.0.2]) - Preparing to
chroot to directory '/var/ftp'
proftpd[23501]: linux-mvs.local (192.168.0.2[192.168.0.2]) - FTP session
opened.
proftpd[23500]: linux-mvs.local (192.168.0.2[192.168.0.2]) - FTP session
closed.
proftpd[23501]: linux-mvs.local (192.168.0.2[192.168.0.2]) - no such user
'....'
proftpd[23501]: linux-mvs.local (192.168.0.2[192.168.0.2]) - USER ....: no
such user found from 192.168.0.2 [192.168.0.2] to 192.168.0.254:21
proftpd[23501]: linux-mvs.local (192.168.0.2[192.168.0.2]) - FTP session
closed.
proftpd[23505]: linux-mvs.local (192.168.0.2[192.168.0.2]) - FTP session
opened.
proftpd[23505]: linux-mvs.local (192.168.0.2[192.168.0.2]) - USER denis:
Login successful.
proftpd[23505]: linux-mvs.local (192.168.0.2[192.168.0.2]) - Preparing to
chroot to directory '/var/ftp'
proftpd[23505]: linux-mvs.local (192.168.0.2[192.168.0.2]) - FTP session
closed.
proftpd[23541]: linux-mvs.local (192.168.0.2[192.168.0.2]) - FTP session
opened.
proftpd[23541]: linux-mvs.local (192.168.0.2[192.168.0.2]) - no such user
'rive_c/..'
proftpd[23541]: linux-mvs.local (192.168.0.2[192.168.0.2]) - USER
rive_c/..: no such user found from 192.168.0.2 [192.168.0.2] to
192.168.0.254:21
proftpd[23541]: linux-mvs.local (192.168.0.2[192.168.0.2]) - FTP session
closed.
proftpd[23542]: linux-mvs.local (192.168.0.2[192.168.0.2]) - FTP session
opened.
proftpd[23542]: linux-mvs.local (192.168.0.2[192.168.0.2]) - USER denis:
Login successful.
proftpd[23542]: linux-mvs.local (192.168.0.2[192.168.0.2]) - Preparing to
chroot to directory '/var/ftp'
proftpd[23542]: linux-mvs.local (192.168.0.2[192.168.0.2]) - FTP session
closed.
proftpd[23543]: linux-mvs.local (192.168.0.2[192.168.0.2]) - FTP session
opened.
proftpd[23543]: linux-mvs.local (192.168.0.2[192.168.0.2]) - no such user
'p. ......'
proftpd[23543]: linux-mvs.local (192.168.0.2[192.168.0.2]) - USER p.
......: no such user found from 192.168.0.2 [192.168.0.2] to
192.168.0.254:21
========================CUT========================================
Of course it gives access denied message almost every time I try to read
files from ftp.
Going back to curl 7.17.0 solves the problem. So it's new curl version
bug.
Received on 2008-02-07