From: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
To: Jason Baron <jbaron@akamai.com>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
davem@davemloft.net, eric.dumazet@gmail.com
Subject: Re: strange Mac OSX RST behavior
Date: Fri, 1 Jul 2016 17:04:41 +0100 [thread overview]
Message-ID: <20160701170441.51d21d48@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <1467385815-6357-1-git-send-email-jbaron@akamai.com>
> On Mac OSX 10.11.5 (latest version), we have found that when tcp
> connections are abruptly terminated (via ^C), a FIN is sent followed
> by an RST packet. The RST is sent with the same sequence number as the
> FIN, and thus dropped since the stack only accepts RST packets matching
> rcv_nxt (RFC 5961).
The Linux behaviour appears to be correct, and accepting a broken FIN is
most definitely a bad idea, it has a very different effect to a FIN
because there can be data going the other direction and a FIN is a one
way close
Alan
next prev parent reply other threads:[~2016-07-01 16:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-01 15:10 Jason Baron
2016-07-01 16:04 ` One Thousand Gnomes [this message]
2016-07-01 17:08 ` Rick Jones
2016-07-01 17:19 ` Jason Baron
2016-07-01 18:16 ` One Thousand Gnomes
2016-07-01 18:26 ` Jason Baron
2016-07-22 21:08 ` Jason Baron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160701170441.51d21d48@lxorguk.ukuu.org.uk \
--to=gnomes@lxorguk.ukuu.org.uk \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=jbaron@akamai.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®