ngircd-alex.git
14 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]

14 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

14 years agoUpdated config.guess and config.sub to latest versions used in Debian.
Alexander Barton [Sun, 24 Jul 2005 22:40:04 +0000 (22:40 +0000)]
Updated config.guess and config.sub to latest versions used in Debian.

14 years agoadd reverse lookup check
Florian Westphal [Sun, 24 Jul 2005 21:42:00 +0000 (21:42 +0000)]
add reverse lookup check

14 years agoAdded "STRIP_FROM_PATH" variable to generate relative path names.
Alexander Barton [Sat, 23 Jul 2005 00:48:38 +0000 (00:48 +0000)]
Added "STRIP_FROM_PATH" variable to generate relative path names.

14 years agoEliminate some compiler warnings ("unused parameter").
Alexander Barton [Fri, 22 Jul 2005 21:31:05 +0000 (21:31 +0000)]
Eliminate some compiler warnings ("unused parameter").

14 years agoAdded style definitions for source code listings.
Alexander Barton [Fri, 22 Jul 2005 21:23:22 +0000 (21:23 +0000)]
Added style definitions for source code listings.

14 years agoNew subdirectory "doc/src" for the source code documentation.
Alexander Barton [Fri, 22 Jul 2005 21:02:22 +0000 (21:02 +0000)]
New subdirectory "doc/src" for the source code documentation.

14 years agoMoved "srcdoc" target from src/Makefile to doc/Makefile.
Alexander Barton [Fri, 22 Jul 2005 21:01:52 +0000 (21:01 +0000)]
Moved "srcdoc" target from src/Makefile to doc/Makefile.

14 years agoRemoved "srcdoc" target for src/ tree (now in doc/ subdirectory).
Alexander Barton [Fri, 22 Jul 2005 21:01:03 +0000 (21:01 +0000)]
Removed "srcdoc" target for src/ tree (now in doc/ subdirectory).

14 years agoNew subdirectory "src" for the source code documentation, and new make
Alexander Barton [Fri, 22 Jul 2005 21:00:22 +0000 (21:00 +0000)]
New subdirectory "src" for the source code documentation, and new make
target "srcdoc" to generate the documentation using Doxygen.

14 years agoNew files for the Doxygen source code documentation system.
Alexander Barton [Fri, 22 Jul 2005 20:58:22 +0000 (20:58 +0000)]
New files for the Doxygen source code documentation system.

14 years agochange Handle_OPERATOR() formatting
Florian Westphal [Sun, 17 Jul 2005 18:58:04 +0000 (18:58 +0000)]
change Handle_OPERATOR() formatting

14 years agoprevent io_masterfd leak when library_init() is called twice
Florian Westphal [Thu, 14 Jul 2005 14:35:38 +0000 (14:35 +0000)]
prevent io_masterfd leak when library_init() is called twice

14 years agoCleaned up some log messages.
Alexander Barton [Thu, 14 Jul 2005 09:20:39 +0000 (09:20 +0000)]
Cleaned up some log messages.

14 years agoBrought some debug log messages "in line".
Alexander Barton [Thu, 14 Jul 2005 09:14:12 +0000 (09:14 +0000)]
Brought some debug log messages "in line".

14 years agoReformatted some comments.
Alexander Barton [Thu, 14 Jul 2005 09:11:38 +0000 (09:11 +0000)]
Reformatted some comments.

14 years agoremoved unneeded variable "bsize"
Florian Westphal [Wed, 13 Jul 2005 16:06:55 +0000 (16:06 +0000)]
removed unneeded variable "bsize"

14 years agoadd better error checks for io_ routines
Florian Westphal [Tue, 12 Jul 2005 20:44:46 +0000 (20:44 +0000)]
add better error checks for io_ routines

14 years agoremoved unneeded return statement
Florian Westphal [Tue, 12 Jul 2005 20:44:13 +0000 (20:44 +0000)]
removed unneeded return statement

14 years agofix embarassing buffer-off-by one
Florian Westphal [Mon, 11 Jul 2005 20:58:05 +0000 (20:58 +0000)]
fix embarassing buffer-off-by one

14 years agomake Conn_NewListener local to conn.c
Florian Westphal [Mon, 11 Jul 2005 14:56:38 +0000 (14:56 +0000)]
make Conn_NewListener local to conn.c

14 years agomade a few config options unsigned.
Florian Westphal [Mon, 11 Jul 2005 14:11:35 +0000 (14:11 +0000)]
made a few config options unsigned.

14 years agochange assertions to stop splint from complaining
Florian Westphal [Mon, 11 Jul 2005 14:10:53 +0000 (14:10 +0000)]
change assertions to stop splint from complaining

14 years agos/strcpy/strlcpy/
Florian Westphal [Sun, 10 Jul 2005 21:07:22 +0000 (21:07 +0000)]
s/strcpy/strlcpy/

14 years agominor cosmetic changes
Florian Westphal [Sat, 9 Jul 2005 21:35:20 +0000 (21:35 +0000)]
minor cosmetic changes

14 years agoremoved some Debug-Code.
Florian Westphal [Sat, 9 Jul 2005 20:23:00 +0000 (20:23 +0000)]
removed some Debug-Code.

14 years agoio_library_shutdown: return void
Florian Westphal [Sat, 9 Jul 2005 20:22:29 +0000 (20:22 +0000)]
io_library_shutdown: return void

14 years agoUpdated some URLs in the documentation.
Alexander Barton [Sat, 9 Jul 2005 14:39:42 +0000 (14:39 +0000)]
Updated some URLs in the documentation.

14 years agoOnly setuid()/setgid() if it differs from current UID/GID.
Alexander Barton [Fri, 8 Jul 2005 23:19:20 +0000 (23:19 +0000)]
Only setuid()/setgid() if it differs from current UID/GID.
Solves problems with Cygwin.

14 years agoUse "ServerUID" (and not internal variable name) for error message.
Alexander Barton [Fri, 8 Jul 2005 21:04:39 +0000 (21:04 +0000)]
Use "ServerUID" (and not internal variable name) for error message.

14 years agoUpdated documentation.
Alexander Barton [Fri, 8 Jul 2005 16:23:00 +0000 (16:23 +0000)]
Updated documentation.

14 years agoAdded "doc/Zeroconf.txt" to distribution.
Alexander Barton [Fri, 8 Jul 2005 16:19:03 +0000 (16:19 +0000)]
Added "doc/Zeroconf.txt" to distribution.

14 years agoRenamed "Rendezvous" to "Zeroconf".
Alexander Barton [Fri, 8 Jul 2005 16:18:38 +0000 (16:18 +0000)]
Renamed "Rendezvous" to "Zeroconf".

14 years agoNew section "runtime".
Alexander Barton [Fri, 8 Jul 2005 12:40:09 +0000 (12:40 +0000)]
New section "runtime".

14 years agoWhitespace fixes.
Alexander Barton [Fri, 8 Jul 2005 12:39:38 +0000 (12:39 +0000)]
Whitespace fixes.

14 years agosafemult_uint(): return bool
Florian Westphal [Thu, 7 Jul 2005 21:26:31 +0000 (21:26 +0000)]
safemult_uint(): return bool

14 years agodocument b0rken resolver on GNU/Linux
Florian Westphal [Thu, 7 Jul 2005 20:53:35 +0000 (20:53 +0000)]
document b0rken resolver on GNU/Linux

14 years agonew buffer/IO API.
Florian Westphal [Thu, 7 Jul 2005 18:50:23 +0000 (18:50 +0000)]
new buffer/IO API.

14 years agotest for epoll and kqueue support
Florian Westphal [Thu, 7 Jul 2005 18:49:58 +0000 (18:49 +0000)]
test for epoll and kqueue support

14 years agouse new io event API.
Florian Westphal [Thu, 7 Jul 2005 18:49:04 +0000 (18:49 +0000)]
use new io event API.

14 years agouse dynamically sized unzip/zip buffer
Florian Westphal [Thu, 7 Jul 2005 18:48:33 +0000 (18:48 +0000)]
use dynamically sized unzip/zip buffer

14 years agonew io/buffer api.
Florian Westphal [Thu, 7 Jul 2005 18:47:46 +0000 (18:47 +0000)]
new io/buffer api.

14 years agoremove FD_SETSIZE check (now in io_* functions)
Florian Westphal [Thu, 7 Jul 2005 18:46:46 +0000 (18:46 +0000)]
remove FD_SETSIZE check (now in io_* functions)

14 years agouse dynamic io buffers
Florian Westphal [Thu, 7 Jul 2005 18:45:33 +0000 (18:45 +0000)]
use dynamic io buffers

14 years agouse new buffer API
Florian Westphal [Thu, 7 Jul 2005 18:39:45 +0000 (18:39 +0000)]
use new buffer API

14 years agocleanup, use new io layer.
Florian Westphal [Thu, 7 Jul 2005 18:39:08 +0000 (18:39 +0000)]
cleanup, use new io layer.

14 years agoadd new IO layer
Florian Westphal [Thu, 7 Jul 2005 18:38:35 +0000 (18:38 +0000)]
add new IO layer

14 years agoadd new buffer abstraction layer
Florian Westphal [Thu, 7 Jul 2005 18:38:14 +0000 (18:38 +0000)]
add new buffer abstraction layer

14 years agoremoved Resolve_Init()
Florian Westphal [Thu, 7 Jul 2005 18:37:36 +0000 (18:37 +0000)]
removed Resolve_Init()

14 years agoFixed maximum length of user names, now allow up to 9 characters.
Alexander Barton [Tue, 5 Jul 2005 22:44:47 +0000 (22:44 +0000)]
Fixed maximum length of user names, now allow up to 9 characters.

14 years agoUpdated documentation.
Alexander Barton [Sat, 2 Jul 2005 14:46:38 +0000 (14:46 +0000)]
Updated documentation.

14 years agoHandle oversized messages which should be sent to the network better.
Alexander Barton [Sat, 2 Jul 2005 14:36:03 +0000 (14:36 +0000)]
Handle oversized messages which should be sent to the network better.

14 years agoCode and comment cleanups, new #define "CUT_TXTSUFFIX".
Alexander Barton [Sat, 2 Jul 2005 14:33:45 +0000 (14:33 +0000)]
Code and comment cleanups, new #define "CUT_TXTSUFFIX".

14 years agoPrepare documentation for release 0.9.0 ...
Alexander Barton [Sun, 26 Jun 2005 21:54:01 +0000 (21:54 +0000)]
Prepare documentation for release 0.9.0 ...

14 years agoFix compiler warning "comparision between signed and unsigned".
Alexander Barton [Sun, 26 Jun 2005 13:43:59 +0000 (13:43 +0000)]
Fix compiler warning "comparision between signed and unsigned".

14 years agoFixed wrong order of #includes in test for "socklen_t" (caused problems on OpenBSD).
Alexander Barton [Sun, 26 Jun 2005 13:42:11 +0000 (13:42 +0000)]
Fixed wrong order of #includes in test for "socklen_t" (caused problems on OpenBSD).

14 years agoUpdated URLs.
Alexander Barton [Fri, 24 Jun 2005 20:59:13 +0000 (20:59 +0000)]
Updated URLs.

14 years agoIgnore unknown commands received before the client is registered.
Alexander Barton [Fri, 24 Jun 2005 20:56:46 +0000 (20:56 +0000)]
Ignore unknown commands received before the client is registered.

14 years agoGet rid of Log_SetDaemonized().
Alexander Barton [Fri, 24 Jun 2005 19:55:10 +0000 (19:55 +0000)]
Get rid of Log_SetDaemonized().

14 years agoremoved global variable NGIRCd_NoDaemon
Florian Westphal [Fri, 24 Jun 2005 19:20:56 +0000 (19:20 +0000)]
removed global variable NGIRCd_NoDaemon

14 years agoput badchars back in
Florian Westphal [Sat, 18 Jun 2005 08:57:37 +0000 (08:57 +0000)]
put badchars back in

14 years agofix embarassing cut&paste error (add missing } )
Florian Westphal [Fri, 17 Jun 2005 23:17:09 +0000 (23:17 +0000)]
fix embarassing cut&paste error (add missing } )

14 years agofix "Can't get user information for UID" error message
Florian Westphal [Fri, 17 Jun 2005 23:13:41 +0000 (23:13 +0000)]
fix "Can't get user information for UID" error message

14 years agoonly chdir() to users home when running as daemon
Florian Westphal [Fri, 17 Jun 2005 20:35:45 +0000 (20:35 +0000)]
only chdir() to users home when running as daemon

14 years agos/sprintf/snprintf
Florian Westphal [Fri, 17 Jun 2005 19:16:53 +0000 (19:16 +0000)]
s/sprintf/snprintf

14 years agouse strlcpy
Florian Westphal [Fri, 17 Jun 2005 19:15:43 +0000 (19:15 +0000)]
use strlcpy

14 years agoremove unneeded strpy()
Florian Westphal [Fri, 17 Jun 2005 19:14:58 +0000 (19:14 +0000)]
remove unneeded strpy()

14 years agostartup: fork only once, never run with uid 0
Florian Westphal [Fri, 17 Jun 2005 19:04:53 +0000 (19:04 +0000)]
startup: fork only once, never run with uid 0

14 years agostartup: fork only once, never run with uid 0.
Florian Westphal [Fri, 17 Jun 2005 18:22:45 +0000 (18:22 +0000)]
startup: fork only once, never run with uid 0.

14 years agoIRC_LIST(): Added missing calls of Client_ID() and cleand up the code.
Alexander Barton [Sun, 12 Jun 2005 18:23:59 +0000 (18:23 +0000)]
IRC_LIST(): Added missing calls of Client_ID() and cleand up the code.

14 years agochanged formatting to match ngircd coding style
Florian Westphal [Sun, 12 Jun 2005 18:02:09 +0000 (18:02 +0000)]
changed formatting to match ngircd coding style

14 years agoMake sure SimpleMessage() sends <= 512 chars
Florian Westphal [Sun, 12 Jun 2005 17:21:46 +0000 (17:21 +0000)]
Make sure SimpleMessage() sends <= 512 chars

14 years agoset 3 second penalty after failed /oper command.
Florian Westphal [Sun, 12 Jun 2005 17:18:27 +0000 (17:18 +0000)]
set 3 second penalty after failed /oper command.

14 years agoOnly register clients that have been connected at least 30 sec. in WHOIS database.
Alexander Barton [Sun, 12 Jun 2005 16:39:42 +0000 (16:39 +0000)]
Only register clients that have been connected at least 30 sec. in WHOIS database.

14 years agoModified Conn_StartTime() to use information of the CLIENT structure.
Alexander Barton [Sun, 12 Jun 2005 16:32:17 +0000 (16:32 +0000)]
Modified Conn_StartTime() to use information of the CLIENT structure.

14 years agoRemoved CONNECTION[].starttime, now saved in CLIENT structure.
Alexander Barton [Sun, 12 Jun 2005 16:28:55 +0000 (16:28 +0000)]
Removed CONNECTION[].starttime, now saved in CLIENT structure.

14 years agoNew function Client_StartTime().
Alexander Barton [Sun, 12 Jun 2005 16:18:49 +0000 (16:18 +0000)]
New function Client_StartTime().

14 years agoUpdated manual pages.
Alexander Barton [Sat, 4 Jun 2005 13:39:20 +0000 (13:39 +0000)]
Updated manual pages.

14 years agosend RFC compliant netsplit messages.
Florian Westphal [Sat, 4 Jun 2005 12:32:09 +0000 (12:32 +0000)]
send RFC compliant netsplit messages.

14 years agoFix Handling of quit messages: always send only one QUIT message.
Florian Westphal [Sat, 4 Jun 2005 11:53:24 +0000 (11:53 +0000)]
Fix Handling of quit messages: always send only one QUIT message.

14 years agoremove Try_Write(), Call Handle_Write() directly instead.
Florian Westphal [Sat, 4 Jun 2005 11:49:20 +0000 (11:49 +0000)]
remove Try_Write(), Call Handle_Write() directly instead.

14 years agoAdded some Doxygen documentation.
Alexander Barton [Wed, 1 Jun 2005 21:52:18 +0000 (21:52 +0000)]
Added some Doxygen documentation.

14 years agoFixed handling of symbolic links as used in /etc/rc.X directories.
Alexander Barton [Wed, 1 Jun 2005 21:51:11 +0000 (21:51 +0000)]
Fixed handling of symbolic links as used in /etc/rc.X directories.

14 years agoadd FreeRes_stat(), wait for resolver timeout.
Florian Westphal [Wed, 1 Jun 2005 21:28:50 +0000 (21:28 +0000)]
add FreeRes_stat(), wait for resolver timeout.

14 years agominor cleanup
Florian Westphal [Sat, 28 May 2005 10:46:50 +0000 (10:46 +0000)]
minor cleanup

14 years agoHandle splint errors more gracefully.
Alexander Barton [Mon, 23 May 2005 00:11:15 +0000 (00:11 +0000)]
Handle splint errors more gracefully.

14 years agoDon't exit server if closing of a socket fails; instead ignore it and
Alexander Barton [Sun, 22 May 2005 23:55:57 +0000 (23:55 +0000)]
Don't exit server if closing of a socket fails; instead ignore it and
pray that this will be "the right thing" ...

14 years agoAdded version information to summary text.
Alexander Barton [Sat, 21 May 2005 21:34:47 +0000 (21:34 +0000)]
Added version information to summary text.

14 years agoReformatted and documented code of the first part of the IRC_NICK()
Alexander Barton [Tue, 17 May 2005 23:24:43 +0000 (23:24 +0000)]
Reformatted and documented code of the first part of the IRC_NICK()
function; and register WHOWAS entries on nickname changes, too.

14 years agoNew function Client_RegisterWhowas().
Alexander Barton [Tue, 17 May 2005 23:18:54 +0000 (23:18 +0000)]
New function Client_RegisterWhowas().

14 years agoImplemented IRC function "WHOWAS".
Alexander Barton [Mon, 16 May 2005 12:25:15 +0000 (12:25 +0000)]
Implemented IRC function "WHOWAS".

14 years agoNew functions Client_GetWhowas and Client_GetLastWhowasIndex; new structure WHOWAS.
Alexander Barton [Mon, 16 May 2005 12:24:31 +0000 (12:24 +0000)]
New functions Client_GetWhowas and Client_GetLastWhowasIndex; new structure WHOWAS.

14 years agoNew functions Client_GetWhowas, Client_GetLastWhowasIndex, and Register_Whowas.
Alexander Barton [Mon, 16 May 2005 12:23:48 +0000 (12:23 +0000)]
New functions Client_GetWhowas, Client_GetLastWhowasIndex, and Register_Whowas.

14 years agoNew defines MAX_WHOWAS and DEFAULT_WHOWAS.
Alexander Barton [Mon, 16 May 2005 12:22:32 +0000 (12:22 +0000)]
New defines MAX_WHOWAS and DEFAULT_WHOWAS.

14 years agoAway status texts set due to "a"-Modes received from other servers have
Alexander Barton [Sat, 14 May 2005 20:29:34 +0000 (20:29 +0000)]
Away status texts set due to "a"-Modes received from other servers have
been fixed: the status text of the server has been set instead of the
away status text of the client (most probably introduced by patch 1.36).

14 years agoRemove "doc/src" directory on "make distclean".
Alexander Barton [Wed, 27 Apr 2005 07:52:29 +0000 (07:52 +0000)]
Remove "doc/src" directory on "make distclean".

14 years agoAdded #include of "defines.h", necessary due to removal of the #include of
Alexander Barton [Wed, 27 Apr 2005 07:46:50 +0000 (07:46 +0000)]
Added #include of "defines.h", necessary due to removal of the #include of
"defines.h" in the client.h header file.

14 years agoReorder #includes, necessary due to removal of #include "defines.h" in
Alexander Barton [Wed, 27 Apr 2005 07:38:00 +0000 (07:38 +0000)]
Reorder #includes, necessary due to removal of #include "defines.h" in
the client.h header file.

14 years agoRemoved "invalid" #include of "defines.h" (don't include further header
Alexander Barton [Wed, 27 Apr 2005 07:36:25 +0000 (07:36 +0000)]
Removed "invalid" #include of "defines.h" (don't include further header
files from a header file!).