From owner-freebsd-ipfw Sun Apr 9 12:13:40 2000 Delivered-To: freebsd-ipfw@freebsd.org Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id C49F137B75B; Sun, 9 Apr 2000 12:12:37 -0700 (PDT) (envelope-from green@FreeBSD.org) Date: Sun, 9 Apr 2000 15:12:22 -0400 (EDT) From: Brian Fundakowski Feldman X-Sender: green@green.dyndns.org To: Mike Heffner Cc: freebsd-ipfw@freebsd.org Subject: Re: Problem solved? -- RE: Problems with natd In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 8 Apr 2000, Mike Heffner wrote: > Well, after updating from this morning's source (kernel and make world) the > problem seems to have gone away. I would like to know what the problem > was, and what fixed it; in case we have just re-hid the problem for another > time. Unfortunately, I don't have enough time to track this down any further. > > Thanks to all who provided assistance in this matter. (Crist J. Clark) One of these is probably what fixed it: jlemon 2000/03/29 18:16:43 PST Modified files: sys/netinet ip_output.c Log: If `ipfw fwd' loops an mbuf back to ip_input from ip_output and the mbuf is marked for delayed checksums, then additionally mark the packet as having it's checksums computed. This allows us to bypass computing/checking the checksum entirely, which isn't really needeed as the packet has never hit the wire. Reviewed by: green Revision Changes Path 1.101 +8 -7 src/sys/netinet/ip_output.c jlemon 2000/04/01 10:51:05 PST Modified files: sys/netinet ip_output.c Log: Calculate any delayed checksums before handing an mbuf off to a divert socket. This fixes a problem with ppp/natd. Reviewed by: bsd (Brian Dean, gotta love that login name) Revision Changes Path 1.102 +11 -1 src/sys/netinet/ip_output.c -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message