setting the other end's TCP segment size

Giorgos Keramidas keramida at ceid.upatras.gr
Wed Jul 30 22:22:01 UTC 2008


On Wed, 30 Jul 2008 16:20:06 -0500, Derek Ragona <derek at computinginnovations.com> wrote:
> At 11:04 PM 7/29/2008, perryh at 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 :)



More information about the freebsd-questions mailing list