Re: TCP connection ignore RST

From: Michael Tuexen <michael.tuexen_at_lurchi.franken.de>
Date: Tue, 7 Sep 2021 10:47:01 +0200
> On 7. Sep 2021, at 04:10, Rozhuk Ivan <rozhuk.im_at_gmail.com> wrote:
> 
> On Sat, 4 Sep 2021 13:19:52 +0200
> Michael Tuexen <michael.tuexen_at_lurchi.franken.de> wrote:
> 
>>> On 4. Sep 2021, at 01:37, Rozhuk Ivan <rozhuk.im_at_gmail.com> wrote:
>>> 
>>> Hi!
>>> 
>>> 
>>> 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.
>>> 
>>> Any ideas how to fix it?  
>> Where is the trace taken? On the Windows side or on the FreeBSD side
>> or somewhere else? Could you provide the .pcap file?
>> 
> 
> From FreeBSD side.
> 
> https://reviews.freebsd.org/D28142 e82353f84c58da9a5c38bd471a09936c16a5b6ea
> https://reviews.freebsd.org/D28143 d05d908d6d3c85479c84c707f931148439ae826b
> sysctl net.inet.tcp.tolerate_missing_ts=1
> this fixes issue for me.
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?

Best regards
Michael
Received on Tue Sep 07 2021 - 08:47:01 UTC

Original text of this message