From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 07:12:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C113F1065670 for ; Tue, 4 Nov 2008 07:12:46 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 9F6D28FC18 for ; Tue, 4 Nov 2008 07:12:46 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id mA47CjA6077428 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 3 Nov 2008 23:12:45 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id mA47CjK7077427; Mon, 3 Nov 2008 23:12:45 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA02317; Mon, 3 Nov 08 23:06:31 PST Date: Mon, 03 Nov 2008 23:11:04 -0800 From: perryh@pluto.rain.com To: joompz@gmail.com Message-Id: <490ff588.HP9wzhb2S+STWuym%perryh@pluto.rain.com> References: In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Problems with FreeBSD 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: Tue, 04 Nov 2008 07:12:46 -0000 > I have some problem with my FreeBSD server. I have this: > > ######### ########### ######### > # Linux1 # -> ASA -> Internet -> # FreeBSD # -> # Linux2 # > ######### ########### ######### > > If I run a ssh for Linux1 to FreeBSD, my connection freeze when > the return of some command is a big text. Example: > > I make a ssh connection in the from the Linux1 to FreeBSD server, > then, I execute some commands, like: 'pwd', 'whoami', 'ls /'... > this work perfectly. But, if I run some command that return a big > text, like as: 'ls /dev/', or top, my connection freeze. ... > If I try to access the Linux2, throught FreeBSD (redirect port on > natd or redirect port with rinetd), the same thing happens. > > Is this a problem with FreeBSD? Someone know how I can fix it? Some > sysctl? One possible cause of this behavior is an MTU problem. If something in the Linux1 <==> FreeBSD path is dropping packets larger than X (where X is something lower than the endpoints are expecting) you'll see exactly this sort of symptom. While the real solution is to fix whatever is dropping the packets, it may be easier to restrict the MTU.