&My::Web::footer call is deprecated now, use just: exit;
[www.jankratochvil.net.git] / project / sshpatch / Index.pm
1 # $Id$
2 # Main page of 'My::Project::sshpatch'
3 # Copyright (C) 2003-2005 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18
19 package project::sshpatch::Index;
20 require 5.6.0;  # at least 'use warnings;' but we need some 5.6.0+ modules anyway
21 our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
22 our $CVS_ID=q$Id$;
23 use strict;
24 use warnings;
25
26 use My::Web;
27 Wuse 'project::Lib';
28
29
30 our @ListItem=(
31                 "name"=>"SSH-1 patch",
32                 "platform"=>"unixuser",
33                 "priority"=>180,
34                 "download"=>"ssh-1.2.30-kadata+odforw.tar.gz",
35                 "download-SSH-1, version 1.2.30, .src.rpm"=>"ftp://ftp.fi.muni.cz/pub/ssh/local-fi.muni.cz/linux/ssh-1.2.30-1i.src.rpm",
36                 "download-SSH-1, version 1.2.30, .tar.gz"=>"ftp://ftp.fi.muni.cz/pub/ssh/ssh-1.2.30.tar.gz",
37                 "summary"=>"SSH-1 <i>KeepAliveData</i> and <i>OnDemandForward</i> features",
38                 "license"=>"PD",
39                 "maintenance"=>sub {
40                                 return "obsolete-".a_href('http://www.openssh.com/','OpenSSH').' now contains equivalent features.';
41                                 },
42                 "language"=>"C patch",
43                 "description"=>sub { return <<"HERE"; },
44 <ul>
45         <li><i>KeepAliveData</i>: Protect your mostly idle SSH connection from broken
46                         masquerading firewalls which forget and reset the idle connections.
47                         Present in @{[ a_href('http://www.openssh.com/','OpenSSH') ]}
48                         as
49                         <b>@{[ a_href('http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config#DESCRIPTION','ServerAliveInterval') ]}</b>.</li>
50         <li><i>OnDemandForward</i>: Setup the connection only after the first client
51                         connected to the local tunnel (-L) connection side.
52                         Similiar feature in @{[ a_href('http://www.openssh.com/','OpenSSH') ]}
53                         present as
54                         <b>@{[ a_href('http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config#DESCRIPTION','DynamicForward') ]}</b>.</li>
55 </ul>
56 HERE
57                 );
58
59 sub handler
60 {
61 project::Lib->init();
62
63
64 print <<'HERE';
65 <p>This patch will enahance your <tt>SSH</tt> with two new options, their detailed description you will
66 find in the updated man pages after you install this offered patch:</p>
67 <ul>
68 <li><b>KeepAliveData</b>: Some broken hosts potentially gatewaying/masquerading the data (between ssh
69 client-server) forget and reject connections with too much idle time.  Use this option to
70 workaround it.</li>
71 <li><b>OnDemandForward</b>: Forces client to wait until the first connection to locally forwarded port is
72 made. When user enables this option, SSH client initially only starts listening on specified local ports for
73 forwarding. Only after the first connection to such local port is made, SSH will
74 start the connection and authentication to the server.</li>
75 </ul>
76 HERE
77
78
79 exit;
80 }
81 1;