From owner-freebsd-current Tue Jul 9 16:56:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CF3737B400; Tue, 9 Jul 2002 16:56:34 -0700 (PDT) Received: from ns0.seaman.net (ns0.seaman.net [168.215.64.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE27E43E3B; Tue, 9 Jul 2002 16:56:32 -0700 (PDT) (envelope-from dick@seaman.org) Received: from tbird.internal.seaman.net (tbird [192.168.10.12]) by ns0.seaman.net (8.12.5/8.12.5) with ESMTP id g69NuUGt001326; Tue, 9 Jul 2002 18:56:30 -0500 (CDT) (envelope-from dick@seaman.org) Received: (from dick@localhost) by tbird.internal.seaman.net (8.11.6/8.11.6) id g69NuU912076; Tue, 9 Jul 2002 18:56:30 -0500 Date: Tue, 9 Jul 2002 18:56:30 -0500 From: "Richard Seaman, Jr." To: "Joel M. Baldwin" Cc: freebsd-current@FreeBSD.ORG, luigi@FreeBSD.ORG Subject: Re: natd core dumping with bus error Message-ID: <20020709185630.B32743@seaman.org> Mail-Followup-To: "Richard Seaman, Jr." , "Joel M. Baldwin" , freebsd-current@FreeBSD.ORG, luigi@FreeBSD.ORG References: <237537741.1025633076@[192.168.1.20]> <20020704092038.M3283@seaman.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020704092038.M3283@seaman.org>; from dick@seaman.org on Thu, Jul 04, 2002 at 09:20:38AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jul 04, 2002 at 09:20:38AM -0500, Richard Seaman, Jr. wrote: > On Tue, Jul 02, 2002 at 06:04:36PM -0700, Joel M. Baldwin wrote: > > > > > > Something has messed up natd. If I don't have the > > punch_fw option in the /etc/natd.conf file it eventuially > > core dumps with a bus error. I think this started JUST > > BEFORE the KSE commit. > > Yes, I've seen the same thing on a pre-KSE kernel. The error > occurs in PunchFWHole in alias_db.c in libalias. Reverting > the following commit seems to fix it (I haven't had a chance > to investigate further): > > luigi 2002/06/27 16:02:18 PDT > > Modified files: > sbin/ipfw Makefile > sys/netinet ip_dummynet.c ip_fw.h > sys/conf files > lib/libalias alias_db.c > Added files: > sbin/ipfw ipfw2.c > sys/netinet ip_fw2.c > Log: > The new ipfw code. I upgraded my pre-KSE kernel and system to the latest versions of these files, and recompiled natd, ipfw, libalias, and the kernel. natd is now stable. The firewall rules appear to be working correctly as well (I started temporarily logging most packets, and the log files show that the packets are accepted/denied as indicated by the rules I gave it). -- Richard Seaman, Jr. email: dick@seaman.org 5182 N. Maple Lane phone: 262-367-5450 Nashotah WI 53058 fax: 262-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message