From owner-freebsd-questions@FreeBSD.ORG Wed Feb 21 17:50:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 040EC16E119 for ; Wed, 21 Feb 2007 17:50:18 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id A6AED13C4A6 for ; Wed, 21 Feb 2007 17:50:17 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 21 Feb 2007 12:50:16 -0500 id 000567EE.45DC8658.00011114 Date: Wed, 21 Feb 2007 12:50:15 -0500 From: Bill Moran To: "=?ISO-8859-1?Q?\"Jos=E9?= Pablo =?ISO-8859-1?Q?Fern=E1ndez\"?=" Message-Id: <20070221125015.ad78d4dd.wmoran@collaborativefusion.com> In-Reply-To: <200702211441.29405.pablo.fernandez@rs.com.ar> References: <200702202021.55723.pablo.fernandez@rs.com.ar> <200702211039.51601.nvass@teledomenet.gr> <200702211441.29405.pablo.fernandez@rs.com.ar> Organization: Collaborative Fusion X-Mailer: Sylpheed 2.3.0 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: PF slowing down file copies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2007 17:50:18 -0000 In response to "Jos=E9 Pablo Fern=E1ndez" : > On Wednesday 21 February 2007 05:39, Nikos Vassiliadis wrote: > > On Wednesday 21 February 2007 01:21, Jos=E9 Pablo Fern=E1ndez wrote: > > > My problem is that when I copy a file from one network to the other, = the > > > first 128KB seems to be copied instantaneously, the second 128KB take > > > more than two minutes and I've seen the third 128KB being copied very > > > rarely. > > > > This might be an MTU problem. Is the MTU set to 1500 everywhere? > > You can try using a smaller MTU - like 1400 - on two computers, > > try a transfer and if that works, you'll have to check the > > switches involved. >=20 > Where is/should the MTU be set? ifconfig mtu 1400 (for example) >=20 > > > This is using Secure CoPy. > > > > Do you mean scp(1)? >=20 > Yes. >=20 > > Also, what's going on when you disable pf? >=20 > When I disable PF I can't reach outside because that is what is in charge= of=20 > NATing, but I can reach the other network, and the copy just works. Have you tried stripping your pf rules down to JUST nat to see if the problem changes? --=20 Bill Moran Collaborative Fusion Inc.