From owner-freebsd-net Fri Oct 11 5:50: 2 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 773D737B401 for ; Fri, 11 Oct 2002 05:50:01 -0700 (PDT) Received: from ares.cs.Virginia.EDU (ares.cs.Virginia.EDU [128.143.137.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8ED543EA3 for ; Fri, 11 Oct 2002 05:50:00 -0700 (PDT) (envelope-from nicolas@cs.virginia.edu) Received: from arachnion.cs.Virginia.EDU (arachnion.cs.Virginia.EDU [128.143.136.20]) by ares.cs.Virginia.EDU (8.9.3+Sun/8.9.2/UVACS-2000040300) with ESMTP id IAA24623 for ; Fri, 11 Oct 2002 08:49:59 -0400 (EDT) Received: from localhost (nc2y@localhost) by arachnion.cs.Virginia.EDU (8.9.2/8.9.2) with ESMTP id IAA03738 for ; Fri, 11 Oct 2002 08:49:59 -0400 (EDT) X-Authentication-Warning: arachnion.cs.Virginia.EDU: nc2y owned process doing -bs Date: Fri, 11 Oct 2002 08:49:59 -0400 (EDT) From: Nicolas Christin X-X-Sender: nc2y@arachnion.cs.Virginia.EDU To: freebsd-net@FreeBSD.ORG Subject: Re: IP bad cksum (0!) In-Reply-To: Message-ID: Organization: University of Virginia - CS Dept. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Fri, 11 Oct 2002, soheil hassas yeganeh wrote: > ip->ip_sum = in_cksum(m,hlen); > > When i make a dump it says that it has bad cksum 0! > > 12:25:11.858759 62.217.112.165 > 66.201.71.98: icmp: echo reply (ttl 42, id > 17879, len 84, bad cksum 0!) I'm not that familiar with the code, but I'd be surprised if ICMP packets were handled by IP functions. (ICMP is not IP.) Not sure where your checksum problem comes from. -- Nicolas Christin Ph.D. Candidate, University of Virginia, Computer Science http://www.cs.virginia.edu/~nicolas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message