Need to verify tcp advertised window size

Need to verify tcp advertised window size

Post by Pa » Wed, 02 Jul 2003 10:40:46



Hi everyone,

I'm doing some tcp-over-satellite benchmarking and I was wondering
where could I get a similar output to the solaris version of "netstat
-f inet".

Under solaris, "netstat -f " displays the current advertised windows
for established connections:

pc103 (4) -> netstat -f inet

TCP: IPv4
   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q
State
-------------------- -------------------- ----- ------ ----- ------
-------
localhost.32783      localhost.32772      73620      0 73620      0
ESTABLISHED
localhost.32772      localhost.32783      73620      0 73620      0
ESTABLISHED
localhost.32786      localhost.32781      73620      0 73620      0
ESTABLISHED
localhost.32781      localhost.32786      73620      0 73620      0
ESTABLISHED
localhost.32789      localhost.32788      36810      0 73620      0
ESTABLISHED
localhost.32788      localhost.32789      73620      0 73620      0
ESTABLISHED
localhost.32792      localhost.32781      73620      0 73620      0
ESTABLISHED
localhost.32781      localhost.32792      73620      0 73620      0
ESTABLISHED
localhost.32795      localhost.32794      36810      0 73620      0
ESTABLISHED
localhost.32794      localhost.32795      73620      0 73620      0
ESTABLISHED

pc103 (5) -> uname -a
SunOS pc103 5.8 Generic_108529-09 i86pc i386 i86pc

However, "netstat -f inet" under FreeBSD 4.7 doesn't display this
useful information.

Is this info retreivable under 4.7? if so, how would I do that?

Thanks

Pat

 
 
 

1. Doubt on the window size advertise

Hi folks, I'm doing a test here to better understand TCP/IP and its
implementation on Linux.
I finished to read the Stevens book Vol1.

What I'm trying to do is to create a server, and then connect to it to
send 10 packages of 1024 bytes each. What's the problem??

When they exchange the SYN flags its all ok, and the advertised window
from server is 5792 and the client's window is 5840. At this point,
fine.

But when the first packet of 1024 bytes is sent, both the client and
server advertise a 46-bytes window.

And then, as the packets get ACKed, it grows from the client side, the
window grows by 1 segment at time, I thought it should be the
congestion avoidance, right?

But why 46 bytes window size??

The client never changes its window size, its 46 bytes for the entire
connection, as it has no receiving data, it should state at this
point.

The tcpdump of this connection is in: http://pastebin.com/m6784db94

Thanks

2. SUMMARY: Jumpstart - 2.6 Question.

3. TCP window sizes/large windows

4. Can't print to /dev/lp0 ,1 , or 2.Slackware

5. TCP window size adjustment?

6. How to autologin a user into CDE upon bootup

7. TCP and UDP window size

8. keyboard problem of openbsd on Sparc

9. ** How change TCP Window Size?? **

10. To increase TCP window size on Solaris 2.x

11. tcp window size of 1

12. tcp window size

13. TCP window size using dhcp