tcp_window_scaling?

Knute Johnson knute at frazmtn.com
Wed Nov 15 06:05:47 UTC 2006


>On Tue, Nov 14, 2006 at 12:31:52PM -0800, Knute Johnson wrote:
>> A few weeks ago I was having trouble getting at certain web sites.  
>> Someone suggested turning off tcp_window_scaling.  That worked great. 
>>  Then I installed FC6.  Now I can't edit the tcp_window_scaling file 
>> because of some selinux issue.  I can to echo 0 > tcp_window_scaling 
>> however and it works great until I restart the Linux.  Then the value 
>> has changed back to 1.  Obviously I'm missing something here, can 
>> anybody point me in the right direction?
>
>Yep.
>
>/etc/sysctl.conf
>

Matthew:

Thanks for the response.  I remember now that that was how I fixed 
the problem with FC5.  It seems that this doesn't work with FC6.  
Below are my sysctl.conf and the 
/proc/sys/net/ipv4/tcp_window_scaling and tcp_rfc1337 files.  Note 
that they do not match.  Any ideas?

Thanks,

knute...

[knute at knute etc]$ cat sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core 
filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1

# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1

# added to solve problem with some websites - 14 nov 06 - kj
tcp_window_scaling = 0
tcp_rfc1337 = 1

[knute at knute etc]$ cat /proc/sys/net/ipv4/tcp_window_scaling
1
[knute at knute etc]$ cat /proc/sys/net/ipv4/tcp_rfc1337
0
[knute at knute etc]$


>
>-- 
>Matthew Miller           mattdm at mattdm.org          <http://mattdm.org/>
>Boston University Linux      ------>              <http://linux.bu.edu/>

-- 
Knute Johnson
Molon Labe...





More information about the users mailing list