#! /usr/bin/perl # # $Id$ # Definition of 'My::Project::tcp_rto' for list.cgi.pl # Copyright (C) 2003 Jan Kratochvil # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; exactly version 2 of June 1991 is required # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA package My::Project::tcp_rto; require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway use vars qw($VERSION $CVS_ID); $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; }; $CVS_ID=q$Id$; use strict; use warnings; our %ListItem=( "name"=>"Linux Kernel Patch for Maximal Round-trip-time", "download-Linux kernel 2.2.17 patch"=>"linux-2.2.17-tcp_rto-1.diff", "download-Linux kernel 2.4.16 patch"=>"linux-2.4.16-tcp_rto-1.diff", "summary"=>"Network workaround", "license"=>"GPL", "maintenance"=>"finished", "language"=>"C patch", "description"=>"" .'

This patch can solve your problems if you have network connection dropping too much' .' packets. In standard case the Linux kernel will correctly increase our round-trip-time' .' of connection slowing the transfer rate up to the unusable state.

' .'

After applying this patch you can set your maximal round-trip-time in file' .' "/proc/sys/net/ipv4/tcp_rto_max", it is expressed in Hz' .' units (100-per-second on x86 platform). You may need also to enlarge' .' your maximal retry count in "/proc/sys/net/ipv4/tcp_retries2",' .' otherwise your machine will reject the connection as it will have to retry' .' the packets more than in sane states.

' .'

Please use this feature very carefully! You are violating' .' RFC standards and you can get your network administrators to be very angry!

' ); 1;