Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jul 2002 11:16:35 -0400
From:      Kenn Martin <kmartin@infoteam.com>
Cc:        "freebsd-current@FreeBSD.ORG" <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>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Monday, July 08, 2002 9:18 AM -0500 "Richard Seaman, Jr." 
<dick@seaman.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54971655.1026126995>