9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <skip.tavakkolian@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] adding TCP half-duplex close
Date: Fri, 10 Feb 2017 08:49:17 +0000	[thread overview]
Message-ID: <CAJSxfmJuxPxnpDO6ztKQcdbVWD+2giZYp5By1Uv7=YtcYJ4tCg@mail.gmail.com> (raw)
In-Reply-To: <CAOw7k5ghtmp+VbBy6Zai39_8ZX3w6hYaQ7DxzqDeGpZGBV5rUg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1318 bytes --]

I've submitted a patch for this to Bell Labs repo:

/n/sources/patch/tcp-halfduplex-close

Please review it; the change is fairly small.

It would be great if others could try it out. I've done light testing with
rc.  I've also verified it passes Go's net/http/serve_test.go (see
https://github.com/golang/go/issues/17906). All testing has been done with
RPI's (1's and 3's). I plan to do more testing with x86 box. Please try it
if you can.

Thanks everyone for your help,
-Skip

On Sun, Feb 5, 2017 at 1:48 PM Charles Forsyth <charles.forsyth@gmail.com>
wrote:

> On 5 February 2017 at 18:13, Bakul Shah <bakul@bitblocks.com> wrote:
>
> If they implement close correctly, they should be able to implement
> close-read correctly, it being a pure subset. In theory :-)
>
>
> but they didn't, so it's useless.
>
>
> As for SYN+data+FIN you had to have both sides properly implement rfc1644
> or the T/TCP extension.
>
>
> the original tcp/ip spec allowed for it, if implemented carefully (partly
> because of its heritage), but again, mismatch of implementations rendered
> it useless.
>
>
> This extension was deprecated at least by 2004 due to "the ease of DoS
> attacks that can result".
>
>
> yes, that's exactly what meant there was no longer any point in trying.
>
>
>

[-- Attachment #2: Type: text/html, Size: 3623 bytes --]

  reply	other threads:[~2017-02-10  8:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-04  1:56 Skip Tavakkolian
2017-02-04  6:29 ` Bakul Shah
2017-02-05  4:24   ` Skip Tavakkolian
2017-02-04  9:58 ` Charles Forsyth
2017-02-04 10:11   ` Charles Forsyth
2017-02-04 10:13     ` Charles Forsyth
2017-02-05  4:39       ` Skip Tavakkolian
2017-02-05  5:23         ` Bakul Shah
2017-02-05 15:51           ` Charles Forsyth
2017-02-05 15:54             ` Charles Forsyth
2017-02-05 18:13               ` Bakul Shah
2017-02-05 21:48                 ` Charles Forsyth
2017-02-10  8:49                   ` Skip Tavakkolian [this message]
2017-02-12  3:28                     ` Skip Tavakkolian
2017-02-05  7:54         ` Fran. J Ballesteros
2017-02-05  4:16   ` Skip Tavakkolian

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='CAJSxfmJuxPxnpDO6ztKQcdbVWD+2giZYp5By1Uv7=YtcYJ4tCg@mail.gmail.com' \
    --to=skip.tavakkolian@gmail.com \
    --cc=9fans@9fans.net \
    /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;
as well as URLs for NNTP newsgroup(s).