Module: ngircd.git
Branch: master
Commit: c56ab962706c7b60ab649d77f317cd5086fad368
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=c56ab962…
Author: Alexander Barton <alex(a)barton.de>
Date: Tue Mar 3 17:59:43 2009 +0100
Update NEWS and ChangeLog files
---
ChangeLog | 25 ++++++++++++++++++++-----
NEWS | 12 +++++++++++-
2 files changed, 31 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2cc268a..38fb7f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
ngIRCd - Next Generation IRC Server
- (c)2001-2008 Alexander Barton,
+ (c)2001-2009 Alexander Barton,
alex(a)barton.de, http://www.barton.de/
ngIRCd is free software and published under the
@@ -9,12 +9,27 @@
-- ChangeLog --
-ngIRCd-dev
+ngIRCd Release 14~rc1
+
+ - Spell check and enhance ngIRCd manual pages.
+ - Channel mode changes: break on syntax errors in MODE command.
+ - Support individual channel keys for pre-defined channels: introduce
+ new configuration variable "KeyFile" in [Channel] sections in ngircd.conf,
+ here a file can be configured for each pre-defined channel which contains
+ individual channel keys for different users.
+ - Remove limit on maximum number of predefined channels in ngircd.conf.
+ - Updated ngircd.spec file for building RPM packages.
+ - Add new and missing files to Mac OS X Xcode project, and update project.
+ - Implement pre-defined server local channels ("&") and write some
+ server-specific messages to &SERVER.
+ - Reject masks with wildcard after last dot.
+ - TLS/SSL: remove useless error message when ssl connection is closed.
- Fix memory leak when a encrypted and compressed server link goes down.
- (Bug #95, reported by Christoph, fiesh(a)fiesh.homeip.net)
- - Fix handling of channels containing dots (Bug #93, reported by
- gonosz csiga)
+ (closes bug #95, reported by Christoph, fiesh(a)fiesh.homeip.net)
+ - Fix handling of channels containing dots.
+ (closes ug #93, reported by Gonosz Csiga)
+
ngIRCd Release 13 (2008-12-25)
- Updated documentation, especially doc/Services.txt and doc/SSL.txt.
diff --git a/NEWS b/NEWS
index 869b1d6..4e1fa0d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,7 @@
ngIRCd - Next Generation IRC Server
- (c)2001-2008 Alexander Barton,
+ (c)2001-2009 Alexander Barton,
alex(a)barton.de, http://www.barton.de/
ngIRCd is free software and published under the
@@ -10,6 +10,16 @@
-- NEWS --
+ngIRCd Release 14~rc1
+
+ - Support individual channel keys for pre-defined channels: introduce
+ new configuration variable "KeyFile" in [Channel] sections in ngircd.conf,
+ here a file can be configured for each pre-defined channel which contains
+ individual channel keys for different users.
+ - Remove limit on maximum number of predefined channels in ngircd.conf.
+ - Implement pre-defined server local channels ("&") and write some
+ server-specific messages to &SERVER.
+
ngIRCd Release 13 (2008-12-25)
ngIRCd 13~rc1 (2008-11-21):
Module: ngircd.git
Branch: master
Commit: b8c6dd503fe4e7814f4b9327a8cd43007a4ec150
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=b8c6dd50…
Author: Florian Westphal <fw(a)strlen.de>
Date: Thu Feb 5 23:42:56 2009 +0100
TLS/SSL: remove useless error message when ssl connection is closed
When using OpenSSL, the following annoying "error" message was logged whenever
an encrypted connection was shut down in a orderly fashion:
TLS/SSL Connection shutdown: ConnSSL_Read: Unable to determine error
of course, this isn't an error at all.
---
src/ngircd/conn-ssl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ngircd/conn-ssl.c b/src/ngircd/conn-ssl.c
index 1b4da3c..4ef8f66 100644
--- a/src/ngircd/conn-ssl.c
+++ b/src/ngircd/conn-ssl.c
@@ -484,8 +484,8 @@ ConnSSL_HandleError( CONNECTION *c, const int code, const char *fname )
Conn_OPTION_ADD(c, CONN_SSL_WANT_WRITE); /* fall through */
case SSL_ERROR_NONE:
return 0; /* try again later */
- case SSL_ERROR_ZERO_RETURN: /* TLS/SSL Connection was shut down */
- LogOpenSSLError("TLS/SSL Connection shutdown", fname);
+ case SSL_ERROR_ZERO_RETURN:
+ LogDebug("TLS/SSL connection shut down normally");
break;
/*
SSL_ERROR_WANT_CONNECT, SSL_ERROR_WANT_ACCEPT, SSL_ERROR_WANT_X509_LOOKUP
Module: ngircd.git
Branch: master
Commit: c6a43fbaf0579741ebf34e88ca7f0586b471062e
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=c6a43fba…
Author: Florian Westphal <fw(a)strlen.de>
Date: Wed Feb 4 23:01:53 2009 +0100
TLS/SSL: fix memory leak when using compressed server links with ssl
commit 6bc2d3d06e9cb4da68ea4b63d9b6b219d88ab927
(New connection option CONN_RFC1459) forgot to adjust the ssl bitmasks.
The result is that when a compressed AND encrypted server link goes down
the memory allocated by zlib and the r/w buffers are no longer
free'd as the previous ConnSSL_Free() would then also remove the CONN_ZIP flag
from the flag mask.
---
src/ngircd/conn.h | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/ngircd/conn.h b/src/ngircd/conn.h
index 08f6dde..bd332b6 100644
--- a/src/ngircd/conn.h
+++ b/src/ngircd/conn.h
@@ -18,7 +18,13 @@
#include <time.h> /* for time_t, see below */
-
+/*
+ * connection state flags. this is a bitmask -- all values must
+ * be unique and a power of two.
+ *
+ * If you introduce new ones in between, make sure to adjust all
+ * remaining ones.
+ */
#define CONN_ISCLOSING 1 /* Conn_Close() already called */
#define CONN_ISCONNECTING 2 /* connect() in progress */
#define CONN_RFC1459 4 /* RFC 1459 compatibility mode */
@@ -29,10 +35,10 @@
#include "conf-ssl.h"
#ifdef SSL_SUPPORT
-#define CONN_SSL_CONNECT 8 /* wait for ssl connect to finish */
-#define CONN_SSL 16 /* this connection is SSL encrypted */
-#define CONN_SSL_WANT_WRITE 32 /* SSL/TLS library needs to write protocol data */
-#define CONN_SSL_WANT_READ 64 /* SSL/TLS library needs to read protocol data */
+#define CONN_SSL_CONNECT 16 /* wait for ssl connect to finish */
+#define CONN_SSL 32 /* this connection is SSL encrypted */
+#define CONN_SSL_WANT_WRITE 64 /* SSL/TLS library needs to write protocol data */
+#define CONN_SSL_WANT_READ 128 /* SSL/TLS library needs to read protocol data */
#endif
typedef int CONN_ID;
Module: ngircd.git
Branch: master
Commit: 2c1b6280fac393c8977df03d94cc6a1dcf2a5f5d
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=2c1b6280…
Author: Alexander Barton <alex(a)barton.de>
Date: Tue Jan 20 16:49:34 2009 +0100
RFC 2812, sec. 3.3.1: really check for the last dot
This fixes commit 5a3128243f4b60 and makes the test suite ("make check")
run again without errors.
---
src/ngircd/irc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/ngircd/irc.c b/src/ngircd/irc.c
index a0dc0ea..2466b6b 100644
--- a/src/ngircd/irc.c
+++ b/src/ngircd/irc.c
@@ -516,7 +516,7 @@ Send_Message_Mask(CLIENT * from, char * command, char * targetMask,
* RFC 2812, sec. 3.3.1 requires that targetMask have at least one
* dot (".") and no wildcards ("*", "?") following the last one.
*/
- check_wildcards = strchr(targetMask, '.');
+ check_wildcards = strrchr(targetMask, '.');
assert(check_wildcards != NULL);
if (check_wildcards &&
check_wildcards[strcspn(check_wildcards, "*?")])