From owner-freebsd-hackers Tue Jan 29 13:45:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hoth.ffwd.cx (hoth.ffwd.cx [216.187.116.122]) by hub.freebsd.org (Postfix) with ESMTP id 97E0A37B400 for ; Tue, 29 Jan 2002 13:45:51 -0800 (PST) Received: from skye by hoth.ffwd.cx with local (Exim 3.13 #1) id 16Vg4L-000GHE-00; Tue, 29 Jan 2002 13:45:33 -0800 Date: Tue, 29 Jan 2002 13:45:33 -0800 From: Skye Poier To: bms@spc.org Cc: hackers@freebsd.org Subject: Re: (Fwd) ip_output() does not checksum outer header Message-ID: <20020129134533.M56433@ffwd.cx> References: <200201271816.g0RIGnD93743@lists.unixathome.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200201271816.g0RIGnD93743@lists.unixathome.org>; from dan@langille.org on Sun, Jan 27, 2002 at 01:16:47PM -0500 X-URL: http://www.ffwd.cx/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Where are you capturing the network traffic? I've noticed some checksum weirdness in tcpdump with NICs that provide hardware checksum. Are you seeing bad header checksums in netstat -s ? Skye Word on the street is that Dan Langille said: > I am forwarding this on behalf of Bruce (his DNS is borked and thus he > cannot send to the lists). Please don't CC me in the replies, only Bruce. > > Thanks. > > ------- Forwarded message follows ------- > Date sent: Fri, 25 Jan 2002 23:35:38 +0000 > From: Bruce M Simpson > To: dan@langille.org > Subject: ip_output() does not checksum outer header > > Dan, > > if you could forward this on to freebsd-net I would be most grateful. > > I have completed most of the code to implement GRE as a regular > interface driver under 4.4-STABLE using the cloner interface. This > has all worked fine in local tests. Tonight, whilst testing with > a remote site, we noticed that the encapsulating IP datagram header > around the GRE header does not have any header checksum. > > I have checked, checked and re-checked the m->m_len, m->m_pkthdr.len, > m_pullup() results et al and can find nothing out of the ordinary. > > This is driving me mad right now, can anybody shed any light on the > problem? > > Regards, > Bruce. > > ------- End of forwarded message ------- > > -- > Dan Langille > The FreeBSD Diary - http://freebsddiary.org/ - practical examples > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- 1966 MGB - GHN3L Safety Fast! __,__\__ The MGB Experience www.mgbexperience.com (_o____o_) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message