Subject: Re: File transfer problems
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: J. Piers Hearn <endareth@spamcop.net>
List: netbsd-help
Date: 12/16/2004 09:37:08
On Wed, 15 Dec 2004 19:59:20 +0100, "Manuel Bouyer"
<bouyer@antioche.eu.org> said:
> On Wed, Dec 15, 2004 at 01:50:26PM +1100, J. Piers Hearn wrote:
> > Did some further digging with tcpdump:
> > 
> > tcpdump -i pppoe0 dst port ftp
> > 
> > Resulted in the following, the first being the excerpt after doing a get
> > of a 280 byte file successfully, the second being the attempt at a
> > 667559 byte file unsuccessfully.
> > 
> > [...]
> > The following is on screen after doing the get:
> > local: pcre-5.0.tar.gz remote: pcre-5.0.tar.gz
> > 229 Entering Extended Passive Mode (|||46796|)
> > 150 Opening BINARY mode data connection for pcre-5.0.tar.gz (667559
> > bytes)
> > 
> > And no further activity occurs either in tcpdump or in ftp client.
> > 
> > Relevent interfaces:
> > 
> > pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
> >         inet x.x.x.x -> y.y.y.y netmask 0xff000000
> >         inet6 fe80::240:95ff:fe04:5e70%pppoe0 ->  prefixlen 64 scopeid
> >         0xb
> 
> 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?
Thanks,
    Piers