fwd
13 years agoMerge branch 'fwd' 1.3.5
Mark Wooding [Wed, 2 Apr 2008 09:02:05 +0000 (10:02 +0100)]
Merge branch 'fwd'

* fwd:
  Rename entire project from `fw' to `fwd'.

13 years agoRename entire project from `fw' to `fwd'.
Mark Wooding [Wed, 2 Apr 2008 08:46:46 +0000 (09:46 +0100)]
Rename entire project from `fw' to `fwd'.

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.

13 years agosocket: New option accept-count.
Mark Wooding [Wed, 2 Apr 2008 08:12:02 +0000 (09:12 +0100)]
socket: New option accept-count.

Simply: how many times we call accept in the loop.  This doesn't have as
much affect as I'd hoped, but maybe there's some big performance sink
somewhere.

Suggested by Robin Bryce (thanks).

13 years agoblast: Fix segfault for immediate connection.
Mark Wooding [Wed, 2 Apr 2008 08:10:53 +0000 (09:10 +0100)]
blast: Fix segfault for immediate connection.

This manifests itself when run under noip, which uses Unix-domain sockets
instead.  The problem is to do with the timer, which isn't active at the
the that conn_init is called.

13 years agobuild: Actually compile the `blast' helper program.
Mark Wooding [Wed, 2 Apr 2008 08:08:23 +0000 (09:08 +0100)]
build: Actually compile the `blast' helper program.

It's not pretty or documented but it does more-or-less work.

13 years agoMark this version as 1.3.0. 1.3.0
Mark Wooding [Tue, 1 Apr 2008 19:18:47 +0000 (20:18 +0100)]
Mark this version as 1.3.0.

13 years agodebian: Provide an init script to run the daemon on boot.
Mark Wooding [Tue, 1 Apr 2008 19:12:19 +0000 (20:12 +0100)]
debian: Provide an init script to run the daemon on boot.

Also create a user.

13 years agoConsolidate all the external definitions into a single header.
Mark Wooding [Tue, 1 Apr 2008 19:12:19 +0000 (20:12 +0100)]
Consolidate all the external definitions into a single header.

This isn't a large project and isn't likely to become one.  This keeps
down the number of itty little files we need to keep track of.

13 years agobuild: Rewrite the build system to be nicer.
Mark Wooding [Tue, 1 Apr 2008 20:00:17 +0000 (21:00 +0100)]
build: Rewrite the build system to be nicer.

13 years agoFix whitespace throughout.
Mark Wooding [Tue, 1 Apr 2008 18:06:28 +0000 (19:06 +0100)]
Fix whitespace throughout.

13 years agoRemove crufty CVS $Id$ tags.
Mark Wooding [Tue, 1 Apr 2008 12:03:32 +0000 (13:03 +0100)]
Remove crufty CVS $Id$ tags.

13 years agoDrop privileges after writing the pidfile.
Mark Wooding [Tue, 1 Apr 2008 12:47:40 +0000 (13:47 +0100)]
Drop privileges after writing the pidfile.

Otherwise we may not be able to write it (e.g., to /var/run) because
of file access restrictions.

14 years agosocket: Get address option defaults correctly.
Mark Wooding [Mon, 25 Jun 2007 22:18:18 +0000 (23:18 +0100)]
socket: Get address option defaults correctly.

Ooops: we'd overwrite the address-family-specific defaults with the
generic ones.

15 years agodocs: Generate grammar and option summaries from manpage.
Mark Wooding [Wed, 22 Feb 2006 02:07:00 +0000 (02:07 +0000)]
docs: Generate grammar and option summaries from manpage.

I've been dreaming about this for ages and finally obtained a tuit from
somewhere.  The (rather grungy) script make-manpage extracts the grammar
and option information from the input manpage and spits it out again.

It's slightly surprising how bad a deroffer it can get away with...

15 years agomanpage: Fix email address.
Mark Wooding [Wed, 22 Feb 2006 00:04:23 +0000 (00:04 +0000)]
manpage: Fix email address.

15 years agoinfra: Clean up project setup
Mark Wooding [Wed, 8 Feb 2006 18:47:55 +0000 (18:47 +0000)]
infra: Clean up project setup

15 years agoblast: Upper-case metasyntactic variables in the usage message.
Mark Wooding [Mon, 6 Feb 2006 17:56:36 +0000 (17:56 +0000)]
blast: Upper-case metasyntactic variables in the usage message.

15 years agoExtract Subversion ignore data.
Mark Wooding [Mon, 6 Feb 2006 17:55:43 +0000 (17:55 +0000)]
Extract Subversion ignore data.

15 years agoFix email address.
mdw [Tue, 18 Oct 2005 16:12:45 +0000 (16:12 +0000)]
Fix email address.

15 years agoFix stupidity.
mdw [Tue, 18 Oct 2005 16:12:35 +0000 (16:12 +0000)]
Fix stupidity.

15 years agoArrgh. Another cock-up.
mdw [Thu, 5 May 2005 23:07:03 +0000 (23:07 +0000)]
Arrgh. Another cock-up.

15 years agoFix the manpage too.
mdw [Thu, 5 May 2005 23:03:47 +0000 (23:03 +0000)]
Fix the manpage too.

15 years agoFix up the help message.
mdw [Thu, 5 May 2005 23:02:28 +0000 (23:02 +0000)]
Fix up the help message.

15 years agoProvide a `--pidfile' option in `fw'.
mdw [Thu, 5 May 2005 22:57:16 +0000 (22:57 +0000)]
Provide a `--pidfile' option in `fw'.

15 years agoAutoconf and automake fixing.
mdw [Fri, 22 Apr 2005 21:55:58 +0000 (21:55 +0000)]
Autoconf and automake fixing.

15 years agoExpunge CVS cruft.
mdw [Sun, 12 Sep 2004 10:36:02 +0000 (10:36 +0000)]
Expunge CVS cruft.

17 years agoExpunge revision histories in files.
mdw [Thu, 8 Apr 2004 01:36:25 +0000 (01:36 +0000)]
Expunge revision histories in files.

18 years agoFix source option prefix.
mdw [Sun, 30 Nov 2003 00:25:27 +0000 (00:25 +0000)]
Fix source option prefix.

18 years agoLittle formatting fixes.
mdw [Sat, 29 Nov 2003 23:03:19 +0000 (23:03 +0000)]
Little formatting fixes.

18 years agoAnd a typo fix.
mdw [Sat, 29 Nov 2003 22:15:19 +0000 (22:15 +0000)]
And a typo fix.

18 years agoFix bug in identification timout handling.
mdw [Sat, 29 Nov 2003 22:13:43 +0000 (22:13 +0000)]
Fix bug in identification timout handling.

18 years agoRequire mLib 2.0.3 for connection stuff.
mdw [Sat, 29 Nov 2003 20:45:41 +0000 (20:45 +0000)]
Require mLib 2.0.3 for connection stuff.

18 years agoDon't do priv separation if no priv connections to make.
mdw [Sat, 29 Nov 2003 20:43:01 +0000 (20:43 +0000)]
Don't do priv separation if no priv connections to make.

18 years agoPrivileged outgoing connections.
mdw [Sat, 29 Nov 2003 20:36:07 +0000 (20:36 +0000)]
Privileged outgoing connections.

18 years agoUpdate docco for new options.
mdw [Tue, 25 Nov 2003 14:46:50 +0000 (14:46 +0000)]
Update docco for new options.

18 years agoPreliminary bump to 1.2.7.
mdw [Tue, 25 Nov 2003 14:11:18 +0000 (14:11 +0000)]
Preliminary bump to 1.2.7.

18 years agoDebianization. Socket target options. Internet binding.
mdw [Tue, 25 Nov 2003 14:08:23 +0000 (14:08 +0000)]
Debianization.  Socket target options.  Internet binding.

18 years agoFix data corruption in channel\!
mdw [Fri, 31 Oct 2003 13:56:14 +0000 (13:56 +0000)]
Fix data corruption in channel\!

18 years agoVersion bump. 1.2.6
mdw [Sat, 17 May 2003 12:33:55 +0000 (12:33 +0000)]
Version bump.

18 years agoFix bogus examples. Explain quoting rules for `exec' endpoints.
mdw [Fri, 24 Jan 2003 20:13:04 +0000 (20:13 +0000)]
Fix bogus examples.  Explain quoting rules for `exec' endpoints.

18 years agoCorrectly cast uid and gid sentinel values.
mdw [Fri, 24 Jan 2003 20:12:40 +0000 (20:12 +0000)]
Correctly cast uid and gid sentinel values.

18 years agoCorrectly cast uid and gid sentinel values. Parse full filenames in
mdw [Fri, 24 Jan 2003 20:12:26 +0000 (20:12 +0000)]
Correctly cast uid and gid sentinel values.  Parse full filenames in
exec arguments (can't do it for program, unfortunately, since the die is
cast).

18 years agoDon't do resource limits on Cygwin.
mdw [Fri, 24 Jan 2003 20:11:14 +0000 (20:11 +0000)]
Don't do resource limits on Cygwin.

19 years agoFix stupid bugs from the listen(2) change.
mdw [Sat, 23 Feb 2002 00:08:00 +0000 (00:08 +0000)]
Fix stupid bugs from the listen(2) change.

19 years agoFix spacing around full stops (at last!).
mdw [Sat, 23 Feb 2002 00:05:12 +0000 (00:05 +0000)]
Fix spacing around full stops (at last!).

19 years agoAdd option to change the listen(2) parameter. Receive `fw'-specific
mdw [Fri, 22 Feb 2002 23:45:20 +0000 (23:45 +0000)]
Add option to change the listen(2) parameter.  Receive `fw'-specific
code from `conf.c'.

19 years agoAdd option to change the listen(2) parameter.
mdw [Fri, 22 Feb 2002 23:45:01 +0000 (23:45 +0000)]
Add option to change the listen(2) parameter.

19 years agoCall @xfree@ rather than @free@. Add option to change the listen(2)
mdw [Fri, 22 Feb 2002 23:44:44 +0000 (23:44 +0000)]
Call @xfree@ rather than @free@.  Add option to change the listen(2)
parameter.

19 years agoMiscellaneous tidying up, to make this code independent of `fw'. It
mdw [Fri, 22 Feb 2002 23:44:16 +0000 (23:44 +0000)]
Miscellaneous tidying up, to make this code independent of `fw'.  It
might end up in a library somewhere.

19 years agoCall @xfree@ rather than @free@.
mdw [Fri, 22 Feb 2002 23:43:32 +0000 (23:43 +0000)]
Call @xfree@ rather than @free@.

19 years ago`fw'-specific configuration code moved out. This file might become part
mdw [Fri, 22 Feb 2002 23:42:56 +0000 (23:42 +0000)]
`fw'-specific configuration code moved out.  This file might become part
of a library some day.

19 years agoInitialize scanner properly.
mdw [Wed, 30 Jan 2002 09:29:34 +0000 (09:29 +0000)]
Initialize scanner properly.

19 years agoDelimiter-setting function names change.
mdw [Sun, 13 Jan 2002 14:50:22 +0000 (14:50 +0000)]
Delimiter-setting function names change.

19 years agoMake delimiters be a property of a scanner.
mdw [Sun, 13 Jan 2002 14:50:07 +0000 (14:50 +0000)]
Make delimiters be a property of a scanner.

19 years agoConditional compilation for @getnetbyname@, since Cygwin doesn't have
mdw [Sun, 13 Jan 2002 14:49:56 +0000 (14:49 +0000)]
Conditional compilation for @getnetbyname@, since Cygwin doesn't have
it.

19 years agoTrack @dstr_vputf@ change.
mdw [Sun, 13 Jan 2002 14:49:17 +0000 (14:49 +0000)]
Track @dstr_vputf@ change.

19 years agoTrack @lbuf@ changes in mLib.
mdw [Sun, 13 Jan 2002 14:49:03 +0000 (14:49 +0000)]
Track @lbuf@ changes in mLib.

19 years agoCheck for @getnetbyname@, since it appears not to be available under
mdw [Sun, 13 Jan 2002 14:48:39 +0000 (14:48 +0000)]
Check for @getnetbyname@, since it appears not to be available under
Cygwin.

19 years agoMake delimiters be a property of a scanner. Change the delimiter-
mdw [Sun, 13 Jan 2002 14:48:16 +0000 (14:48 +0000)]
Make delimiters be a property of a scanner.  Change the delimiter-
changing functions' names.

20 years agoNew @conn_init@ interface.
mdw [Fri, 22 Jun 2001 19:37:00 +0000 (19:37 +0000)]
New @conn_init@ interface.

20 years agoEnlarge the identity buffer.
mdw [Fri, 22 Jun 2001 19:36:49 +0000 (19:36 +0000)]
Enlarge the identity buffer.

20 years agoUpdate manual style. 1.2.5
mdw [Fri, 23 Feb 2001 09:11:29 +0000 (09:11 +0000)]
Update manual style.

20 years agoMinor fixings to wording.
mdw [Mon, 5 Feb 2001 19:47:11 +0000 (19:47 +0000)]
Minor fixings to wording.

20 years agoFix flags to be unsigned.
mdw [Sat, 3 Feb 2001 20:33:26 +0000 (20:33 +0000)]
Fix flags to be unsigned.

20 years agoVersion bump.
mdw [Sat, 3 Feb 2001 20:30:15 +0000 (20:30 +0000)]
Version bump.

20 years agoSupport re-reading config files on SIGHUP.
mdw [Sat, 3 Feb 2001 20:30:03 +0000 (20:30 +0000)]
Support re-reading config files on SIGHUP.

20 years agoHandle select errors more robustly.
mdw [Sat, 20 Jan 2001 11:55:17 +0000 (11:55 +0000)]
Handle select errors more robustly.

21 years agoVaguely useful tool for measuring the rate at which a server accepts
mdw [Tue, 1 Aug 2000 18:00:52 +0000 (18:00 +0000)]
Vaguely useful tool for measuring the rate at which a server accepts
connections.

21 years agoSwitch over to using `size_t' for socket address lengths.
mdw [Tue, 1 Aug 2000 17:59:56 +0000 (17:59 +0000)]
Switch over to using `size_t' for socket address lengths.

21 years agoRemove unnecessary <ctype.h> header.
mdw [Tue, 1 Aug 2000 17:58:32 +0000 (17:58 +0000)]
Remove unnecessary <ctype.h> header.

21 years agoInclude missing <mLib/alloc.h> header.
mdw [Tue, 1 Aug 2000 17:58:25 +0000 (17:58 +0000)]
Include missing <mLib/alloc.h> header.

21 years agoFix subtleties with <ctype.h> functions.
mdw [Tue, 1 Aug 2000 17:58:10 +0000 (17:58 +0000)]
Fix subtleties with <ctype.h> functions.

21 years ago(writechan): Pointless tweak: when the buffer is empty, reset the start
mdw [Wed, 19 Jul 2000 17:55:43 +0000 (17:55 +0000)]
(writechan): Pointless tweak: when the buffer is empty, reset the start
pointer to the beginning.  This saves doing slightly trickier
@writev(2)@ calls when loading is light.

21 years agoUse new mLib selbuf features.
mdw [Sat, 1 Jul 2000 11:28:52 +0000 (11:28 +0000)]
Use new mLib selbuf features.

21 years agoRequire later mLib for sel.c bugfixes.
mdw [Thu, 23 Mar 2000 23:26:29 +0000 (23:26 +0000)]
Require later mLib for sel.c bugfixes.

21 years agoRemove listener even if connection option isn't SOCKOPT_LIMITED. 1.2.4
mdw [Thu, 23 Mar 2000 23:20:42 +0000 (23:20 +0000)]
Remove listener even if connection option isn't SOCKOPT_LIMITED.

21 years agoVersion bump.
mdw [Thu, 23 Mar 2000 23:19:42 +0000 (23:19 +0000)]
Version bump.

21 years agoFix changed options in parser table.
mdw [Thu, 23 Mar 2000 23:19:19 +0000 (23:19 +0000)]
Fix changed options in parser table.

21 years agoAdd option to change user and group after initialization. Naughtily 1.2.3
mdw [Thu, 23 Mar 2000 00:37:33 +0000 (00:37 +0000)]
Add option to change user and group after initialization.  Naughtily
reassign short equivalents of --grammar and --options.

21 years agoVersion bump.
mdw [Thu, 23 Mar 2000 00:35:50 +0000 (00:35 +0000)]
Version bump.

21 years agoTerminate tables of sources and targets.
mdw [Sat, 12 Feb 2000 18:13:20 +0000 (18:13 +0000)]
Terminate tables of sources and targets.

21 years agoFix some errors, and document new option. 1.2.2
mdw [Wed, 22 Dec 1999 15:44:43 +0000 (15:44 +0000)]
Fix some errors, and document new option.

21 years agoFix log message.
mdw [Wed, 22 Dec 1999 15:44:25 +0000 (15:44 +0000)]
Fix log message.

21 years agoMake syslog a separate option, and do it better.
mdw [Wed, 22 Dec 1999 15:44:10 +0000 (15:44 +0000)]
Make syslog a separate option, and do it better.

21 years agoFix log messages.
mdw [Wed, 22 Dec 1999 15:43:47 +0000 (15:43 +0000)]
Fix log messages.

21 years agoVersion bump.
mdw [Wed, 22 Dec 1999 15:43:25 +0000 (15:43 +0000)]
Version bump.

22 years agoBuild separately from mLib. 1.2.1
mdw [Thu, 11 Nov 1999 19:08:27 +0000 (19:08 +0000)]
Build separately from mLib.

22 years agoNew connection options: unlimited concurrent connections, and one-shot 1.2.0
mdw [Fri, 22 Oct 1999 22:48:36 +0000 (22:48 +0000)]
New connection options: unlimited concurrent connections, and one-shot
listening sockets.

22 years agoGrammar changes for new socket connection options.
mdw [Fri, 22 Oct 1999 22:48:05 +0000 (22:48 +0000)]
Grammar changes for new socket connection options.

22 years agoGrammar changes. Also, don't enable SIGINT if it's currently ignored.
mdw [Fri, 22 Oct 1999 22:47:50 +0000 (22:47 +0000)]
Grammar changes.  Also, don't enable SIGINT if it's currently ignored.

22 years agoNew (empty) endpoint method required.
mdw [Fri, 22 Oct 1999 22:47:13 +0000 (22:47 +0000)]
New (empty) endpoint method required.

22 years agoImprove documentation for conf_enum.
mdw [Fri, 22 Oct 1999 22:46:44 +0000 (22:46 +0000)]
Improve documentation for conf_enum.

22 years agoWhen a non-file endpoint is attached to a file, keep the file endpoint
mdw [Fri, 22 Oct 1999 22:46:17 +0000 (22:46 +0000)]
When a non-file endpoint is attached to a file, keep the file endpoint
open until the nonfile is done.  This stops socket sources from
resetting their connection limits too early.

22 years agoDescribe new socket connection options.
mdw [Fri, 22 Oct 1999 22:45:15 +0000 (22:45 +0000)]
Describe new socket connection options.

22 years agoRemove redundant debugging code.
mdw [Fri, 15 Oct 1999 21:12:36 +0000 (21:12 +0000)]
Remove redundant debugging code.

22 years agoMoved some files to mLib.
mdw [Sun, 10 Oct 1999 16:47:16 +0000 (16:47 +0000)]
Moved some files to mLib.

22 years agoVersion bump.
mdw [Sun, 10 Oct 1999 16:46:58 +0000 (16:46 +0000)]
Version bump.

22 years agoInclude grammar and options references at the end of the manual.
mdw [Sun, 10 Oct 1999 16:46:29 +0000 (16:46 +0000)]
Include grammar and options references at the end of the manual.

22 years agoNew resolver to initialize. Also, include options for grammar and
mdw [Sun, 10 Oct 1999 16:46:12 +0000 (16:46 +0000)]
New resolver to initialize.  Also, include options for grammar and
options references.

22 years agoModified to use new mLib resolver and ident client.
mdw [Sun, 10 Oct 1999 16:45:34 +0000 (16:45 +0000)]
Modified to use new mLib resolver and ident client.