Menu

#43 CurlFtpFS with FTP-Proxy frox: curlftpfs 0.9 libcurl/7.15.5

open
None
5
2008-08-14
2008-08-13
schmidi2
No

Hello everybody

I am using CurlFtpFS to be able to mount my website locally. But for me the connection is too slow so I througth caching would be an improvement. Cause CurlFtpFS does not really support caching (or?) I decided to install an frox ftp-proxy locally.

But it doesn't work:

Command:
------
curlftpfs -v -o user="<user>:<passwd>",allow_other,uid=1002,gid=101,proxy=127.0.0.1:2121,proxy_user="anonymous@ftp.gnu.org" <srv> ~/myWeb
------

Output:
------
* Couldn't find host <srv> in the .netrc file, using defaults
* About to connect() to proxy 127.0.0.1 port 2121
* Trying 127.0.0.1... * connected
* Connected to 127.0.0.1 (127.0.0.1) port 2121
* Establish HTTP proxy tunnel to server-r006.hostpoint.ch:21
* Proxy auth using Basic with user 'anonymous@ftp.gnu.org'
* Server auth using Basic with user '<logindata>'
> CONNECT <srv>:21 HTTP/1.0
Host: <srv>:21
Proxy-Authorization: Basic YW5vbeltb3ezQGZ0cC5nbnUeb3JnOg==
Proxy-Connection: Keep-Alive

< 220 Frox transparent ftp proxy. Login with username[@host[:port]]
< 530 Please login with USER first
< 530 Please login with USER first
< 530 Please login with USER first
< 530 Please login with USER first
------
and hangs...

Frox does only support open login (or similar) without needing a user,password.

It seems that connecting to a open ftp-proxy isn't supported yet. Could that be the problem?

/etc/frox.conf
------
Listen 0.0.0.0
Port 2121
ResolvLoadHack wontresolve.doesntexist.abc
User proxy
Group proxy
WorkingDir /var/cache/frox
DontChroot Yes
PidFile /var/run/frox.pid
BounceDefend yes
CacheModule Local
CacheSize 1024 # in MB
CacheAll yes
StrictCaching yes
CacheOnFQDN yes
DoNTP yes
MaxForks 10
MaxForksPerHost 4
ACL Allow * - *
------

Discussion

  • schmidi2

    schmidi2 - 2008-08-13
    • summary: CurlFtpFS with FTP-Proxy frox --> CurlFtpFS with FTP-Proxy frox: curlftpfs 0.9 libcurl/7.15.5
     
  • schmidi2

    schmidi2 - 2008-08-14

    Logged In: YES
    user_id=1295467
    Originator: YES

    The problem also exists in the newest release of CurlFtpFS:
    curlftpfs 0.9.2 libcurl/7.15.5 fuse/2.5

    The output is still the same.

    Tests the ftp-proxy with FileZilla are successful, when configured to use a proxy of type "USER@HOST" with proxy host "<srv>:2121" and empty user and password.

    Is this really a bug or I am doing something wrong?

     
  • schmidi2

    schmidi2 - 2008-08-14
    • assigned_to: nobody --> braga
     

Log in to post a comment.