]> arthur.barton.de Git - ngircd-alex.git/log
ngircd-alex.git
16 years agobind ListenAddress for outgoing connections
Florian Westphal [Fri, 23 Nov 2007 16:26:03 +0000 (16:26 +0000)]
bind ListenAddress for outgoing connections

ngircd would always use INADDR_ANY for outgoing connections;
which might not be desirable. Added new [Server] option
"Bind" to set source ip.

16 years agoFunktions to handle numerics sent to the server.
Alexander Barton [Wed, 21 Nov 2007 12:20:32 +0000 (12:20 +0000)]
Funktions to handle numerics sent to the server.

16 years agoIntroduce option to configure the maximum nick name lenth in ngircd.conf
Alexander Barton [Wed, 21 Nov 2007 12:16:33 +0000 (12:16 +0000)]
Introduce option to configure the maximum nick name lenth in ngircd.conf
- New configuration option "MaxNickLength" to specify the allowed maximum
  length of user nick names. Note: must be unique in an IRC network!
- Enhanced the IRC+ protocol to support an enhanced "server handshake" and
  enable server to recognice numeric 005 (ISUPPORT) and 376 (ENDOFMOTD).
  See doc/Protocol.txt for details.

16 years agoRe-added doc/SSL.txt to distribution -- got lost somewhere!?
Alexander Barton [Tue, 20 Nov 2007 21:39:35 +0000 (21:39 +0000)]
Re-added doc/SSL.txt to distribution -- got lost somewhere!?

16 years agoFixes the wrong logging output when nested servers are introduced
Alexander Barton [Tue, 20 Nov 2007 20:02:40 +0000 (20:02 +0000)]
Fixes the wrong logging output when nested servers are introduced
to the network as well as the wrong output of the LINKS command.

16 years agoRemove some bogus files from project ...
Alexander Barton [Mon, 19 Nov 2007 23:38:59 +0000 (23:38 +0000)]
Remove some bogus files from project ...

16 years agoUpdate Mac OS X Xcode project file for Xcode 3.
Alexander Barton [Mon, 19 Nov 2007 22:11:36 +0000 (22:11 +0000)]
Update Mac OS X Xcode project file for Xcode 3.
Allow building of ngIRCd using Xcode 3 without running ./configure.

16 years agoAdjust test suite to be usable on HP/UX 11.11 :-)
Alexander Barton [Sun, 18 Nov 2007 15:07:16 +0000 (15:07 +0000)]
Adjust test suite to be usable on HP/UX 11.11 :-)

16 years agoFix code to compile using K&R C compiler and ansi2kr again.
Alexander Barton [Sun, 18 Nov 2007 15:05:35 +0000 (15:05 +0000)]
Fix code to compile using K&R C compiler and ansi2kr again.

16 years agoadd tiny note about ngircd using syslog(3) by default.
Florian Westphal [Thu, 15 Nov 2007 01:03:29 +0000 (01:03 +0000)]
add tiny note about ngircd using syslog(3) by default.

16 years agoif ngircd doesn't run chrooted, it tries to chdir
Florian Westphal [Thu, 15 Nov 2007 01:03:01 +0000 (01:03 +0000)]
if ngircd doesn't run chrooted, it tries to chdir
to the users working directory (as returned by getpwuid()).
Failing to chdir to that directory isn't an error; so
log with LOG_INFO and prefix the message with "Notice".

16 years agoDocument NoDNS Option in changelog
Florian Westphal [Thu, 25 Oct 2007 11:03:02 +0000 (11:03 +0000)]
Document NoDNS Option in changelog

16 years agoNew config option NoDNS: disables all DNS queries.
Florian Westphal [Thu, 25 Oct 2007 11:01:19 +0000 (11:01 +0000)]
New config option NoDNS: disables all DNS queries.

16 years agoconfigtest would still print "-1" for MaxConnections, MaxConnectionsIP and MaxJoins
Florian Westphal [Wed, 24 Oct 2007 00:48:41 +0000 (00:48 +0000)]
configtest would still print "-1" for MaxConnections, MaxConnectionsIP and MaxJoins
if any of those values was set to 0.

16 years agoUpdates NEWS to reflect changes in CVS HEAD
Alexander Barton [Sun, 14 Oct 2007 14:17:32 +0000 (14:17 +0000)]
Updates NEWS to reflect changes in CVS HEAD

16 years agoFixed propagation of channel mode 'P' on server links.
Alexander Barton [Sun, 14 Oct 2007 12:08:57 +0000 (12:08 +0000)]
Fixed propagation of channel mode 'P' on server links.

16 years agoXcode project: include manual page template files, not generated pages.
Alexander Barton [Sun, 14 Oct 2007 11:25:45 +0000 (11:25 +0000)]
Xcode project: include manual page template files, not generated pages.

16 years agoUpdated Mac OS X project file for Xcode.
Alexander Barton [Sun, 14 Oct 2007 10:37:20 +0000 (10:37 +0000)]
Updated Mac OS X project file for Xcode.

16 years agofix doc and manpage wrt. MaxConnections, MaxConnectionsIP and MaxJoins values
Florian Westphal [Sat, 13 Oct 2007 20:45:11 +0000 (20:45 +0000)]
fix doc and manpage wrt. MaxConnections, MaxConnectionsIP and MaxJoins values

16 years agoaccoring to comments in the code, MaxConnections, MaxConnectionsIP and MaxJoins
Florian Westphal [Sat, 13 Oct 2007 19:11:06 +0000 (19:11 +0000)]
accoring to comments in the code, MaxConnections, MaxConnectionsIP and MaxJoins
options allow setting values < 0 -- this isn't the case. Comments adjusted.

16 years agoUpdated preferred automake version to 1.9. Only set preferences if not
Alexander Barton [Sun, 7 Oct 2007 13:02:15 +0000 (13:02 +0000)]
Updated preferred automake version to 1.9. Only set preferences if not
already defined by some environment variables.

16 years agoMade pointer to the mailing list more prominent.
Alexander Barton [Thu, 4 Oct 2007 15:18:48 +0000 (15:18 +0000)]
Made pointer to the mailing list more prominent.

16 years agoNumeric 317: implemented "signon time" (displayed in WHOIS result).
Alexander Barton [Thu, 4 Oct 2007 15:03:55 +0000 (15:03 +0000)]
Numeric 317: implemented "signon time" (displayed in WHOIS result).

16 years agoUpdated documentation ("Passive" option, for example).
Alexander Barton [Thu, 4 Oct 2007 10:14:52 +0000 (10:14 +0000)]
Updated documentation ("Passive" option, for example).

16 years agowe now support /WALLOPS
Florian Westphal [Thu, 2 Aug 2007 10:16:28 +0000 (10:16 +0000)]
we now support /WALLOPS

16 years agoimplement /WALLOPS as described in RFC 2812, section 4.7.
Florian Westphal [Thu, 2 Aug 2007 10:14:26 +0000 (10:14 +0000)]
implement /WALLOPS as described in RFC 2812, section 4.7.

16 years agoSECURITY: Fixed a severe bug in handling JOIN commands, which could
Alexander Barton [Tue, 31 Jul 2007 18:56:13 +0000 (18:56 +0000)]
SECURITY: Fixed a severe bug in handling JOIN commands, which could
cause the server to crash. Thanks to Sebastian Vesper, <net@veoson.net>.

16 years agolast fix accidentially broke reconnect timer.
Florian Westphal [Sat, 21 Jul 2007 18:46:28 +0000 (18:46 +0000)]
last fix accidentially broke reconnect timer.

16 years agoDon't connect to a server if a connection to another server within the same group
Florian Westphal [Thu, 28 Jun 2007 15:13:38 +0000 (15:13 +0000)]
Don't connect to a server if a connection to another server within the same group
is in progress.

16 years agoAdd new server config option to disable automatic connect. (Tassilo Schweyer)
Florian Westphal [Thu, 28 Jun 2007 05:15:12 +0000 (05:15 +0000)]
Add new server config option to disable automatic connect. (Tassilo Schweyer)

16 years agoUpdated documentation to include changes of ngIRCd 0.10.2.
Alexander Barton [Wed, 13 Jun 2007 14:32:13 +0000 (14:32 +0000)]
Updated documentation to include changes of ngIRCd 0.10.2.

16 years agofix compile /w gcc 2.95 (reported by Tassilo Schweyer)
Florian Westphal [Mon, 11 Jun 2007 20:06:46 +0000 (20:06 +0000)]
fix compile /w gcc 2.95 (reported by Tassilo Schweyer)

16 years agoUpdated config.guess and config.sub.
Alexander Barton [Sat, 26 May 2007 10:44:12 +0000 (10:44 +0000)]
Updated config.guess and config.sub.

16 years agoAdd note to INSTALL document.
Alexander Barton [Sun, 20 May 2007 22:37:05 +0000 (22:37 +0000)]
Add note to INSTALL document.

16 years agoUpdated ChangeLog.
Alexander Barton [Thu, 17 May 2007 23:38:14 +0000 (23:38 +0000)]
Updated ChangeLog.

16 years agoReworked read and write buffer handling, introduced WRITEBUFFER_SLINK_LEN.
Alexander Barton [Thu, 17 May 2007 23:34:24 +0000 (23:34 +0000)]
Reworked read and write buffer handling, introduced WRITEBUFFER_SLINK_LEN.

16 years agoZip_Flush(): close the connection in all error cases.
Alexander Barton [Thu, 17 May 2007 15:16:47 +0000 (15:16 +0000)]
Zip_Flush(): close the connection in all error cases.

16 years agoarray_start() cannot legally return NULL if array_length() > 0 --> use assert().
Florian Westphal [Thu, 17 May 2007 14:46:14 +0000 (14:46 +0000)]
array_start() cannot legally return NULL if array_length() > 0 --> use assert().

16 years agoMake Zip_Flush() more graceful.
Alexander Barton [Thu, 17 May 2007 13:49:49 +0000 (13:49 +0000)]
Make Zip_Flush() more graceful.

16 years agothere is no need to treat servers differently than clients on the read side.
Florian Westphal [Thu, 17 May 2007 12:39:25 +0000 (12:39 +0000)]
there is no need to treat servers differently than clients on the read side.

16 years agomake needlesly global function Conn_Write static.
Florian Westphal [Wed, 9 May 2007 13:21:11 +0000 (13:21 +0000)]
make needlesly global function Conn_Write static.

16 years agoremove ZBUFFER constants and increase max buffer size of server links
Florian Westphal [Wed, 9 May 2007 08:55:14 +0000 (08:55 +0000)]
remove ZBUFFER constants and increase max buffer size of server links

16 years agofix compressed server links
Florian Westphal [Wed, 2 May 2007 12:34:30 +0000 (12:34 +0000)]
fix compressed server links

17 years ago2007 :-)
Alexander Barton [Mon, 9 Apr 2007 01:24:05 +0000 (01:24 +0000)]
2007 :-)

17 years agoUpdated documentation.
Alexander Barton [Sun, 8 Apr 2007 11:39:08 +0000 (11:39 +0000)]
Updated documentation.

17 years ago- change return type of Conn_InitListeners to unsigned
Florian Westphal [Wed, 4 Apr 2007 21:52:12 +0000 (21:52 +0000)]
- change return type of Conn_InitListeners to unsigned
- remove minor whitespace damage

17 years agoput parentheses around argument
Florian Westphal [Tue, 3 Apr 2007 22:08:10 +0000 (22:08 +0000)]
put parentheses around argument

17 years agoif we can't bind a socket we now Log the port number, too.
Florian Westphal [Wed, 21 Feb 2007 11:06:06 +0000 (11:06 +0000)]
if we can't bind a socket we now Log the port number, too.

17 years agoreturn false instead of NULL in error path
Florian Westphal [Mon, 29 Jan 2007 21:13:26 +0000 (21:13 +0000)]
return false instead of NULL in error path

17 years agoRemove Client_DestroyNow() to keep semantik "every CONNECTON has a CLIENT".
Alexander Barton [Tue, 23 Jan 2007 16:07:19 +0000 (16:07 +0000)]
Remove Client_DestroyNow() to keep semantik "every CONNECTON has a CLIENT".

17 years agofix broken IO_DEBUG build
Florian Westphal [Fri, 19 Jan 2007 13:52:54 +0000 (13:52 +0000)]
fix broken IO_DEBUG build

17 years agoio_event_add: return if eventtype is already registered.
Florian Westphal [Thu, 18 Jan 2007 00:25:26 +0000 (00:25 +0000)]
io_event_add: return if eventtype is already registered.

17 years agoadd support for predefined-channel configuration of k and l modes
Florian Westphal [Fri, 29 Dec 2006 14:09:48 +0000 (14:09 +0000)]
add support for predefined-channel configuration of k and l modes

17 years agoAdded "html" directory to CVS ignore list (it is generated by doxygen).
Alexander Barton [Thu, 28 Dec 2006 14:12:45 +0000 (14:12 +0000)]
Added "html" directory to CVS ignore list (it is generated by doxygen).

17 years agodistclean: remove "html" folder.
Alexander Barton [Thu, 28 Dec 2006 14:04:28 +0000 (14:04 +0000)]
distclean: remove "html" folder.

17 years agoUpdated documentation, refer to all the supported IO APIs.
Alexander Barton [Thu, 28 Dec 2006 13:53:19 +0000 (13:53 +0000)]
Updated documentation, refer to all the supported IO APIs.

17 years agoadded "portabtest" binary to list of files to ignore.
Alexander Barton [Thu, 28 Dec 2006 13:34:43 +0000 (13:34 +0000)]
added "portabtest" binary to list of files to ignore.

17 years agoAdded .cvsignore files to hide generated files from CVS.
Alexander Barton [Thu, 28 Dec 2006 13:20:07 +0000 (13:20 +0000)]
Added .cvsignore files to hide generated files from CVS.

17 years agoarray_free(): enable debug code only when DEBUG_ARRAY is #define'd.
Alexander Barton [Thu, 28 Dec 2006 12:53:41 +0000 (12:53 +0000)]
array_free(): enable debug code only when DEBUG_ARRAY is #define'd.

17 years agoNew configure option "--without-select"; when usin epoll() IO API include
Alexander Barton [Tue, 26 Dec 2006 16:00:45 +0000 (16:00 +0000)]
New configure option "--without-select"; when usin epoll() IO API include
support for select() as well by default and fall back on runtime when needed.

17 years agoOnly "fiddle" with /etc/ngircd in "configure" stage.
Alexander Barton [Tue, 26 Dec 2006 14:44:40 +0000 (14:44 +0000)]
Only "fiddle" with /etc/ngircd in "configure" stage.

17 years agoAdded LSB compliant header.
Alexander Barton [Tue, 26 Dec 2006 14:43:46 +0000 (14:43 +0000)]
Added LSB compliant header.

17 years agoFixed typo in #ifdef which tests if this header is already included or not.
Alexander Barton [Mon, 25 Dec 2006 22:53:52 +0000 (22:53 +0000)]
Fixed typo in #ifdef which tests if this header is already included or not.

17 years agoCustomize manual pages to reflect the actual installation location of files.
Alexander Barton [Mon, 25 Dec 2006 16:13:26 +0000 (16:13 +0000)]
Customize manual pages to reflect the actual installation location of files.

17 years agoregister io handler before creating new local client structure
Florian Westphal [Mon, 25 Dec 2006 01:11:12 +0000 (01:11 +0000)]
register io handler before creating new local client structure

17 years agorevert to last good revision again 8-/
Florian Westphal [Sun, 17 Dec 2006 23:04:45 +0000 (23:04 +0000)]
revert to last good revision again 8-/

17 years agodo not call Conn_Close when io_event_create fails
Florian Westphal [Sun, 17 Dec 2006 22:55:07 +0000 (22:55 +0000)]
do not call Conn_Close when io_event_create fails

17 years agofix possibe buffer-off-by one
Florian Westphal [Sun, 17 Dec 2006 22:52:43 +0000 (22:52 +0000)]
fix possibe buffer-off-by one

17 years agodon't call Resolve_Shutdown() when io_event_create fails
Florian Westphal [Sun, 17 Dec 2006 22:50:51 +0000 (22:50 +0000)]
don't call Resolve_Shutdown() when io_event_create fails

17 years agoUpdated ChangeLog/NEWS to reflect release of ngIRCd 0.10.1.
Alexander Barton [Sun, 17 Dec 2006 21:00:30 +0000 (21:00 +0000)]
Updated ChangeLog/NEWS to reflect release of ngIRCd 0.10.1.

17 years agoremoved errouneous FD_SETSIZE limit when not using select()
Florian Westphal [Sat, 16 Dec 2006 22:48:34 +0000 (22:48 +0000)]
removed errouneous FD_SETSIZE limit when not using select()

17 years agoadd PredefChannelsOnly option to man page
Florian Westphal [Mon, 11 Dec 2006 22:07:09 +0000 (22:07 +0000)]
add PredefChannelsOnly option to man page

17 years agominor cleanup
Florian Westphal [Thu, 7 Dec 2006 22:24:14 +0000 (22:24 +0000)]
minor cleanup

17 years agoremove unused function Channel_PCount
Florian Westphal [Thu, 7 Dec 2006 22:23:39 +0000 (22:23 +0000)]
remove unused function Channel_PCount

17 years agomoved invite/ban lists to channel structure
Florian Westphal [Thu, 7 Dec 2006 17:57:20 +0000 (17:57 +0000)]
moved invite/ban lists to channel structure

17 years agofix RPL_LOCALUSERS_MSG (%ld -> %lu)
Florian Westphal [Sat, 2 Dec 2006 14:24:36 +0000 (14:24 +0000)]
fix RPL_LOCALUSERS_MSG (%ld -> %lu)

17 years agoLog(LOG_DEBUG, .. -> LogDebug()
Florian Westphal [Sat, 2 Dec 2006 14:10:48 +0000 (14:10 +0000)]
Log(LOG_DEBUG, .. -> LogDebug()

17 years agopredefined channels MUST start with '#', but this is not very intuitive,
Florian Westphal [Mon, 20 Nov 2006 19:32:07 +0000 (19:32 +0000)]
predefined channels MUST start with '#', but this is not very intuitive,
since # is also used as a comment character in ngircd.conf. Thus
we prefix the name with '#' if it is missing.

17 years agoFixed validation of server names containing digits.
Alexander Barton [Fri, 10 Nov 2006 10:05:00 +0000 (10:05 +0000)]
Fixed validation of server names containing digits.

17 years agoNew configuration option "PredefChannelsOnly": if set, make
Florian Westphal [Sun, 5 Nov 2006 13:03:46 +0000 (13:03 +0000)]
New configuration option "PredefChannelsOnly": if set, make
all JOINs to-non existants channel return ERR_BANNEDFROMCHAN_MSG,
restricting users to those channels defined in the config file.

17 years agoAdded OpenBSD/ppc to list of tested platforms.
Alexander Barton [Sun, 8 Oct 2006 14:09:16 +0000 (14:09 +0000)]
Added OpenBSD/ppc to list of tested platforms.

17 years ago-Whitespace Damage; Client_OperCount(), Client_UnknownCount(), Client_MyServerCount...
Florian Westphal [Sat, 7 Oct 2006 10:40:52 +0000 (10:40 +0000)]
-Whitespace Damage; Client_OperCount(), Client_UnknownCount(), Client_MyServerCount() return unsigned long

17 years agochannel maxusers now unsigned long
Florian Westphal [Fri, 6 Oct 2006 21:32:58 +0000 (21:32 +0000)]
channel maxusers now unsigned long

17 years agoadd const qualifier to Hash() and Matche() Arguments
Florian Westphal [Fri, 6 Oct 2006 21:23:47 +0000 (21:23 +0000)]
add const qualifier to Hash() and Matche() Arguments

17 years agoClient_IsValidNick: no need to strcpy.
Florian Westphal [Fri, 6 Oct 2006 19:57:56 +0000 (19:57 +0000)]
Client_IsValidNick: no need to strcpy.

17 years agoChannel_Join was severely broken.
Florian Westphal [Thu, 5 Oct 2006 18:26:54 +0000 (18:26 +0000)]
Channel_Join was severely broken.

17 years agoUpdate info text of local server after re-reading configuration.
Alexander Barton [Tue, 3 Oct 2006 10:59:40 +0000 (10:59 +0000)]
Update info text of local server after re-reading configuration.

17 years agoRemoved an unused variable -- but where did it come from!? Strange ...
Alexander Barton [Tue, 3 Oct 2006 10:28:38 +0000 (10:28 +0000)]
Removed an unused variable -- but where did it come from!? Strange ...

17 years agoadd test for strcspn.
Florian Westphal [Mon, 2 Oct 2006 21:57:13 +0000 (21:57 +0000)]
add test for strcspn.

17 years agocleaned up Channel_IsValidName (now uses strcspn())
Florian Westphal [Mon, 2 Oct 2006 21:55:49 +0000 (21:55 +0000)]
cleaned up Channel_IsValidName (now uses strcspn())

17 years agoChanged Numerics 265 and 266 to follow ircd 2.11.x "standards".
Alexander Barton [Sun, 1 Oct 2006 19:13:32 +0000 (19:13 +0000)]
Changed Numerics 265 and 266 to follow ircd 2.11.x "standards".

17 years agoAllow PASS syntax defined in RFC 1459 for server links, too.
Alexander Barton [Sun, 1 Oct 2006 19:05:00 +0000 (19:05 +0000)]
Allow PASS syntax defined in RFC 1459 for server links, too.
Removed client status CLIENT_GOTPASSSERVER.

17 years agoEnhanced ISUPPORT message (numeric 005).
Alexander Barton [Sun, 1 Oct 2006 19:03:05 +0000 (19:03 +0000)]
Enhanced ISUPPORT message (numeric 005).

17 years agoUpdated files from ngIRCd 0.10.0.
Alexander Barton [Sun, 1 Oct 2006 17:23:36 +0000 (17:23 +0000)]
Updated files from ngIRCd 0.10.0.

17 years agoarray_get: no need to multiply again. remove unneeded checks. remove array_free_wipe().
Florian Westphal [Sat, 30 Sep 2006 21:49:46 +0000 (21:49 +0000)]
array_get: no need to multiply again. remove unneeded checks. remove array_free_wipe().

17 years agoio_close_poll()s closing brace mysteriously disappeared... fixed.
Florian Westphal [Tue, 19 Sep 2006 18:21:30 +0000 (18:21 +0000)]
io_close_poll()s closing brace mysteriously disappeared... fixed.

17 years agoAdded support for the /dev/poll i/o interface.
Florian Westphal [Sun, 17 Sep 2006 10:41:06 +0000 (10:41 +0000)]
Added support for the /dev/poll i/o interface.

17 years agosimplify io_library_init*
Florian Westphal [Sat, 16 Sep 2006 16:47:27 +0000 (16:47 +0000)]
simplify io_library_init*

17 years agoadd support for the poll() interface
Florian Westphal [Sat, 16 Sep 2006 15:00:09 +0000 (15:00 +0000)]
add support for the poll() interface

17 years agocleanup
Florian Westphal [Sat, 16 Sep 2006 14:49:26 +0000 (14:49 +0000)]
cleanup