> 1) I would like to know if there is any tool to determine the TCP
> window size in Linux Redhat 6.2. (kernel 2.2.16)?
> Or can I know the default window size? Also, is there any tool
> that can be used to control the window size??
You can get/set the default and maximum (that an application can
set via setsockopt() syscalls) through the proc files:
/proc/sys/net/core/[rw]mem_{default,max}.
You can turn window scaling on and off through, um...,
/proc/sys/net/ipv4/tcp_window_scaling.
If you want to know what is happening on the wire you need to
watch packets - good old tcpdump (or iptraf for those who need
something more graphical).
Mike
This archive was generated by hypermail 2b29 : Thu Jan 18 2001 - 06:57:15 EST