From owner-freebsd-current Mon Jul 8 8:19:29 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 E599737B42B for ; Mon, 8 Jul 2002 08:19:24 -0700 (PDT) Received: from alydar.infoteam.com (alydar.infoteam.com [207.246.83.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46DA743E31 for ; Mon, 8 Jul 2002 08:19:24 -0700 (PDT) (envelope-from kmartin@infoteam.com) Received: from [10.0.0.10] (adslf146.cofs.net [207.87.82.146]) by alydar.infoteam.com (Postfix) with ESMTP id 1CC1A6E783 for ; Mon, 8 Jul 2002 11:19:23 -0400 (EDT) Date: Mon, 08 Jul 2002 11:16:35 -0400 From: Kenn Martin Reply-To: Kenn Martin Cc: "freebsd-current@FreeBSD.ORG" Subject: Re: natd core dumping with bus error Message-ID: <54971655.1026126995@[10.0.0.10]> In-Reply-To: <20020708091804.S3283@seaman.org> References: <20020708140858.25117.qmail@web20907.mail.yahoo.com> <20020708091804.S3283@seaman.org> X-Mailer: Mulberry/2.2.0 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 Monday, July 08, 2002 9:18 AM -0500 "Richard Seaman, Jr." wrote: > On Mon, Jul 08, 2002 at 07:08:58AM -0700, David Xu wrote: >> you have turned on "nat enable yes" in ppp.conf, >> and but you havn't turned ip_foward on in sysctl, >> so core dumped. >> >> David Xu > > Well, I'm not running ppp, and never indicated I was. I'm running > natd. > ># sysctl -a | grep forward > net.inet.ip.forwarding: 1 > net.inet.ip.fastforwarding: 0 > net.inet6.ip6.forwarding: 0 > > Everything works fine with pre "new-ipfw", and has for years. Same > rules, same configuration, and with "new ipfw", core dump. Same scenario here with a cvsup & build from about 16:00 GMT yesterday. Defining #NO_FW_PUNCH (primarily for libalias) and placing a #ifndef NO_FW_PUNCH around the code in natd.c:SetupPunchFWHole fixed the problem for me. I can look into this further near the end of this week. -- Kenn Martin kmartin@infoteam.com voice/fax: 877 594 3375 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message