From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 13:58:34 2007 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 BADBD16A417 for ; Tue, 4 Dec 2007 13:58:34 +0000 (UTC) (envelope-from diabeticithink@yahoo.com) Received: from smtp113.plus.mail.re1.yahoo.com (smtp113.plus.mail.re1.yahoo.com [69.147.102.76]) by mx1.freebsd.org (Postfix) with SMTP id 6DC6813C442 for ; Tue, 4 Dec 2007 13:58:33 +0000 (UTC) (envelope-from diabeticithink@yahoo.com) Received: (qmail 82630 invoked from network); 4 Dec 2007 13:58:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:From:To:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:X-MimeOLE; b=Aar0YgDfcVDYkES9mRhBcrSt8xnMyfeeMD8IEv8ZcrrJWf1EvRIWd9r4GGrkO6Rr8MR/C1ymu6kuTzlXmd98oafn6bt4wZU5RPRT4I7y2IF9UDEjN8XHzjTfHpiQ0mfMQ0jklMfv5puT47erL3xgtCroLa/faPhz56P7+CHvRds= ; Received: from unknown (HELO ownerPCvista) (diabeticithink@69.143.129.74 with login) by smtp113.plus.mail.re1.yahoo.com with SMTP; 4 Dec 2007 13:58:32 -0000 X-YMail-OSG: 08ciTEoVM1lv.4JVLTQuP3ftelRp1uKg3uLqlufR2b1S5532Ki9H6fK56tkRSZkBm28UEDAvxg-- From: "Anne Moore" To: "'Nikos Vassiliadis'" , References: <20071204002629.GA28076@archangel.daleco.biz> <11AC2944E9AC41C19626AE2FC192D509@ownerPCvista> <200712041346.33066.nvass@teledomenet.gr> In-Reply-To: <200712041346.33066.nvass@teledomenet.gr> Date: Tue, 4 Dec 2007 08:58:24 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acg2auGiZj4rZ4LOQQyxeWzeaOjzjwAEsNHQ X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545 Cc: Subject: RE: SSH disconnects very troubling 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 Dec 2007 13:58:34 -0000 That's awesome. Great idea! I'll do just that... Thank you for your help. -Anne -----Original Message----- From: Nikos Vassiliadis [mailto:nvass@teledomenet.gr] Sent: Tuesday, December 04, 2007 6:47 AM To: freebsd-questions@freebsd.org Cc: Anne Moore Subject: Re: SSH disconnects very troubling On Tuesday 04 December 2007 02:40:35 Anne Moore wrote: > Thanks, Kevin. This may well work with the SSH, but it's actually > disconnecting all my clients, telnet, Oracle, etc. There is a config > for telnet, but nothing for Oracle (that I know of). Also, ldap, etc. > It's the strangest thing!! No it's not strange. There is a firewall between the hosts, which drops the connections after some time of inactivity. You can generate keepalive packets for every TCP connection between your FreeBSD box and the world using ipfw. A rule like: allow tcp from any to any keep-state will effectively keep all TCP connections alive. Two things: 1) If you are not familiar with ipfw, read the manual before loading the ipfw module. Otherwise, you'll be locked out of your box. 2) I don't know if the above rules fits your security policy. Or the services your FreeBSD box provides. Modify as needed. HTH, Nikos