about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2009-03-07allow creation of persistent modeless channelsFlorian Westphal
2009-03-07add and use Channel_IsModeless()Florian Westphal
avoid "name[0] == '+'" where possible, having Channel_IsModeless() makes things much more obvious.
2009-03-05Enhance INFO command to report compile time, if availableAlexander Barton
2009-03-03Update NEWS and ChangeLog filesAlexander Barton
2009-03-03Channel mode changes: break on errorAlexander Barton
Don't echo multiple syntax error messages (461) on invalid commands, but break after the first one. In addition, this solves corrupted 'Unknown mode "+' messages.
2009-03-03Channel_Mode(): code cleanup (no functional changes)Alexander Barton
2009-02-05TLS/SSL: remove useless error message when ssl connection is closedFlorian Westphal
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.
2009-02-04update ChangeLog.Florian Westphal
2009-02-04SSL/TLS: clear all ssl realted flags on shutdownFlorian Westphal
one ssl related flags was not cleared on ssl shutdown. introduce and use CONN_SSL_FLAGS_ALL to zap them all.
2009-02-04TLS/SSL: fix memory leak when using compressed server links with sslFlorian Westphal
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.
2009-01-20Fix spelling of log message: "channek" vs. "channel" ...Alexander Barton
2009-01-20Channel key file: store file name and open on each access.Alexander Barton
Store the file name of channel key files and reopen them on each access (on each JOIN command) insted of just storing the file handles. This eliminates the special requirements (no delete) and makes sure that always the actual file contents are used in all circumstances.
2009-01-20Support individual channel keys for pre-defined channels.Alexander Barton
This patch introduces the new configuration variable "KeyFile" for [Channel] sections in ngircd.conf. Here a file can be configured for each pre-defined channel which contains individual channel keys for different users. This file is line-based and must have the following syntax: <user>:<nick>:<key> <user> and <nick> can contain the wildcard character "*". Please not that these channel keys are only in effect, when the channel has a regular key set using channel mode "k"!
2009-01-20RFC 2812, sec. 3.3.1: really check for the last dotAlexander Barton
This fixes commit 5a3128243f4b60 and makes the test suite ("make check") run again without errors.
2009-01-18irc.c: reject masks with wildcard after last dotFlorian Westphal
RFC 2812 says in section 3.3.1 ("Private Messages"): The mask MUST have at least 1 (one) "." in it and no wildcards following the last ".".
2009-01-18irc.c: Fix handling of channels containing dotsFlorian Westphal
commit 2546a13ad2949192eb70bf21e114ec60af287ee4 ('Cumulative Message Patch') broke PRIVMSG to channels containing dots. Fix this by switching evaluation order: Check first if the target matches a existing channel and only do a check for target masks if that failed. PRIVMSG with host/server masks is described in RFC 2812, section 3.3.1. Makes one wonder how a server is _really_ supposed to tell the difference between hostmasks and channel names. Sigh.
2009-01-13Update ngircd.spec fileAsk Bjørn Hansen
- Change Copyright to License - Update URL - Make BuildRoot use %{_tmppath} macro - Add basic BuildRequires - Compile with zlib and openssl - Install all docs in standard document location Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
2009-01-10remove unneeded LOG_DEBUG when not compiling with DEBUG supportFlorian Westphal
when ngircd is build without DEBUG enabled, LOG_DEBUG messages are always discarded. To avoid the extra code, ngircd has a LogDebug() wrapper which gets removed by the compiler when compiling without DEBUG defined. Update a few functings which were using the Log(LOG_DEBUG, .. interface directly without #ifdef DEBUG guards. text data bss dec hex filename 127748 1900 28280 157928 268e8 ngircd.before 126836 1896 28280 157012 26554 ngircd.after
2009-01-09documentation: gnutls does not support password-protected privkeysFlorian Westphal
already mentioned in man page and sample config file, but for completeness also document it in doc/SSL.txt.
2009-01-06Mac OS X: update texts for Mac OS X Installer.appAlexander Barton
2009-01-06Xcode: build ngIRCd with IPv6 support on Mac OS XAlexander Barton
2009-01-06Xcode: get release number dynamically; new make target "xcode-clean".Alexander Barton
- make target "xcode" now detects the release number stored in the configure.in file and passes it to Xcode. - new make target "xcode-clean" which removes all files generated by "make xcode" and removes the Xcode build directory.
2009-01-06Xcode: define TARGET_VENDOR and TARGET_OSAlexander Barton
2009-01-06Add new and missing files to Mac OS X Xcode projectAlexander Barton
2009-01-05Rename Channel_Free() to Free_Channel(), it is a local functionAlexander Barton
2009-01-05Clean up channel allocation table on shutdown/restart.Alexander Barton
Silly bug: the condition of a while() loop in the Channel_Exit() function used the wrong variable and therefore got never executed ... This bug is in the code since the beginning (see commit bb19cfda in 2002); shame on me!
2009-01-05Add Channel_Free().Florian Westphal
Central function to free a channel structure and all its resources (invite/ban lists, topic, ...).
2009-01-04Clean up (reformat and comment) Delete_Channel() function.Alexander Barton
2009-01-04Free topic array on channel deletion.Alexander Barton
The topic array in the CHANNEL structure must be free()'d before the channel itself becomes deleted.
2009-01-01Fix spelling in some documents.Alexander Barton
2008-12-30Allow pre-defined server local channels ("&").Alexander Barton
2008-12-30Spell check and enhance ngIRCd manual pages.Alexander Barton
2008-12-29man ngircd.conf: line break missing before the SSLConnect descriptionFlorian Westphal
reported by Christoph Biedl.
2008-12-27defines.h: remove MAX_LISTEN_PORTS, MAX_SERVICESFlorian Westphal
_SERVICES was never used; _LISTEN_PORTS is a leftover from commit 51ccb5928ad1453b0593fedd934298384d09e619 ('internal changes needed for future ssl support').
2008-12-26Remove limit on max number of predefined channels.Florian Westphal
This resolves Bugzilla Bug 68 ('Too many pre-defined channels configured.')
2008-12-26channel.c: constify a few function arguments.Florian Westphal
2008-12-26use %ld as format specifier for posix data typesFlorian Westphal
in the same vein as the earlier commit: cast posix data types (pid_t, ...) to long and use %ld as format specifier. This will avoid problems when sizeof(int) != sizeof(type). We could also cast to int, but this might truncate the value.
2008-12-25ngIRCd release 13 rel-13Alexander Barton
2008-12-17don't print pid_t type with %ld format specifierFlorian Westphal
Reported by Christoph Biedl: ngircd[21581]: Running as user irc(39), group irc(39), with PID 140733193409613. cast pid_t to long to avoid this. While we are there, cast uid_t and gid_t, too.
2008-12-06Update the date ("Dec 2008") of the manual pages.Alexander Barton
2008-12-05doc/Platforms.txt: added x86_64/unknown/linux-gnuAlexander Barton
2008-12-05doc/Platforms.txt: update list of tested platforms.Alexander Barton
2008-12-04doc/SSL.txt: enhance documentation.Alexander Barton
2008-12-04doc/Services.txt: explain which IRC Services versions are compatibleAlexander Barton
2008-12-03Testsuite start-server.sh: return correct exit code.Alexander Barton
src/testsuite/start-server.sh returns 0 when no errors occurred and the daemon has been startet and 1 on errors. Always returning 0 is wrong ...
2008-12-03Make testsuite (getpid.sh) work on OpenSolaris (i386/pc/solaris2.11).Alexander Barton
2008-12-02doc/Services.txt: document using ngIRCd with IRC Services.Alexander Barton
2008-11-22sample-ngircd.conf: remove now unused CVS "$Id$"Alexander Barton
2008-11-21ngIRCd release 13~rc1 rel-13-rc1Alexander Barton
2008-11-21Fix double minus signs in manual pagesAlexander Barton
This patch fixes the following lintian(1) warning: "Manual page seems to contain a hyphen where a minus sign was intended. '-' chars are interpreted as hyphens (U+2010) by groff, not as minus signs (U+002D). Since options to programs use minus signs (U+002D), this means for example in UTF-8 locales that you cannot cut&paste options, nor search for them easily. '-' must be escaped ('\-') to be interpreted as minus."