+platform
[www.jankratochvil.net.git] / project / tcp_rto / ListItem.pm
1 #! /usr/bin/perl
2
3 # $Id$
4 # Definition of 'My::Project::tcp_rto' for list.cgi.pl
5 # Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
6
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; exactly version 2 of June 1991 is required
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
20
21 package project::tcp_rto::ListItem;
22 require 5.6.0;  # at least 'use warnings;' but we need some 5.6.0+ modules anyway
23 our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
24 our $CVS_ID=q$Id$;
25 use strict;
26 use warnings;
27
28 use My::Web;
29
30
31 our @ListItem=(
32                 "name"=>"tcp_rto",
33                 "platform"=>"unixuser",
34                 "priority"=>7,
35                 "download-Linux kernel 2.2.17 patch"=>"linux-2.2.17-tcp_rto-1.diff",
36                 "download-Linux kernel 2.4.16 patch"=>"linux-2.4.16-tcp_rto-1.diff",
37                 "summary"=>"Linux kernel maximal TCP round-trip-time patch",
38                 "license"=>"GPL",
39                 "maintenance"=>"ready",
40                 "language"=>"C patch",
41                 "description"=><<"HERE",
42 <p>This patch can solve your problems if you have network connection dropping too much
43 packets. In standard case the Linux kernel will correctly increase our round-trip-time
44 of connection slowing the transfer rate up to the unusable state.</p>
45 <p>After applying this patch you can set your maximal round-trip-time in file
46 &quot;<b>/proc/sys/net/ipv4/tcp_rto_max</b>&quot;, it is expressed in <tt>Hz</tt>
47 units (<tt>100-per-second</tt> on <i>x86</i> platform). You may need also to enlarge
48 your maximal retry count in &quot;<b>/proc/sys/net/ipv4/tcp_retries2</b>&quot;,
49 otherwise <u>your</u> machine will reject the connection as it will have to retry
50 the packets more than in sane states.</p>
51 <p><font color="red">Please use this feature very carefully! You are violating
52 <tt>RFC</tt> standards and you can get your network administrators to be very angry!</font></p>
53 HERE
54                 );
55
56 1;