public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* Two (active FTP + SACK) sourceware.org FTP download problems
@ 2011-07-03  7:32 Jan Kratochvil
  2011-07-03 16:14 ` Christopher Faylor
  2011-07-03 18:39 ` Jan Kratochvil
  0 siblings, 2 replies; 13+ messages in thread
From: Jan Kratochvil @ 2011-07-03  7:32 UTC (permalink / raw)
  To: overseers

Hi,

Cannot download GDB from FTP, 86.214640 seconds to login.

If I ever login in default/active mode data transfer never starts:
ftp> pass
Passive mode off.
ftp> cd /pub/gdb/snapshots/branch/
ftp> get gdb-7.2.90.20110703.tar.bz2
local: gdb-7.2.90.20110703.tar.bz2 remote: gdb-7.2.90.20110703.tar.bz2
421 Service not available, remote server has closed connection

IP host1.jankratochvil.net.59123 > server1.sourceware.org.ftp: Flags [P.], seq 95:122, ack 615, win 54, options [nop,nop,TS val 568265800 ecr 183361626], length 27
IP server1.sourceware.org.ftp > host1.jankratochvil.net.59123: Flags [R.], seq 615:642, ack 122, win 54, options [nop,nop,TS val 568265800 ecr 183361626], length 27


In passive mode it starts to transfer but gets stuck later, apparently that
ICMP error appears on first SelectiveACK:

IP host1.jankratochvil.net.42232 > server1.sourceware.org.netiq-endpt: Flags [.], ack 3376741, win 1643, options [nop,nop,TS val 566893884 ecr 181994339,nop,nop,sack 2 {3375393:3376741}{3378089:3477841}], length 0
IP server1.sourceware.org > host1.jankratochvil.net: ICMP host server1.sourceware.org unreachable - admin prohibited, length 80

Using just one NAT done by my GNU/Linux box; tcpdumps are from the host behind
that NAT, I could re-run them from the server - doing the NAT.

Unfortunately sourceware.org still does not support IPv6 so there is some NAT
pain going on.

I was always getting these stuck transfers before, I was always reget-ting it
many times.  Finally I found the reason - SACK.
`echo 0 >/proc/sys/net/ipv4/tcp_sack' really makes the full file download by
single `get'.


Thanks,
Jan

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-07-30  1:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-03  7:32 Two (active FTP + SACK) sourceware.org FTP download problems Jan Kratochvil
2011-07-03 16:14 ` Christopher Faylor
2011-07-03 16:21   ` Jan Kratochvil
2011-07-03 16:34     ` Christopher Faylor
2011-07-03 16:48       ` Jan Kratochvil
2011-07-03 17:05         ` Ian Lance Taylor
2011-07-03 18:14           ` Jan Kratochvil
2011-07-04 16:08             ` Ian Lance Taylor
2011-07-28 13:16           ` Jan Kratochvil
2011-07-29 15:52             ` Jan Kratochvil
2011-07-30  1:00               ` Ian Lance Taylor
2011-07-03 16:52   ` Hans-Peter Nilsson
2011-07-03 18:39 ` Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).