chiark / gitweb /
Rename entire project from `fw' to `fwd'.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 2 Apr 2008 08:46:46 +0000 (09:46 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 2 Apr 2008 08:58:37 +0000 (09:58 +0100)
I'm fed up of the name clash with funnelweb.  It ends here, and now.

Most of the work is with the Debian package, to provide a compatibility
package which does the right thing.

35 files changed:
.skelrc
Makefile.am
acl.c
chan.c
conf.c
conf.h
configure.ac
debian/.gitignore
debian/changelog
debian/control
debian/copyright
debian/fw.README.Debian [new file with mode: 0644]
debian/fw.postinst [deleted file]
debian/fw.sh [new file with mode: 0644]
debian/fwd.init [moved from debian/fw.init with 91% similarity]
debian/fwd.postinst [new file with mode: 0644]
debian/rules
endpt.c
exec.c
fattr.c
file.c
fwd.1.in [moved from fw.1.in with 97% similarity]
fwd.c [moved from fw.c with 97% similarity]
fwd.h [moved from fw.h with 99% similarity]
identify.c
inet.c
make-manpage
privconn.c
reffd.c
rlimits.h
scan.c
scan.h
socket.c
source.c
un.c

diff --git a/.skelrc b/.skelrc
index 8aba84a5fad0bce832e10422de4be5d185679f41..1ae2722d0f0df368cd42516836fa2e7bbb45f454 100644 (file)
--- a/.skelrc
+++ b/.skelrc
@@ -3,6 +3,6 @@
 (setq skel-alist
       (append
        '((author . "Straylight/Edgeware")
-        (program . "`fw'")
-        (full-title . "the `fw' port forwarder"))
+        (program . "`fwd'")
+        (full-title . "the `fwd' port forwarder"))
        skel-alist))
index f9a96a35076c31e707548de9412856d1c5e793e4..eb33ab49f20fea7a9750c70c3d3b71e5399c8682 100644 (file)
@@ -1,26 +1,26 @@
 ### -*-makefile-*-
 ###
-### Makefile for fw
+### Makefile for fwd
 ###
 ### (c) 1999 Mark Wooding
 ###
 
 ###----- Licensing notice ---------------------------------------------------
 ###
-### This file is part of the `fw' port forwarder.
+### This file is part of the `fwd' port forwarder.
 ###
-### `fw' is free software; you can redistribute it and/or modify
+### `fwd' is free software; you can redistribute it and/or modify
 ### it under the terms of the GNU General Public License as published by
 ### the Free Software Foundation; either version 2 of the License, or
 ### (at your option) any later version.
 ###
-### `fw' is distributed in the hope that it will be useful,
+### `fwd' is distributed in the hope that it will be useful,
 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 ### GNU General Public License for more details.
 ###
 ### You should have received a copy of the GNU General Public License
-### along with `fw'; if not, write to the Free Software Foundation,
+### along with `fwd'; if not, write to the Free Software Foundation,
 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 bin_PROGRAMS            =
@@ -36,66 +36,66 @@ AM_CFLAGS            = $(mLib_CFLAGS)
 ###--------------------------------------------------------------------------
 ### Documentation.
 
-make_manpage            = perl $(srcdir)/make-manpage <$(srcdir)/fw.1.in
-EXTRA_DIST             += fw.1.in make-manpage
+make_manpage            = perl $(srcdir)/make-manpage <$(srcdir)/fwd.1.in
+EXTRA_DIST             += fwd.1.in make-manpage
 
 ## The manual page.
-man_MANS               += fw.1
-CLEANFILES             += fw.1
+man_MANS               += fwd.1
+CLEANFILES             += fwd.1
 
-fw.1: fw.1.in make-manpage
+fwd.1: fwd.1.in make-manpage
        $(make_manpage) man >$@.new && mv $@.new $@
 
 ## The grammar summary.
 MAINTAINERCLEANFILES   += $(srcdir)/GRAMMAR
 EXTRA_DIST             += GRAMMAR
 
-$(srcdir)/GRAMMAR: fw.1.in make-manpage
+$(srcdir)/GRAMMAR: fwd.1.in make-manpage
        $(make_manpage) text >$@.new && mv $@.new $@
 
 ###--------------------------------------------------------------------------
 ### The main port forwarder.
 
-bin_PROGRAMS           += fw
-fw_SOURCES              =
-fw_LDADD                = $(mLib_LIBS)
+bin_PROGRAMS           += fwd
+fwd_SOURCES             =
+fwd_LDADD               = $(mLib_LIBS)
 
 ## Main program.
-fw_SOURCES             += fw.c fw.h
+fwd_SOURCES            += fwd.c fwd.h
 
-fw_SOURCES             += chan.c
-fw_SOURCES             += endpt.c
-fw_SOURCES             += source.c
+fwd_SOURCES            += chan.c
+fwd_SOURCES            += endpt.c
+fwd_SOURCES            += source.c
 
-fw_SOURCES             += conf.c
-fw_SOURCES             += scan.c
-fw_SOURCES             += fattr.c
+fwd_SOURCES            += conf.c
+fwd_SOURCES            += scan.c
+fwd_SOURCES            += fattr.c
 
-fw_SOURCES             += reffd.c
+fwd_SOURCES            += reffd.c
 
 ## Sockets.
-fw_SOURCES             += socket.c
+fwd_SOURCES            += socket.c
 
-fw_SOURCES             += un.c
+fwd_SOURCES            += un.c
 
-fw_SOURCES             += inet.c
-fw_SOURCES             += acl.c
-fw_SOURCES             += identify.c
-fw_SOURCES             += privconn.c
+fwd_SOURCES            += inet.c
+fwd_SOURCES            += acl.c
+fwd_SOURCES            += identify.c
+fwd_SOURCES            += privconn.c
 
 ## Files.
-fw_SOURCES             += file.c
+fwd_SOURCES            += file.c
 
 ## Executables.
-fw_SOURCES             += exec.c
-fw_SOURCES             += rlimits.h
+fwd_SOURCES            += exec.c
+fwd_SOURCES            += rlimits.h
 
 ## Documentation.
-fw_SOURCES             += mantext.c
+fwd_SOURCES            += mantext.c
 CLEANFILES             += mantext.c
 BUILT_SOURCES          += mantext.c
 
-mantext.c: fw.1.in make-manpage
+mantext.c: fwd.1.in make-manpage
        $(make_manpage) c >$@.new && mv $@.new $@
 
 ###--------------------------------------------------------------------------
@@ -115,7 +115,11 @@ EXTRA_DIST         += debian/control
 EXTRA_DIST             += debian/copyright
 
 ## Run the daemon automatically.
-EXTRA_DIST             += debian/fw.init
-EXTRA_DIST             += debian/fw.postinst
+EXTRA_DIST             += debian/fwd.init
+EXTRA_DIST             += debian/fwd.postinst
+
+## Compatbility cruft.
+EXTRA_DIST             += debian/fw.sh
+EXTRA_DIST             += debian/fw.README.Debian
 
 ###----- That's all, folks --------------------------------------------------
diff --git a/acl.c b/acl.c
index fd5b7772acea2c86519e4070b9d64ef0edf4c6dc..2207d3bec7aa01058970db68d9a36a6adaec2502 100644 (file)
--- a/acl.c
+++ b/acl.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Main code ---------------------------------------------------------*/
 
diff --git a/chan.c b/chan.c
index e4965af804fe32abcc423a4c68c097d3c56c6766..e5b6d06ab5771244df203ce1131a70241ce1d37a 100644 (file)
--- a/chan.c
+++ b/chan.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 #ifdef CHAN_DEBUG
 #  define D(x) x
diff --git a/conf.c b/conf.c
index a31d179678c21de4b3b2efb4f81208a47c067021..da40b2ee622495ed245fa2553a2443a685790c0d 100644 (file)
--- a/conf.c
+++ b/conf.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Main code ---------------------------------------------------------*/
 
diff --git a/conf.h b/conf.h
index 99cce31d0006d24a8d406c6660e5ab603cdc7c04..f12e7f88eda5e2a92a891cc071ea1e8ba5d414b9 100644 (file)
--- a/conf.h
+++ b/conf.h
@@ -7,20 +7,20 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
index 5da430bbc808c55372549ffb9183413b2092b1c1..64308fb00118b6d79111b5e9f5916e3dbbd5ab25 100644 (file)
@@ -1,34 +1,34 @@
 dnl -*-autoconf-*-
 dnl
-dnl Configuration script for fw
+dnl Configuration script for fwd
 dnl
 dnl (c) 2008 Straylight/Edgeware
 dnl
 
 dnl ----- Licensing notice --------------------------------------------------
 dnl
-dnl This file is part of the `fw' port forwarder.
+dnl This file is part of the `fwd' port forwarder.
 dnl
-dnl `fw' is free software; you can redistribute it and/or modify
+dnl `fwd' is free software; you can redistribute it and/or modify
 dnl it under the terms of the GNU General Public License as published by
 dnl the Free Software Foundation; either version 2 of the License, or
 dnl (at your option) any later version.
 dnl
-dnl `fw' is distributed in the hope that it will be useful,
+dnl `fwd' is distributed in the hope that it will be useful,
 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 dnl GNU General Public License for more details.
 dnl
 dnl You should have received a copy of the GNU General Public License
-dnl along with `fw'; if not, write to the Free Software Foundation,
+dnl along with `fwd'; if not, write to the Free Software Foundation,
 dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 dnl--------------------------------------------------------------------------
 dnl Initialization.
 
 mdw_AUTO_VERSION
-AC_INIT([fw], AUTO_VERSION, [mdw@distorted.org.uk])
-AC_CONFIG_SRCDIR([fw.c])
+AC_INIT([fwd], AUTO_VERSION, [mdw@distorted.org.uk])
+AC_CONFIG_SRCDIR([fwd.c])
 AC_CONFIG_AUX_DIR([config])
 
 AM_INIT_AUTOMAKE([foreign])
index fd52ef42c488d57488bf6df9458306d869177ea7..2dca294d4c85c382efb17f2853eb949282f92512 100644 (file)
@@ -3,4 +3,4 @@ tmp
 substvars
 *.substvars
 *.debhelper
-fw
+fwd
index 285cad51fdafb60ab2cbccec05d9ec3e1e7f66fa..47794d100701b202a925507b4ff820cceb635e63 100644 (file)
@@ -1,3 +1,9 @@
+fwd (1.3.5) experimental; urgency=low
+
+  * Rename package to fwd.
+
+ -- Mark Wooding <mdw@distorted.org.uk>  Wed, 02 Apr 2008 09:42:04 +0100
+
 fw (1.3.0) experimental; urgency=low
 
   * Add --pidfile option.
index 5300dfdcc70e671d9fb933a3fb0207c7e6de9bba..8263a6631ca7af2626d299f43616934ea7a6e24f 100644 (file)
@@ -1,17 +1,34 @@
-Source: fw
+Source: fwd
 Section: net
 Priority: extra
 Build-Depends: mlib-dev (>= 2.0.3), debhelper (>= 4.0.2)
 Maintainer: Mark Wooding <mdw@distorted.org.uk>
 Standards-Version: 3.1.1
 
-Package: fw
+Package: fwd
 Architecture: any
 Depends: ${shlibs:Depends}
 Description: Excessive port forwarder
- fw can forward connections to and from: TCP sockets, Unix-domain sockets,
+ fwd can forward connections to and from: TCP sockets, Unix-domain sockets,
  locally-executed programs, and file descriptors.  It can do host-based
  access control.  It will log incoming TCP connections by hostname and
  username (as reported by identd on the connecting host).  It subsumes the
  basic functionality of inetd, cat, netcat and others.  It runs as a
  single nonblocking process.
+
+Package: fw
+Architecture: all
+Depends: fwd
+Conflicts: funnelweb
+Description: Excessive port forwarder
+ fwd can forward connections to and from: TCP sockets, Unix-domain sockets,
+ locally-executed programs, and file descriptors.  It can do host-based
+ access control.  It will log incoming TCP connections by hostname and
+ username (as reported by identd on the connecting host).  It subsumes the
+ basic functionality of inetd, cat, netcat and others.  It runs as a single
+ nonblocking process.
+ .
+ Once upon a time, fwd was called fw; but this conflicts with funnelweb's use
+ of the same name.  This package depends on the new, renamed real package and
+ provides compatibility scripts and symlinks.  Once you've fixed references
+ to the old name, you can delete this package.
index 6401701d8228ad654086d5d6c02ca14ac86cba70..094a2fb606e32a714f095e38fdf7a955de11c493 100644 (file)
@@ -1,11 +1,11 @@
-fw is copyright (c) 2003 Straylight/Edgeware.
+fwd is copyright (c) 2003 Straylight/Edgeware.
 
-fw is free software; you can redistribute it and/or modify
+fwd is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
-fw is distributed in the hope that it will be useful,
+fwd is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
diff --git a/debian/fw.README.Debian b/debian/fw.README.Debian
new file mode 100644 (file)
index 0000000..5710699
--- /dev/null
@@ -0,0 +1,17 @@
+fw renamed to fwd
+
+The port forwarder `fw' has been renamed, since funnelweb already uses
+that name.  It's now called `fwd', which seems clear, and suggests that
+it might run as a daemon (which is true).
+
+This package provides a compatibility script with the old name.  It nags
+you each time it runs, unless you set FW_RENAME_NAG=muffle in your
+environment.  I recommend that you fix whatever it is that's calling fwd
+instead of setting this variable.
+
+                                       Mark Wooding, <mdw@distorted.org.uk>
+                                       2008-04-02
+\f
+Local variables:
+mode: text
+End:
diff --git a/debian/fw.postinst b/debian/fw.postinst
deleted file mode 100644 (file)
index 41ae0c3..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#! /bin/sh
-
-set -e
-getent group fw >/dev/null || addgroup --system fw
-getent passwd fw >/dev/null || {
-  adduser --system --ingroup fw --home / fw
-  usermod -c "Port forwarding daemon" -s /bin/false -g fw -G fw fw
-}
-
-#DEBHELPER#
diff --git a/debian/fw.sh b/debian/fw.sh
new file mode 100644 (file)
index 0000000..6bc3554
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+set -e
+case "$FW_RENAME_NAG" in
+  muffle) ;;
+  "") echo >&2 "$0: the \`fw' program been renamed to /usr/bin/fwd" ;;
+esac
+exec /usr/bin/fwd "$@"
similarity index 91%
rename from debian/fw.init
rename to debian/fwd.init
index 6769a532b6a9d1c01f5cfa73a5e54d1777c63138..82dcc6172d280b495ca841ae75a8ed56c758be69 100644 (file)
@@ -1,6 +1,6 @@
 #! /bin/sh
 ### BEGIN INIT INFO
-# Provides:          fw
+# Provides:          fwd
 # Required-Start:    $local_fs $remote_fs
 # Required-Stop:     $local_fs $remote_fs
 # Default-Start:     2 3 4 5
 # PATH should only include /usr/* if it runs after the mountnfs.sh script
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC="port forwarding daemon"
-NAME=fw
-DAEMON=/usr/bin/fw
+NAME=fwd
+DAEMON=/usr/bin/fwd
 PIDFILE=/var/run/$NAME.pid
 SCRIPTNAME=/etc/init.d/$NAME
-FWUSER=fw FWGROUP=fw
+FWUSER=fwd FWGROUP=fwd
 DAEMON_ARGS="--syslog"
-CONFIG=/etc/fw.conf
+CONFIG=/etc/fwd.conf
+OLDCONFIG=/etc/fw.conf
 
 # Exit if the package is not installed
 [ -x "$DAEMON" ] || exit 0
@@ -32,6 +33,11 @@ CONFIG=/etc/fw.conf
 [ -r /etc/default/$NAME ] && . /etc/default/$NAME
 
 # Exit if no configuration file
+if [ -r "$CONFIG" ] && [ -r "$OLDCONFIG" ]; then
+  log_warning_message \
+    "Using old config file /etc/fw.conf.  Please rename it to /etc/fwd.conf."
+  CONFIG=$OLDCONFIG
+fi
 [ -r "$CONFIG" ] || exit 0
 
 # Load the VERBOSE setting and other rcS variables
diff --git a/debian/fwd.postinst b/debian/fwd.postinst
new file mode 100644 (file)
index 0000000..8fe153d
--- /dev/null
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+set -e
+getent group fwd >/dev/null || addgroup --system fwd
+getent passwd fwd >/dev/null || {
+  adduser --system --ingroup fwd --home / fwd
+  usermod -c "Port forwarding daemon" -s /bin/false -g fwd -G fwd fwd
+}
+
+#DEBHELPER#
index 39c2a7ca7256908cf5728875bb79b834ef5d07ad..1996d950b31d0ab6bb4c7c91f7bd28aa16aa2883 100755 (executable)
@@ -9,10 +9,22 @@ include $(CDBS)/rules/debhelper.mk
 ### General definitions.
 
 DEB_BUILDDIR = $(CURDIR)/build
+DEB_DESTDIR = $(CURDIR)/debian/fwd
 
 ###--------------------------------------------------------------------------
 ### Documentation.
 
-DEB_INSTALL_DOCS_fw     = GRAMMAR
+DEB_INSTALL_DOCS_fwd    = GRAMMAR
 
-###----- That's all, folks --------------------------------------------------
\ No newline at end of file
+###--------------------------------------------------------------------------
+### Compatibility package.
+
+DEB_INSTALL_DIRS_fw = \
+       usr/bin \
+       usr/share/man/man1
+
+install/fw::
+       install -m755 debian/fw.sh debian/fw/usr/bin/fw
+       ln -s fwd.1.gz debian/fw/usr/share/man/man1/fw.1.gz
+
+###----- That's all, folks --------------------------------------------------
diff --git a/endpt.c b/endpt.c
index 2e51e5456d3f5bc5fba97ee0b48f3ee7c2494f2f..a1b6ac785aed9c92a15d59395418bdac8e5c39f4 100644 (file)
--- a/endpt.c
+++ b/endpt.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Data structures ---------------------------------------------------*/
 
diff --git a/exec.c b/exec.c
index f7c96efbf57582d4ee20b6511b93b7b45685a9fb..b82eeeaffb74661318d3016d318151a4e97c39d0 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Data structures ---------------------------------------------------*/
 
diff --git a/fattr.c b/fattr.c
index 716efbce3687b1fecf63d2f7f8004661040850bc..71fcd2418d77e0fe033a547b6a3f4b590c0ec2f4 100644 (file)
--- a/fattr.c
+++ b/fattr.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Global variables --------------------------------------------------*/
 
diff --git a/file.c b/file.c
index cf0706d4b84bcca107d5f056cba1edf66899fc7a..47b494359bed3fba6187cda2b444dbc70bde8972 100644 (file)
--- a/file.c
+++ b/file.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Data structures ---------------------------------------------------*/
 
similarity index 97%
rename from fw.1.in
rename to fwd.1.in
index 5dc51f7252240c4ce28f6b3a6c7a91e388a7305f..d596b7938f73c33a47d8d329ebb96c1f6559cbcd 100644 (file)
--- a/fw.1.in
+++ b/fwd.1.in
@@ -1,26 +1,26 @@
 .\" -*-nroff-*-
 .\"
-.\" Manual page for fw
+.\" Manual page for fwd
 .\"
 .\" (c) 1999 Straylight/Edgeware
 .\"
 .
 .\"----- Licensing notice ---------------------------------------------------
 .\"
-.\" This file is part of the `fw' port forwarder.
+.\" This file is part of the `fwd' port forwarder.
 .\"
-.\" `fw' is free software; you can redistribute it and/or modify
+.\" `fwd' is free software; you can redistribute it and/or modify
 .\" it under the terms of the GNU General Public License as published by
 .\" the Free Software Foundation; either version 2 of the License, or
 .\" (at your option) any later version.
 .\"
-.\" `fw' is distributed in the hope that it will be useful,
+.\" `fwd' is distributed in the hope that it will be useful,
 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 .\" GNU General Public License for more details.
 .\"
 .\" You should have received a copy of the GNU General Public License
-.\" along with `fw'; if not, write to the Free Software Foundation,
+.\" along with `fwd'; if not, write to the Free Software Foundation,
 .\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 .
 .\"----- Various bits of fancy styling --------------------------------------
 .
 .\"--------------------------------------------------------------------------
 .
-.TH fw 1 "1 July 1999" "Straylight/Edgeware" "fw port forwarder"
+.TH fwd 1 "1 July 1999" "Straylight/Edgeware" "fwd port forwarder"
 .
 .\"--------------------------------------------------------------------------
 .SH NAME
 .
-fw \- port forwarder
+fwd \- port forwarder
 .
 .\"--------------------------------------------------------------------------
 .SH SYNOPSIS
 .
-.B fw
+.B fwd
 .RB [ \-dlq ]
 .RB [ \-p
 .IR file ]
@@ -116,7 +116,7 @@ fw \- port forwarder
 .SH "DESCRIPTION"
 .
 The
-.B fw
+.B fwd
 program is a simple port forwarder.  It supports a number of features
 the author hasn't found in similar programs:
 .TP
@@ -143,7 +143,7 @@ easily as more normal Internet sockets.  Access control doesn't work on
 Unix domain sockets, though.  (Yet.)
 .SS "Command line options"
 The
-.B fw
+.B fwd
 program understands a few simple command line options:
 .TP
 .B "\-h, \-\-help"
@@ -181,7 +181,7 @@ Emit logging information to the system log, rather than standard error.
 .TP
 .BI "\-p, \-\-pidfile=" file
 Write
-.BR fw 's
+.BR fwd 's
 process-id to
 .I file
 during start-up.  If
@@ -219,7 +219,7 @@ stdin is not a terminal.
 .SH "CONFIGURATION LANGUAGE"
 .
 The
-.B fw
+.B fwd
 program has a fairly sophisticated configuration language to let you
 describe which things should be forwarded where and what special
 features there should be.
@@ -293,11 +293,11 @@ The overall syntax looks a bit like this:
 ::=
 .I option-stmt
 |
-.I fw-stmt
+.I fwd-stmt
 .br
-.I fw-stmt
+.I fwd-stmt
 ::=
-.B fw
+.B fwd
 .I source
 .I options
 .RB [ to | \-> ]
@@ -319,9 +319,10 @@ The overall syntax looks a bit like this:
 .I option-seq
 .GE
 If you prefer, the keyword
-.RB ` fw '
+.RB ` fwd '
 may be spelt
-.RB ` forward '
+.RB ` fwd ',
+.RB ` forward ',
 or
 .RB ` from '.
 All are equivalent.
@@ -340,7 +341,7 @@ is the source, while the part which sets up outgoing connections to the
 destination server is the target.
 .PP
 Essentially, all
-.B fw
+.B fwd
 does is set up a collection of sources and targets based on your
 configuration file so that when a source decides to initiate a data
 flow, it tells its target to set its end up, and then squirts data back
@@ -353,12 +354,12 @@ targets.  Others are
 .IR transient :
 they set up one connection and then disappear.  If all the sources
 defined are transient, then
-.B fw
+.B fwd
 will quit when no more active sources remain and all connections have
 terminated.
 .PP
 The
-.B fw
+.B fwd
 program is fairly versatile.  It allows you to attach any supported type
 of source to any supported type of target.  This will, I hope, be the
 case in all future versions.
@@ -372,7 +373,7 @@ sections specific to the various types.
 .
 .SS "Options structure"
 Most of the objects that
-.B fw
+.B fwd
 knows about (including sources and targets, but also other more specific
 things such as socket address types) can have their behaviour modified
 by
@@ -381,10 +382,10 @@ The options available at a particular point in the configuration depend
 on the
 .IR context .
 A global option, outside of a
-.I fw-stmt
+.I fwd-stmt
 has no context unless it is explicitly qualified, and affects global
 behaviour.  A local option, applied to a source or target in a
-.IR fw-stmt ,
+.IR fwd-stmt ,
 has the context of the type of source or target to which it is applied,
 and affects only that source or target.
 .PP
@@ -454,7 +455,7 @@ or
 .BR exec.logging ,
 which have separate defaults, and which one you actually get depends on
 the exact implementation of
-.BR fw 's
+.BR fwd 's
 option parser.  (Currently this would resolve to
 .BR exec.logging ,
 although this may change in a later version.)
@@ -692,7 +693,7 @@ options for controlling the attributes of the created file.
 .OE
 .PP
 Under no circumstances will
-.B fw
+.B fwd
 create a file through a `dangling' symbolic link.
 .
 .SS "The `exec' source and target types"
@@ -763,7 +764,7 @@ argument list.
 .PP
 The standard input and output of the program are forwarded to the other
 end of the connection.  The standard error stream is caught by
-.B fw
+.B fwd
 and logged.
 .PP
 The
@@ -1099,25 +1100,25 @@ host-based access control and your server is multi-homed.
 .OD
 Make a privileged connection (i.e., from a low-numbered port) to the
 target.  This only works if
-.B fw
+.B fwd
 was started with root privileges.  However, it still works if
-.B fw
+.B fwd
 has
 .I dropped
 privileges after initialization (the
 .B \-s
 option).  Before dropping privileges,
-.B fw
+.B fwd
 forks off a separate process which continues to run with root
 privileges, and on demand passes sockets bound to privileged ports and
 connected to the appropriate peer back to the main program.  The
 privileged child only passes back sockets connected to peer addresses
 named in the configuration; even if the
-.B fw
+.B fwd
 process is compromised, it can't make privileged connections to other
 addresses.  Note that because of this privilege separation, it's also
 not possible to reconfigure
-.B fw
+.B fwd
 to make privileged connections to different peer addresses later by
 changing configuration files and sending the daemon a
 .BR SIGHUP .
@@ -1162,10 +1163,10 @@ options to control the attributes of the socket file created.
 .OE
 .PP
 Sockets are removed if
-.B fw
+.B fwd
 exits normally (which it will do if it runs out of sources or
 connections, or if
-.B fw
+.B fwd
 shuts down in a clean way).
 .SH "EXAMPLES"
 To forward the local port 25 to a main mail server:
@@ -1192,23 +1193,23 @@ from file stdin, null to file null, stdout
 .SH "SIGNAL HANDLING"
 .
 The
-.B fw
+.B fwd
 program responds to various signals when it's running.  If it receives
 .B SIGTERM
 or
 .BR SIGINT ,
-.B fw
+.B fwd
 performs a
 .I graceful
 shutdown: it removes all of its sources, and will exit when no more
 connections are running.  (Note that if the disposition
 .B SIGINT
 was to ignore it,
-.B fw
+.B fwd
 does not re-enable the signal.  You'll have to send
 .B SIGTERM
 in that case.)  If
-.B fw
+.B fwd
 receives
 .BR SIGQUIT ,
 it performs an
@@ -1218,16 +1219,16 @@ more-or-less immediately.
 .PP
 Finally, if any configuration files (other than standard input) were
 provided to
-.B fw
+.B fwd
 on its command line using the
 .B \-f
 option, a
 .B SIGHUP
 signal may be sent to instruct
-.B fw
+.B fwd
 to reload its configuration.  Any existing connections are allowed to
 run their course.  If no such configuration files are available,
-.B fw
+.B fwd
 just logs a message about the signal and continues.
 .
 .\"--------------------------------------------------------------------------
@@ -1244,7 +1245,7 @@ just logs a message about the signal and continues.
 The syntax for IP addresses and filenames is nasty.
 .PP
 IPv6 is not supported yet.  Because of
-.BR fw 's
+.BR fwd 's
 socket address architecture, it's probably not a major piece of work to
 add.
 .PP
diff --git a/fw.c b/fwd.c
similarity index 97%
rename from fw.c
rename to fwd.c
index 4b0a861850df47258c3ba7311f3c9a1fc4294129..d80275b727f3340e162987537a201be141cba6c8 100644 (file)
--- a/fw.c
+++ b/fwd.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Global variables --------------------------------------------------*/
 
@@ -74,7 +74,7 @@ void parse(scanner *sc)
     /* --- Handle a forwarding request --- */
 
     if (strcmp(sc->d.buf, "forward") == 0 ||
-       strcmp(sc->d.buf, "fw") == 0 ||
+       strcmp(sc->d.buf, "fwd") == 0 ||
        strcmp(sc->d.buf, "from") == 0) {
       source *s;
       target *t;
@@ -264,7 +264,7 @@ void fw_log(time_t t, const char *fmt, ...)
  *
  * Returns:    ---
  *
- * Use:                Increments or decrements the active thing count.  `fw' won't
+ * Use:                Increments or decrements the active thing count.  `fwd' won't
  *             quit while there are active things.
  */
 
diff --git a/fw.h b/fwd.h
similarity index 99%
rename from fw.h
rename to fwd.h
index 0206b2e0478b64cbeba374aa3412af58f8db9914..2da55a3eb9f2826ccc29e416c814a98c667c5074 100644 (file)
--- a/fw.h
+++ b/fwd.h
@@ -7,20 +7,20 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
@@ -134,7 +134,7 @@ extern void fw_log(time_t /*t*/, const char */*fmt*/, ...);
  *
  * Returns:    ---
  *
- * Use:                Increments or decrements the active thing count.  `fw' won't
+ * Use:                Increments or decrements the active thing count.  `fwd' won't
  *             quit while there are active things.
  */
 
index aef45f4e3b984acb80244ba78b022cd292b96e1d..dd37a6a131ca42a1ee11ee7fc50430edab7503c7 100644 (file)
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Magic numbers -----------------------------------------------------*/
 
diff --git a/inet.c b/inet.c
index 5b83a0512c1d4ef79b4dee8ee4daf5fc0130e1cb..faa250e9a3b374402f1dcbf4630c6dace0c9bc5f 100644 (file)
--- a/inet.c
+++ b/inet.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Data structures ---------------------------------------------------*/
 
index 2c05b65956e3d999fdd4d4afb8345b0335ded98a..813c17ffbba30adc1877d29a8e45a407d68d90d5 100755 (executable)
@@ -133,7 +133,7 @@ if ($mode eq 'c') {
  * Generated grammar and options summary
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 EOF
   for $head (keys %ch) {
index 4bb243ac7eb5de99d69a79eb15308b5e9fedd492..c2809ff85765e304537434dfd4e9eb65832ed43b 100644 (file)
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Data structures ---------------------------------------------------*/
 
diff --git a/reffd.c b/reffd.c
index 80afb7dad38d38fc34b938f80efa010543c01b2e..95220dea1cdee328fa04fa9b92608724ef9b4fe4 100644 (file)
--- a/reffd.c
+++ b/reffd.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Main code ---------------------------------------------------------*/
 
index 23e6ecdbabf07c98654599cca57783c8e402e7ff..f3f2769c0ddf59fd750021e28cbdbb1ff5add10e 100644 (file)
--- a/rlimits.h
+++ b/rlimits.h
@@ -7,20 +7,20 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
diff --git a/scan.c b/scan.c
index 450f2f4a73427ffd9d8feab995e0b8edbe4b62a4..379951dca5071e98b7a9d2d29154b3017cc31cc9 100644 (file)
--- a/scan.c
+++ b/scan.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- File scanner source -----------------------------------------------*/
 
diff --git a/scan.h b/scan.h
index 966b939e8f457622efc9151be5844da2f9e15ed0..56c5e9a8129f9028651fa012beb5e09e56b77c2f 100644 (file)
--- a/scan.h
+++ b/scan.h
@@ -7,20 +7,20 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
index 53ac66690f51ee6451df898f19799bac450088fb..f8f8decbc960cd639cf0c660e17cce3f37226735 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Data structures ---------------------------------------------------*/
 
index db18c5661fc5b4f35c4e48d8536a9f0a97f28854..96b7f816688b93f1a711f83ab80e57c85bb31544 100644 (file)
--- a/source.c
+++ b/source.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Static variables --------------------------------------------------*/
 
diff --git a/un.c b/un.c
index 60d1cc445b2166da46137f79bb6fe8e87a4ef75f..c0e62ca27dae819f1bcb4f4eebdd23ab8ca35839 100644 (file)
--- a/un.c
+++ b/un.c
@@ -7,24 +7,24 @@
 
 /*----- Licensing notice --------------------------------------------------*
  *
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
  *
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
- * `fw' is distributed in the hope that it will be useful,
+ * `fwd' is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "fw.h"
+#include "fwd.h"
 
 /*----- Data structures ---------------------------------------------------*/