NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/56129 (ftp(1) should keep control session duringlargexfer)
The following reply was made to PR bin/56129; it has been noted by GNATS.
From: RVP <rvp%SDF.ORG@localhost>
To: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
Cc: gnats-bugs%netbsd.org@localhost, lukem%netbsd.org@localhost
Subject: Re: bin/56129 (ftp(1) should keep control session duringlargexfer)
Date: Wed, 23 Jun 2021 20:31:39 +0000 (UTC)
On Thu, 24 Jun 2021, Izumi Tsutsui wrote:
> The similar timeout occured 6minsq or 8 mins so there might be
> more conditions, but anyway I'll try reproduce on slower machines
> or large files.
> https://pbs.twimg.com/media/E3uicvFUUAYQ85j.jpg
> https://pbs.twimg.com/media/E3uspBhUYAIFURZ.jpg
>
Hmm, now I wonder if you have the same problem that I have: an
overly aggressive FTP NAT timeout (my timeouts are pretty consistent:
~30 mins). Can you do a tcpdump of port 21?
In any case, ftp(1) will have to be modified to either:
a) send periodic keepalive commands during long xfers, or
b) for non-nteractive xfers, re-connect and fetch the rest of the
files in a list. (Most of the code for this is already there;
just needs a bit of re-arrangement.)
-RVP
Home |
Main Index |
Thread Index |
Old Index