From: don-lartc@isis.cs3-inc.com (Don Cohen)
To: lartc@vger.kernel.org
Subject: [LARTC] http://lartc.org/howto/lartc.cookbook.mtu-mss.html
Date: Wed, 16 Apr 2003 17:21:16 +0000 [thread overview]
Message-ID: <marc-lartc-105051405524172@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105034787229221@msgid-missing>
Further research on this:
> [If I understand the code correctly ... - expert intervention invited]
> More precisely, this sets the MSS option to the MTU of the outgoing
> link for this packet (so it must have already been routed) minus the
> minimal size of a TCP and IP header, which is typically but not
> necessarily the "right" value.
> [In particular, if tcp options such as timestamp might be used then
> you really want to lower MSS a bit more to make room for these,
> right? So to be on the safe side, if you're lowering MSS due to
> a link with MTU<1500 then you should probably use something like
> MTU - 60, or perhaps to be really safe, leave room for maximal IP
> and TCP headers with MTU - 120 ]
rfc879
To resolve the ambiguity in the TCP Maximum Segment Size option
definition the following rule is established:
THE TCP MAXIMUM SEGMENT SIZE IS THE IP MAXIMUM DATAGRAM SIZE MINUS
FORTY.
It goes on to say that when tcp or ip options are used then the
MSS has to be effectively reduced. And in fact, this is what I
see going on in limited testing so far.
http://www.rfc-editor.org/cgi-bin/rfcsearch.pl lists the status of
rfc879 as UNKNOWN, but rfc1191 is listed as status DRAFT STANDARD and
it refers to above.
So, new wording for above should be
More precisely, this sets the MSS option to the MTU of the outgoing
link for this packet (so it must have already been routed) minus 40
which is supposed to tell the sender to limit packet size (including
TCP and IP headers, including any options they contain) to MSS+40.
For more details see RFC 879 and 1191.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2003-04-16 17:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-14 19:10 [LARTC] http://lartc.org/howto/lartc.cookbook.mtu-mss.html Don Cohen
2003-04-16 17:21 ` Don Cohen [this message]
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=marc-lartc-105051405524172@msgid-missing \
--to=don-lartc@isis.cs3-inc.com \
--cc=lartc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.