From owner-freebsd-net Fri Jan 25 15:45: 3 2002 Delivered-To: freebsd-net@freebsd.org Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by hub.freebsd.org (Postfix) with ESMTP id 90F0037B404 for ; Fri, 25 Jan 2002 15:44:59 -0800 (PST) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.6/8.11.6) with ESMTP id g0PNipD49870 for ; Sat, 26 Jan 2002 12:44:52 +1300 (NZDT) (envelope-from dan@lists.unixathome.org) Message-Id: <200201252344.g0PNipD49870@lists.unixathome.org> From: "Dan Langille" Organization: DVL Software Limited To: freebsd-net@freebsd.org Date: Fri, 25 Jan 2002 18:44:48 -0500 MIME-Version: 1.0 Subject: (Fwd) ip_output() does not checksum outer header Reply-To: dan@langille.org X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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-net" in the body of the message