<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>Compression Enabled PortForwarder</title>
</head>
<body>
<a href="index.html">[English]</a><a href="index-j.html">[Japanese]</a>

<h1>Compression Enabled PortForwarder</h1>

<a href="http://www.fuji-climb.org/pf/">PortForwarder</a> is an
implementation of SSH Port Forwarding on windows platform, developed
by Fujio Nobori. Though PortForwarder 1.1.1 has no compressing
capability, its source code has compression function using <a
href="http://www.gzip.org/zlib/">gzip library
(zlib)</a>. It is very easy to enable compression.
<p>
I have only tested this patch on Windows 2000. It should work on
Windows 95/98/ME as well. I think it is not so hard to build Windows
CE version.

<h2>How to build</h2>

You need followings to build:

<ul>
<li>Visual C++</li> <li><a
href="http://www.fuji-climb.org/pf/">PortForwarder source
archive</a></li> <li><a
href="http://www.gzip.org/zlib/">zlib source archive
(zlib 1.1.4 is highly recommended)</a></li> <li><a href="pf111-zlib113.patch">This
Patch: pf111-zlib113.patch</a></li>
</ul>

<ol>
<li>Unpack PortForwarder source archive</li>
<li>cd <em>PortForwarder</em></li>
<li>Unpack zlib source archive into <em>PortForwarder</em> folder</li>
<li>patch -p1 &lt; pf111-zlib113.patch</li>
<li>nmake</li>
</ol>

If nmake ends successfully, you will find <em>PortForwarder.exe</em>
and <em>PF-keygen.exe</em> in <em>Win</em> folder.  I recommend that
you should copy <em>zlib-1.1.3\zlib.dll</em> into there to avoid
loading another <em>zlib.dll</em> that may cause application error.
Now you get compression enabled version of PortForwarder 1.1.1, and
two keywords, <em>Compression</em> and <em>CompressionLevel</em>, in
config get back their effects.

<hr>

<address>YAMAKURA Makoto / <a
href="mailto:yakina@spnet.ne.jp">yakina@spnet.ne.jp</a></address>
<br>
$Date: 2002/04/03 02:38:16 $ <!-- $Id: index.html,v 1.8 2002/04/03 02:38:16 yakina Exp $ -->
<p>
<script language="JavaScript">
var rf;
ref=escape(document.referrer)+"";
if( (ref=="undefined") || (ref=="") ){
ref="bookmark";}
document.write(''+
'<a href="http://www.sugoicounter.com:10000/cgi-bin/redir.cgi?id=4862&page=2">'+
'<img border=0 src="http://www.sugoicounter.com:10000/cgi-bin/counter.gif?'+
'id=4862'+
'&page=2'+
'&ref='+escape(ref)+
'&x='+screen.width+
'&y='+screen.height+
'&cols='+screen.colorDepth+
'&uniq=1'+
'&cnt=2'+
'"></a>');
</script>
<noscript>
<img border=0 src="http://www.sugoicounter.com:10000/cgi-bin/counter.gif?id=4862&page=2&uniq=1&cnt=2">
</noscript>
</body>
</html>