Re: TCP data corruption

Chris Murphy <lists-zXQU9YWDTqjmlV4oE/1sFAC/[email protected]>
Newsgroups gmane.comp.macosx.admin
Message-ID <[email protected]>
OK thanks.


Chris Murphy

On Apr 14, 2011, at 10:03 PM, Michael_google gmail_Gersten wrote:

>> I understand, I'd like to just leave this at the physical layer at the moment. I'm curious if I understand TCP correctly, that just the header is checksummed, not the data.
> 
>> From Wikipedia:
> The checksum field is the 16 bit one's complement of the one's
> complement sum of all 16-bit words in the header and text.
> 
> That would say that your data is included in the checksum of TCP.
> That matches everything I have learned about the point of the
> streaming protocol and the general accuracy.
> 
> Whether or not the 1's complement summation is sufficiently strong
> enough or not I cannot say.
> 
> IP's headers only checksum the header. The data portion of an IP
> packet is not checksummed or protected by the IP header.
> 
> The TCP portion contains both a TCP header and TCP data. All of it is
> IP level data, ignored by the IP checksum, and all of it is contained
> in the TCP level checksum.
> 
> -- 
> Political and economic blog of a strict constitutionalist
> http://StrictConstitution.BlogSpot.com
> _______________________________________________
> MacOSX-admin mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/macosx-admin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.