chiark / gitweb /
fwd
16 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'.

16 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.

16 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).

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

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

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

16 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.

16 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.

18 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...

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

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

18 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.

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

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

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

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

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

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

18 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'.

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

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

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

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

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

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

20 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.

20 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.

20 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.

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

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

20 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.

20 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.

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

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

21 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.

21 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.

21 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).

21 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.

22 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.

22 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!).

22 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'.

22 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.

22 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.

22 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.

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

22 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.

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

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

22 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.

22 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.

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

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

22 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.

22 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.

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

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

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

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

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

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

23 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.

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

23 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.

23 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.

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

23 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.

23 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.

23 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.

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

24 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.

24 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.

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

24 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.

24 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.

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

24 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.

24 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.

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

24 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.

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

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

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

24 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.

24 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.

24 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.

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

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

24 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.

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

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

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

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

24 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.

24 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.

24 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.