File xfers sucessfully, disconnects, then starts xfer again

Home Forums General Firewall Help File xfers sucessfully, disconnects, then starts xfer again

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #29930
    slwhitman
    Participant

    I am having a strange issue when transferring certain files. The client is SyncBack by 2BrightSparks. It executes a script to sync files. The server is Win XP Home running Cerberus. The client connection is active FTP. Most file transfers execute without a problem, but certain files will connect, transfer, complete transfer and then disconnect with the warning Server IP

    [2009-11-17 13:14:27]:CONNECT [ 355] – Connection request accepted from XX.XX.XX.XX Clinet IP

    [2009-11-17 13:14:27]:COMMAND [ 355] – USER bill

    [2009-11-17 13:14:27]: REPLY [ 355] – 331 User bill, password please

    [2009-11-17 13:14:27]:COMMAND [ 355] – PASS ***********

    [2009-11-17 13:14:27]: REPLY [ 355] – 230 Password Ok, User logged in

    [2009-11-17 13:14:27]:COMMAND [ 355] – TYPE I

    [2009-11-17 13:14:27]: REPLY [ 355] – 200 Type Binary

    [2009-11-17 13:14:27]:COMMAND [ 355] – SYST

    [2009-11-17 13:14:27]: REPLY [ 355] – 215 UNIX Type: L8

    [2009-11-17 13:14:27]:COMMAND [ 355] – CWD /root/dir/

    [2009-11-17 13:14:27]: REPLY [ 355] – 250 Change directory ok

    [2009-11-17 13:14:27]:COMMAND [ 355] – PORT X,X,X,X,16,109

    [2009-11-17 13:14:27]: REPLY [ 355] – 200 Port command received

    [2009-11-17 13:14:27]:COMMAND [ 355] – STOR FILE.QBW

    [2009-11-17 13:14:27]: REPLY [ 355] – 150 Opening data connection

    [2009-11-17 13:16:23]: SYSTEM [ 355] – File transfer complete

    [2009-11-17 13:16:23]: REPLY [ 355] – 226 Transfer complete

    [2009-11-17 13:16:23]:COMMAND [ 355] – PORT X,X,X,X,16,110

    [2009-11-17 13:16:23]: REPLY [ 355] – 200 Port command received

    [2009-11-17 13:16:23]:COMMAND [ 355] – PORT X,X,X,X,16,111

    [2009-11-17 13:16:23]: REPLY [ 355] – 200 Port command received

    [2009-11-17 13:16:23]:COMMAND [ 355] – STOR FILE.QBW.ND

    [2009-11-17 13:16:42]: ERROR [ 355] – Unable to connect : A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

    [2009-11-17 13:16:42]:SUGGEST [ 355] – For help see http://www.cerberusftp.com/faq/initialsetup.htm#Q3

    [2009-11-17 13:16:42]: REPLY [ 355] – 425 Unable to open the data connection

    #35425
    imported_Serin
    Participant

    Hello,

    These two lines are very strange:

    [2009-11-17 13:16:23]:COMMAND [ 355] – PORT X,X,X,X,16,110

    [2009-11-17 13:16:23]: REPLY [ 355] – 200 Port command received

    [2009-11-17 13:16:23]:COMMAND [ 355] – PORT X,X,X,X,16,111

    [2009-11-17 13:16:23]: REPLY [ 355] – 200 Port command received

    I’ve never seen an FTP client issue two port commands back-to-back. My guess is that the client is issuing the first PORT command and then when it tries to open up the port the operation fails. Then it issues another port command trying to open the next port. Just a guess though. I would need to see the FTP client log to be sure.

    Ignoring the strangeness, the error from Cerberus simply means Cerberus can’t connect to the machine and port specified in the PORT command. One possibility is that the client hits a range of ports that aren’t mapped through their firewall or are in-use on their local machine. For active FTP, Cerberus is trying to connect to the machine that issues the PORT command. The problem is most likely on the client end (the client is unable to listen on the specified port or the port is not accessible externally).

    Can you use passive FTP?

    #35424
    slwhitman
    Participant

    I think the dual PORT command was an abboration, I looked back at the log files and did not see this occur at any other point in time. It may have even been caused by a cut and past error on my part. If you igrnore the last eight log entries in what I posted you can see the problem happening above without the dual PORT command.

    The file transfers sucessfully and the client issues a MTDM command. The command is not logged by Cerberus and the host forcibly disconnects, Client doesn’t get final confirmation that files was received and kicks off the Login and transmission process again. This only seems happens with this one file, which is a .QBW File (Quick Books Windows) and happens to be quite large, 28 Mb. All other file transfers usually work.

    #35426
    mdj
    Participant

    What catches my eye is that the first upload shown takes almost exactly 10 minutes, and that rings a bell. I have a “smart” router myself, that will cut tcp lines that have been idle for 10 minutes, and during upload of large files, the ftp control line is indeed idle. Not all ftp software can handle that the control line is cut (I believe Cerberus can though), so you could possibly try with another client, or simply try to verify the theory by timing an idle connection through the router(s) involved.

    #35427
    slwhitman
    Participant

    Exactly, consistently 10:19 between executions. Now how would I go about timing a idle connection through the router and then disabling or extending the timeout?

    I don’t really have a choice of changing client apps, (SyncBack fits my needs perfectly – excepting this glitch) unless you have a recomendation for a good automated solution for syncing two servers?

    #35428
    mdj
    Participant

    No suggestions, really… In my own router there is no changing that timeout, so – learn to live with it. Another option is to cut the file in smaller pieces, and reassemble it again on the other side…

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Close Cart

Shopping Cart