Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2008 01:21:25 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Derek Ragona <derek@computinginnovations.com>
Cc:        perryh@pluto.rain.com, freebsd-questions@freebsd.org
Subject:   Re: setting the other end's TCP segment size
Message-ID:  <87abfzxbbu.fsf@kobe.laptop>
In-Reply-To: <6.0.0.22.2.20080730155021.024dd828@mail.computinginnovations.com> (Derek Ragona's message of "Wed, 30 Jul 2008 16:20:06 -0500")
References:  <488fe865.x7NyNic2A5pcZPCL%perryh@pluto.rain.com> <6.0.0.22.2.20080730155021.024dd828@mail.computinginnovations.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Jul 2008 16:20:06 -0500, Derek Ragona <derek@computinginnovations.com> wrote:
> At 11:04 PM 7/29/2008, perryh@pluto.rain.com wrote:
>> > [TCP] splits traffic to 'segments' using its own logic ...
>>
>> Is there a simple way for a FreeBSD system to cause its peer to use a
>> transmit segment size of, say, 640 bytes -- so that the peer will
>> never try to send a packet larger than that?
>>
>> I'm trying to get around a network packet-size problem.  In case it
>> matters, the other end is SunOS 4.1.1 on a sun3, and I've been unable
>> to find a way to limit its packet size directly.
>
> Just as an FYI, you might want to do:
> man setsockopt
> ro
> man getsockopt
>
> Each tcp conversation can have it's own size set along with a bunch of
> other params.

Good point.  The TCP_MAXSEG can reduce the maximum segment size for a
single TCP connection to something smaller than the interface MTU :)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87abfzxbbu.fsf>