[Ecn-sane] cautionary tcp tale
Rodney W. Grimes
4bone at gndrsh.dnsmgr.net
Mon Aug 12 21:01:35 EDT 2019
> This is the stupidity of NAT, which encouraged modifying TCP checksums, which are supposed to be not modified in the network at all.
Yes, I never liked that this had to be done.
>
> The whole point of an "end-to-end" checksum is that the middle shouldn't touch it!
:-)
> Now I get why NAT became popular, though at the time many of us pretty much vomited all over the idea as completely bogus.
Still vomiting for some of us that have to deal with it on a continuous basis.
> I do worry that now there is TCP checksum offloading in NICs, that middleboxes are feeling freer just to throw away and recalculate checksums as they pass through, and not bother to forward non-TCP, nonUDP, nonICMP IP packets at all.
Scarry thought, do these nic cards have ECC on the buffers? Is the datapath through the chip protected by ECC?
> This would be the kind of thing that Cisco, for example, might just do, since they have long thought that they owned the Internet design as a corporate entity.
Well thankful a few competitors have shown up to level the game, a bit anyway.
> On Monday, August 12, 2019 7:37pm, "Jonathan Morton" <chromatix99 at gmail.com> said:
>
> >> On 13 Aug, 2019, at 12:30 am, Dave Taht <dave.taht at gmail.com> wrote:
> >>
> >> https://www.snellman.net/blog/archive/2017-07-20-s3-mystery/
> >
> > TL;DR summary:
> >
> > Buggy checksum recalculation in a cable modem caused minor packet loss (through
> > rejection at the receiver). In the absence of TCP Timestamps, the retransmissions
> > of these lost packets were identical and triggered the same bug. Result,
> > connections to certain particular servers which had the unusual property of
> > disabling TCP Timestamps would quickly stall.
> >
> > I think a tool could be made to watch a sample of received traffic for this
> > pattern: incorrect checksums where the correct checksum is the same each time
> > (though different per deployment). How much network equipment exhibits this bug?
> >
> > - Jonathan Morton
> > _______________________________________________
> > Ecn-sane mailing list
> > Ecn-sane at lists.bufferbloat.net
> > https://lists.bufferbloat.net/listinfo/ecn-sane
> >
>
>
> _______________________________________________
> Ecn-sane mailing list
> Ecn-sane at lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/ecn-sane
>
>
--
Rod Grimes rgrimes at freebsd.org
More information about the Ecn-sane
mailing list