From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 15 01:18:45 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2CE51065675 for ; Sun, 15 Jun 2008 01:18:45 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by mx1.freebsd.org (Postfix) with ESMTP id 655118FC18 for ; Sun, 15 Jun 2008 01:18:45 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m5F1Igdn013963 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 15 Jun 2008 11:18:43 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m5F1Igqx089867 for ; Sun, 15 Jun 2008 11:18:42 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m5F1IgAb089866 for freebsd-hackers@freebsd.org; Sun, 15 Jun 2008 11:18:42 +1000 (EST) (envelope-from peter) Date: Sun, 15 Jun 2008 11:18:42 +1000 From: Peter Jeremy To: freebsd-hackers@freebsd.org Message-ID: <20080615011841.GT13734@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kVXhAStRUZ/+rrGn" Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Subject: TCP not being proactive about recoving lost packets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2008 01:18:45 -0000 --kVXhAStRUZ/+rrGn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I am trying to ftp mysql-5.1.25-rc.tar.gz from ftp.easynet.be and noticed that progress appeared to have ceased and the ETA increasing. Looking at a tcpdump of the FTP data socket showed: 10:31:17.273106 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 4054413516:4054414976(1460) ack 635248902 win 92 10:31:17.372968 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 1460 win 28692 10:31:17.709750 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 118260:119720(1460) ack 1 win 92 10:31:17.709807 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 1460 win 28692 10:31:17.713318 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 119720:121180(1460) ack 1 win 92 10:31:17.713368 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 1460 win 28692 10:33:17.717063 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 1460:2920(1460) ack 1 win 92 10:33:17.816684 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 2920 win 28692 10:33:18.126643 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 121180:122640(1460) ack 1 win 92 10:33:18.126666 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 2920 win 28692 10:33:18.128224 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 122640:124100(1460) ack 1 win 92 10:33:18.128239 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 2920 win 28692 10:35:18.130354 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 2920:4380(1460) ack 1 win 92 10:35:18.229382 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 4380 win 28692 10:35:18.549832 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 124100:125560(1460) ack 1 win 92 10:35:18.549855 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 4380 win 28692 10:35:18.552361 IP minx.ftp.be.easynet.net.57796 > myhost.mydomain.xxx.yyy.= 56432: . 125560:127020(1460) ack 1 win 92 10:35:18.552376 IP myhost.mydomain.xxx.yyy.56432 > minx.ftp.be.easynet.net.= 57796: . ack 4380 win 28692 The FTP server resends an old packet then 2 new packets. FreeBSD ACKs each packet with the next packet it wants. Then there's a 2 minute timeout befo= re the FTP server responds. This ahs been going on for about 45 minutes now. The client is running 7-STABLE from mid-May. Shouldn't it continue to regularly send ACKs where it knows there is outstanding data? --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --kVXhAStRUZ/+rrGn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhUbfEACgkQ/opHv/APuIfdYgCgp7XXYvn4c7gaaCI7GhC17zV2 2HgAn1FUZhMT7AGMi7WnqCtZq42CgO6a =jLEZ -----END PGP SIGNATURE----- --kVXhAStRUZ/+rrGn--