Subject: Re: Fetching distfiles with ftp through the builtin ftp proxy
To: Jean-Pierre HOFER <jph@stephenson.net.dhis.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 02/19/2005 08:31:14
On Sat, Feb 19, 2005 at 01:17:04AM +0100, Jean-Pierre HOFER wrote:
> > Are you using mss clamping or some other config to reduce the TCP MSS ?
> 
> Yes. I had encountered e-mail exchange problems (more and more sendmail
> daemons were started from some remote smtp servers on my host and nothing
> was transfered) in the past and since them I have the following line in
> /etc/ipnat.conf :
> 
> map pppoe0 192.168.1.0/24 -> 0/32 mssclamp 1440
> 
> It solved the smtp problem.

Also make sure to have:
net.inet.tcp.rfc1323=0

in /etc/sysctl.conf. With TCP options, the packet may still be too big.
Or try a lower value for mssclamp.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--