ngircd-alex.git
15 years agoUpdated to latest strl{cat|cpy} code of rsync:
Alexander Barton [Sun, 27 Feb 2005 09:29:13 +0000 (09:29 +0000)]
Updated to latest strl{cat|cpy} code of rsync:
- Make sure that strlcpy() returns the right value when the bufsize is 0.
- Fixed a bug in strlcat() where it would not properly detect a no-change
  condition if called with an initial string longer than the specified
  size limit (due to an unsigned var's inability to go negative).
Patch by Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agoAdded AUTOMAKE_VERSION and AUTOCONF_VERSION (for OpenBSD).
Alexander Barton [Mon, 21 Feb 2005 15:23:23 +0000 (15:23 +0000)]
Added AUTOMAKE_VERSION and AUTOCONF_VERSION (for OpenBSD).

15 years agoFixed the detection of tools named like "tool-Major.Minor" (used on OpenBSD).
Alexander Barton [Mon, 21 Feb 2005 09:48:50 +0000 (09:48 +0000)]
Fixed the detection of tools named like "tool-Major.Minor" (used on OpenBSD).

15 years agoEnable Pidfile /var/run/ircd/ngircd.pid
Alexander Barton [Mon, 14 Feb 2005 00:44:48 +0000 (00:44 +0000)]
Enable Pidfile /var/run/ircd/ngircd.pid

15 years agoAdded description for "PidFile", fixed description of "Ports".
Alexander Barton [Mon, 14 Feb 2005 00:42:41 +0000 (00:42 +0000)]
Added description for "PidFile", fixed description of "Ports".

15 years agoWhitespace fixes.
Alexander Barton [Fri, 11 Feb 2005 13:52:37 +0000 (13:52 +0000)]
Whitespace fixes.

15 years agoDon't play games with FILE* stdin/out/err, only touch "real" descriptors.
Alexander Barton [Thu, 10 Feb 2005 16:55:52 +0000 (16:55 +0000)]
Don't play games with FILE* stdin/out/err, only touch "real" descriptors.

15 years agoRenamed NGIRCd_FillVersion() to Fill_Version(); Code cleanups.
Alexander Barton [Thu, 10 Feb 2005 13:09:11 +0000 (13:09 +0000)]
Renamed NGIRCd_FillVersion() to Fill_Version(); Code cleanups.

15 years agoWrite "error file" (/tmp/ngircd-XXX.err) only if compiled with debug
Alexander Barton [Thu, 10 Feb 2005 12:49:04 +0000 (12:49 +0000)]
Write "error file" (/tmp/ngircd-XXX.err) only if compiled with debug
code ("--enable-debug") and running as daemon process.

15 years agoAdded a note about the change of the maximum password length.
Alexander Barton [Thu, 10 Feb 2005 08:20:09 +0000 (08:20 +0000)]
Added a note about the change of the maximum password length.

15 years agoDon't create version information string each time a client connects but
Alexander Barton [Wed, 9 Feb 2005 09:52:58 +0000 (09:52 +0000)]
Don't create version information string each time a client connects but
insetead on server startup. By Florian Westphal.

15 years agoAdded an empty /etc/ngircd/ngircd.motd to the packages. And ngircd.conf
Alexander Barton [Mon, 7 Feb 2005 23:09:31 +0000 (23:09 +0000)]
Added an empty /etc/ngircd/ngircd.motd to the packages. And ngircd.conf
becomes modified to enable the PID file (/var/run/ircd/ngircd.cond) and
to change the user and group to "irc".

15 years agoSet owner and group of /var/run/ircd to "irc:irc".
Alexander Barton [Mon, 7 Feb 2005 23:07:52 +0000 (23:07 +0000)]
Set owner and group of /var/run/ircd to "irc:irc".

15 years agoUpdated debian changelog file from branch-0-8-x ...
Alexander Barton [Mon, 7 Feb 2005 19:57:05 +0000 (19:57 +0000)]
Updated debian changelog file from branch-0-8-x ...

15 years agoMake sure that errno of fopen() isn't overwritten by the logging code.
Alexander Barton [Mon, 7 Feb 2005 19:31:34 +0000 (19:31 +0000)]
Make sure that errno of fopen() isn't overwritten by the logging code.

15 years agoNew configuration variable "PidFile", section "[Global]": if defined,
Alexander Barton [Fri, 4 Feb 2005 14:24:20 +0000 (14:24 +0000)]
New configuration variable "PidFile", section "[Global]": if defined,
the server writes its process ID (PID) to this file. Default: off.
Idea by Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agongIRCd 0.8.3.
Alexander Barton [Fri, 4 Feb 2005 14:21:35 +0000 (14:21 +0000)]
ngIRCd 0.8.3.

15 years agoUse ngt_TrimLastChr() where useful, by Florian Westphal.
Alexander Barton [Fri, 4 Feb 2005 13:15:38 +0000 (13:15 +0000)]
Use ngt_TrimLastChr() where useful, by Florian Westphal.

15 years agoAdd ngt_TrimLastChr() to header file. By Florian Westphal.
Alexander Barton [Fri, 4 Feb 2005 13:09:03 +0000 (13:09 +0000)]
Add ngt_TrimLastChr() to header file. By Florian Westphal.

15 years agoFixed a bug that could case a root exploit when the daemon is compiled
Alexander Barton [Thu, 3 Feb 2005 09:26:42 +0000 (09:26 +0000)]
Fixed a bug that could case a root exploit when the daemon is compiled
to do IDENT lookups and is logging to syslog. Bug discovered by CoKi,
<coki@nosystem.com.ar>, thanks a lot!
(http://www.nosystem.com.ar/advisories/advisory-11.txt)

15 years agoUpdated ChangeLog for 0.8.2.
Alexander Barton [Thu, 3 Feb 2005 09:11:43 +0000 (09:11 +0000)]
Updated ChangeLog for 0.8.2.

15 years agoUpdated config.sub and config.guess
Alexander Barton [Thu, 27 Jan 2005 00:15:53 +0000 (00:15 +0000)]
Updated config.sub and config.guess

15 years agoWe are in the year 2005 now! :-)
Alexander Barton [Wed, 26 Jan 2005 22:03:15 +0000 (22:03 +0000)]
We are in the year 2005 now! :-)

15 years agoFixed a buffer overflow that could cause the daemon to crash. Bug found
Alexander Barton [Wed, 26 Jan 2005 13:23:24 +0000 (13:23 +0000)]
Fixed a buffer overflow that could cause the daemon to crash. Bug found
by Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agoUpdated list of contributors.
Alexander Barton [Wed, 26 Jan 2005 13:21:00 +0000 (13:21 +0000)]
Updated list of contributors.

15 years agoNew function ngt_TrimLastChr(), prototype by Florian Westphal.
Alexander Barton [Tue, 25 Jan 2005 16:16:48 +0000 (16:16 +0000)]
New function ngt_TrimLastChr(), prototype by Florian Westphal.

15 years agoFixed a typo in variable name ...
Alexander Barton [Mon, 24 Jan 2005 14:19:04 +0000 (14:19 +0000)]
Fixed a typo in variable name ...

15 years agoFixed a possible buffer underrun when reading the MOTD file. Thanks to
Alexander Barton [Mon, 24 Jan 2005 14:17:21 +0000 (14:17 +0000)]
Fixed a possible buffer underrun when reading the MOTD file. Thanks to
Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agoCode cleanups from Florian Westphal, <westphal@foo.fh-furtwangen.de>:
Alexander Barton [Thu, 20 Jan 2005 00:13:08 +0000 (00:13 +0000)]
Code cleanups from Florian Westphal, <westphal@foo.fh-furtwangen.de>:
wrote functions for common error messages.

15 years agoCode cleanups from Florian Westphal, <westphal@foo.fh-furtwangen.de>.
Alexander Barton [Thu, 20 Jan 2005 00:11:49 +0000 (00:11 +0000)]
Code cleanups from Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agoFixed detection of IRC lines which are too long to send. Detected by
Alexander Barton [Wed, 19 Jan 2005 23:33:53 +0000 (23:33 +0000)]
Fixed detection of IRC lines which are too long to send. Detected by
Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agoFixed return values of our own implementation of strlcpy(). The code has
Alexander Barton [Tue, 18 Jan 2005 09:05:37 +0000 (09:05 +0000)]
Fixed return values of our own implementation of strlcpy(). The code has
been taken from rsync and they fixed it, but we didn't until today :-/

15 years agoTranslated source code comments.
Alexander Barton [Mon, 17 Jan 2005 13:14:36 +0000 (13:14 +0000)]
Translated source code comments.

15 years agoRaised the maximum length of passwords to 20 characters.
Alexander Barton [Mon, 17 Jan 2005 13:01:34 +0000 (13:01 +0000)]
Raised the maximum length of passwords to 20 characters.

15 years agoFixed typo: ports are separated by ",". Thanks to Florian Westphal.
Alexander Barton [Mon, 17 Jan 2005 12:51:17 +0000 (12:51 +0000)]
Fixed typo: ports are separated by ",". Thanks to Florian Westphal.

15 years agoFixed a memory leak when resizing the connection pool and realloc() failed.
Alexander Barton [Mon, 17 Jan 2005 11:57:39 +0000 (11:57 +0000)]
Fixed a memory leak when resizing the connection pool and realloc() failed.
Now we don't fall back to malloc(), which should be sane anyway.
Patch from Florian Westphal, <westphal@foo.fh-furtwangen.de>.

15 years agoAdded URLs for stunnel.
Alexander Barton [Mon, 27 Dec 2004 01:11:40 +0000 (01:11 +0000)]
Added URLs for stunnel.

15 years agoAdded documentation for SSL support.
Alexander Barton [Mon, 27 Dec 2004 01:04:35 +0000 (01:04 +0000)]
Added documentation for SSL support.

15 years agoMake more clear that there can be more than one [Operator], [Server] and
Alexander Barton [Mon, 27 Dec 2004 00:55:06 +0000 (00:55 +0000)]
Make more clear that there can be more than one [Operator], [Server] and
[Channel] section in the configuration file.

15 years agoFixed wrong port number in example.
Alexander Barton [Mon, 27 Dec 2004 00:48:59 +0000 (00:48 +0000)]
Fixed wrong port number in example.

15 years agoDon't use a POSIX thread for the Howl "run loop".
Alexander Barton [Sun, 26 Dec 2004 16:48:53 +0000 (16:48 +0000)]
Don't use a POSIX thread for the Howl "run loop".

15 years agoAdded support for the Howl (http://www.porchdogsoft.com/products/howl/)
Alexander Barton [Sun, 26 Dec 2004 00:14:33 +0000 (00:14 +0000)]
Added support for the Howl (porchdogsoft.com/products/howl/)
Rendezvous API, in addition to the API of Apple (Mac OS X).

15 years agoUpdated documentation for release 0.8.1
Alexander Barton [Sat, 25 Dec 2004 00:22:00 +0000 (00:22 +0000)]
Updated documentation for release 0.8.1

15 years agoUpdated config.guess and config.sub
Alexander Barton [Sat, 25 Dec 2004 00:10:19 +0000 (00:10 +0000)]
Updated config.guess and config.sub

15 years agoUpdated documentation ...
Alexander Barton [Sat, 25 Dec 2004 00:00:14 +0000 (00:00 +0000)]
Updated documentation ...

15 years agoFixed indentation and added some more debug code.
Alexander Barton [Wed, 22 Dec 2004 17:37:41 +0000 (17:37 +0000)]
Fixed indentation and added some more debug code.

16 years agoUpdated list of supported/tested platforms.
Alexander Barton [Tue, 9 Nov 2004 11:00:33 +0000 (11:00 +0000)]
Updated list of supported/tested platforms.

16 years agoFixed spelling mistake.
Alexander Barton [Sun, 31 Oct 2004 12:17:22 +0000 (12:17 +0000)]
Fixed spelling mistake.

16 years agoMade ngIRCd compile on HP/UX 10.20 with native HP pre-ANSI C compiler and
Alexander Barton [Wed, 20 Oct 2004 13:47:32 +0000 (13:47 +0000)]
Made ngIRCd compile on HP/UX 10.20 with native HP pre-ANSI C compiler and
most probably other older C compilers on other systems.

16 years agoChanged "read buffer" to "receive buffer" as suggested by Goetz.
Alexander Barton [Mon, 4 Oct 2004 23:23:41 +0000 (23:23 +0000)]
Changed "read buffer" to "receive buffer" as suggested by Goetz.

16 years agoAdded some missing words: "address" :-)
Alexander Barton [Mon, 4 Oct 2004 23:09:04 +0000 (23:09 +0000)]
Added some missing words: "address" :-)

16 years agoFixed wrong variable names in output of "ngircd --configtest".
Alexander Barton [Fri, 24 Sep 2004 18:00:40 +0000 (18:00 +0000)]
Fixed wrong variable names in output of "ngircd --configtest".

16 years agoAdded functions.inc to EXTRA_DIST files.
Alexander Barton [Wed, 8 Sep 2004 09:40:51 +0000 (09:40 +0000)]
Added functions.inc to EXTRA_DIST files.

16 years agoFixed echo without newline for systems not understanding "echo -n"; added
Alexander Barton [Mon, 6 Sep 2004 22:04:06 +0000 (22:04 +0000)]
Fixed echo without newline for systems not understanding "echo -n"; added
new file "functions.inc" for functions usable by all test scripts.

16 years agoReverted extension of the "make all" target in the test-suite.
Alexander Barton [Mon, 6 Sep 2004 20:35:28 +0000 (20:35 +0000)]
Reverted extension of the "make all" target in the test-suite.

16 years agoFixed wrong exit code check of "kill -0".
Alexander Barton [Mon, 6 Sep 2004 20:22:30 +0000 (20:22 +0000)]
Fixed wrong exit code check of "kill -0".

16 years agoUpdated documentation.
Alexander Barton [Mon, 6 Sep 2004 00:35:52 +0000 (00:35 +0000)]
Updated documentation.

16 years agoFxied name of "default file" for ngircd-full package. And do the test if
Alexander Barton [Mon, 6 Sep 2004 00:32:20 +0000 (00:32 +0000)]
Fxied name of "default file" for ngircd-full package. And do the test if
the binary is executable after reading this file.

16 years agoIf ServerUID is defined change the working directory to the home directory
Alexander Barton [Sat, 4 Sep 2004 20:28:51 +0000 (20:28 +0000)]
If ServerUID is defined change the working directory to the home directory
of this user.

16 years agoUpdated documentation :-)
Alexander Barton [Sat, 4 Sep 2004 19:39:24 +0000 (19:39 +0000)]
Updated documentation :-)

16 years agoEnhanced messages and exit codes.
Alexander Barton [Sat, 4 Sep 2004 19:14:46 +0000 (19:14 +0000)]
Enhanced messages and exit codes.

16 years agoAdded all test scripts to target "all".
Alexander Barton [Sat, 4 Sep 2004 19:14:02 +0000 (19:14 +0000)]
Added all test scripts to target "all".

16 years agoChanged text "test scripts" to "processes": some versions of expect(1)
Alexander Barton [Sat, 4 Sep 2004 18:22:42 +0000 (18:22 +0000)]
Changed text "test scripts" to "processes": some versions of expect(1)
fork child processes ...

16 years agoRemoved counting of test processes; don't check running processes by default.
Alexander Barton [Sat, 4 Sep 2004 18:20:16 +0000 (18:20 +0000)]
Removed counting of test processes; don't check running processes by default.

16 years agoAdded detection of flags for ps(1).
Alexander Barton [Sat, 4 Sep 2004 16:14:47 +0000 (16:14 +0000)]
Added detection of flags for ps(1).

16 years agoAdded README, test-loop.sh and wait-tests.sh to EXTRA_DIST files.
Alexander Barton [Sat, 4 Sep 2004 15:46:56 +0000 (15:46 +0000)]
Added README, test-loop.sh and wait-tests.sh to EXTRA_DIST files.

16 years agoMade stress-server.sh to use wait-tests.sh to limit number of parallel tests.
Alexander Barton [Sat, 4 Sep 2004 15:45:27 +0000 (15:45 +0000)]
Made stress-server.sh to use wait-tests.sh to limit number of parallel tests.

16 years agoTwo new scripts: test-loop.sh and wait-tests.sh
Alexander Barton [Sat, 4 Sep 2004 15:44:45 +0000 (15:44 +0000)]
Two new scripts: test-loop.sh and wait-tests.sh

16 years agoAdded support for looping and other enhancements.
Alexander Barton [Sat, 4 Sep 2004 14:23:09 +0000 (14:23 +0000)]
Added support for looping and other enhancements.

16 years agoSet $srcdir if not already set by make.
Alexander Barton [Sat, 4 Sep 2004 14:22:38 +0000 (14:22 +0000)]
Set $srcdir if not already set by make.

16 years agoIf nick name is already in use, interpret this as "clienst still connected".
Alexander Barton [Sat, 4 Sep 2004 14:22:13 +0000 (14:22 +0000)]
If nick name is already in use, interpret this as "clienst still connected".

16 years agoAdded preliminary README text.
Alexander Barton [Sat, 4 Sep 2004 13:58:31 +0000 (13:58 +0000)]
Added preliminary README text.

16 years agoInformation about configuring ngIRCd.
Alexander Barton [Fri, 3 Sep 2004 20:01:12 +0000 (20:01 +0000)]
Information about configuring ngIRCd.

16 years agoRemoved empty "buildRules" variable (suggested by XCode 1.5 :-).
Alexander Barton [Tue, 10 Aug 2004 01:55:33 +0000 (01:55 +0000)]
Removed empty "buildRules" variable (suggested by XCode 1.5 :-).

16 years agoAdded missing commas to debian control file, fixes bug #56.
Alexander Barton [Thu, 15 Jul 2004 09:03:15 +0000 (09:03 +0000)]
Added missing commas to debian control file, fixes bug #56.
Thanks to Kevin Otte (nivex@nivex.net) for the patch.

16 years agoUpdated documentation: note ngIRCd 0.8.0 :-)
Alexander Barton [Sat, 3 Jul 2004 18:35:41 +0000 (18:35 +0000)]
Updated documentation: note ngIRCd 0.8.0 :-)

16 years agoAdded cast to integer for Solaris.
Alexander Barton [Sat, 26 Jun 2004 08:50:44 +0000 (08:50 +0000)]
Added cast to integer for Solaris.

16 years agoUpdated documentation.
Alexander Barton [Sun, 30 May 2004 16:29:05 +0000 (16:29 +0000)]
Updated documentation.

16 years agoFixed wrong buffer size calculation for resolver results.
Alexander Barton [Sun, 30 May 2004 16:25:51 +0000 (16:25 +0000)]
Fixed wrong buffer size calculation for resolver results.

16 years agoAdded "hppa/unknown/openbsd3.5".
Alexander Barton [Tue, 25 May 2004 21:50:29 +0000 (21:50 +0000)]
Added "hppa/unknown/openbsd3.5".

16 years agoUpdated documentation.
Alexander Barton [Sat, 15 May 2004 23:56:43 +0000 (23:56 +0000)]
Updated documentation.

16 years agoEnhanced ./configure checks for required C header files.
Alexander Barton [Sat, 15 May 2004 12:24:30 +0000 (12:24 +0000)]
Enhanced ./configure checks for required C header files.

16 years agoFixed a warning message of the compiler when not using IDENT lookups.
Alexander Barton [Tue, 11 May 2004 00:53:14 +0000 (00:53 +0000)]
Fixed a warning message of the compiler when not using IDENT lookups.

16 years agoUpdated documentation.
Alexander Barton [Tue, 11 May 2004 00:41:53 +0000 (00:41 +0000)]
Updated documentation.

16 years ago"make maintainer-clean" removes Makefile.in now.
Alexander Barton [Tue, 11 May 2004 00:34:26 +0000 (00:34 +0000)]
"make maintainer-clean" removes Makefile.in now.

16 years ago"make clean" works better now.
Alexander Barton [Tue, 11 May 2004 00:32:31 +0000 (00:32 +0000)]
"make clean" works better now.

16 years agoNew Debian version.
Alexander Barton [Tue, 11 May 2004 00:21:04 +0000 (00:21 +0000)]
New Debian version.

16 years agoFixed resolver when using IDENT lookups, cleaned up code.
Alexander Barton [Tue, 11 May 2004 00:01:11 +0000 (00:01 +0000)]
Fixed resolver when using IDENT lookups, cleaned up code.

16 years agoAdded PID to all log messages on the console; enhanced logging of
Alexander Barton [Mon, 10 May 2004 23:57:46 +0000 (23:57 +0000)]
Added PID to all log messages on the console; enhanced logging of
resolver sub-processes in debug mode.

16 years agoEnhanced output of "make lint".
Alexander Barton [Sun, 9 May 2004 18:23:35 +0000 (18:23 +0000)]
Enhanced output of "make lint".

16 years agoNew "chroot" feature (from Benjamin Pineau), introducing new configuration
Alexander Barton [Fri, 7 May 2004 11:19:20 +0000 (11:19 +0000)]
New "chroot" feature (from Benjamin Pineau), introducing new configuration
variables "ChrootDir" and "MotdPhrase".

16 years agoOverview of "contributed" files.
Alexander Barton [Wed, 28 Apr 2004 12:18:50 +0000 (12:18 +0000)]
Overview of "contributed" files.

16 years agoAdded "README" and "systrace.policy" files.
Alexander Barton [Wed, 28 Apr 2004 12:18:02 +0000 (12:18 +0000)]
Added "README" and "systrace.policy" files.

16 years agosystrace policy for OpenBSD/NetBSD, thanks to Benjamin Pineau <ben@zouh.org>
Alexander Barton [Wed, 28 Apr 2004 12:16:59 +0000 (12:16 +0000)]
systrace policy for OpenBSD/NetBSD, thanks to Benjamin Pineau <ben@zouh.org>

16 years agoNew debian version including updates from CVS HEAD.
Alexander Barton [Sun, 25 Apr 2004 23:57:19 +0000 (23:57 +0000)]
New debian version including updates from CVS HEAD.

16 years agoUpdated documentation.
Alexander Barton [Sun, 25 Apr 2004 15:51:15 +0000 (15:51 +0000)]
Updated documentation.

16 years agoAdd flag "L" to default IRC+ server flags: synchronize INVITE-
Alexander Barton [Sun, 25 Apr 2004 15:46:50 +0000 (15:46 +0000)]
Add flag "L" to default IRC+ server flags: synchronize INVITE-
and BAN-lists.

16 years agoDocument new server flag "L": synchronize INVITE- and
Alexander Barton [Sun, 25 Apr 2004 15:44:10 +0000 (15:44 +0000)]
Document new server flag "L": synchronize INVITE- and
BAN-lists when establishing new server links.

16 years agoSynchronize INVITE- and BAN-lists if the peer requests it:
Alexander Barton [Sun, 25 Apr 2004 15:43:18 +0000 (15:43 +0000)]
Synchronize INVITE- and BAN-lists if the peer requests it:
server flag "L". And better debug logging.

16 years agoDon't send MODE changes when origin is a server and
Alexander Barton [Sun, 25 Apr 2004 15:42:05 +0000 (15:42 +0000)]
Don't send MODE changes when origin is a server and
mask is already known.