Ethereal-dev: Re: [ethereal-dev] tcp header checksum validation

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sat, 10 Jun 2000 11:00:11 -0700
On Fri, Jun 09, 2000 at 09:51:20PM -0700, Guy Harris wrote:
> 	1) it doesn't check whether the IP datagram containing the TCP
> 	   segment or UDP datagram is fragmented - currently, if it is,
> 	   the checksum couldn't be computed, as we currently don't
> 	   reassemble fragmented IP datagrams, so we'd have to punt on
> 	   those;

I'll look at exporting the fragmented/non-fragmented state to protocols
running atop IP (it may be necessary even when we *do* reassemble
datagrams, as it won't necessarily be the case that the capture will
have all fragments, either because it started after some fragments were
sent or ended before some fragments were sent, or because not all
fragments made it to the machine running Ethereal/Tethereal).

> 	2) it uses the BSD kernel C-language checksum routine, which (at
> 	   least in the current version of FreeBSD) still has the old
> 	   BSD copyright notice, including the "give credit" clause:

The note Berkeley sent was:

--begin note

July 22, 1999

To All Licensees, Distributors of Any Version of BSD:

As you know, certain of the Berkeley Software Distribution ("BSD") source
code files require that further distributions of products containing all or
portions of the software, acknowledge within their advertising materials
that such products contain software developed by UC Berkeley and its
contributors.

Specifically, the provision reads:

"     * 3. All advertising materials mentioning features or use of this software
      *    must display the following acknowledgement:
      *    This product includes software developed by the University of
      *    California, Berkeley and its contributors."

Effective immediately, licensees and distributors are no longer required to
include the acknowledgement within advertising materials.  Accordingly, the
foregoing paragraph of those BSD Unix files containing it is hereby deleted
in its entirety.

William Hoskins
Director, Office of Technology Licensing
University of California, Berkeley

--end note

so we can probably just slice clause 3 out of the copyright notice in
the file, and ship it as part of Ethereal.