From b3550b8e77ba71ac6ab19de42cda439d611cf6a6 Mon Sep 17 00:00:00 2001
From: Sam Hocevar <sam@hocevar.net>
Date: Wed, 19 Jul 2017 19:23:24 +0200
Subject: [PATCH] Release 0.63 seems ready.

---
 configure.ac |  2 +-
 index.html   | 42 ++++++++++++++++++++----------------------
 rinetd.8     | 12 +++++++++---
 3 files changed, 30 insertions(+), 26 deletions(-)

diff --git a/configure.ac b/configure.ac
index f6ca4c8..2a46188 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
 # Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.52)
-AC_INIT(rinetd, 0.62.1sam, sam@hocevar.net)
+AC_INIT(rinetd, 0.63, sam@hocevar.net)
 AC_CONFIG_AUX_DIR(.auto)
 AC_CONFIG_SRCDIR([getopt.h])
 AC_CONFIG_HEADER([config.h])
diff --git a/index.html b/index.html
index da02a24..1ac6d8e 100644
--- a/index.html
+++ b/index.html
@@ -1,4 +1,4 @@
-<html>
+<html>
 <head>
 <title>RINETD(8)</title>
 <style>
@@ -40,23 +40,13 @@ blockquote,code {
 
 <h3>VERSION</h3>
 
-<p> Version 0.62, 04/13/2003. Version 0.62 corrects a potential buffer overflow
-when reallocating memory to accommodate more connections. Upgrading is strongly
-recommended. </p>
+<p> Version 0.63, 2017/07/19. Version 0.63 corrects several bugs including a
+denial of service security issue, and greatly improves performance, ease of
+use, and portability. </p>
 
 <h3>WHERE TO GET</h3>
-
-<p> <strong>For Linux:</strong>
-<a href="ftp://ftp.boutell.com/pub/boutell/rinetd/rinetd.tar.gz">By
-anonymous FTP from ftp.boutell.com</a> in the subdirectory
-<code>boutell/rinetd</code> as the file <code>rinetd.tar.gz</code>.
-</p>
-
-<p> <strong>For Windows 95/98/NT:</strong>
-<a href="ftp://ftp.boutell.com/pub/boutell/rinetd/rinetd.zip">By
-anonymous FTP from ftp.boutell.com</a> in the subdirectory
-<code>boutell/rinetd</code> as the file <code>rinetd.zip</code>.
-</p>
+ <p> <a href="https://github.com/samhocevar/rinetd/releases">By HTTP on
+GitHub</a> in the releases section. </p>
 
 <h3>DESCRIPTION</h3>
 
@@ -213,17 +203,25 @@ is untested. </p>
 
 <p> Copyright (c) 1997, 1998, 1999,
 <a href="http://www.boutell.com/boutell">Thomas Boutell</a> and
-<a href="http://www.boutell.com/">Boutell.Com, Inc.</a>
-This software is released for free use under the terms of
-the GNU General Public License, version 2 or higher.
-</p>
+<a href="http://www.boutell.com/">Boutell.Com, Inc.</a> </p>
+
+<p> Copyright (c) 2003&mdash;2017 <a href="https://github.com/samhocevar">Sam
+Hocevar</a> </p>
+
+<p> This software is released for free use under the terms of the GNU
+General Public License, version 2 or higher. </p>
 
 <h3>CONTACT INFORMATION</h3>
 
-<p> See <a href="http://www.boutell.com/rinetd">the rinetd web page</a>
-for the latest release. Thomas Boutell can be reached by email: <a
+<p> See <a href="https://github.com/samhocevar/rinetd/releases">the rinetd web
+page</a> for the latest release. </p>
+
+<p> Thomas Boutell can be reached by email: <a
 href="mailto:boutell@boutell.com">boutell@boutell.com</a> </p>
 
+<p> Sam Hocevar can be reached by email: <a
+href="mailto:sam@hocevar.net">sam@hocevar.net</a> </p>
+
 <h3>THANKS</h3>
 
 <p> Thanks are due to Bill Davidsen, Libor Pechachek, Sascha Ziemann, Joel
diff --git a/rinetd.8 b/rinetd.8
index fec4799..af36619 100644
--- a/rinetd.8
+++ b/rinetd.8
@@ -2,7 +2,7 @@
 .\" This software is released for free use under the terms of
 .\" the GNU Public License, version 2 or higher.
 .\"
-.Dd February 18, 1999
+.Dd July 19, 2017
 .Dt RINETD 8
 .Os LINUX
 .Sh NAME
@@ -12,7 +12,7 @@
 .Sh SYNOPSIS
 .Nm /usr/sbin/rinetd
 .Sh VERSION
-Version 0.62, 04/14/2003.
+Version 0.63, 2017/07/19.
 .Sh DESCRIPTION
 .Nm rinetd
 redirects TCP connections from one IP address and port to another. rinetd
@@ -181,12 +181,18 @@ is provided, but this code is untested. The logging is inadequate.
 The duration of each connection should be logged.
 .Sh LICENSE
 Copyright (c) 1997, 1998, 1999, Thomas Boutell and Boutell.Com, Inc.
+.Pp
+Copyright (c) 2003\-2017 Sam Hocevar
+.Pp
 This software is released for free use under the terms of
 the GNU Public License, version 2 or higher. NO WARRANTY
 IS EXPRESSED OR IMPLIED. USE THIS SOFTWARE AT YOUR OWN RISK.
 .Sh CONTACT INFORMATION
-See http://www.boutell.com/rinetd/ for the latest release.
+See https://github.com/samhocevar/rinetd/releases for the latest release.
+.Pp
 Thomas Boutell can be reached by email: boutell@boutell.com
+.Pp
+Sam Hocevar can be reached by email: sam@hocevar.net
 .Sh THANKS
 Thanks are due to Bill Davidsen, Libor Pechachek, Sascha Ziemann, the
 Apache Group, and many others who have contributed advice