Limiting the size of incoming/outgoing TCP packets

Cheng Jack-QA3581 <Jack.Cheng@motorola.com> Fri, 01 March 2002 16:35 UTC

Message-ID: <49B18DE31018D5118FBA009027B0FE99077722CE@IL27EXM07.cig.mot.com>
From: Cheng Jack-QA3581 <Jack.Cheng@motorola.com>
To: "'tcp-impl@grc.nasa.gov'" <tcp-impl@grc.nasa.gov>
Cc: Ali Irfan-FIA225 <Irfan.Ali@motorola.com>, Cheng Jack-QA3581 <Jack.Cheng@motorola.com>
Subject: Limiting the size of incoming/outgoing TCP packets
Date: Fri, 1 Mar 2002 10:35:47 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2654.52)
Content-Type: text/plain; charset="iso-8859-1"
Sender: owner-tcp-impl@grc.nasa.gov
Precedence: bulk
Status: RO
Content-Length: 847
Lines: 27

Hi,

I'm interested in limiting the size of incoming/outgoing TCP packets without
affecting 
incoming/outgoing UDP packets.  

Here's the scenario ...

Say that Host1 establishes a TCP connection with Host2.  Host1 advertises a
Maximum 
Segment Size (MSS) option in the SYN (or SYN ACK).  This tells Host2 the
maximum
size of TCP packets that Host1 can handle.  So this limits the packet size
on the *incoming*
TCP packets on Host1.  How can Host1's advertised MSS be set to a lower
value?  Has
anyone ever implemented this?

Also, I want to limit the size of *outgoing* TCP packets from Host1 to
Host2?  One way is to 
change the advertised MSS that Host2 sends to the desired value.  I don't
want to do that though
since Host2 sends/receives TCP packets from other hosts and doing so will
affect these other hosts.

Thanks for the help.

	- Jack