chiark
/
gitweb
/
~mdw
/
fwd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
03a839c
)
Fix whitespace throughout.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 1 Apr 2008 18:06:28 +0000
(19:06 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 1 Apr 2008 21:23:30 +0000
(22:23 +0100)
43 files changed:
Makefile.am
patch
|
blob
|
blame
|
history
acl.c
patch
|
blob
|
blame
|
history
acl.h
patch
|
blob
|
blame
|
history
addr.h
patch
|
blob
|
blame
|
history
blast.c
patch
|
blob
|
blame
|
history
chan.c
patch
|
blob
|
blame
|
history
chan.h
patch
|
blob
|
blame
|
history
conf.c
patch
|
blob
|
blame
|
history
conf.h
patch
|
blob
|
blame
|
history
configure.in
patch
|
blob
|
blame
|
history
debian/control
patch
|
blob
|
blame
|
history
debian/rules
patch
|
blob
|
blame
|
history
endpt.c
patch
|
blob
|
blame
|
history
endpt.h
patch
|
blob
|
blame
|
history
exec.c
patch
|
blob
|
blame
|
history
exec.h
patch
|
blob
|
blame
|
history
fattr.c
patch
|
blob
|
blame
|
history
fattr.h
patch
|
blob
|
blame
|
history
file.c
patch
|
blob
|
blame
|
history
file.h
patch
|
blob
|
blame
|
history
fw.1.in
patch
|
blob
|
blame
|
history
fw.c
patch
|
blob
|
blame
|
history
fw.h
patch
|
blob
|
blame
|
history
identify.c
patch
|
blob
|
blame
|
history
identify.h
patch
|
blob
|
blame
|
history
inet.c
patch
|
blob
|
blame
|
history
inet.h
patch
|
blob
|
blame
|
history
make-manpage
patch
|
blob
|
blame
|
history
mantext.h
patch
|
blob
|
blame
|
history
privconn.c
patch
|
blob
|
blame
|
history
privconn.h
patch
|
blob
|
blame
|
history
reffd.c
patch
|
blob
|
blame
|
history
reffd.h
patch
|
blob
|
blame
|
history
rlimits.h
patch
|
blob
|
blame
|
history
scan.c
patch
|
blob
|
blame
|
history
scan.h
patch
|
blob
|
blame
|
history
socket.c
patch
|
blob
|
blame
|
history
socket.h
patch
|
blob
|
blame
|
history
source.c
patch
|
blob
|
blame
|
history
source.h
patch
|
blob
|
blame
|
history
target.h
patch
|
blob
|
blame
|
history
un.c
patch
|
blob
|
blame
|
history
un.h
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.am
b/Makefile.am
index c90449ba55234cb4888d5362a43a80bde24bb978..e9d4aa49208268eac19229d8ebef8df8f1179ad4 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-13,12
+13,12
@@
## 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.
## 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,
## 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.
## `fw' 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,
## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
## You should have received a copy of the GNU General Public License
## along with `fw'; if not, write to the Free Software Foundation,
## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-45,7
+45,7
@@
fw.1: fw.1.in make-manpage
mantext.c: fw.1.in make-manpage
perl $(srcdir)/make-manpage c <$(srcdir)/fw.1.in >$@.new
mantext.c: fw.1.in make-manpage
perl $(srcdir)/make-manpage c <$(srcdir)/fw.1.in >$@.new
- mv $@.new $@
+ mv $@.new $@
fw_SOURCES = \
chan.c conf.c endpt.c fw.c mantext.c reffd.c scan.c \
fw_SOURCES = \
chan.c conf.c endpt.c fw.c mantext.c reffd.c scan.c \
diff --git
a/acl.c
b/acl.c
index bedd73588ea000f34334506556897e3165fcb62b..f3140f524468c6626d2adf9e93ab0d92e7acda24 100644
(file)
--- a/
acl.c
+++ b/
acl.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-68,7
+68,7
@@
static int acl_checkhost(void *aa, struct in_addr addr, unsigned port)
static void acl_dumphost(void *aa, FILE *fp)
{
acl_host *a = aa;
static void acl_dumphost(void *aa, FILE *fp)
{
acl_host *a = aa;
-
+
fputs("from ", fp);
fputs(inet_ntoa(a->addr), fp);
fputc('/', fp);
fputs("from ", fp);
fputs(inet_ntoa(a->addr), fp);
fputc('/', fp);
diff --git
a/acl.h
b/acl.h
index 93a56943c9187d1c9d2462a4b5afecfeb74d0096..acc92d26fdedbf4638fccc36ed79b28618f22a8a 100644
(file)
--- a/
acl.h
+++ b/
acl.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-131,7
+131,7
@@
extern void acl_addhost(acl_entry ***/*a*/, unsigned /*act*/,
*
* Returns: ---
*
*
* Returns: ---
*
- * Use: Adds a privileged-port check to the end of an access control
+ * Use: Adds a privileged-port check to the end of an access control
* list.
*/
* list.
*/
diff --git
a/addr.h
b/addr.h
index 89ace85e274338e0d57e147cf28dc25e53d3ba8a..7da1fef28a51426c832dfab088a7d8f4255e7b9d 100644
(file)
--- a/
addr.h
+++ b/
addr.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-52,7
+52,7
@@
#endif
/*----- Data structures ---------------------------------------------------*/
#endif
/*----- Data structures ---------------------------------------------------*/
-
+
/* --- A generic socket address --- *
*
* Not all systems understand @sa_len@ fields. (In particular, Linux
/* --- A generic socket address --- *
*
* Not all systems understand @sa_len@ fields. (In particular, Linux
@@
-270,7
+270,7
@@
typedef struct addr_ops {
int (*connect)(addr */*a*/, addr_opts */*ao*/, conn */*c*/, endpt */*e*/);
} addr_ops;
int (*connect)(addr */*a*/, addr_opts */*ao*/, conn */*c*/, endpt */*e*/);
} addr_ops;
-
+
/*----- That's all, folks -------------------------------------------------*/
#ifdef __cplusplus
/*----- That's all, folks -------------------------------------------------*/
#ifdef __cplusplus
diff --git
a/blast.c
b/blast.c
index d032646f2182050d240db54b43a5eeb5944fc6db..597263e8f6bab9dabaea5b4661352102d7fd7848 100644
(file)
--- a/
blast.c
+++ b/
blast.c
@@
-103,7
+103,7
@@
static void timers(void)
}
puts("");
}
}
puts("");
}
-
+
static void newconn(blast *b)
{
int fd = socket(PF_INET, SOCK_STREAM, 0);
static void newconn(blast *b)
{
int fd = socket(PF_INET, SOCK_STREAM, 0);
diff --git
a/chan.c
b/chan.c
index ac4cf3e54965b333fa6e568f1511cc5b13b0992f..1729af3b46cd16d89aff74a0e8cc2030db67a634 100644
(file)
--- a/
chan.c
+++ b/
chan.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/chan.h
b/chan.h
index ac1f0c2f74e430a4504bccee923c9e96679b1232..e416febf0c0292356b0a38940b7559df7093f83d 100644
(file)
--- a/
chan.h
+++ b/
chan.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/conf.c
b/conf.c
index 04b0ac561119dd6a9a6a52a744caed8606593f9c..7212e717d826f5a5494c0c8103feaf0c90367e98 100644
(file)
--- a/
conf.c
+++ b/
conf.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/conf.h
b/conf.h
index adf80c2f42369e21305a3a595c2aa3a3c004a32a..99cce31d0006d24a8d406c6660e5ab603cdc7c04 100644
(file)
--- a/
conf.h
+++ b/
conf.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/configure.in
b/configure.in
index 391648ff7477c90bbe266048527fd9e708e198d2..0952eb76493f47dc1015f2c9d2d45ab4d4aa1475 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-13,12
+13,12
@@
dnl `fw' 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 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
dnl `fw' 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 `fw' 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
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 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
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 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/debian/control
b/debian/control
index 9652b97ecd803c0e8134675a99514bc60bebf4ca..5300dfdcc70e671d9fb933a3fb0207c7e6de9bba 100644
(file)
--- a/
debian/control
+++ b/
debian/control
@@
-13,5
+13,5
@@
Description: Excessive port forwarder
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
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
+ basic functionality of inetd, cat, netcat and others. It runs as a
single nonblocking process.
single nonblocking process.
diff --git
a/debian/rules
b/debian/rules
index 21b6ceef4c5eade89750ef08b147db9cf9a3bf39..b149ebf3309c362493f260f8377917a88840a86c 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-42,4
+42,4
@@
source:
d=`pwd`; cd ..; dpkg-source -i -b $$d/deb-build/=deb=/*
rm -rf deb-build/=deb=
d=`pwd`; cd ..; dpkg-source -i -b $$d/deb-build/=deb=/*
rm -rf deb-build/=deb=
-.PHONY: binary binary-arch binary-indep clean install source
+.PHONY: binary binary-arch binary-indep clean install source
diff --git
a/endpt.c
b/endpt.c
index 8e5d0e6272305699fe5bb1681e4a4bfc4e464832..9401aa4bbf437a703ac3cd891d2380e4deed4377 100644
(file)
--- a/
endpt.c
+++ b/
endpt.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-364,6
+364,6
@@
void endpt_join(endpt *a, endpt *b)
chan_open(&t->c->ab, a->in->fd, b->out->fd, doneab, t);
chan_open(&t->c->ba, b->in->fd, a->out->fd, doneba, t);
return;
chan_open(&t->c->ab, a->in->fd, b->out->fd, doneab, t);
chan_open(&t->c->ba, b->in->fd, a->out->fd, doneba, t);
return;
-}
+}
/*----- That's all, folks -------------------------------------------------*/
/*----- That's all, folks -------------------------------------------------*/
diff --git
a/endpt.h
b/endpt.h
index d88784dc095bef10d2a29476b915d8ded907d483..b2a5e14c23218375f1ee068ef185cf0a45a42559 100644
(file)
--- a/
endpt.h
+++ b/
endpt.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/exec.c
b/exec.c
index 16883eceaee0cb4139b124c294008665e029f6f1..0ea283f423171aa271ab1e10e3c54901c1560aac 100644
(file)
--- a/
exec.c
+++ b/
exec.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-812,7
+812,7
@@
static int exec_option(xdata *x, scanner *sc)
/* --- Set a chroot prison --- */
if (strcmp(sc->d.buf, "root") == 0 ||
/* --- Set a chroot prison --- */
if (strcmp(sc->d.buf, "root") == 0 ||
- strcmp(sc->d.buf, "chroot") == 0) {
+ strcmp(sc->d.buf, "chroot") == 0) {
dstr d = DSTR_INIT;
token(sc);
if (sc->t == '=')
dstr d = DSTR_INIT;
token(sc);
if (sc->t == '=')
diff --git
a/exec.h
b/exec.h
index 8a0dbe7a4f2a487d0733f3f5122317cd1579b197..9d4fb0c175dd089b9e83134191b2673760dd19d0 100644
(file)
--- a/
exec.h
+++ b/
exec.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-57,7
+57,7
@@
extern target_ops xtarget_ops;
* Use: Initializes the executable problem source and target.
*/
* Use: Initializes the executable problem source and target.
*/
-extern void exec_init(void);
+extern void exec_init(void);
/*----- That's all, folks -------------------------------------------------*/
/*----- That's all, folks -------------------------------------------------*/
diff --git
a/fattr.c
b/fattr.c
index f9e56d38dab6c0c1b76381d27ff228ef8702db23..f27511c1c6f47285cfac71fb433036236271ea0e 100644
(file)
--- a/
fattr.c
+++ b/
fattr.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/fattr.h
b/fattr.h
index ac3518ac1fc1309539de132f1c8b65962bda443b..d08be26a18db11a4a5fa4411e4df496a7ee808e7 100644
(file)
--- a/
fattr.h
+++ b/
fattr.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/file.c
b/file.c
index 2e342cb673b8af19ea5f010d75a0447a0184e379..914edd834a4f752cc266c07ef02430b55c433a35 100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-90,7
+90,7
@@
typedef struct fdata {
typedef struct fsource {
source s;
fdata f;
typedef struct fsource {
source s;
fdata f;
-} fsource;
+} fsource;
/* --- File target block --- */
/* --- File target block --- */
@@
-176,7
+176,7
@@
static reffd *file_nullref(void)
reffd_handler(rnull, file_null, 0);
}
return (rnull);
reffd_handler(rnull, file_null, 0);
}
return (rnull);
-}
+}
/* --- @file_fspec@ --- *
*
/* --- @file_fspec@ --- *
*
@@
-250,7
+250,7
@@
static void file_fspec(fspec *f, scanner *sc)
else if (fd) {
f->type = FTYPE_FD;
f->u.fd = fd;
else if (fd) {
f->type = FTYPE_FD;
f->u.fd = fd;
- token(sc);
+ token(sc);
} else if (type == FTYPE_FD) {
if (sc->t == CTOK_WORD)
error(sc, "bad file descriptor `%s'", sc->d.buf);
} else if (type == FTYPE_FD) {
if (sc->t == CTOK_WORD)
error(sc, "bad file descriptor `%s'", sc->d.buf);
@@
-306,7
+306,7
@@
static void file_pfspec(fspec *f, dstr *d)
case FTYPE_NULL:
dstr_puts(d, "null");
break;
case FTYPE_NULL:
dstr_puts(d, "null");
break;
- }
+ }
}
static void file_desc(fdata *f, dstr *d)
}
static void file_desc(fdata *f, dstr *d)
diff --git
a/file.h
b/file.h
index 57b627a53fc418b6e1aac4732d0ee9224e8431ab..cb558f7097efcb5bfb020215dcc9eee50c7268d2 100644
(file)
--- a/
file.h
+++ b/
file.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/fw.1.in
b/fw.1.in
index 8674d57ea8361112153f431ca397a0fa3aab4ce8..5dc51f7252240c4ce28f6b3a6c7a91e388a7305f 100644
(file)
--- a/
fw.1.in
+++ b/
fw.1.in
@@
-6,19
+6,19
@@
.\"
.
.\"----- Licensing notice ---------------------------------------------------
.\"
.
.\"----- Licensing notice ---------------------------------------------------
-.\"
+.\"
.\" This file is part of the `fw' port forwarder.
.\" This file is part of the `fw' port forwarder.
-.\"
+.\"
.\" `fw' 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 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,
.\" 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.
.\" `fw' 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,
.\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
.\" You should have received a copy of the GNU General Public License
.\" along with `fw'; if not, write to the Free Software Foundation,
.\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-261,7
+261,7
@@
Whitespace characters separate words but are otherwise ignored. All
considered to be whitespace for these purposes.
.TP
.I "special characters"
considered to be whitespace for these purposes.
.TP
.I "special characters"
-There are three special characters. The
+There are three special characters. The
.RB ` # '
character, if it appears at the start of a word, introduces a
.I comment
.RB ` # '
character, if it appears at the start of a word, introduces a
.I comment
@@
-676,7
+676,7
@@
the file is created if it doesn't exist.
Controls the behaviour if the output file already exists. If
.BR no ,
an error is reported. If
Controls the behaviour if the output file already exists. If
.BR no ,
an error is reported. If
-.B truncate
+.B truncate
(the default), the existing file is replaced by the new data. If
.BR append ,
the new data is appended to the file.
(the default), the existing file is replaced by the new data. If
.BR append ,
the new data is appended to the file.
@@
-755,7
+755,7
@@
is used.
Note that the shell command or program name string must, if present,
have any delimiter characters (including
.RB ` / '
Note that the shell command or program name string must, if present,
have any delimiter characters (including
.RB ` / '
-and
+and
.RB ` . ')
quoted; this is not required in the
.RB ` [ '-enclosed
.RB ` . ')
quoted; this is not required in the
.RB ` [ '-enclosed
@@
-987,7
+987,7
@@
system call. The default is 5.
.RB [ = ]
.BR yes | no
.OD
.RB [ = ]
.BR yes | no
.OD
-Whether to log incoming connections. If
+Whether to log incoming connections. If
.B yes
(the default) incoming connections are logged, together with information
about the client (where available) and whether the connection was
.B yes
(the default) incoming connections are logged, together with information
about the client (where available) and whether the connection was
@@
-1106,7
+1106,7
@@
has
.I dropped
privileges after initialization (the
.B \-s
.I dropped
privileges after initialization (the
.B \-s
-option). Before dropping privileges,
+option). Before dropping privileges,
.B fw
forks off a separate process which continues to run with root
privileges, and on demand passes sockets bound to privileged ports and
.B fw
forks off a separate process which continues to run with root
privileges, and on demand passes sockets bound to privileged ports and
diff --git
a/fw.c
b/fw.c
index c6af6631772e7b3eca3d43a4e93d993e712fdc6f..d09302b042a4d8064c1541eced36b4b7ac308a3f 100644
(file)
--- a/
fw.c
+++ b/
fw.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-114,7
+114,7
@@
void parse(scanner *sc)
if (strcmp(sc->d.buf, "forward") == 0 ||
strcmp(sc->d.buf, "fw") == 0 ||
if (strcmp(sc->d.buf, "forward") == 0 ||
strcmp(sc->d.buf, "fw") == 0 ||
-
strcmp(sc->d.buf, "from") == 0) {
+ strcmp(sc->d.buf, "from") == 0) {
source *s;
target *t;
source *s;
target *t;
@@
-606,7
+606,7
@@
int main(int argc, char *argv[])
flags |= FW_QUIET;
break;
case 's':
flags |= FW_QUIET;
break;
case 's':
-
if (isdigit((unsigned char )optarg[0])) {
+ if (isdigit((unsigned char )optarg[0])) {
char *q;
drop = strtol(optarg, &q, 0);
if (*q)
char *q;
drop = strtol(optarg, &q, 0);
if (*q)
@@
-619,7
+619,7
@@
int main(int argc, char *argv[])
}
break;
case 'g':
}
break;
case 'g':
-
if (isdigit((unsigned char )optarg[0])) {
+ if (isdigit((unsigned char )optarg[0])) {
char *q;
dropg = strtol(optarg, &q, 0);
if (*q)
char *q;
dropg = strtol(optarg, &q, 0);
if (*q)
@@
-738,7
+738,7
@@
int main(int argc, char *argv[])
int selerr = 0;
while (active) {
if (!sel_select(sel))
int selerr = 0;
while (active) {
if (!sel_select(sel))
-
selerr = 0;
+ selerr = 0;
else if (errno != EINTR && errno != EAGAIN) {
fw_log(-1, "error from select: %s", strerror(errno));
selerr++;
else if (errno != EINTR && errno != EAGAIN) {
fw_log(-1, "error from select: %s", strerror(errno));
selerr++;
@@
-749,7
+749,7
@@
int main(int argc, char *argv[])
}
}
}
}
}
}
-
+
return (0);
}
return (0);
}
diff --git
a/fw.h
b/fw.h
index c3230e2bc5ee64c5ac66c7847361b147d3a8c7ca..afd313e6e2a279988853903957d55537de1ceec1 100644
(file)
--- a/
fw.h
+++ b/
fw.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/identify.c
b/identify.c
index 13c81bd784345a52fd50fe7fdd3290ea74005428..281c974f144b72b662815b1faaaa867b06bafc89 100644
(file)
--- a/
identify.c
+++ b/
identify.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/identify.h
b/identify.h
index bbac1fddb18b720d4d81f5298145b78536da7808..66dc1c750fdf2afeed75bd84077fa7357089cbcc 100644
(file)
--- a/
identify.h
+++ b/
identify.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/inet.c
b/inet.c
index bf86323314597c6da8b6f3e7bea94ebdb155feb9..cd66719cf7023a270cfd9d48fce7be71a1c652dc 100644
(file)
--- a/
inet.c
+++ b/
inet.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-473,7
+473,7
@@
addr_ops inet_ops = {
inet_initsrcopts, inet_option, inet_confirm, inet_freesrcopts,
inet_bind, 0, inet_accept,
inet_inittargopts, inet_freetargopts,
inet_initsrcopts, inet_option, inet_confirm, inet_freesrcopts,
inet_bind, 0, inet_accept,
inet_inittargopts, inet_freetargopts,
- inet_connect
+ inet_connect
};
/*----- That's all, folks -------------------------------------------------*/
};
/*----- That's all, folks -------------------------------------------------*/
diff --git
a/inet.h
b/inet.h
index d80a01827d600095ec51164d57aca417d3bd286d..2804bdecca2a214e43ba60bba5104629f238e91f 100644
(file)
--- a/
inet.h
+++ b/
inet.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/make-manpage
b/make-manpage
index b82f4d25e60fb5457417f0aa9443739766df357b..d5088d4e61f739cbafbc42a7b35aeebd83d15d67 100755
(executable)
--- a/
make-manpage
+++ b/
make-manpage
@@
-115,7
+115,7
@@
sub deroff {
# foo
} elsif (/^[^.]/) {
$out .= $sep . $_;
# foo
} elsif (/^[^.]/) {
$out .= $sep . $_;
- $sep = " ";
+ $sep = " ";
} elsif (/^\.br$/ || /^\.PP$/) {
$out .= "\n";
$sep = "\t";
} elsif (/^\.br$/ || /^\.PP$/) {
$out .= "\n";
$sep = "\t";
diff --git
a/mantext.h
b/mantext.h
index 557151d8933054e6b7c7e3b997a03bbf5b884f15..ccd0ae72b6d148affa9a600a74395940b63a0a4e 100644
(file)
--- a/
mantext.h
+++ b/
mantext.h
@@
-5,7
+5,7
@@
* (c) 2006 Straylight/Edgeware
*/
* (c) 2006 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-35,7
+35,7
@@
extern const char grammar_text[];
extern const char option_text[];
extern const char grammar_text[];
extern const char option_text[];
-
+
/*----- That's all, folks -------------------------------------------------*/
#ifdef __cplusplus
/*----- That's all, folks -------------------------------------------------*/
#ifdef __cplusplus
diff --git
a/privconn.c
b/privconn.c
index 7b2c3290706562cf9a9f7612cf19e2acb73f7107..bb282d0fb75c7591a667ea7b285c3b2cfa7f6d55 100644
(file)
--- a/
privconn.c
+++ b/
privconn.c
@@
-5,7
+5,7
@@
* (c) 2003 Straylight/Edgeware
*/
* (c) 2003 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/privconn.h
b/privconn.h
index 5a17500365d626f6e0c032e831d6d0a5698450c9..78e0ba4db1856ed181ffee3f9989eb264c1f4032 100644
(file)
--- a/
privconn.h
+++ b/
privconn.h
@@
-5,7
+5,7
@@
* (c) 2003 Straylight/Edgeware
*/
* (c) 2003 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/reffd.c
b/reffd.c
index 6f4e1069b37624ec4e7ac5a0e13ea46067bc31f6..44d7e395bea76b5f5f20bfbc9e2c29b8675140f3 100644
(file)
--- a/
reffd.c
+++ b/
reffd.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/reffd.h
b/reffd.h
index 89e58837c88ce8a4f9ee1b39ea2eba137760c1ef..5e03f1b4ab083ff8d957b912c268f7c7f66c59a8 100644
(file)
--- a/
reffd.h
+++ b/
reffd.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/rlimits.h
b/rlimits.h
index 28f94acc1a36aa0a94d57c4838524036699c02ba..d983fd785b21fbebd4580a126aa77ed0457becc5 100644
(file)
--- a/
rlimits.h
+++ b/
rlimits.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; 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 fb7c2c3f01e85549c8b11dbf05162a53a77325bf..0f0f81cdf98c8996b813038d4e6fa3f19d9eaae8 100644
(file)
--- a/
scan.c
+++ b/
scan.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/scan.h
b/scan.h
index 83dfc91d43d838e087d72be706d07a8c835ffa57..966b939e8f457622efc9151be5844da2f9e15ed0 100644
(file)
--- a/
scan.h
+++ b/
scan.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-108,7
+108,7
@@
extern scansrc *scan_argv(char **/*av*/);
* Use: Scans a character from a source of characters.
*/
* Use: Scans a character from a source of characters.
*/
-extern int scan(scanner */*sc*/);
+extern int scan(scanner */*sc*/);
/* --- @unscan@ --- *
*
/* --- @unscan@ --- *
*
diff --git
a/socket.c
b/socket.c
index 5bfef372a83dbb4fae57bb1049afc94b6714d959..5a7dbfa8d101866f2e864ab687b719dd9767af9a 100644
(file)
--- a/
socket.c
+++ b/
socket.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/socket.h
b/socket.h
index 23f0bf980d77eefb41429d1ec941b862ee9f0314..4726abf880fbd5fd2b78d9119bcaae88f407ff20 100644
(file)
--- a/
socket.h
+++ b/
socket.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/source.c
b/source.c
index 6823576da0d608ee1e672fc427cac8ed03318a3c..5256e872b80e130b138bba6ac28b6da1c21482c9 100644
(file)
--- a/
source.c
+++ b/
source.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/source.h
b/source.h
index 8a0bcbc1de1904a473c54c5818bc841c1ed8e486..4ec5d65dea391383d41311ed1e2049befaa91042 100644
(file)
--- a/
source.h
+++ b/
source.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/target.h
b/target.h
index a34405e398692288f51881c44817b228e238ed17..1f65688fcbcbf1f0ddea0feef56c9d450166eff1 100644
(file)
--- a/
target.h
+++ b/
target.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
diff --git
a/un.c
b/un.c
index c18b1c4edb8e041c8cbac0eb8cbf3a4c98634388..223dfc0bc07575ce9583c93d0dd404a1eb3f5902 100644
(file)
--- a/
un.c
+++ b/
un.c
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@
-152,7
+152,7
@@
static reffd *un_accept(int fd, addr_opts *ao, const char *desc)
char buf[PATH_MAX + sizeof(struct sockaddr)];
struct sockaddr_un *sun = (struct sockaddr_un *)buf;
size_t sunsz = sizeof(buf);
char buf[PATH_MAX + sizeof(struct sockaddr)];
struct sockaddr_un *sun = (struct sockaddr_un *)buf;
size_t sunsz = sizeof(buf);
-
+
if ((nfd = accept(fd, (struct sockaddr *)sun, &sunsz)) < 0)
return (0);
}
if ((nfd = accept(fd, (struct sockaddr *)sun, &sunsz)) < 0)
return (0);
}
diff --git
a/un.h
b/un.h
index 7131d714b410b403adb9eadc080f03009954e49d..f83cca5c3b8aaf98ed56ab4f3b7719b4a4e9f439 100644
(file)
--- a/
un.h
+++ b/
un.h
@@
-5,7
+5,7
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the `fw' port forwarder.
*
*
* This file is part of the `fw' port forwarder.
*
@@
-13,12
+13,12
@@
* 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.
* 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,
* 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.
* `fw' 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,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* You should have received a copy of the GNU General Public License
* along with `fw'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.