News: This forum is now permanently frozen.
Pages: [1]
Topic: WarFTP  (Read 2349 times)
« on: January 02, 2008, 16:37:10 »
Strahan *
Posts: 19

Anyone using WarFTP and PASV behind m0n0?  I have setup my nat.conf for warftp as follows:

127.0.0.1         0   0      0
10.0.0.0/24          0   0      0
0/0            21   207.69.188.185   25000-25500

I setup a rule in mono that specifies a single host destination of 10.0.0.208 (ftp server internal) and port range of 25000-25500.  I can connect with PASV enabled, but it has a several second lag between it requesting data and receiving when browsing the directories.  I assume since it does eventually get the dir that the port config is working.  Here is a client connection log for example:

[R] Connected to Home - Websites
[R] 220 Server ready
[R] USER me
[R] 331 User name okay, need password.
[R] PASS (hidden)

** 25 seconds pass **

[R] 230 User strahan logged in
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 500 'FEAT': command not understood.
[R] REST 100
[R] 350 Restarting at byte offset 100. Send STORE or RETRIEVE to initiate transfer.
[R] REST 0
[R] 350 Restarting at byte offset 0. Send STORE or RETRIEVE to initiate transfer.
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] PASV
[R] 227 Entering Passive Mode (207,69,188,185,97,168)
[R] Opening data connection IP: 207.69.188.185 PORT: 25000
[R] LIST -al
[R] 125 Using existing ASCII mode data connection for /bin/ls (1050 bytes).
[R] 226 Transfer complete. 1050 bytes in 1.55 sec. (0.669 Kb/s)
[R] List Complete: 1,008 bytes in 1.91 second (0.5 KB/s)
[R] CWD golanth

** 25 seconds pass **

[R] 250 "/golanth": is current directory.
[R] PWD
[R] 257 "/golanth" is current directory.
[R] PASV
[R] 227 Entering Passive Mode (207,69,188,185,97,169)
[R] Opening data connection IP: 207.69.188.185 PORT: 25001
[R] LIST -al
[R] 125 Using existing ASCII mode data connection for /bin/ls (2180 bytes).
[R] 226 Transfer complete. 2180 bytes in 0.94 sec. (2.312 Kb/s)
[R] List Complete: 2 KB in 1.27 second (1.6 KB/s)

Any ideas why those long pauses are in there?
« Last Edit: January 02, 2008, 17:18:16 by Strahan »
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines