X-Git-Url: http://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=blobdiff_plain;f=project%2Ftcp_rto%2FIndex.pm;fp=project%2Ftcp_rto%2FIndex.html.pl;h=cfc32fa47704a5528f4c7b291a4360e846b0b10c;hp=5c5dd9a8ff36606dbedb5bb1c03d757e6ea7466b;hb=19c5ad8e26ac320516b8427c416a9195ce4fea48;hpb=4df4c5409020cd58d7dd7f98a88653c96e860dfb diff --git a/project/tcp_rto/Index.html.pl b/project/tcp_rto/Index.pm old mode 100755 new mode 100644 similarity index 64% rename from project/tcp_rto/Index.html.pl rename to project/tcp_rto/Index.pm index 5c5dd9a..cfc32fa --- a/project/tcp_rto/Index.html.pl +++ b/project/tcp_rto/Index.pm @@ -1,8 +1,6 @@ -#! /usr/bin/perl -# # $Id$ # Main page of 'My::Project::tcp_rto' -# Copyright (C) 2003 Jan Kratochvil +# Copyright (C) 2003-2005 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 @@ -25,17 +23,32 @@ our $CVS_ID=q$Id$; use strict; use warnings; -BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,)[0]]}; eval "use lib '$top_dir'"; close F; } use My::Web; -Wuse 'My::Project'; -Wuse 'project::tcp_rto::ListItem'; +Wuse 'project::Lib'; -My::Project->init_project( - "__PACKAGE__"=>__PACKAGE__, - "ListItem"=>\@project::tcp_rto::ListItem::ListItem, +our @ListItem=( + "name"=>"tcp_rto", + "platform"=>"unixuser", + "trivia"=>1, + "priority"=>330, + "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"=>"Linux kernel maximal TCP round-trip-time patch", + "license"=>"GPL", + "maintenance"=>"ready", + "language"=>"C patch", + "description"=><<"HERE", +

Solve your problems with network connection dropping too much of your +packets. It forces Linux kernel to insist repeating the packages to prevent +slowdown of the TCP connection up to its unusable state.

+HERE ); +sub handler +{ +project::Lib->init(); + print <<"HERE";

This patch can solve your problems if you have network connection dropping too much @@ -45,11 +58,13 @@ of connection slowing the transfer rate up to the unusable state.

"/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 +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!

+

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

HERE My::Web->footer(); +} +1;