Date: Tue, 7 Sep 2021 11:57:10 +0200 From: Michael Tuexen <michael.tuexen@lurchi.franken.de> To: Rozhuk Ivan <rozhuk.im@gmail.com> Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: TCP connection ignore RST Message-ID: <DE81ABDF-A5A0-40FD-98DF-879EFF1B7DDD@lurchi.franken.de> In-Reply-To: <20210907124730.7a4a3b9a@rimwks.local> References: <20210904023730.5eddd6fd@rimwks.local> <927CA9E9-AB74-443D-83A7-931325DB7686@lurchi.franken.de> <20210907051034.5669a02d@rimwks.local> <1804249E-FD55-4A4A-9895-BCEDF2323137@lurchi.franken.de> <20210907124730.7a4a3b9a@rimwks.local>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 7. Sep 2021, at 11:47, Rozhuk Ivan <rozhuk.im@gmail.com> wrote: >=20 > On Tue, 7 Sep 2021 10:47:01 +0200 > Michael Tuexen <michael.tuexen@lurchi.franken.de> wrote: >=20 >>>>> I have strange case: FreeBSD 12.2 ignore TCP RST from windows host >>>>> and continue retransmitting packets. sockstat show that socket >>>>> connected even after many tcp rst packets received. >>>>>=20 >>>>> Any ideas how to fix it? =20 >>>> Where is the trace taken? On the Windows side or on the FreeBSD >>>> side or somewhere else? Could you provide the .pcap file? >>>>=20 >>>=20 >>> =46rom FreeBSD side. >>>=20 >>> https://reviews.freebsd.org/D28142 >>> e82353f84c58da9a5c38bd471a09936c16a5b6ea >>> https://reviews.freebsd.org/D28143 >>> d05d908d6d3c85479c84c707f931148439ae826b sysctl >>> net.inet.tcp.tolerate_missing_ts=3D1 this fixes issue for me. =20 >> That was my first guess, but after double checking, this code is not >> present in FreeBSD 12.2. However, it is present in stable/12. >> So could it be that you are using stable/12 and not 12.2? >>=20 >=20 > System build from: > commit 8c01699f9194cfa3805ac734ae912529a10c063a > CommitDate: Wed Jan 20 14:40:13 2021 +0100 > Add some examples to script.1... >=20 > It is not "clean" 12.2, and it is a bit early than commits with fixes. Ahh, OK. I was assuming that it is 12.2. Sorry for the confusion on my side. The following commit should fix your issue: = https://cgit.FreeBSD.org/src/commit/?id=3Dd05d908d6d3c85479c84c707f9311484= 39ae826b Best regards Michael=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DE81ABDF-A5A0-40FD-98DF-879EFF1B7DDD>