Re: Delayed checksums commit broke UDP checksum calculation

2001-03-12 Thread Ruslan Ermilov
On Wed, Mar 07, 2001 at 10:47:06AM -0500, Louis A. Mamakos wrote: > > > To be CONSERVATIVE, the implementation MUST NOT transmit all-zero > > computed TCP checksum as all-ones; while they are certainly equivalent > > in one's complement arithmetics, but RFC 793 does not grant us to do > > this co

Re: Delayed checksums commit broke UDP checksum calculation

2001-03-07 Thread Louis A. Mamakos
> In two's complement arithmetics, yes. What matters here is how the > the real checkers are implemented. For BSD-derived implementations, > this does not matter. I don't know if others really exist. RFC 1624 > is pretty clear on this topic. The usual Internet principle is in place > (from R

Re: Delayed checksums commit broke UDP checksum calculation

2001-03-07 Thread Ruslan Ermilov
On Wed, Mar 07, 2001 at 09:58:32AM -0500, Louis A. Mamakos wrote: > > On Wed, Mar 07, 2001 at 09:40:34AM -0500, Louis A. Mamakos wrote: > > > > > > > > So that the same logic applies to TCP packets as well. Currently, we > > > > > can send a TCP packet with a checksum of 0, which is legal. Of p

Re: Delayed checksums commit broke UDP checksum calculation

2001-03-07 Thread Louis A. Mamakos
> On Wed, Mar 07, 2001 at 09:40:34AM -0500, Louis A. Mamakos wrote: > > > > > > So that the same logic applies to TCP packets as well. Currently, we > > > > can send a TCP packet with a checksum of 0, which is legal. Of possible > > > > interest is that Linux doesn't do this; they alwyas send a

Re: Delayed checksums commit broke UDP checksum calculation

2001-03-07 Thread Ruslan Ermilov
On Wed, Mar 07, 2001 at 09:40:34AM -0500, Louis A. Mamakos wrote: > > > > So that the same logic applies to TCP packets as well. Currently, we > > > can send a TCP packet with a checksum of 0, which is legal. Of possible > > > interest is that Linux doesn't do this; they alwyas send a non-zero

Re: Delayed checksums commit broke UDP checksum calculation

2001-03-07 Thread Louis A. Mamakos
> > So that the same logic applies to TCP packets as well. Currently, we > > can send a TCP packet with a checksum of 0, which is legal. Of possible > > interest is that Linux doesn't do this; they alwyas send a non-zero > > checksum in the TCP case, if a checksum was computed. > > > Hmm, but

Re: Delayed checksums commit broke UDP checksum calculation

2001-03-07 Thread Ruslan Ermilov
On Thu, Nov 16, 2000 at 09:19:54AM -0600, Jonathan Lemon wrote: > On Thu, Nov 16, 2000 at 12:09:36PM +0200, Ruslan Ermilov wrote: > > Hi! > > > > RFC768> If the computed checksum is zero, it is transmitted as all ones > > RFC768> (the equivalent in one's complement arithmetic). An all zero > > R