PDA

View Full Version : client disconnects after uploading with fxp


Eddy
01-28-2004, 8:49 PM
Hi guys,

Background Info:
Windows XP SP1
Bulletproof ftp server 2.15
behind router

First the server didnt worked so i opened port 21 at the router settings for the PC (10.0.0.9) where the server is running on.

People can acces my server, see the files, download and upload. but when someone (user C) tries to get another server (b)connected to my server (a) with FXP (http://www.bpftpserver.com/?page=faq&lang=en#Connection,internet.13)
it disconnects... this is what the server log says:

(000020) 29-1-2004 3:14:45 - guest (82.38.57.191) > logged in.
(000020) 29-1-2004 3:14:45 - guest (82.38.57.191) > 230 User guest logged in.
(000020) 29-1-2004 3:14:45 - guest (82.38.57.191) > SYST
(000020) 29-1-2004 3:14:45 - guest (82.38.57.191) > 215 UNIX Type: L8
(000020) 29-1-2004 3:14:46 - guest (82.38.57.191) > REST 100
(000020) 29-1-2004 3:14:46 - guest (82.38.57.191) > 350 REST supported. Ready to resume at byte offset 100.
(000020) 29-1-2004 3:14:46 - guest (82.38.57.191) > REST 0
(000020) 29-1-2004 3:14:46 - guest (82.38.57.191) > 350 REST supported. Ready to resume at byte offset 0.
(000020) 29-1-2004 3:14:47 - guest (82.38.57.191) > PWD
(000020) 29-1-2004 3:14:47 - guest (82.38.57.191) > 257 "/" is current directory.
(000020) 29-1-2004 3:14:47 - guest (82.38.57.191) > TYPE A
(000020) 29-1-2004 3:14:47 - guest (82.38.57.191) > 200 Type set to A.
(000020) 29-1-2004 3:14:48 - guest (82.38.57.191) > PASV
(000020) 29-1-2004 3:14:48 - guest (82.38.57.191) > 227 Entering Passive Mode (10,0,0,9,195,174).
(000020) 29-1-2004 3:14:49 - guest (82.38.57.191) > LIST
(000020) 29-1-2004 3:14:49 - guest (82.38.57.191) > 150 Data connection accepted from 82.38.57.191:1913; transfer starting.
(000020) 29-1-2004 3:14:49 - guest (82.38.57.191) > 226 Transfer ok
(000020) 29-1-2004 3:14:51 - guest (82.38.57.191) > SIZE dmt-camp.nfo
(000020) 29-1-2004 3:14:51 - guest (82.38.57.191) > 550 No such file or directory.
(000020) 29-1-2004 3:14:52 - guest (82.38.57.191) > PASV
(000020) 29-1-2004 3:14:52 - guest (82.38.57.191) > 227 Entering Passive Mode (10,0,0,9,195,112).
(000020) 29-1-2004 3:14:53 - guest (82.38.57.191) > STOR dmt-camp.nfo
(000020) 29-1-2004 3:14:53 - guest (82.38.57.191) > asked to upload 'dmt-camp.nfo' in 'D:\Downloads\Upload\' --> Access allowed.
(000020) 29-1-2004 3:15:33 - guest (82.38.57.191) > 226 File received ok.
(000020) 29-1-2004 3:15:33 - guest (82.38.57.191) > finished uploading 'dmt-camp.nfo' in 'D:\Downloads\Upload\' - (03:15:34 - -0,001 KB - 0,000 KBytes/s).
(000020) 29-1-2004 3:15:33 - guest (82.38.57.191) > disconnected. (00:00:50)


so it just hang and disconnects... :(

the client already changed the passive mode so it cant be that i think.
i have unselected the "block server to server transfer" so it cant be that either


Can someone help me with this?

Do i have to open more ports? (i have only opened port 20 and 21 so far, both tcp)
Or does it got something to do with the (passive) port range? and is that in the ftp server configuration or is that in the router.. or both maybe?

i hope some1 can help :cool:

Mntsnow
01-28-2004, 10:03 PM
Maybe the server doesnt allow fxp? I personally dont allow server to server so I've never gotten into troubleshooting it

Eddy
01-29-2004, 5:25 AM
what do you mean with not allowed?

i have unselected the box for "server to server transfer (fxp)" so that should be ok i guess

you think it hastnt got anything to do with the ports?

ill try to put mt computer (where the server is at) into DMZ and then see what happens.... ill tell u when im ready

Mntsnow
01-29-2004, 7:32 AM
Well I will say that either the client or the server is wanting to use pasv mode as it shows that it was communicating for pasv, as shown in the snippet you list above.

Both server and client need to be configured to use pasv or both need to be configured to not.

Eddy
01-29-2004, 8:13 AM
So you do think it got something to with the passive mode?

ill try it and get back to you ASAP!

Eddy
01-29-2004, 8:26 AM
Hod do i put the server to PASS or not PASS?

Mntsnow
01-29-2004, 8:43 AM
Are you wanting to use passive mode or not? If you want to use passive mode you will need to open up alot more ports on your firewall to have it work.

Eddy
01-29-2004, 10:25 AM
If it makes my server accesible after that i will give itt a try!

But i wasnt realy able to find out what these modes means or what ports to open for them