Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1448777

Re: strange Mac OSX RST behavior

From Jason Baron <jbaron@akamai.com>
Newsgroups linux.kernel
Subject Re: strange Mac OSX RST behavior
Date 2016-07-22 23:10 +0200
Message-ID <rXPRL-2CP-9@gated-at.bofh.it> (permalink)
References <rQ8yd-8iZ-3@gated-at.bofh.it> <rQagG-WO-43@gated-at.bofh.it> <rQagG-WO-41@gated-at.bofh.it> <rQbcK-1vP-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

After looking at this further we found that there is actually
a rate limit on 'rst' packets sent by OSX on a closed socket.
Its set to 250 per second and controlled via:
net.inet.icmp.icmplim. Increasing that limit resolves the
issue, but the default is apparently 250.

Thanks,

-Jason

On 07/01/2016 02:16 PM, One Thousand Gnomes wrote:
>> yes, we do in fact see a POLLRDHUP from the FIN in this case and
>> read of zero, but we still have more data to write to the socket, and
>> b/c the RST is dropped here, the socket stays in TIME_WAIT until
>> things eventually time out...
> After the FIN when you send/retransmit your next segment do you then get
> a valid RST back from the Mac end?
>
> Alan

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: strange Mac OSX RST behavior Jason Baron <jbaron@akamai.com> - 2016-07-22 23:10 +0200

csiph-web