TCP window size issues

Lev Walkin vlm at netli.com
Fri Oct 17 15:45:56 PDT 2003


Carl Mascott wrote:
> I have a few TCP window size issues.
[skip]
> 3. RFC 793 (TCP) says that shrinking the receive window after
>    connection is established is "strongly discouraged".  I'm
>    currently shrinking the receive window on my default route
>    (PPP link) from 32 KB to 4 KB with settings in
 >    /etc/ppp/ppp.conf.  (Had to back out patch in PR 11966.)

[skip]

>    How likely am I to get into trouble by shrinking the TCP
>    receive window?  Likely enough that I should make the

RFC793 has nothing to do with the defaults you're setting in ppp.conf.
RFC merely says that the TCP implementation _itself_ should not shrink
window after establishing a TCP connection. If the default dictates 4k,
the TCP implementation will use 4k and will not advertise a much smaller
window without having accepted that much data.

-- 
Lev Walkin
vlm at netli.com



More information about the freebsd-net mailing list