ngircd-alex.git
14 years agoAdded maintainer-clean-local target to purge generated Makefiles.
Alexander Barton [Sat, 8 Apr 2006 16:35:03 +0000 (16:35 +0000)]
Added maintainer-clean-local target to purge generated Makefiles.

14 years agofix ngt_TrimStr(), fix format string
Florian Westphal [Fri, 24 Mar 2006 23:25:38 +0000 (23:25 +0000)]
fix ngt_TrimStr(), fix format string

14 years agongt_TrimStr(): code cleanup.
Alexander Barton [Wed, 22 Mar 2006 08:05:10 +0000 (08:05 +0000)]
ngt_TrimStr(): code cleanup.

14 years agouse strlcat return value; don't call time() repeatedly.
Florian Westphal [Sat, 18 Mar 2006 22:27:09 +0000 (22:27 +0000)]
use strlcat return value; don't call time() repeatedly.

14 years agocorrected return value
Florian Westphal [Thu, 16 Mar 2006 20:14:16 +0000 (20:14 +0000)]
corrected return value

14 years agoremoved silly if (foo) { if (foo){ }} statement
Florian Westphal [Thu, 16 Mar 2006 19:56:34 +0000 (19:56 +0000)]
removed silly if (foo) { if (foo){ }} statement

14 years agos/gehoert//
Florian Westphal [Sat, 11 Mar 2006 10:43:49 +0000 (10:43 +0000)]
s/gehoert//

14 years agoClient_RegisterWhowas(): call time() only once
Florian Westphal [Sat, 11 Mar 2006 10:33:30 +0000 (10:33 +0000)]
Client_RegisterWhowas(): call time() only once

14 years agoDon't use "awk" directly, instead use $(AWK) variable.
Alexander Barton [Sat, 11 Mar 2006 01:48:50 +0000 (01:48 +0000)]
Don't use "awk" directly, instead use $(AWK) variable.

14 years agoMoved now local prototype of Client_New() to C file, renamed it to
Alexander Barton [Sat, 11 Mar 2006 01:37:31 +0000 (01:37 +0000)]
Moved now local prototype of Client_New() to C file, renamed it to
Init_New_Client() and cleaned up some code and comments.

14 years agoClient_New() not used outside client.c -> static
Florian Westphal [Fri, 10 Mar 2006 20:25:29 +0000 (20:25 +0000)]
Client_New() not used outside client.c -> static

14 years agochanged connection structure to array-api
Florian Westphal [Thu, 16 Feb 2006 19:21:57 +0000 (19:21 +0000)]
changed connection structure to array-api

14 years agonew Function: LogDebug()
Florian Westphal [Wed, 8 Feb 2006 17:33:28 +0000 (17:33 +0000)]
new Function: LogDebug()

14 years agoremoved Resolve_SUCCESS() Macro and Res_Stat->sucess boolean (no longer used/needed)
Florian Westphal [Wed, 8 Feb 2006 15:24:10 +0000 (15:24 +0000)]
removed Resolve_SUCCESS() Macro and Res_Stat->sucess boolean (no longer used/needed)

14 years agoMake connid same as connection fd.
Florian Westphal [Wed, 8 Feb 2006 15:20:21 +0000 (15:20 +0000)]
Make connid same as connection fd.

14 years agoremoved obsolete "int Conn_MaxFD"
Florian Westphal [Thu, 2 Feb 2006 21:00:21 +0000 (21:00 +0000)]
removed obsolete "int Conn_MaxFD"

14 years agosimplify IRC_Show_MOTD()
Florian Westphal [Fri, 27 Jan 2006 17:19:58 +0000 (17:19 +0000)]
simplify IRC_Show_MOTD()

14 years agoEnhanced documentation. Use "default" port 6667 in the example for server links.
Alexander Barton [Mon, 9 Jan 2006 11:03:35 +0000 (11:03 +0000)]
Enhanced documentation. Use "default" port 6667 in the example for server links.

14 years agoAdded some documentation for --with-XXX options of the configure script.
Alexander Barton [Fri, 30 Dec 2005 22:43:23 +0000 (22:43 +0000)]
Added some documentation for --with-XXX options of the configure script.

14 years agoAdded test if the stress-test expect script itself completes without errors.
Alexander Barton [Fri, 30 Dec 2005 22:13:21 +0000 (22:13 +0000)]
Added test if the stress-test expect script itself completes without errors.

14 years agoModified expect script to work with servers having IDENT support.
Alexander Barton [Fri, 30 Dec 2005 22:12:28 +0000 (22:12 +0000)]
Modified expect script to work with servers having IDENT support.

14 years agoadd FAQ entry about epoll(): Function not implemented error
Florian Westphal [Fri, 9 Dec 2005 21:14:56 +0000 (21:14 +0000)]
add FAQ entry about epoll(): Function not implemented error

14 years agoFix Bugzilla #64 -- ngicrd did not reconnect to other servers after failed forward...
Florian Westphal [Fri, 9 Dec 2005 09:26:55 +0000 (09:26 +0000)]
Fix Bugzilla #64 -- ngicrd did not reconnect to other servers after failed forward dns lookup.

14 years agoMake clear that "IO backend: select" is not a request but a C API function.
Alexander Barton [Tue, 6 Dec 2005 22:37:50 +0000 (22:37 +0000)]
Make clear that "IO backend: select" is not a request but a C API function.

14 years agoDon't remove doc/src on "make distclean".
Alexander Barton [Tue, 29 Nov 2005 20:59:57 +0000 (20:59 +0000)]
Don't remove doc/src on "make distclean".

14 years agoMinor whitespace fixes.
Alexander Barton [Mon, 21 Nov 2005 16:31:30 +0000 (16:31 +0000)]
Minor whitespace fixes.

14 years agoRemove direct call of Conf_UnsetServer(): it's already indirectly called
Alexander Barton [Mon, 21 Nov 2005 15:06:37 +0000 (15:06 +0000)]
Remove direct call of Conf_UnsetServer(): it's already indirectly called
by Conn_Close() a few lines above.

14 years agoAdjusted ChangeLog for ngIRCd release 0.9.2.
Alexander Barton [Mon, 31 Oct 2005 21:40:17 +0000 (21:40 +0000)]
Adjusted ChangeLog for ngIRCd release 0.9.2.

14 years agoUpdated autoconf helper scripts.
Alexander Barton [Sat, 15 Oct 2005 13:16:52 +0000 (13:16 +0000)]
Updated autoconf helper scripts.

14 years agoChanged Handle_Write() to not close sockets itself but to call Conn_Close.
Alexander Barton [Tue, 11 Oct 2005 19:29:23 +0000 (19:29 +0000)]
Changed Handle_Write() to not close sockets itself but to call Conn_Close.

14 years agogcc 4: "warning: declaration of 'dup' shadows a global declaration".
Alexander Barton [Sat, 24 Sep 2005 17:06:54 +0000 (17:06 +0000)]
gcc 4: "warning: declaration of 'dup' shadows a global declaration".

14 years agoavoid 2nd time() call in Check_Servers(), improve comments
Florian Westphal [Sat, 24 Sep 2005 02:48:46 +0000 (02:48 +0000)]
avoid 2nd time() call in Check_Servers(), improve comments

14 years agouse io_close instead of plain close in Conn_ExitListeners()
Florian Westphal [Sat, 24 Sep 2005 02:20:00 +0000 (02:20 +0000)]
use io_close instead of plain close in Conn_ExitListeners()

14 years agomerge new resolver code
Florian Westphal [Mon, 12 Sep 2005 19:10:20 +0000 (19:10 +0000)]
merge new resolver code

14 years agoMinimal changes (needed for merging resolver changes)
Florian Westphal [Sun, 11 Sep 2005 11:42:48 +0000 (11:42 +0000)]
Minimal changes (needed for merging resolver changes)

14 years agoMostly formatting; changes needed for SSL merge
Florian Westphal [Sat, 10 Sep 2005 23:42:12 +0000 (23:42 +0000)]
Mostly formatting; changes needed for SSL merge

14 years agoHandle_Write(): Report write attempts on closed sockets when in debug mode.
Florian Westphal [Mon, 5 Sep 2005 09:10:08 +0000 (09:10 +0000)]
Handle_Write(): Report write attempts on closed sockets when in debug mode.

14 years agoRemoved obsolete debug message.
Alexander Barton [Mon, 5 Sep 2005 08:11:11 +0000 (08:11 +0000)]
Removed obsolete debug message.

14 years agoSet one second penalty on unknown commands.
Alexander Barton [Sun, 4 Sep 2005 23:42:24 +0000 (23:42 +0000)]
Set one second penalty on unknown commands.

14 years agoAdd debug code to Conn_SetPenalty().
Alexander Barton [Sun, 4 Sep 2005 23:38:32 +0000 (23:38 +0000)]
Add debug code to Conn_SetPenalty().

14 years agoio_close(): explicitly remove fd from epoll set
Florian Westphal [Sun, 4 Sep 2005 13:38:59 +0000 (13:38 +0000)]
io_close(): explicitly remove fd from epoll set

14 years agoUpdated build configurations.
Alexander Barton [Sat, 3 Sep 2005 15:13:14 +0000 (15:13 +0000)]
Updated build configurations.

14 years agoUpdated XCode project files to XCode version 2.1.
Alexander Barton [Sat, 3 Sep 2005 14:57:27 +0000 (14:57 +0000)]
Updated XCode project files to XCode version 2.1.

14 years agoWait for DNS reverse lookup (and ident request) before writing results to pipe.
Florian Westphal [Sat, 3 Sep 2005 11:17:16 +0000 (11:17 +0000)]
Wait for DNS reverse lookup (and ident request) before writing results to pipe.

14 years agoUpdated Changelog: fixed file descriptor leak in resolver code.
Alexander Barton [Fri, 2 Sep 2005 22:12:43 +0000 (22:12 +0000)]
Updated Changelog: fixed file descriptor leak in resolver code.

14 years agofix fd leak (happens on failure of fork() ).
Florian Westphal [Fri, 2 Sep 2005 21:47:30 +0000 (21:47 +0000)]
fix fd leak (happens on failure of fork() ).

14 years agoUpdated copyright notice.
Alexander Barton [Fri, 2 Sep 2005 17:12:58 +0000 (17:12 +0000)]
Updated copyright notice.

14 years agosmall formatting change
Florian Westphal [Fri, 2 Sep 2005 17:01:23 +0000 (17:01 +0000)]
small formatting change

14 years agoJOIN now supports more than one channel key at a time.
Alexander Barton [Fri, 2 Sep 2005 15:46:49 +0000 (15:46 +0000)]
JOIN now supports more than one channel key at a time.

14 years agoMention ':' MyPassword restriction in man page.
Florian Westphal [Fri, 2 Sep 2005 14:38:59 +0000 (14:38 +0000)]
Mention ':' MyPassword restriction in man page.

14 years agoComplain if MyPassword starts with ':'. (Reported by Ben Korvemaker)
Florian Westphal [Fri, 2 Sep 2005 13:58:52 +0000 (13:58 +0000)]
Complain if MyPassword starts with ':'. (Reported by Ben Korvemaker)

14 years agoreformatted Handle_SERVER()
Florian Westphal [Fri, 2 Sep 2005 13:50:52 +0000 (13:50 +0000)]
reformatted Handle_SERVER()

14 years agoCleaned up some code, comments and log/debug messages.
Alexander Barton [Fri, 2 Sep 2005 13:28:30 +0000 (13:28 +0000)]
Cleaned up some code, comments and log/debug messages.

14 years agoImplementec numeric "333": Time and user name who set a channel topic.
Alexander Barton [Fri, 2 Sep 2005 12:50:25 +0000 (12:50 +0000)]
Implementec numeric "333": Time and user name who set a channel topic.

14 years agoAdd warning about leading : in passwords. (thx Ben Korvemaker for pointing this out)
Florian Westphal [Thu, 1 Sep 2005 18:16:29 +0000 (18:16 +0000)]
Add warning about leading : in passwords. (thx Ben Korvemaker for pointing this out)

14 years agoMake PONG handler compatible with ngIRCd <= 0.9 ("make it more relaxed").
Alexander Barton [Thu, 1 Sep 2005 10:51:24 +0000 (10:51 +0000)]
Make PONG handler compatible with ngIRCd <= 0.9 ("make it more relaxed").

14 years agoreformatted a few lines.
Florian Westphal [Tue, 30 Aug 2005 22:08:00 +0000 (22:08 +0000)]
reformatted a few lines.

14 years agocheck if gcc supports -fstack-protector
Florian Westphal [Tue, 30 Aug 2005 20:59:30 +0000 (20:59 +0000)]
check if gcc supports -fstack-protector

14 years agouse size_t for array length variables
Florian Westphal [Tue, 30 Aug 2005 13:38:16 +0000 (13:38 +0000)]
use size_t for array length variables

14 years agouse size_t instead of unsigned int.
Florian Westphal [Tue, 30 Aug 2005 13:36:32 +0000 (13:36 +0000)]
use size_t instead of unsigned int.

14 years agolast cleanup accidentally broke kqueue backend.
Florian Westphal [Mon, 29 Aug 2005 13:58:54 +0000 (13:58 +0000)]
last cleanup accidentally broke kqueue backend.

14 years agoAdded prefix to connection statistic NOTICE.
Alexander Barton [Mon, 29 Aug 2005 11:11:15 +0000 (11:11 +0000)]
Added prefix to connection statistic NOTICE.

14 years agoFixed server NOTICEs to users with "s" mode ("server messages").
Alexander Barton [Mon, 29 Aug 2005 10:58:00 +0000 (10:58 +0000)]
Fixed server NOTICEs to users with "s" mode ("server messages").

14 years agoremove unneeded variable "bool action"
Florian Westphal [Sun, 28 Aug 2005 16:51:20 +0000 (16:51 +0000)]
remove unneeded variable "bool action"

14 years agofix embarassing cut&paste error
Florian Westphal [Sun, 28 Aug 2005 12:18:50 +0000 (12:18 +0000)]
fix embarassing cut&paste error

14 years agoarray_cat0_temporary(): removed confusing DEBUG messages
Florian Westphal [Sun, 28 Aug 2005 11:47:02 +0000 (11:47 +0000)]
array_cat0_temporary(): removed confusing DEBUG messages

14 years agoEnhanced the handler for PING and PONG commands: fix forwarding and enable
Alexander Barton [Sun, 28 Aug 2005 11:40:13 +0000 (11:40 +0000)]
Enhanced the handler for PING and PONG commands: fix forwarding and enable
back-passing of a client supplied additional argument of PING.

14 years agoif the request is empty, remove \r\n (or single \n or \r) from receive buffer.
Florian Westphal [Sun, 28 Aug 2005 00:19:29 +0000 (00:19 +0000)]
if the request is empty, remove \r\n (or single \n or \r) from receive buffer.

14 years agofix handling of empty requests
Florian Westphal [Sat, 27 Aug 2005 23:42:23 +0000 (23:42 +0000)]
fix handling of empty requests

14 years agoChanged handling of timeouts for unregistered connections: don't reset
Alexander Barton [Sat, 27 Aug 2005 23:33:10 +0000 (23:33 +0000)]
Changed handling of timeouts for unregistered connections: don't reset
the counter if data is received and disconnect clients earlier.

14 years agoremoved misleading const qualifier
Florian Westphal [Sat, 27 Aug 2005 23:23:54 +0000 (23:23 +0000)]
removed misleading const qualifier

14 years agoTwo spelling fixes.
Alexander Barton [Sat, 27 Aug 2005 22:59:06 +0000 (22:59 +0000)]
Two spelling fixes.

14 years agoForgot to mention last change ...
Alexander Barton [Sat, 27 Aug 2005 22:55:13 +0000 (22:55 +0000)]
Forgot to mention last change ...

14 years agofix kevent() warning on powerpc-apple-darwin8-gcc-4.0.0
Florian Westphal [Sat, 27 Aug 2005 20:27:07 +0000 (20:27 +0000)]
fix kevent() warning on powerpc-apple-darwin8-gcc-4.0.0

14 years agoremove unneeded call io_event_kqueue_commit_cache()
Florian Westphal [Sat, 27 Aug 2005 20:25:54 +0000 (20:25 +0000)]
remove unneeded call io_event_kqueue_commit_cache()

14 years agoFixed parameter description of CHANINFO.
Alexander Barton [Sat, 27 Aug 2005 19:00:06 +0000 (19:00 +0000)]
Fixed parameter description of CHANINFO.

14 years agoreturn PING argument in PONG reply if STRICT_RFC is not defined.
Florian Westphal [Sat, 27 Aug 2005 18:39:56 +0000 (18:39 +0000)]
return PING argument in PONG reply if STRICT_RFC is not defined.

14 years agoUpdated ChangeLog (from 0.9.1 branch).
Alexander Barton [Thu, 25 Aug 2005 09:00:16 +0000 (09:00 +0000)]
Updated ChangeLog (from 0.9.1 branch).

14 years agoChanged log level of "Initialization failed" message from ERR to ALERT.
Alexander Barton [Thu, 25 Aug 2005 08:48:43 +0000 (08:48 +0000)]
Changed log level of "Initialization failed" message from ERR to ALERT.

14 years agoFixed line lengths ...
Alexander Barton [Thu, 25 Aug 2005 08:40:15 +0000 (08:40 +0000)]
Fixed line lengths ...

14 years agoFixed format string bug in "connection statistics" message; code cleanups.
Alexander Barton [Mon, 15 Aug 2005 23:02:40 +0000 (23:02 +0000)]
Fixed format string bug in "connection statistics" message; code cleanups.

14 years agoMade test script run a longer time.
Alexander Barton [Fri, 12 Aug 2005 21:38:52 +0000 (21:38 +0000)]
Made test script run a longer time.

14 years agoSet timeout.
Alexander Barton [Fri, 12 Aug 2005 21:35:12 +0000 (21:35 +0000)]
Set timeout.

14 years agoDetect source directory correctly.
Alexander Barton [Fri, 12 Aug 2005 21:34:19 +0000 (21:34 +0000)]
Detect source directory correctly.

14 years agoAdded start script for FreeBSD.
Alexander Barton [Fri, 12 Aug 2005 21:32:45 +0000 (21:32 +0000)]
Added start script for FreeBSD.

14 years agoUpdated URL and some minor changes.
Alexander Barton [Fri, 12 Aug 2005 13:20:54 +0000 (13:20 +0000)]
Updated URL and some minor changes.

15 years agoThe KILL command killed much more than desired (including server links!)
Alexander Barton [Tue, 2 Aug 2005 23:19:21 +0000 (23:19 +0000)]
The KILL command killed much more than desired (including server links!)
when the target user is connected to a remote server.  [from 0.9.x]

15 years agoRemoved some line feeds in debug statements.
Alexander Barton [Tue, 2 Aug 2005 22:48:57 +0000 (22:48 +0000)]
Removed some line feeds in debug statements.

15 years agoRemoved unnecessary #define of "LOCAL", now use plain C "static" instead.
Alexander Barton [Sun, 31 Jul 2005 20:13:07 +0000 (20:13 +0000)]
Removed unnecessary #define of "LOCAL", now use plain C "static" instead.

15 years agoRemoved "U" unsignet suffix: caused problems with older compilers and is
Alexander Barton [Sat, 30 Jul 2005 22:53:16 +0000 (22:53 +0000)]
Removed "U" unsignet suffix: caused problems with older compilers and is
not necessary for this constants.

15 years agoFixed line wrapping.
Alexander Barton [Sat, 30 Jul 2005 21:00:19 +0000 (21:00 +0000)]
Fixed line wrapping.

15 years agointernal changes needed for future ssl support
Florian Westphal [Fri, 29 Jul 2005 09:29:47 +0000 (09:29 +0000)]
internal changes needed for future ssl support

15 years agoadd topic length changelog entry
Florian Westphal [Thu, 28 Jul 2005 16:28:11 +0000 (16:28 +0000)]
add topic length changelog entry

15 years agotopic no longer limited to 127 chars (now only limited by protocol)
Florian Westphal [Thu, 28 Jul 2005 16:23:55 +0000 (16:23 +0000)]
topic no longer limited to 127 chars (now only limited by protocol)

15 years agochanged RES_STAT buffer to array
Florian Westphal [Thu, 28 Jul 2005 16:13:09 +0000 (16:13 +0000)]
changed RES_STAT buffer to array

15 years agoadd array_cat0_temporary() and array_init()
Florian Westphal [Thu, 28 Jul 2005 16:12:50 +0000 (16:12 +0000)]
add array_cat0_temporary() and array_init()

15 years agoUpdated documentation from CVS branch-0-9-x.
Alexander Barton [Tue, 26 Jul 2005 19:41:49 +0000 (19:41 +0000)]
Updated documentation from CVS branch-0-9-x.

15 years agoUpdated Debian changelog from branch-0-9-x.
Alexander Barton [Tue, 26 Jul 2005 19:37:38 +0000 (19:37 +0000)]
Updated Debian changelog from branch-0-9-x.

15 years agoRun "basename" on our script name when it is a symlink as well. [from 0-9-x]
Alexander Barton [Tue, 26 Jul 2005 19:37:18 +0000 (19:37 +0000)]
Run "basename" on our script name when it is a symlink as well. [from 0-9-x]

15 years agoReverse lookup now checks result by additional forward lookup
Florian Westphal [Mon, 25 Jul 2005 09:20:10 +0000 (09:20 +0000)]
Reverse lookup now checks result by additional forward lookup