Re: natd core dumping with bus error

2002-07-09 Thread Richard Seaman, Jr.
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

Re: natd core dumping with bus error

2002-07-08 Thread David Xu
Here, if I "enable nat yes" in /etc/ppp/ppp.conf and forget to turn net.inet.ip.forwarding on, ppp will core dump in several minutes. David Xu --- "Richard Seaman, Jr." <[EMAIL PROTECTED]> wrote: > On Mon, Jul 08, 2002 at 07:08:58AM -0700, David Xu wrote: > > you have turned on "nat enable yes"

Re: natd core dumping with bus error

2002-07-08 Thread Szilveszter Adam
Hello, > > 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): <...> > > sys/netinet ip_fw.h Reverting only this

Re: natd core dumping with bus error

2002-07-08 Thread Luigi Rizzo
ok, there is a good PR on this one with a reasonable fix: http://www.freebsd.org/cgi/query-pr.cgi?pr=40331 I am going to commit this and a few other fixes tonight. cheers luigi On Mon, Jul 08, 2002 at 11:28:15AM -0500, Richard Seaman, Jr. wrote: > On Mon, Jul 08, 2002 a

Re: natd core dumping with bus error

2002-07-08 Thread Richard Seaman, Jr.
On Mon, Jul 08, 2002 at 09:07:39AM -0700, Joel M. Baldwin wrote: > > I'll have to ditto that. > > no ppp, just natd, and sysctl stuff is set as listed below. > > Without the punch-fw directive in /etc/natd.conf, natd will core dump. > I just verified that without the directive it core dumps. T

Re: natd core dumping with bus error

2002-07-08 Thread Joel M. Baldwin
I'll have to ditto that. no ppp, just natd, and sysctl stuff is set as listed below. Without the punch-fw directive in /etc/natd.conf, natd will core dump. I just verified that without the directive it core dumps. The problem still exits. It isn't an instant dump, it runs for a while. --On M

Re: natd core dumping with bus error

2002-07-08 Thread Kenn Martin
--On Monday, July 08, 2002 9:18 AM -0500 "Richard Seaman, Jr." <[EMAIL PROTECTED]> 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 > > Wel

Re: natd core dumping with bus error

2002-07-08 Thread Richard Seaman, Jr.
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 n

Re: natd core dumping with bus error

2002-07-08 Thread David Xu
"Joel M. Baldwin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 7:12 PM Subject: Re: natd core dumping with bus error > On Mon, Jul 08, 2002 at 02:26:10AM -0700, Luigi Rizzo wrote: > > Could you clarify the problem ? > > I believe the

Re: natd core dumping with bus error

2002-07-08 Thread Richard Seaman, Jr.
On Mon, Jul 08, 2002 at 02:26:10AM -0700, Luigi Rizzo wrote: > Could you clarify the problem ? > I believe the problem appears when you _do_ use punch_fw, > otherwise the modified code is never called. > > cheers > luigi I did not have punch_fw enabled when I encountered the problem.

Re: natd core dumping with bus error

2002-07-08 Thread Joel M. Baldwin
I started out without punch_fw. natd was core dumping on me. I eventually figured out that if I added punch_fw in, natd no longer core dumped. I've left it in, things seem to work better anyway with it in. I've put a core dump file at Here is my original messa

Re: natd core dumping with bus error

2002-07-08 Thread Luigi Rizzo
Could you clarify the problem ? I believe the problem appears when you _do_ use punch_fw, otherwise the modified code is never called. cheers luigi 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 wro

Re: natd core dumping with bus error

2002-07-04 Thread Ruslan Ermilov
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

Re: natd core dumping with bus error

2002-07-04 Thread Richard Seaman, Jr.
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

natd core dumping with bus error

2002-07-02 Thread Joel M. Baldwin
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. /etc/natd.conf: ( note that this works. comment out the punch_fw option and it c