Subject: Re: File transfer problems
To: J. Piers Hearn <endareth@spamcop.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 12/15/2004 23:43:13
On Thu, Dec 16, 2004 at 09:37:08AM +1100, J. Piers Hearn wrote:
> > Looks like an MTU issue. Make sure you have
> > net.inet.tcp.rfc1323=0
> > net.inet.tcp.mss_ifmtu=1
> > in /etc/sysctl.conf
> >
> > --
> > Manuel Bouyer <bouyer@antioche.eu.org>
> > NetBSD: 26 ans d'experience feront toujours la difference
>
> Changed those settings, everything working perfectly now! Out of
> curiosity, exactly what are those two settings doing?
The problem is to have TCP advertice an appropriate segment size to the remote
end, so that individual packets won't exeed the MTU of the link (as
something on the path is lowering the MTU without fragmenting).
net.inet.tcp.mss_ifmtu=1 tells TCP to use the outgoing interface's MTU
as the maximum fragment size instead of some internal value.
net.inet.tcp.rfc1323=0 turns off a TCP option which increase the lengh
of the TCP header, and cause problems in this case (because it's not accounted
in the MSS).
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--