Re: UDP checksum calculation - uses lenght twice ?
- From: "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx>
- Date: Mon, 28 Nov 2005 16:42:19 +0200
That two different calculation not the same , this one take only specific
part of header for only that correctness in the case that common checksum
maybe the correct but address part not.
That can be in the case if some bit gone in one part and another added to
address part (used in pseudoheader ) the checksum ( general ) will be
correct but address occur wrong.
Don't forget that protocol exist about 30 years and network connections were
not so reliable as now
Arkady
P.S. BTW Police officer ( in this case RFC sure not me :) describe that
maybe not clearly enough but
"This gives the TCP protection against misrouted segments" ( RFC ) is the
explanation
"R.Wieser" <address@xxxxxxxxxxxxx> wrote in message
news:OugBNbC9FHA.3804@xxxxxxxxxxxxxxxxxxxxxxx
> Arkady Frenkel <arkadyf@xxxxxxxxxxxxxxxx> schreef in berichtnieuws
> O$6MlgA9FHA.808@xxxxxxxxxxxxxxxxxxxxxxx
>
> Hello Arkady,
>
>> But I wrote *why* you need that :
>
> We are talking about two different "why"-s here ... I know that I have
> to
> do the calculation according to the specification, otherwise it will not
> work. I have no problem in understanding that.
>
> My question is why that particular type of calculation was choosen ( in
> specific, why that calculation uses one value twice).
>
>
> Curently I feel like arguing with a police officer :
>
> Me : Why do I have to follow that rule ?
> Officer : Otherwise you get a ticket
> Me : No, I mean : will not following it endanger me or others or something
> ?
> Officer : No, because otherwise you will get a ticket.
> Me : ?????????
>
> Although the answer is correct, it does not answer the question : no
> reason
> to the why of the rule is given, only a reason why not to break it ....
>
> Regards,
> Rudy Wieser
>
>
>
.
- Follow-Ups:
- Re: UDP checksum calculation - uses lenght twice ?
- From: R.Wieser
- Re: UDP checksum calculation - uses lenght twice ?
- References:
- UDP checksum calculation - uses lenght twice ?
- From: R.Wieser
- Re: UDP checksum calculation - uses lenght twice ?
- From: Arkady Frenkel
- Re: UDP checksum calculation - uses lenght twice ?
- From: R.Wieser
- Re: UDP checksum calculation - uses lenght twice ?
- From: Arkady Frenkel
- Re: UDP checksum calculation - uses lenght twice ?
- From: Arkady Frenkel
- Re: UDP checksum calculation - uses lenght twice ?
- From: R.Wieser
- Re: UDP checksum calculation - uses lenght twice ?
- From: Arkady Frenkel
- Re: UDP checksum calculation - uses lenght twice ?
- From: R.Wieser
- UDP checksum calculation - uses lenght twice ?
- Prev by Date: Re: UDP datagrams - Possible to check for broadcast ?
- Next by Date: Re: UDP datagrams - Possible to check for broadcast ?
- Previous by thread: Re: UDP checksum calculation - uses lenght twice ?
- Next by thread: Re: UDP checksum calculation - uses lenght twice ?
- Index(es):
Relevant Pages
|