9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Bakul Shah <bakul+plan9@bitblocks.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] telnet vs. godaddy whois
Date: Wed, 16 Apr 2008 12:48:04 -0700	[thread overview]
Message-ID: <20080416194804.E3B735B54@mail.bitblocks.com> (raw)
In-Reply-To: Your message of "Wed, 16 Apr 2008 12:04:23 PDT." <13426df10804161204v5a33f59ala896838bb10f16a0@mail.gmail.com>

On Wed, 16 Apr 2008 12:04:23 PDT "ron minnich" <rminnich@gmail.com>  wrote:
> This is really an interesting discussion -- anybody think it could go
> on the wiki? I enjoyed it anyway :-)
>
> A good example of how correct behaviour (in this case Plan 9) can get
> you spanked.

Er... "correct" seems a bit strong. Why is Plan9 sending one
byte of data when it knows the receiver's window is closed?

Here is part of the plan9 trace Russ posted:
    002418 ms
        ether(s=0007b3f12c00 d=0004238ecb1a pr=0800 ln=64)
        ip(s=68.178.211.43 d=18.26.4.98 id=9330 frag=0000 ttl=223 pr=6 ln=40)
        tcp(s=43 d=32619 seq=2734158449 ack=1578393268 fl=AS win=0 ck=afb0)
    002437 ms
        ether(s=0004238ecb1a d=0007b3f12c00 pr=0800 ln=60)
        ip(s=18.26.4.98 d=68.178.211.43 id=9339 frag=0000 ttl=255 pr=6 ln=40)
        tcp(s=32619 d=43 seq=1578393268 ack=2734158450 fl=AP win=65535 ck=afa9)
    002456 ms
        ether(s=0004238ecb1a d=0007b3f12c00 pr=0800 ln=60)
        ip(s=18.26.4.98 d=68.178.211.43 id=933a frag=0000 ttl=255 pr=6 ln=41)
        tcp(s=32619 d=43 seq=1578393268 ack=2734158450 fl=A win=65535 ck=48b0)
        dump(g)

See RFC793, page 4, last para:
    TCP provides a means for the receiver to govern the amount of data
    sent by the sender.  This is achieved by returning a "window" with
    every ACK indicating a range of acceptable sequence numbers beyond
    the last segment successfully received.  The window indicates an
    allowed number of octets that the sender may transmit before
    receiving further permission.


  reply	other threads:[~2008-04-16 19:48 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-15 17:16 erik quanstrom
2008-04-16 13:31 ` Russ Cox
2008-04-16 13:46   ` Charles Forsyth
2008-04-16 16:52     ` Michaelian Ennis
2008-04-16 18:36     ` erik quanstrom
2008-04-16 19:04       ` ron minnich
2008-04-16 19:48         ` Bakul Shah [this message]
2008-04-16 20:25           ` Tim Wiess
2008-04-16 20:49           ` Charles Forsyth
2008-04-16 21:43             ` Taj Khattra
2008-04-16 22:00               ` John Barham
2008-04-16 22:20               ` C H Forsyth
2008-04-16 23:26             ` Bakul Shah
2008-04-17  0:04               ` Charles Forsyth
2008-04-17  8:18                 ` Charles Forsyth
2008-04-17 18:41                   ` Bakul Shah
2008-04-17 19:29                     ` erik quanstrom
2008-04-17 20:59                       ` Tim Wiess
2008-04-17 21:19                         ` Charles Forsyth
2008-04-17 21:23                           ` Tim Wiess
2008-04-17 21:56                             ` Charles Forsyth
2008-04-17 22:06                               ` Charles Forsyth
2008-04-17 22:43                               ` Tim Wiess
2008-04-17 23:02                                 ` Charles Forsyth
2008-04-17 23:09                                   ` Charles Forsyth
2008-04-21 14:56                                     ` erik quanstrom
2008-04-21 15:24                                       ` Charles Forsyth
2008-04-21 19:37                                         ` erik quanstrom
2008-04-21 20:20                                           ` Charles Forsyth
2008-04-21 19:28                                       ` Bakul Shah
2008-04-21 20:19                                         ` Charles Forsyth
2008-04-21 20:19                                         ` Charles Forsyth
2008-04-21 21:06                                           ` Bakul Shah
2008-04-21 21:24                                             ` Charles Forsyth
2008-04-21 21:40                                               ` Wes Kussmaul
2008-04-21 21:45                                                 ` erik quanstrom
2008-04-21 22:04                                                   ` Wes Kussmaul
2008-04-21 21:57                                                 ` Charles Forsyth
2008-04-21 22:07                                               ` Bakul Shah
2008-04-21 23:12                                                 ` Charles Forsyth
2008-04-21 21:49                                         ` erik quanstrom
2008-04-21 22:42                                           ` Bakul Shah
2008-04-17 21:42                       ` Bakul Shah
2008-04-17 21:49                         ` Charles Forsyth
2008-04-17 21:49                           ` erik quanstrom
2008-04-17 22:15                             ` Charles Forsyth
2008-04-17 22:19                               ` erik quanstrom
2008-04-17 22:48                                 ` Charles Forsyth
2008-04-17 22:55                                   ` Tim Wiess
2008-04-17 23:08                                     ` Charles Forsyth
2008-04-17 22:14                           ` Bakul Shah

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=20080416194804.E3B735B54@mail.bitblocks.com \
    --to=bakul+plan9@bitblocks.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).