]> arthur.barton.de Git - ngircd-alex.git/blob - ChangeLog
Fix compilation without deprecated OpenSSL APIs (#252)
[ngircd-alex.git] / ChangeLog
1
2                      ngIRCd - Next Generation IRC Server
3                            http://ngircd.barton.de/
4
5                (c)2001-2018 Alexander Barton and Contributors.
6                ngIRCd is free software and published under the
7                    terms of the GNU General Public License.
8
9                                -- ChangeLog --
10
11
12 ngIRCd 25
13
14   ngIRCd 25~rc1 (2018-08-11)
15   - Update config.guess (2018-03-08) and config.sub (2018-03-08) files.
16   - Correctly retry to establish an outgoing connections when forking of the
17     resolver sub-process failed (for example because of lack of free memory).
18     Until now, such a connection was never retried once this error was hit.
19     Thanks to Robert Obermeier for reporting this bug!
20     Closes #243.
21   - Fix a "use after free" bug which can be triggered on a newly established
22     connection when the daemon handles an ERROR command received from the peer
23     during client login. Thanks a lot to Joseph Bisch <joseph.bisch@gmail.com>
24     for discovering and reporting this issue!
25   - Only send TOPIC updates to a channel when the topic actually changed:
26     This prevents the channel from becoming flooded by unnecessary TOPIC update
27     messages, that can happen when IRC services try to enforce a certain topic
28     but which is already set (at least on the local server), for example.
29     Therefore still forward it to all servers, but don't inform local clients
30     (still update setter and timestamp information, though).
31   - Update Xcode project for latest Xcode version (9.2). This includes adding
32     missing and deleting obsolete file references.
33   - Handle user mode "C" ("Only users that share a channel are allowed to send
34     messages") like user mode "b" ("block private messages and notices"): allow
35     messages from servers, services, and IRC Operators, too. Change proposed by
36     "wowaname" back in 2015 in #ngircd, thanks!
37   - Fix some compiler warnings.
38   - Add contrib/ngircd.logcheck: Some sample logcheck(8) rules.
39   - Allow IRC Ops and remote servers to KILL service clients: such clients
40     behave like regular users, therefore IRC operators and servers should be
41     able to KILL them: for example to resolve nick collisions.
42     Closes #242.
43   - Don't forward KILLs to other servers if they've been blocked locally:
44     This prevents clients from killing IRC services, for example.
45     Closes #238 and #239.
46   - Fix a cross-compiler issue related to the Get_Error() function.
47     Closes #240 and #241.
48   - Update ./doc/Services.txt, enhance configuration examples.
49
50 ngIRCd 24 (2017-01-20)
51
52   - Make sure that ./contrib/platformtest.sh aborts when ./autogen.sh fails.
53   - Update config.guess (2016-10-02) and config.sub (2016-11-04) files.
54   - Build Debian packages with OpenSSL instead of GnuTLS: OpenSSL allows
55     to reload used certificates on runtime for example (which is very
56     useful when using Let's Encrypt), and therefore is preferred. And
57     explicitly specify the "source format".
58   - Fix handling of connection pool allocation and enlargement: up to now,
59     the daemon only enlarged its connection pool when accepting new incoming
60     client or server connections, not when establishing new outgoing server
61     links, which could lead to problems when hitting the configured limit,
62     see "MaxConnections". Thanks to Lukas Braun (k00mi) for reporting this!
63     Closes #231.
64
65   ngIRCd 24~rc1 (2017-01-07)
66   - Enhance systemd service file, and install it in Debian package.
67   - Update configuration of Debian package.
68   - Log privilege violations and failed OPER request with log level "error"
69     and send it to the "&SERVER" channel, too.
70   - Immediately shut down connection when receiving an "ERROR" command,
71     don't wait for the peer to close the connection. This allows the daemon
72     to forward the received "ERROR" message in the network, instead of the
73     very generic "client closed connection" message.
74   - Fix sending of entry duration (no negative values!) when synchronizing
75     "x-lines" (G-LINES).
76   - List expiration (G-LINES): use same log level as when setting, and log
77     this event to the &SERVER channel, too.
78   - Explicitly forbid remote servers to modify "x-lines" (G-LINES) when the
79     "AllowRemoteOper" configuration option isn't set, even when the command
80     seems to originate from the remote server itself: this prevents GLINE's
81     to become set during server handshake in this case (what wouldn't be
82     possible during regular runtime when a remote IRC Op sends the command)
83     and what can't be undone by IRC Ops later on (because of the missing
84     "AllowRemoteOper" option) ...
85   - Make scripts and init-files in ./contrib executable.
86   - Fix building ngIRCd with OpenSSL 1.1. Thanks to Christoph Biedl
87     <ngircd.anoy@manchmal.in-ulm.de> for the patch!
88   - Fix code indentation warnings of gcc 6.2.
89   - Update config.guess (2016-04-02) and config.sub (2016-03-30) files.
90   - Fix warnings of the "shellcheck" linter in autogen.sh, contrib/ngindent
91     and contrib/platformtest.sh.
92   - Update Xcode project for latest Xcode version (8.0), and fix "duplicate
93     symbols" error messages when building (linking) the binary.
94   - Add "Documentation" variables to systemd configuration files.
95   - Make sure that SYSCONFDIR is always set, which can be handy when
96     using source code linters when ./configure hasn't been run already.
97   - Add the new "PAMServiceName" configuration option to specify the name
98     used as PAM service name. This setting allows to run multiple ngIRCd
99     instances with different PAM configurations for each instance.
100     Thanks to Christian Aistleitner <christian@quelltextlich.at> for the
101     patch, closes #226.
102   - Add an ".editorconfig" file to the project.
103   - Travis-CI: use "container-based infrastructure".
104   - Limit the number of message targets, and suppress duplicates: This
105     prevents an user from flooding the server using commands like this:
106     "PRIVMSG nick1,nick1,nick1,...".
107     Duplicate targets are suppressed silently (channels and clients).
108     In addition, the maximum number of targets per PRIVMSG, NOTICE, ...
109     command are limited to MAX_HNDL_TARGETS (25). If there are more, the
110     daemon sends the new 407 (ERR_TOOMANYTARGETS_MSG) numeric, containing
111     the first target that hasn't been handled any more. Closes #187.
112   - Test suite: Add new test for server-server logins.
113   - contrib/ngindent: Fix shebang line.
114   - Make contrib/platformtest.sh script more portable, and only show
115     "runs=Y" when the test suite really has been passed successfully.
116   - Code cleanup in the NJON handler and the function killing clients as
117     well as the function sending messages to a "mask" (cleaner code, more
118     fault tolerant, better code comments).
119   - Update and enhance documentation: README file, doc/Platforms.txt,
120     doc/Modes.txt, doc/Commands.txt, doc/PAM.txt.
121   - Fix NJOIN not propagating "half ops" status: ngIRCd tested for the wrong
122     prefix of "half ops" when processing NJOIN commands and therefore never
123     classified a remote user as "half op".
124     Thanks to wowaname for pointing this out on #ngircd!
125
126 ngIRCd 23 (2015-11-16)
127
128   - Explicitly cast time_t to long when printing it out: this prevents
129     wrong sized data types on platforms where time_t doesn't equal a
130     long any more, for example on OpenBSD (which would result in garbled
131     output on those platforms).
132   - contrib/Debian/changelog: Fix email address.
133   - Documentation: Spelling fixes; update doc/Platforms.txt.
134
135   ngIRCd 23~rc1 (2015-09-06)
136   - Add ".clang_complete" file, which is used by the "linter-clang" package
137     of the Atom editor, for example.
138   - Make server-to-server protocol more robust: ngIRCd now catches more
139     errors on the server-to-server (S2S) protocol that could crash the
140     daemon before. This hasn't been a real problem because the IRC S2S
141     protocol is "trusted" by design, but the behavior is much better now.
142     Thanks to wowaname on #ngircd for pointing this out!
143   - Make platformtest.sh, autogen.sh, and ngircd.init more portable.
144   - Enables "reproducible builds" for ngIRCd: Use the optional BIRTHTIME
145     constant while building ngIRCd, which contains a time stamp for the
146     "Birth Date" information, in seconds since the epoch.
147     See <https://wiki.debian.org/ReproducibleBuilds>.
148   - Update "contrib/ngircd.service" file for systemd.
149   - INSTALL: Add deprecation notice for "PredefChannelsOnly" variable.
150   - Use "NOTICE *" before registration instead of "NOTICE AUTH". "AUTH" is
151     a valid nickname so sending notices to it is probably not a good idea.
152     Use "*" as the target instead as done with numerics when the nick is not
153     available. This mimics the behavior in Charybdis, IRCD-Hybrid, InspIRCd
154     2.2, Plexus 4, etc. Closes #217.
155     The "NoticeAuth" configuration variable (ngircd.conf) has been renamed
156     to "NoticeBeforeRegistration" accordingly, but the old name is still
157     supported for compatibility reasons.
158   - Implement new channel mode "N" (regular users can't change their nick
159     name while on this channel). Closes #214.
160   - README, AUTHORS: Update mailing list and issue tracker URLs.
161   - Remove doc/GIT.txt (it is outdated), update doc/Contributing.txt:
162     ngIRCd uses GitHub, and Git itself is quite common today. So don't
163     include an own Git "mini HowTo" any longer.
164   - Specify session context for OpenSSL clients. This enables some OpenSSL
165     clients, including Pidgin and stunnel 5.06, to reuse a session.
166     Patch by Tom Ryder <tom@sanctum.geek.nz>, thanks! Closes #182.
167   - Keep track of who placed bans, invites, and excepts.
168     Idea and implementation by LucentW, Thanks! Closes #203.
169   - Make setgroups(3) function optional: For example, Interix is missing
170     this function, which prevented ngIRCd to build on this platform. When
171     setgroups(3) isn't available, a warning message is issued on startup.
172   - Implement numeric RPL_LISTSTART(321). lightIRC and other clients
173     expecting RPL_LISTSTART should now behave correctly.
174     Idea and implementation by LucentW, Thanks! Closes #207.
175   - Update ngircd.conf.5: "CloakUserToNick" hides user _and_ real name.
176     This closes #208.
177   - Fix case insensitive pattern matching: Up to now, only the the input
178     string became lowercased and was then compared to the pattern -- which
179     failed when the pattern itself wasn't all lowercase!
180   - Streamline the effect of "MorePrivacy" option: Update documentation
181     in ngircd.conf(5); don't hide channels for IRC Ops on LIST and don't
182     hide IP addresses/hostnames on WHOIS when "MorePrivacy" is in effect.
183     This closes #198.
184   - IRC operators now can kick anyone when "OperCanMode" is set.
185     Idea and implementation by LucentW, Thanks! Closes #202.
186   - Implement user mode "I": Hide channels on WHOIS: this mode prevents
187     ngIRCd from showing channels on WHOIS (IRC Operators can always see
188     the channel list).
189     Idea and implementation by LucentW, Thanks! Closes #197.
190   - INVITE command: Implement ERR_USERNOTONSERV(504) numeric and make sure
191     that the target user is on the same server when inviting other users
192     to local ("&") channels.
193     Idea by Cahata, thanks! Closes #183.
194   - INVITE command: Enforce 1 second penalty time, which prevents flooding
195     of the target client.
196     This closes #186. Reported by Cahata, thanks!
197   - MODE command: Always report channel creation time. Up to now when
198     receiving a MODE command, ngIRCd only reported the channel creation
199     time to clients that were members of the channel. This patch reports
200     the channel creation time to all clients, regardless if they are joined
201     to that channel or not. At least ircd-seven behaves like this.
202     This closes #188. Reported by Cahata, thanks!
203   - Update Xcode project for latest Xcode version (6.3).
204
205 ngIRCd 22.1 (2015-04-06)
206
207   - Update doc/Platforms.txt and doc/FAQ.txt.
208   - Fix spelling of RPL_WHOISBOT message text.
209   - Don't send nick name as default PART reason: No other IRC daemon seems
210     to do this (today?). Closes #185.
211     Reported by Cahata in #ngircd, thanks!
212   - Fix "WHO #<chan>" showing invisible users and hiding all visible, the
213     logic was reversed! This bug has been introduced by commit c74115f2,
214     "Simplify mode checking on channels and users within a channel", ngIRCd
215     releases 21, 21.1, and 22 are affected :-( Problem reported by Cahata
216     in #ngircd, Thanks!
217   - Fix typo in src/testsuite/README
218   - Auth PING: Fix our information text for manual sending of "PONG". Up to
219     now, ngIRCd doesn't send a valid IRC command at all, oops!
220   - Auth PING: Fix internal time stamp conversion and don't send a prefix in
221     our PING command. The prefix confuses WeeChat, at least, which doesn't
222     send an appropriate PONG in the case ...
223     Debugging and patch by "wowaname" on #ngircd, thanks!
224   - Fix syntax of ERR_LISTFULL_MSG(478) numeric. Pointed out by "wowaname"
225     in #ngircd, thanks!
226   - Enhance debug messages while sending CHANINFO commands.
227   - Reset "last try" timer when enabling a passive server. This results in
228     a new connection attempt as soon as possible.
229   - Change log message for "Can't resolve address" and for IP address
230     forgeries.
231   - doc/HowToRelease.txt: Add note about the bug tracker.
232   - Update "CipherList" to not enable SSLv3 by default. Idea, initial patch,
233     and testing by Christoph Biedl <ngircd.anoy@manchmal.in-ulm.de>.
234   - Change ngIRCd test suite not to use DNS lookups: Different operating
235     systems do behave quite differently when doing DNS lookups, for example
236     "127.0.0.1" sometimes resolves to "localhost" and sometimes to
237     "localhost.localdomain" (for example OpenBSD). And other OS resolve
238     "localhost" to the real host name (for example Cygwin). So not using
239     DNS at all makes the test site much more portable.
240
241 ngIRCd 22 (2014-10-11)
242
243   - Match all list patterns case-insensitive: this affects the invite-,
244     ban-, and except lists, as well as G-Lines an K-Lines.
245     Problem pointed out by "wowaname" on #ngircd, thanks!
246
247   ngIRCd 22~rc1 (2014-09-29)
248   - Sync "except lists" between servers: Up to now, ban, invite, and G-Line
249     lists have been synced between servers while linking -- but obviously
250     nobody noticed that except list have been missing ever since. Until now.
251     Thanks to "j4jackj", who reported this issue in #ngircd.
252   - Allow longer user names (up to 63 characters) for authentication.
253   - Correctly check that a server has a valid hostname and port, thanks to
254     David Binderman <dcb314@hotmail.com> who reported this bug.
255   - Fix the function which generates complete "IRC masks" from user input,
256     don't destroy the source buffer and use all provided parts (nick, user,
257     host name). This fixes GLINEs/KLINEs from not working in some situations.
258   - Increase MAX_SERVERS from 16 to 64: There are installations out there
259     that would like to configure more than 16 links per server, so increase
260     this limit. Best would be to get rid of MAX_SERVERS altogether and make
261     if fully dynamic, but start with this quick and dirty hack ...
262   - Debian: Don't adjust path names that are correct by default and correctly
263     set and use "docdir".
264   - Update config.guess and config.sub to recent versions.
265   - Test suite/platformtest.sh: Detect when tests have been skipped.
266   - doc/Bopm.txt: Update "connregex" and "kline" for current ngIRCd.
267   - Allow "DefaultUserModes" to set all possible modes, including modes only
268     settable by IRC Operators.
269   - Spoofed prefixes: Really kill connection on non-server links.
270   - Implement user mode "F": "relaxed flood protection". Clients with mode
271     "F" set are allowed to rapidly send data to the daemon. This mode is only
272     settable by IRC Operators and can cause problems in the network -- so be
273     careful and only set it on "trusted" clients!
274     User mode "F" is used by Bahamut for this purpose, for example.
275   - Handle "throttling" in a single function: ngIRCd implements "command
276     throttling" and "bps throttling" (bytes per second). The states are
277     detected in different functions, Conn_Handler() and Read_Request(), but
278     handle the actual "throttling" in a common function: this enables us to
279     guarantee consistent behavior and to disable throttling for special
280     connections in only one place
281   - Use server password when PAM is compiled in but disabled.
282   - Streamline punctuation of log messages.
283   - Return ISUPPORT(005) numerics on "VERSION". This is how ircd-seven,
284     Charybdis, Hybrid, and InspIRCd behave, for example.
285   - configure: Only link "contrib/Debian" if it exists, which isn't the case
286     on "VPATH builds", for example.
287   - Show the account name in WHOIS. This uses the same numeric as Charybdis
288     and ircu families: WHOISLOGGEDIN(330).
289   - Pattern matching: Remove "range matching" in our pattern matching code
290     using the "[...]" syntax, because [ and ] are valid characters in nick
291     names and one has to quote them currently using the "\" character, which
292     is quite unexpected for users.
293   - platformtest.sh: New option "-x", don't regenerate build system and
294     allow using separate source and build trees.
295   - Test suite: explicitly enable glibc memory checking.
296   - Make "MODE -k" handling more robust and compatible, send "fake '*' key"
297     in all replies.
298   - Update configure.ng: ngIRCd requires GNU autoconf 2.61 for generating its
299     build system, so update the build system accordingly and implement all
300     changes that autoupdate(1) suggests: Update AC_PREREQ and AC_INIT, use
301     AC_LINK_IFELSE, AC_RUN_IFELSE, and AC_COMPILE_IFELSE, and remove
302     AC_TYPE_SIGNAL (we don't use RETSIGTYPE).
303   - portabtest: Actually test the functions snprintf(), strlcpy(), strlcat(),
304     and vsnprintf() for correctness, not only existence (which was quite
305     useless, because if they weren't available, the program could not have
306     been linked at all ...).
307   - Implement new configuration option "Network": it is used to set the
308     (completely optional) "network name", to which this instance of the
309     daemon belongs. When set, this name is used in the ISUPPORT(005) numeric
310     which is sent to all clients connecting to the server after logging in.
311   - Update doc/Platforms.txt.
312   - Various code cleanups, remove unused code, streamline error handling.
313     Remove all imp.h and exp.h header files, support non-standard vsnprintf()
314     return codes, and fix some K&R C portability issues. Streamline
315     DEBUG_ARRAY, DEBUG_BUFFER, DEBUG_IO, DEBUG_ZIP definitions.
316   - Increase penalty time to 10 seconds when handling OPER commands with an
317     invalid password.
318
319 ngIRCd 21.1 (2014-03-25)
320
321   - Don't ignore but use the server password when PAM is compiled in but
322     disabled. Thanks to Roy Sindre Norangshol <roy.sindre@norangshol.no>!
323   - doc/Platforms.txt: Update from master branch.
324   - Really kill connections that send "spoofed prefixes" on non-server links.
325     This fixes commit 6cbe1308 which only killed the connection when the
326     spoofed prefix itself belonged to a non-server client.
327   - CHARCONV command: Fix handling conversion errors, don't overwrite already
328     converted text!
329   - doc/Services.txt: Update information for Anope 2.x.
330   - Correctly use cloaked IRC masks on "INVITE nickname": The cloaked IRC mask
331     of a user is his visible mask, so the daemon has to use it for generating
332     the "one time" entries for the invite list of the given channel, and not
333     the "real" mask which will never match while the target client is "+x", and
334     even worse, will disclose the real mask on "MODE #channel +I" commands :-/
335     Bug reported by Cahata on #ngircd, thanks!
336   - configure: Only link "contrib/Debian" if it exists. This isn't the case on
337     "VPATH builds", for example.
338   - Use $(MKDIR_P) instead of $(mkinstalldirs) in Makefile's and test for
339     "mkdir -p" using AC_PROG_MKDIR_P in "configure".
340   - Fix configure script and "make check" for TCP Wrappers (problems spotted on
341     OpenBSD): add missing #include's and static variables, and add libwrap at
342     the end of the configure run because if libwrap becomes added earlier,
343     other tests may fail.
344   - configure: add support for the LDFLAGS_END and LIBS_END variables to add
345     linker flags and libraries at the end of the configure run (CFLAGS_END has
346     been implemented already).
347   - platformtest.sh and Makefile.am: Don't use "test -e", it isn't portable.
348   - Update Copyright notices for 2014 :-)
349   - Fix permanent {G|K}LINES (with a timeout of 0 seconds).
350   - WEBIRC: Don't set the hostname received by the WEBIRC command when DNS
351     lookups are disabled, but use the IP address instead.
352     Reported by Toni Spets <toni.spets@iki.fi>, thanks!
353   - Check for working getaddrinfo() function: At least AIX 4.3.3 and 5.1 have a
354     broken implementation of getaddrinfo() which doesn't handle "0" as numeric
355     service correctly. This patch adds a configure check for this case and
356     changes all calling functions to only use getaddrinfo() if it "works".
357     See <http://www.stacken.kth.se/lists/heimdal-discuss/2004-05/msg00059.html>
358   - Only use the unsetenv() function when it is available (AIX 4.3 doesn't
359     support it, for example).
360   - Make sure that the source code is still compatible with the "ansi2knr" tool
361     and builds using non-ANSI K&R C compilers. Tested with Apple C on A/UX.
362   - Fix building ngIRCd without support for ZLIB compression.  Reported by
363     "der_baer" on #ngircd, thanks!
364
365 ngIRCd 21 (2013-10-30)
366
367   - ./contrib/Debian/ngircd.init: Make sure no stale PID file is left over
368     when (re-)starting ngIRCd.
369   - Change ./contrib/platformtest.sh and update ./doc/Platforms.txt to
370     allow user names up to 8 characters.
371   - Call arc4random_stir() in forked subprocesses, when available. This
372     is required by FreeBSD <10 and current NetBSD at least to correctly
373     initialize the "arc4" random number generator on these platforms.
374   - Update our own Debian package configuration and fix the default path
375     of the "HelpFile" of the "full" package variants.
376
377   ngIRCd 21~rc2 (2013-10-20)
378   - Report the correct configuration file name on configuration errors,
379     support longer configuration lines, and warn when lines are truncated.
380   - Use arc4random() function to generate "random" numbers, when available.
381   - platformtest.sh: Detect clang compiler, and clean up GIT source tree
382     before building (when possible).
383   - Update (date of) manual pages.
384   - Update "Upgrade Information" in INSTALL file, add more systems to
385     doc/Platforms.txt, and fix spelling in NEWS and ChangeLog files =:)
386   - Fix remaining compiler warnings on OpenBSD.
387
388   ngIRCd 21~rc1 (2013-10-05)
389   - Actually KILL clients on GLINE/KLINE. (Closes bug #156)
390   - Adjust log messages for invalid and spoofed prefixes, which cleans up
391     logging of commands related to already KILL'ed clients. And don't
392     forward KILL commands for (already) unknown clients any more to prevent
393     unnecessary duplicates.
394   - Add support to show all user links using the "STATS L" (uppercase)
395     command (restricted to IRC Operators).
396   - Fixed blocking of server reconnects in some error configurations.
397   - Don't ignore SSL-related errors during startup any more: abort startup
398     when SSL is requested by the configuration but can't be initialized and
399     don't continue only listening on plain text communication ports.
400     (Closes bug #163)
401   - Implement configurable SSL cipher list selection for GnuTLS and OpenSSL
402     using the new configuration option "CipherList". In addition, this
403     changes the defaults to more secure values: "HIGH:!aNULL:@STRENGTH" for
404     OpenSSL, and "SECURE128" for GnuTLS.
405   - Fix "TRACE": Correctly return ERR_NEEDMOREPARAMS(461) (which basically
406     is "syntax error") when there are too many parameters.
407   - Clean up lots of permission and parameter checks in functions handling
408     IRC commands; and more consistently add penalty times on errors.
409   - Fix error numeric of WHOIS when no nick name has been provided:
410     as per RFC it should be ERR_NONICKNAMEGIVEN(431).
411   - Only log "IDENT ... no result" messages when an IDENT looked took place
412     and didn't return any data, not when IDENT has been disabled.
413   - Show connection flag "s" (SSL) in RPL_TRACE{LINK|SERVER} messages: now
414     you can check if a server-to-server link is SSL-encrypted or not using
415     the IRC "TRACE" command.
416   - Correctly discard supplementary groups on server startup.
417   - Save client IP address text for "WebIRC" users and correctly display
418     it on WHOIS, for example. (Closes bug #159)
419   - Implement the new configuration option "DefaultUserModes" which lists
420     user modes that become automatically set on new local clients right
421     after login. Please note that only modes can be set that the client
422     could set on itself, so you can't set "a" (away) or "o" (IRC Op),
423     for example! User modes "i" (invisible) or "x" (cloaked) etc. are
424     "interesting", though. (Closes bug #160)
425   - Add support for the new METADATA "account" property, which allows
426     services to automatically identify users after netsplits and across
427     service restarts.
428   - Enforce "penalty times" on error conditions more consistently and in
429     more places. Now most error codes sent back from the IRC server to the
430     client should result in a 2 second "penalty".
431   - Implement a new configuration option "AllowedChannelTypes" that lists
432     all allowed channel types (channel prefixes) for newly created channels
433     on the local server. By default, all supported channel types are allowed.
434     If set to the empty string, local clients can't create new channels at
435     all, which equals the old "PredefChannelsOnly = yes" setting.
436     This change deprecates the "PredefChannelsOnly" variable, too, but it is
437     still supported and translated to the appropriate "AllowedChannelTypes"
438     setting. When the old "PredefChannelsOnly" variable is processed, a
439     warning message is logged. (Closes bug #152)
440   - Add support for "client certificate fingerprinting". When a client
441     passes an SSL certificate to the server, the "fingerprint" will be
442     forwarded in the network which enables IRC services to identify the
443     user using this certificate and not using passwords.
444   - IRC Operator names, as defined in ngircd.conf, are logged now when
445     handling successful OPER commands.
446   - Some error conditions while handling IRC commands, like "permission
447     denied" or "need more parameters", result in more penalty times.
448   - The numeric replies of some commands became split too early which
449     resulted in more numeric reply lines than necessary.
450   - Implement a new configuration option "IncludeDir" in the "[Options]"
451     section that can be used to specify a directory which can contain
452     further configuration files and configuration file snippets matching
453     the pattern "*.conf". These files are read in after the main server
454     configuration file ("ngircd.conf" by default) has been read in and
455     parsed.  The default is "$SYSCONFDIR/ngircd.conf.d", so that it is
456     possible to adjust the configuration only by placing additional files
457     into this directory. (Closes bug #157)
458   - Fix use-after-free in the Lists_CheckReason() function, which is used
459     to check if a client is a member of a particular ban/invite/... list.
460   - Xcode: fix detection of host OS, vendor, and CPU type, and update
461     project settings for Xcode 5.
462   - OS X PackageMaker: use relative path names in project files and package
463     with correct file permissions (requires root privileges on "make").
464   - Add Travis-CI configuration file (".travis.yml") to project.
465   - Look for possible cloaked Masks in Lists. Users with +x user mode can
466     be banned with their cloaked hostname now.
467   - Don't read SSL client data before DNS resolver is finished which could
468     have resulted in discarding the resolved client hostname and IDENT
469     reply afterwards, because in some situations (timing dependent) the
470     NICK and USER commands could have already been read in from the client,
471     stored in the buffer, and been processed.
472     Thanks to Julian Brost for reporting the issue and testing, and to
473     Federico G. Schwindt <fgsch@lodoss.net> for helping to debug it!
474   - Increase password length limit to 64 characters. (Closes bug #154)
475   - doc/Services.txt: Update Anope status and URL.
476   - Clean up Xcode project file, remove outdated files, add missing ones.
477   - Update Doxygen configuration file.
478   - configure: search for iconv_open as well as libiconv_open, because
479     on some installations iconv_open() is actually libiconv_open().
480     iconv_open() is the glibc version while libiconv_open() is the
481     libiconv version, now both variants are supported. (Closes bug #151)
482   - ngIRCd now accepts user names including "@" characters, saves the
483     unmodified name for authentication but stores only the part in front
484     of the "@" character as "IRC user name". And the latter is how
485     ircd2.11, Bahamut, and irc-seven behave as well. (Closes bug #155)
486   - Lots of IRC "information functions" like ADMIN, INFO, ... now accept
487     server masks and names of connected users (in addition to server names)
488     for specifying the target server of the command. (Closes bug #153)
489   - Implement a new configuration option "IdleTimeout" in the "[Limits]"
490     section of the configuration file which can be used to set a timeout
491     in seconds after which the whole daemon will shutdown when no more
492     connections are left active after handling at least one client.
493     The default is 0, "never".
494     This can be useful for testing or when ngIRCd is started using "socket
495     activation" with systemd(8), for example.
496   - Implement support for systemd(8) "socket activation".
497   - contrib/README: add description for more files.
498   - Enable WHOIS to display information about IRC Services using the new
499     numeric 310(RPL_WHOISSERVICE) This numeric is used for this purpose by
500     InspIRCd, for example -- but as usual, other numerics are in use, too,
501     like 613 in UltimateIRCd ...
502     Please note that neither the Operator (+o) not the "bot status" (+B)
503     of an IRC service is displayed in the output.
504   - Exit message: use singular & plural :-)
505   - autogen.sh: Check for autoconf/automake wrapper scripts
506   - Add missing punctuation marks in log messages, adjust some severity
507     levels, and make SSL-related messages more readable.
508   - AUTHORS file: Update list of contributors.
509   - Update systemd(8) example configuration files in ./contrib/ directory:
510     the "ngircd.service" file now uses the "forking" service type which
511     enhances the log messages shown by "systemctl status ngircd.service",
512     and the new "ngircd.socket" file configures a systemd socket that
513     configures a socket for ngIRCd and launches the daemon on demand.
514   - Enhance help system and the HELP command: now a "help text file" can be
515     set using the new configuration option "HelpFile" ("global" section),
516     which is read in and parsed on server startup and configuration reload,
517     and then is used to output individual help texts to specific topics.
518     Please see the file ./doc/Commands.txt for details.
519
520 ngIRCd 20.3 (2013-08-23)
521
522   - Security: Fix a denial of service bug (server crash) which could happen
523     when the configuration option "NoticeAuth" is enabled (which is NOT the
524     default) and ngIRCd failed to send the "notice auth" messages to new
525     clients connecting to the server (CVE-2013-5580).
526
527 ngIRCd 20.2 (2013-02-15)
528
529   - Security: Fix a denial of service bug in the function handling KICK
530     commands that could be used by arbitrary users to to crash the daemon
531     (CVE-2013-1747).
532   - WHO command: Use the currently "displayed hostname" (which can be cloaked!)
533     for hostname matching, not the real one. In other words: don't display all
534     the cloaked users on a specific real hostname!
535   - configure: The header file "netinet/in_systm.h" already is optional in
536     ngIRCd, so don't require it in the configure script. Now ngIRCd can be
537     built on Minix 3 again :-)
538   - Return better "Connection not registered as server link" errors: Now ngIRCd
539     returns a more specific error message for numeric ERR_NOTREGISTERED(451)
540     when a regular user tries to use a command that isn't allowed for users but
541     for servers.
542   - Don't report ERR_NEEDMOREPARAMS(461) when a MDOE command with more modes
543     than nicknames is handled, as well as for channel limit and key changes
544     without specifying the limit or key parameters.
545     This is how a lot (all?) other IRC servers behave, including ircd2.11,
546     InspIRCd, and ircd-seven. And because of clients (tested with Textual and
547     mIRC) sending bogus MODE commands like "MODE -ooo nick", end-users got the
548     expected result as well as correct but misleading error messages ...
549   - Correctly detect when SSL subsystem must be initialized and take
550     outgoing connections (server links!) into account, too.
551   - autogen.sh: Enforce serial test harness on GNU automake >=1.13. The
552     new parallel test harness which is enabled by default starting with
553     automake 1.13 isn't compatible with our test suite.
554     And don't use "egrep -o", instead use "sed", because it isn't portable
555     and not available on OpenBSD, for example.
556
557 ngIRCd 20.1 (2013-01-02)
558
559   - Allow ERROR command on server and service links only, ignore them and
560     add a penalty time on all other link types.
561   - Enforced mode setting by IRC Operators: Only check the channel user
562     modes of the initiator if he is joined to the channel and not an IRC
563     operator enforcing modes (which requires the configuration option
564     "OperCanUseMode" to be enabled), because trying to check channel user
565     modes of a non-member results in an assertion when running with debug
566     code or could crash the daemon otherwise. This closes bug #147, thanks
567     to James Kirwill <james.kirwill@bk.ru> for tracking this down!
568   - Fix build system to cope with spaces in path names.
569   - Code cleanups, mostly to fix build warnings on Cygwin.
570
571 ngIRCd 20 (2012-12-17)
572
573   - Allow user names ("INDENT") up to 20 characters when ngIRCd has not
574     been configured for "strict RFC mode". This is useful if you are using
575     external (PAM) authentication mechanisms that require longer user names.
576     Patch suggested by Brett Smith <brett@w3.org>, see
577     <http://arthur.barton.de/pipermail/ngircd-ml/2012-October/000579.html>.
578
579   ngIRCd 20~rc2 (2012-12-02)
580   - Rework cloaked hostname handling and implement the "METADATA cloakhost"
581     subcommand: Now ngIRCd uses two fields internally, one to store the
582     "real" hostname and one to save the "cloaked" hostname. This allows
583     "foreign servers" (aka "IRC services") to alter the real and cloaked
584     hostnames of clients without problems, even when the user itself issues
585     additional "MODE +x" and "MODE -x" commands.
586   - RPL_UMODEIS: send correct target name, even on server links.
587   - Update platformtest.sh to follow autoconf changes and only generate
588     the "configure" script when it is missing.
589   - Fix the test suite to correctly execute test scripts even when stdout
590     is redirected.
591   - Fix some compiler warnings on NetBSD and OpenBSD.
592
593   ngIRCd 20~rc1 (2012-11-11)
594   - Update doc/Services.txt: describe the upcoming version of Anope 1.9.8,
595     then including a protocol module for ngIRCd. And remove our own patches
596     in ./contrib/Anope because they aren't supported any more ...
597   - Implement new "METADATA" command which can be used by remote servers
598     and IRC services to update client metadata like the client info text
599     ("real name"), user name, and hostname, and use this command to
600     configure an cloaked hostname (user mode "+x") on remote servers:
601     This prevents "double cloaking" of hostnames and even cloaked
602     hostnames are in sync on all servers supporting "METADATA" now.
603   - Fix error message when trying to join non-predefined channels and the
604     "PredefChannelsOnly" configuration option is set.
605   - Implement new IRC "SVSNICK" command to allow remote servers (and IRC
606     services) to change nicknames of already registered users. The SVSNICK
607     command itself doesn't change the nickname, but it becomes forwarded
608     to the server to which the user is connected to. And then this server
609     initiates the real nickname changing using regular NICK commands.
610     This allows to run mixed networks with old servers not supporting the
611     SVSNICK command, because SVSNICK commands for nicknames on such servers
612     are silently ignored and don't cause a desynchronization of the network.
613   - Make server reconnect time a little bit more random, so that two
614     servers trying to connect to each other asynchronously don't try this
615     in exactly the same time periods and kick each other off ...
616   - Don't accept connections for servers already being linked: there was a
617     time frame that could result in one connection overwriting the other,
618     e. g. the incoming connection overwriting the status of the outgoing
619     one. And this could lead to all kind of weirdness (even crashes!) later
620     on: now such incoming connections are dropped.
621   - New configuration option "MaxListSize" to configure the maximum number
622     of channels returned by a LIST command. The default is 100, as before.
623   - Implement user mode "b", "block messages": when a user has set mode "b",
624     all private messages and notices to this user are blocked if they don't
625     originate from a registered user, an IRC Op, server or service. The
626     originator gets an error numeric sent back in this case,
627     ERR_NONONREG_MSG (486), which is used by UnrealIRCd, too. (Closes #144)
628   - WHOIS: Not only show RPL_WHOISHOST_MSG to local IRC operators, but show
629     it to all IRC operators in the network. And don't show it to anybody if
630     the "more privacy" configuration option is enabled. (Closes #134)
631   - Test suite: make expect scripts more verbose displaying dots for each
632     reply of the server that it is waiting for.
633   - WHOIS: Implement numeric RPL_WHOISMODES_MSG (379) and show user modes in
634     the reply of the WHOIS command for the user himself or, if MorePrivacy
635     isn't set, for request initiated by an IRC operator. (Closes #129)
636   - Implement channel mode "V" (invite disallow): If the new channel mode
637     "V" is set, the INVITE command becomes invalid and all clients get the
638     new ERR_NOINVITE_MSG (518) reply. (Closes #143)
639   - KICK-protect IRC services.
640   - Implement channel mode "Q" and user mode "q": Both modes protect users
641     from channel kicks: only IRC operators and servers can kick users having
642     mode "q" or in channels with mode "Q". (Closes #141)
643   - Debian: require "telnet" or "telnet-ssl" for building and enable
644     CHARCONV in ngircd-full[-dbg] variants.
645   - Send RPL_REHASHING (382) numeric if a REHASH command was accepted.
646   - Fix spelling and variable names in some log messages.
647   - Allow users to "cloak" their hostname only when the configuration
648     variable "CloakHostModeX" (introduced in 19.2) is set. Otherwise, only
649     IRC operators, other servers, and services are allowed to set the user
650     mode "+x": this prevents regular users from changing their hostmask to
651     the name of the IRC server itself, which confused quite a few people ;-)
652     (Closes #133)
653   - New configuration option "OperChanPAutoOp": If disabled, IRC operators
654     don't become channel operators in persistent channels when joining.
655     Enabled by default, which has been the behavior of ngIRCd up to this
656     patch. (Closes #135)
657   - Allow IRC operators to see secret (+s) channels in LIST command as long
658     as the "MorePrivacy" configuration option isn't enabled in the
659     configuration file. (Closes #136)
660   - Enhance build system: Support new (>=1.12) and old (<=1.11) GNU automake
661     versions, update checks for required and optional features, enable
662     colored test output of automake (if available), rename configure.in to
663     more modern configure.ac, include .mailmap and all build-system files in
664     distribution archives and no longer require a GIT tree to detect the
665     correct version string.
666   - Update documentation: add doc/Contributing.txt and include version
667     numbers in doc/Modes.txt.
668   - Free all listen ports on initialization: now listen ports can be
669     reconfigured on runtime using a configuration reload.
670   - Initialize SSL when needed only, and disable SSL on errors.
671   - Implement new (optional) IRC+ "CHARCONV" command to set a client
672     character set that the server translates all messages to/from UTF-8.
673     This feature requires the "libiconv" library and must be enabled using
674     the new "--with-iconv" option of the ./configure script. See
675     doc/Protocol.txt for details. (Closes #109)
676   - Allow limited punctuation in usernames, for better PAM integration.
677   - Correctly re-initialize signal handlers on RESTART commands.
678   - Show a warning on startup if the configuration file is not a full path:
679     ngIRCd is a long-running process and changes its working directory to
680     "/" to not block mounted filesystems and the like when running as daemon
681     ("not in the foreground"); therefore the path to the configuration file
682     must be relative to "/" (or the chroot() directory), which basically is
683     "not relative", to ensure that "kill -HUP" and the "REHASH" command work
684     as expected later on. (Closes #127)
685   - Make the "&SERVER" channel definable in a [Channel] configuration block,
686     which enables server operators to overwrite the built-in topic and
687     channel modes. (Closes #131)
688   - Don't limit list size of "WHO #channel" commands, because it makes no
689     sense to not return all the users in that channel, so I removed the
690     check. But if there are more than MAX_RPL_WHO(25) replies, the client
691     requesting the list will be "penalized" one second more, then 2 in
692     total. (Closes #125)
693   - Make ngIRCd buildable using the kqueue() IO interface on FreeBSD 4.x.
694   - Fix the "NoticeAuth" configuration option when using SSL connections and
695     enhance the message to show the hostname and IDENT reply of the client.
696   - Introduce numeric RPL_HOSTHIDDEN_MSG (396): This numeric is sent to the
697     client each time it changes its displayed hostname using "MODE +/-x",
698     and if "CloakHost" is set right after the MOTD has been sent.
699   - Fix USERHOST not displaying the correctly cloaked hostname.
700   - Implement user mode "B" ("Bot flag"): it is settable and unsettable by
701     every (non-restricted) client. This is how Unreal and InspIRCd do
702     behave, and so do we :-)
703   - Dynamically allocate memory for connection passwords: This a) saves
704     memory for clients not using passwords at all and b) allows for
705     "arbitrarily" long passwords.
706   - Implement channel mode "M": Only the server, identified users and IRC
707     operators are able to talk in such a channel.
708   - Block nicknames that are reserved for services and are defined using the
709     configuration variable "ServiceMask" in "Server" blocks; And this
710     variable now can handle more than one mask separated by commas.
711   - Now "make uninstall" removes the installed "ngircd.conf" file, if it is
712     still equal to our "sample-ngircd.conf" file and therefore hasn't been
713     modified by the user. If it has been modified, it isn't removed and a
714     notice is displayed to the user. And "make install" now displays a
715     message when no ngircd.conf file exists and the "sample-ngircd.conf"
716     file will be installed as a starting point.
717   - Add contrib/ngircd.service, a systemd service file for ngircd.
718   - Implemented XOP channel user modes: "Half Op" ("+h", prefix "%") can set
719     the channel modes +imntvIbek and kick all +v and normal users; "Admin"
720     ("+a", prefix "&") can set channel modes +imntvIbekoRsz and kick all +o,
721     +h, +v and normal users; and "Owner" ("+q", prefix "~") can set channel
722     modes +imntvIbekoRsz and kick all +a, +o, +h, +v and normal users.
723   - Implement hashed cloaked hostnames for both the "CloakHost" and
724     "CloakHostModeX" configuration options: now the admin can use the new
725     '%x' placeholder to insert a hashed version of the clients hostname,
726     and the new configuration option "CloakHostSalt" defines the salt for
727     the hash function. When "CloakHostSalt" is not set (the default), a
728     random salt will be generated after each server restart. (Closes #133)
729
730 ngIRCd 19.2 (2012-06-19)
731
732   - doc/Capabilities.txt: document "multi-prefix" capability
733
734   ngIRCd 19.2~rc1 (2012-06-13)
735   - New configuration option "CloakHostModeX" to configure the hostname
736     that gets used for IRC clients which have user mode "+x" enabled.
737     Up to now, the name of the IRC server itself has been used for this,
738     which still is the default when "CloakHostModeX" isn't set.
739   - Correctly handle asynchronously re-established server links: a race
740     condition could let the daemon loose track of an already re-established
741     incoming server link while preparing its own outgoing connection.
742     Peers that both try to connect each other could have been affected.
743   - Log a debug message when SIGUSR2 is handled in debug mode.
744   - Only allow alphanumeric characters in user-supplied user names of
745     USER command and IDENT replies.
746   - Change wording of "TLS initialized" message to make it more consistent.
747   - Don't leak file descriptors on error path when creating "PID files".
748   - Add missing mode "r" to CHANMODES in 005 "ISUPPORT" numeric.
749   - Update doc/Modes.txt and doc/Platforms.txt documents.
750   - contrib/platformtest.sh: correctly detect Open64 C compiler and handle
751     "CC=xxx MAKE=yyy ./platformtest.sh" calling convention.
752   - Add instructions for setting up Atheme IRC services.
753   - Implement support for IRC capability handling, the new "CAP" command,
754     and capability "multi-prefix" which allows both the NAME and WHO command
755     handlers to return more than one "class prefix" to the client.
756   - Update Xcode project files: reference missing documentation files.
757   - Fix: Don't ignore "permission denied" errors when enabling chroot.
758   - FAQ: enhance description of chroot setup.
759
760 ngIRCd 19.1 (2012-03-19)
761
762   - Fix gcc warning (v4.6.3), initialize "list" variable to NULL.
763   - Fix typos: "recieved" -> "received", "Please not" -> "Please note",
764     and fix lintian(1) warning ""hyphen-used-as-minus-sign", too.
765   - Really include _all_ patches to build the Anope module into the
766     distribution archive ... ooops!
767   - getpid.sh: Fix test case error for Debian using sbuild(1).
768   - Don't log "ngIRCd hello message" two times when starting up.
769
770 ngIRCd 19 (2012-02-29)
771
772   - Update build system: bump config.guess and config.sub files used by
773     GNU autoconf/automake to recent versions.
774   - Fix configuration file parser: don't accept "[SSL]" blocks in the
775     configuration file when no SSL support is built in ngIRCd.
776   - Fix building ngIRCd with old gcc versions (e. g. 2.7.2).
777   - Correctly re-open syslog logging after reading of configuration
778     file: Syslog logging has been initialized before reading the
779     configuration, so ngIRCd always used the default facility and ignored
780     the "SyslogFacility" configuration option ...
781     Thanks to Patrik Schindler for reporting this issue!
782
783   ngIRCd 19~rc1 (2012-02-12)
784   - Enhance command limits for server links: the limit now is dependent
785     on the number of users connected in the network and higher while
786     servers are joining the network to make the login of servers faster.
787   - Log more information about server synchronization.
788   - Update preliminary ngIRCd protocol module for Anope 1.9.6, which now
789     is the only supported version.
790   - New numeric RPL_WHOISHOST_MSG(378), which returns the DNS host name
791     (if available) and the IP address of a client in the WHOIS reply.
792     Only the user itself and local IRC operators get this numeric.
793   - Implement channel exception list (mode 'e'). This allows a channel
794     operator to define exception masks that allow users to join the
795     channel even when a "ban" would match and prevent them from joining:
796     the exception list (e) overrides the ban list (b).
797   - PRIVMSG and NOTICE: Handle nick!user@host masks case-insensitive.
798   - Implement user mode 'C': If the target user of a PRIVMSG or NOTICE
799     command has the user mode 'C' set, it is required that both sender
800     and receiver are on the same channel. This prevents private flooding
801     by completely unknown clients.
802   - New RPL_WHOISREGNICK_MSG(307) numeric in WHOIS command replies: it
803     indicates if a nickname is registered (if user mode 'R' set).
804   - Limit channel invite, ban, and exception lists to 50 entries and fix
805     duplicate check and error messages when adding already listed entries
806     or deleting no (longer) existing ones.
807   - Fix both ERR_SUMMONDISABLED(445) and ERR_USERSDISABLED(446) replies.
808   - MODE command: correctly return ERR_UNKNOWNMODE(472) numeric for
809     unknown channel modes, instead of ERR_UMODEUNKNOWNFLAG(501).
810   - ISUPPORT(005) numeric: add "O", "R", and "z" modes to "CHANMODES",
811     add "EXCEPTS=e" and "INVEX=I", add "MAXLIST=beI:50".
812   - Limit the number of list items in the reply of LIST (100), WHO (25),
813     WHOIS (10), and WHOWAS (25) commands.
814   - LIST command: compare pattern case insensitive.
815   - Limit the MODE command to handle a maximum number of 5 channel modes
816     that require an argument (+Ibkl) per call and report this number
817     in the ISUPPORT(005) numeric: "MODES=5".
818   - Fix handling of channel mode sequence with/without arguments.
819     For example, don't generate wrong error messages when handling
820     "MODE #chan +IIIIItn *!aa@b *!bb@c *!cc@d *!dd@e *!ee@f".
821   - When sending data on a connection, only try to get the type of
822     the client if there still is one assigned. This could trigger an
823     assertion and end the daemon in some error paths.
824   - Don't try to close already closed/invalid sockets to forked child
825     processes. This could potentially crash the daemon in some cases
826     with IDENT lookups enabled.
827   - WHOIS command: make sure that the reply ends with RPL_ENDOFWHOIS,
828     don't answer queries for IRC servers, make sure mask matching is
829     case-insensitive, and that RPL_ENDOFWHOIS numeric is sent with the
830     unmodified mask (like it has been received from the client).
831   - LINKS command: support <mask> parameter to limit the reply.
832   - Add 1 second penalty for every further target on PRIVMSG/NOTICE
833     commands: this reduces the possibility of flooding channels with
834     commands like "PRIVMSG/NOTICE #a,#n,#c,... :message" a little bit.
835     Problem noticed by Cahata, thanks!
836   - Display correct error message when "Server{UID|GID}" variable in the
837     configuration file is invalid (not a number and no existing user).
838   - Update Copyright notices for 2012 :-)
839   - JOIN command: don't stop handling of channel lists when a single
840     channel cannot be joined (because of bad name, wrong key or channel
841     limit reached), but report an error and continue. And don't check
842     the channel limit and don't report with "too many channels" when
843     trying to join a channel that the client already is a member of.
844   - ISON command: reply with the correct upper-/lowercase nicknames.
845   - New configuration option "PAMIsOptional": when set, clients not
846     sending a password are still allowed to connect: they won't become
847     "identified" and keep the "~" character prepended to their supplied
848     user name. See "man 5 ngircd.conf" for details.
849   - Fixed handling of WHO commands. This fixes two bugs: "WHO <nick>"
850     returned nothing at all if the user was "+i" (reported by Cahata,
851     thanks) and "WHO <nick|nickmask>" returned channel names instead
852     of "*" when the user was member of a (visible) channel.
853   - Fixed some spelling errors in documentation and code comments
854     (Thanks to Christoph Biedl).
855   - contrib/Debian/control: Update and complete "Build-Depends" and
856     update our Debian package descriptions with "official" ones.
857   - Fixed typo in two error messages.
858   - LUSERS reply: only count channels that are visible to the requesting
859     client, so the existence of secret channels is no longer revealed by
860     using LUSERS. Reported by Cahata, thanks!
861   - Unknown user and channel modes no longer stop the mode parser, but
862     are simply ignored. Therefore modes after the unknown one are now
863     handled. This is how ircd2.10/ircd2.11/ircd-seven behave, at least.
864     Reported by Cahata, thanks!
865   - README: Update list of implemented commands.
866   - Log better error messages when rejecting clients.
867   - Implement IRC commands "GLINE" and "KLINE" to ban users. G-Lines are
868     synchronized between server on peering, K-Lines are local only.
869     If you use "*!<user>@<host>" or "*!*@<host>" masks, these connections
870     are blocked even before the user is fully logged in (before PASS,
871     NICK, and USER commands have been processed) and before the child
872     processes for authentication are forked, so resource usage is smaller.
873   - Xcode: update project file for Xcode 4.2 and define HAVE_GAI_STRERROR
874     for Mac OS X Xcode builds.
875   - ./configure: Fix logic and quoting of poll() detection code: only use
876     poll() when poll.h exists as well.
877   - Suppress 'Can't create pre-defined channel: invalid name: ""' message.
878   - whois-test: handle local host name = "localhost.localdomain" using the
879     pattern "localhost*" for valid local host names.
880   - sample-ngircd.conf: show correct default for "PAM" variable: The
881     default of "PAM" is "yes" when ngIRCd has been configured to use it,
882     so show the correct default value in the sample configuration file.
883     (Closes #119)
884   - Update GPL 2 license text to current version.
885   - Only close "unrelated" sockets in forked child processes: This fixes
886     the problem that ngIRCd can't do any IDENT lookups because of the
887     socket has already been closed in the child process.
888     The bug has been introduced starting with ngIRCd 17 ... :-(
889     (commit ID 6ebb31ab35e)
890   - Added doc/Modes.txt: document modes supported by ngIRCd.
891   - Implement user mode "R": indicates that the nickname of this user
892     is "registered". This mode isn't handled by ngIRCd itself, but must
893     be set and unset by IRC services like Anope.
894   - Implement channel mode "R": only registered users (having the user
895     mode "R" set) are allowed to join this channel.
896   - Test suite: bind to loopback (127.0.0.1) interface only.
897   - New 2nd message "Nickname too long" for error code 432.
898   - Xcode: Mac OS X config.h: support 10.5 as well as 10.6/10.7 SDK.
899   - Xcode: exclude more Xcode 4 specific directories in ".gitignore".
900   - Disconnect directly linked servers sending QUIT. Without this,
901     the server becomes removed from the network and the client list,
902     but the connection isn't shut down at all ...
903   - contrib/ngindent: detect "gindent" as GNU indent.
904   - Handle unknown user and channel modes: these modes are saved and
905     forwarded to other servers, but ignored otherwise.
906   - Handle channel user modes 'a', 'h', and 'q' from remote servers.
907     These channel user modes aren't used for anything at the moment,
908     but ngIRCd knows that these three modes are "channel user modes"
909     and not "channel modes", that is that these modes take an "nickname"
910     argument. Like unknown user and channel modes, these modes are saved
911     and forwarded to other servers, but ignored otherwise.
912   - Correctly inform clients when other servers change their user modes.
913     This is required for some services to work correctly.
914   - Test suite: make getpid.sh work even when run as root.
915   - Spoofed prefixes: close connection on non-server links only.
916     On server-links, spoofed prefixes can happen because of the
917     asynchronous nature of the IRC protocol. So don't break server-
918     links, only log a message and ignore the command. (Closes #113)
919
920 ngIRCd 18 (2011-07-10)
921
922   - Update timestamp of ngircd(8) manual page.
923   - Add preliminary ngIRCd protocol module for Anope 1.9 to contrib/Anope/.
924   - Don't register WHOWAS information when "MorePrivacy" option is in effect.
925
926   ngIRCd 18~rc2 (2011-06-29)
927   - Update documentation, fix some wording, and use a spellchecker :-)
928   - ngircd.conf.5: strip "SSL" prefix from variables in [SSL] section.
929   - ngircd.8: document debugging options.
930   - GnuTLS: use 1024 bits as minimum size of the DH prime. This enables
931     ngIRCd to accept incoming connections from other servers and clients
932     that "only" use at least 1024 bits again, like ngIRCd 17 did (and no
933     longer requires 2048 bits for incoming connections).
934
935   ngIRCd 18~rc1 (2011-06-27)
936   - PAM warning message: make clear which "Password" config option is ignored.
937   - New configuration option "MorePrivacy" to "censor" some user information.
938     When enabled, signon time and idle time is left out. Part and quit
939     messages are made to look the same. WHOWAS requests are silently dropped.
940     All of this is useful if one wish to conceal users that access the ngircd
941     servers from TOR or I2P.
942   - New configuration option "ScrubCTCP" to scrub incoming CTCP commands. If
943     activated, the server silently drops incoming CTCP requests from both
944     other servers and from users. The server that scrubs CTCP will not forward
945     the CTCP requests to other servers in the network either, which can spell
946     trouble if not every oper knows about the CTCP-scrubbing. Scrubbing CTCP
947     commands also means that it is not possible to send files between users.
948     There is one exception to the CTCP scrubbing performed: ACTION ("/me
949     commands") requests are not scrubbed.
950   - Display configuration errors more prominent on "--configtest".
951   - Restructure ngIRCd configuration file: introduce new [Limits], [Options],
952     and [SSL] sections. The intention of this restructuring is to make the
953     [Global] section much cleaner, so that it only contains variables that
954     most installations must adjust to the local requirements. All the optional
955     variables are moved to [Limits], for configurable limits and timers of
956     ngIRCd, and [Options], for optional features. All SSL-related variables
957     are moved to [SSL] and the "SSL"-prefix is stripped. The old variables in
958     the [Global] section are deprecated now, but are still recognized.
959     => Don't forget to check your configuration, use "ngircd --configtest"!
960   - New documentation "how to contribute": doc/Contributing.txt.
961   - Slightly fix error handling when connecting to remote servers.
962   - GnuTLS: bump DH-bitsize to 2048: this solves the problem that some clients
963     refuse to connect to severs that only offer 1024. For interoperability it
964     would be best to just use 4096 bits, but that takes minutes, even on
965     current hardware ...
966   - contrib/platformtest.sh: fix gcc version detection.
967   - Avoid needlessly scary 'buffer overflow' messages: When the write buffer
968     space grows too large, ngIRCd has to disconnect the client to avoid
969     wasting too much memory, which is logged with a scary 'write buffer
970     overflow' message. Change this to a more descriptive wording.
971   - Require server prefixes for most commands on RFC2812 links. RFC1459 links
972     (often used by services, for example) are not affected.
973   - Mac OS X: update installer functionality, texts, and add our logo :-)
974   - New configuration option "RequireAuthPing": PING-PONG on login. When
975     enabled, this configuration option lets ngIRCd send a PING with an numeric
976     "token" to clients logging in; and it will not become registered in the
977     network until the client responds with the correct PONG.
978   - New configuration option "NoticeAuth": send NOTICE AUTH on connect. When
979     active, ngircd will send "NOTICE AUTH" messages on client connect time
980     like e.g. snircd (QuakeNet) does.
981   - Generate WALLOPS message on SQUIT from IRC operators; so SQUIT now behaves
982     like CONNECT and DISCONNECT commands, when called by an IRC operator.
983   - Allow servers to send more commands in the first 10 seconds ("burst"). This
984     helps to speed up server login and network synchronization.
985   - Add support for up to 3 targets in WHOIS queries, also allow up to one
986     wildcard query from local hosts. Follows ircd 2.10 implementation rather
987     than RFC 2812. At most 10 entries are returned per wildcard expansion.
988   - ngircd.conf(5) manual page: describe types of configuration variables
989     (booleans, text strings, integer numbers) and add type information to each
990     variable description.
991   - Don't use "the.net" in sample-ngircd.conf, use "example.net".
992   - Terminate incoming connections on HTTP commands "GET" and "POST".
993   - New configuration option "CloakHost": when set, this host name is used for
994     every client instead of the real DNS host name (or IP address).
995   - New configuration option "CloakUserToNick": when enabled, ngIRCd sets
996     every clients' user name to their nickname and hides the user name
997     supplied by the IRC client.
998   - doc/Protocol.txt: Update description of the CHANINFO and WEBIRC commands.
999   - Doxygen'ify (document) much more source files; code cleanup ...
1000   - Make write buffers bigger, but flush early. Before this change, a client
1001     got disconnected if the buffer flushing at 4k failed, now regular clients
1002     can store up to 32k and servers up 64k even if flushing is not possible at
1003     the moment. This enhances reliability on slow links.
1004   - Don't access possibly free'd CLIENT structure. Ooops.
1005   - Allow "Port = 0" in [Server] blocks. Port number 0 marks remote servers
1006     that try to connect to this daemon, but where this daemon never tries to
1007     establish a connection on its own: only incoming connections are allowed.
1008   - Configuration: fix 'Value of "..." is not a number!' for negative values.
1009   - Enable WHOIS command to return information about services.
1010   - Implement channel mode 'O': "IRC operators only". This channel mode is
1011     used on DALnet (bahamut), for example.
1012   - Remove support for ZeroConf/Bonjour/Rendezvous service registration
1013     including the "[No]ZeroConf" configuration option.
1014   - TOPIC command: test for channel admin rights correctly: this enables other
1015     servers, services and IRC operators to change channel topics, even when
1016     the client is not joined to this channel.
1017   - Deprecate NoXX-Options in ngircd.conf and move new variants into our new
1018     [Options] section: 'NoDNS=no' => 'DNS=yes', 'NoIdent=no' => 'Ident=yes',
1019     'NoPAM=no' => 'PAM=yes', and 'NoZeroConf=no' => 'ZeroConf=yes' (and
1020     vice-versa). The defaults are adjusted accordingly and the old variables
1021     in [Global] are still accepted, so there is no functional change.
1022   - Fix confusing "adding to invite list" debug messages: adding entries to
1023     ban list produced 'invite list' debug output ...
1024   - Don't throttle services and servers being registered.
1025   - Xcode: correctly sort files :-)
1026   - Don't assert() when searching a client for an invalid server token (this is
1027     only relevant when a trusted server on a server-server link sends invalid
1028     commands).
1029
1030 ngIRCd 17.1 (2010-12-19)
1031
1032   - --configtest: remember if MOTD is configured by file or phrase
1033   - Enhance log messages when establishing server links a little bit
1034   - Reset ID of outgoing server link on DNS error correctly
1035   - Don't log critical (or worse) messages to stderr
1036   - Manual page ngircd(8): add SIGNALS section
1037   - Manual pages: update and simplify AUTHORS section
1038   - Remove "error file" when compiled with debug code enabled
1039   - README: Updated list of implemented commands
1040   - add doc/README-Interix.txt and doc/Bopm.txt to distribution tarball
1041   - Merge branch 'numeric-329'
1042   - add doc/PAM.txt to distribution tarball
1043   - New numeric 329: get channel creation time on "MODE #chan" commands
1044   - Save channel creation time; new function Channel_CreationTime()
1045
1046 ngIRCd 17 (2010-11-07)
1047
1048   - doc: change path names in sample-ngircd.conf depending on sysconfdir
1049   - Fix up generation and distribution of sample-ngircd.conf
1050   - contrib/ngircd-redhat.init: updated email address of Naoya Nakazawa
1051   - contrib/platformtest.sh: make command name quoting consistent
1052
1053   ngIRCd 17~rc3 (2010-10-27)
1054   - Xcode builds: detect version number correctly, updated project file
1055     to use the Mac OS X 10.5.x SDK, disable pam_fail_delay() because it
1056     is only available starting with Mac OS X 10.6, and generate a default
1057     PAM configuration for the Mac OS X Installer.app package of ngIRCd.
1058   - Debian: updated standards version to 3.9.1, added libpam0g-dev to the
1059     dependencies, and install a default /etc/pam.d/ngircd allowing all logins.
1060   - Make contrib/platformtest.sh more portable.
1061   - Fix connect attempts to further IP addresses of outgoing server links.
1062
1063   ngIRCd 17~rc2 (2010-10-25)
1064   - ZeroConf: include header files missing since commit a988bbc86a.
1065   - Generate ngIRCd version number from GIT tag.
1066   - Make source code compatible with ansi2knr again. This allows to compile
1067     ngIRCd using a pre-ANSI K&R C compiler again.
1068   - ./configure: check if C compiler can compile ISO Standard C.
1069   - ./configure: check support for C prototypes again.
1070   - Don't use PARAMS() macro for function implementations.
1071   - Added m68k/apple/aux3.0.1 (gcc 2.7.2) to doc/Platforms.txt.
1072   - Only try to set FD_CLOEXEC if this flag is defined.
1073   - Only use "__attribute__ ((unused))" if GCC >=2.8 is used.
1074   - doc/Makefile.am: don't set docdir, automake handles it already.
1075
1076   ngIRCd 17~rc1 (2010-10-11)
1077   - New configuration option "NoZeroConf" to disable service registration at
1078     runtime even if ngIRCd is compiled with support for ZeroConf (e.g. using
1079     Howl, Avahi or on Mac OS X).
1080   - New configuration option "SyslogFacility" to define the syslog "facility"
1081     (the "target"), to which ngIRCd should send its log messages.
1082     Possible values are system dependent, but most probably "auth", "daemon",
1083     "user" and "local1" through "local7" are possible values; see syslog(3).
1084     Default is "local5" for historical reasons.
1085   - Dump the "internal server state" (configured servers, established
1086     connections and known clients) to the console or syslog when receiving
1087     the SIGUSR2 signal and debug mode is enabled.
1088   - Enable the daemon to disable and enable "debug mode" on runtime using
1089     signal SIGUSR1, when debug code is compiled in, not only on startup
1090     using the command line parameters.
1091   - Signal handler: added new 'delayed' signal handlers, including fallback
1092     to deprecated sysv API. And removed global NGIRCd_SignalRehash variable.
1093   - IO: add io_cloexec() to set close-on-exec flag.
1094   - ng_ipaddr.h: include required assert.h header.
1095   - Conn_SyncServerStruct(): test all connections; and work case insensitive
1096   - configure script: correctly indent IPv6 yes/no summary output.
1097   - Don't reset My_Connections[Idx].lastping when reading data, so the
1098     client lag debug-output is working again.
1099   - Implement user mode "x": host name cloaking (closes: #102).
1100   - Make configure switch "--docdir" work (closes: #108).
1101   - Reformat and update FAQ.txt a little bit.
1102   - INSTALL: mention SSL, IPv6, and changed handling of MotdFile.
1103   - Change MOTD file handling: ngIRCd now caches the contents of the MOTD
1104     file, so the daemon now requires a HUP signal or REHASH command to
1105     re-read the MOTD file when its content changed.
1106   - Startup: open /dev/null before chroot'ing the daemon.
1107   - Allow IRC ops to change channel modes even without OperServerMode set.
1108   - Allow IRC operators to use MODE command on any channel (closes: #100).
1109   - Added mailmap file for git-[short]log and git-blame.
1110   - Authenticated users should be registered without the "~" mark.
1111   - Set NoPAM=yes in configuration files used for the testsuite.
1112   - New configuration option "NoPAM" to disable PAM.
1113   - Implement asynchronous user authentication using PAM, please see the
1114     file doc/PAM.txt for details.
1115   - Resolver: Implement signal handler and catch TERM signals.
1116   - Don't set a penalty time when doing DNS lookups.
1117   - Add some documentation for using BOPM with ngIRCd, see doc/Bopm.txt.
1118   - Implement user mode "c": receive connect/disconnect NOTICEs. Note that
1119     this new mode requires the user to be an IRC operator.
1120   - ngircd.init: require "$network" and "$remote_fs" when stopping ngircd.
1121   - Show SSL status in WHOIS output, numeric 275.
1122   - Include correct header files when testing for arpa/inet.h (Closes: #105).
1123   - Don't access already freed memory in IRC_KILL().
1124   - Fix "beeing" typo ...
1125   - SSL/TLS: fix bogus "socket closed" error message.
1126
1127 ngIRCd 16 (2010-05-02)
1128
1129   - doc/SSL: remove line continuation marker
1130
1131   ngIRCd 16~rc2 (2010-04-25)
1132   - Updated some more copyright notices, it's 2010 already :-)
1133   - Only compile in Get_Error() if really needed
1134   - Fix gcc warning "ignoring return value of ..."
1135   - Include netinet/in_systm.h alongside netinet/ip.h
1136   - Include netinet/{in.h, in_systm.h} when checking for netinet/ip.h
1137   - Only include <netinet/in_systm.h> if it exists
1138   - Updated doc/Platforms.txt
1139   - Enhance connection statistics counters: display total number of served
1140     connections on daemon shutdown and when a new client connects using
1141     the new numeric RPL_STATSCONN (250).
1142
1143   ngIRCd 16~rc1 (2010-03-25)
1144   - Various fixes to the build system and code cleanups.
1145   - contrib/platformtest.sh: Only show latest commit.
1146   - Updated doc/Platforms.txt, added new README-Interix.txt documenting
1147     how to tun ngIRCd on Microsoft Services for UNIX (MS SFU, MS SUA).
1148   - Updated links to the ngIRCd homepage (bug tracker, mailing list).
1149   - Added missing modes to USERMODES #define
1150   - Show our name (IRCD=ngIRCd) in ISUPPORT (005) numeric
1151   - Quote received messages of ERROR commands in log output.
1152   - ngircd.conf manual page: document missing "Password" variable.
1153   - Implement WEBIRC command used by some Web-IRC frontends. The password
1154     required to secure this command must be configured using the new
1155     "WebircPassword" variable in the ngircd.conf file.
1156   - Don't use port 6668 as example for both "Ports" and "SSLPorts".
1157   - Remove limit on max number of configured irc operators.
1158   - Only link "nsl" library when really needed.
1159   - A new channel mode "secure connections only" (+z) has been implemented:
1160     Only clients using a SSL encrypted connection to the server are allowed
1161     to join such a channel.
1162     But please note three things: a) already joined clients are not checked
1163     when setting this mode, b) IRC operators are always allowed to join
1164     every channel, and c) remote clients using a server not supporting this
1165     mode are not checked either and therefore always allowed to join.
1166
1167 ngIRCd 15 (2009-11-07)
1168
1169   - "ngircd --configtest": print SSL configuration options even when unset.
1170
1171   ngIRCd 15~rc1 (2009-10-15)
1172   - Do not add default listening port (6667) if SSL ports were specified, so
1173     ngIRCd can be configured to only accept SSL-encrypted connections now.
1174   - Enable IRC operators to use the IRC command SQUIT (instead of the already
1175     implemented but non-standard DISCONNECT command).
1176   - New configuration option "AllowRemoteOper" (disabled by default) that
1177     enables remote IRC operators to use the IRC commands SQUIT and CONNECT
1178     on the local server.
1179   - Mac OS X: fix test for packagemaker(1) tool in Makefile and use gcc 4.0
1180     for Mac OS X 10.4 compatibility in the Xcode project file.
1181   - Fix --with-{openssl|gnutls} to accept path names.
1182   - Fix LSB header of Debian init script.
1183   - Updated doc/Platforms.txt and include new script contrib/platformtest.sh
1184     to ease generating platform reports.
1185   - Fix connection information for already registered connections.
1186   - Enforce upper limit on maximum number of handled commands. This implements
1187     a throttling scheme: an IRC client can send up to 3 commands or 256 bytes
1188     per second before a one second pause is enforced.
1189   - Fix connection counter.
1190   - Fix a few error handling glitches for SSL/TLS connections.
1191   - Minor fixes to manual pages and documentation.
1192
1193 ngIRCd 14.1 (2009-05-05)
1194
1195   - Security: fix remotely triggerable crash in SSL/TLS code.
1196   - BSD start script contrib/ngircd.sh has been renamed to ngircd-bsd.sh.
1197   - New start/stop script for RedHat-based distributions:
1198     contrib/ngircd-redhat.init, thanks to Naoya Nakazawa <naoya@sanow.net>.
1199   - Doxygen: update source code repository link to GIT.
1200   - Debian: build ngircd-full-dbg package.
1201   - Allow ping timeout quit messages to show the timeout value.
1202   - Fix error handling on compressed links.
1203   - Fix server list announcement.
1204   - Do not remove host names from info text.
1205
1206 ngIRCd 14 (2009-04-20)
1207
1208   - Display IPv6 addresses as "[<addr>]" when accepting connections.
1209
1210   ngIRCd 14~rc1 (2009-03-29)
1211   - Updated Debian/Linux init script (see contrib/Debian/ngircd.init).
1212   - Allow creation of persistent modeless channels.
1213   - The INFO command reports the compile time now (if available).
1214   - Spell check and enhance ngIRCd manual pages.
1215   - Channel mode changes: break on syntax errors in MODE command.
1216   - Support individual channel keys for pre-defined channels: introduce
1217     new configuration variable "KeyFile" in [Channel] sections in ngircd.conf,
1218     here a file can be configured for each pre-defined channel which contains
1219     individual channel keys for different users.
1220   - Remove limit on maximum number of predefined channels in ngircd.conf.
1221   - Updated ngircd.spec file for building RPM packages.
1222   - Add new and missing files to Mac OS X Xcode project, and update project.
1223   - Reject masks with wildcard after last dot.
1224   - TLS/SSL: remove useless error message when ssl connection is closed.
1225   - Fix memory leak when a encrypted and compressed server link goes down.
1226     (closes bug #95, reported by Christoph, fiesh@fiesh.homeip.net)
1227   - Fix handling of channels containing dots.
1228     (closes bug #93, reported by Gonosz Csiga)
1229
1230 ngIRCd 13 (2008-12-25)
1231
1232   - Updated documentation, especially doc/Services.txt and doc/SSL.txt.
1233   - Make the test suite work on OpenSolaris.
1234
1235   ngIRCd 13~rc1 (2008-11-21):
1236   - New version number scheme :-)
1237   - Initial support for IRC services, using a RFC1459 style interface,
1238     tested with IRCServices (http://www.ircservices.za.net/) version 5.1.13.
1239     For this to work, ngIRCd now supports server-server links conforming
1240     to RFC 1459. New ngircd.conf(5) option: ServiceMask.
1241   - Support for SSL-encrypted server-server and client-server links using
1242     OpenSSL (configure: --with-openssl) or GNUTLS (configure: --with-gnutls).
1243     New ngircd.conf(5) options: SSLPorts, SSLKeyFile, SSLKeyFilePassword,
1244     SSLCertFile, SSLDHFile, and SSLConnect.
1245   - Server local channels have been implemented, prefix "&", that are only
1246     visible to users of the same server and are not visible in the network.
1247     In addition ngIRCd creates a "special" channel &SERVER on startup and logs
1248     all the messages to it that a user with mode +s receives.
1249   - New make target "osxpkg" to build a Mac OS X installer package.
1250   - Debug mode: enable support for GNU libc memory tracing (see mtrace(3)).
1251   - SysV init script: use LSB logging functions, if available.
1252   - Added some more FAQ entries (regarding logging and IRC operators).
1253   - Allow IRC operators to overwrite channel limits.
1254   - Support for enhanced PRIVMSG and NOTICE message targets.
1255   - More tests have been added to the test-suite ("make check"), and two
1256     servers are started for testing server-server linking.
1257   - Added a timestamp to log messages to the console.
1258   - New configuration option "NoIdent" to disable IDENT lookups even if the
1259     daemon is compiled with IDENT support.
1260
1261 ngIRCd 0.12.1 (2008-07-09)
1262
1263   - Allow mixed line terminations (CR+LF/CR/LF) in non-RFC-compliant mode
1264   - Don't allow stray \r or \n in command parameters
1265   - --configtest: return non-zero exit code if there are errors
1266   - Update ngIRCd manual pages
1267   - Add option aliases -V (for --version) and -h (for --help).
1268   - Fix 'no-ipv6' compile error.
1269   - Make Listen parameter a comma-separated list of addresses. This also
1270     obsoletes ListenIPv4 and ListenIPv6 options. If Listen is unset, it
1271     is treated as Listen="::,0.0.0.0".
1272     Note: ListenIPv4 and ListenIPv6 options are still recognized,
1273     but ngircd will print a warning if they are used in the config file.
1274
1275 ngIRCd 0.12.0 (2008-05-13)
1276
1277   - Fix Bug: 85: "WHO #SecretChannel" that user is not a member of now returns
1278     proper RPL_ENDOFWHO_MSG instead of nothing. (Ali Shemiran)
1279   - Fix compile on FreeBSD 5.4 and AIX.
1280   - If bind() fails, also print IP address and not just the port number.
1281
1282   ngIRCd 0.12.0-pre2 (2008-04-29)
1283   - IPv6: Add config options to disable ipv4/ipv6 support.
1284   - Don't include doc/CVS.txt in distribution archive, use doc/GIT.txt now!
1285   - Documentation: get rid of some more references to CVS, switch to GIT.
1286   - Get rid of cvs-version.* and CVSDATE definition.
1287   - Report ERR_NOTONCHANNEL when trying to part a channel one is not member of.
1288   - Testsuite: remove erroneous ConfUID setting in config file.
1289
1290   ngIRCd 0.12.0-pre1 (2008-04-20)
1291   - Include Mac OS X Xcode project in distribution archives.
1292   - Do not exit on SIGHUP or /REHASH if the config file cannot opened.
1293   - Add IPv6 support.
1294   - Install a LaunchDaemon script to start/stop ngIRCd on Mac OS X.
1295   - Implemented IRC commands INFO, SUMMON (dummy), and USERS (dummy) and
1296     enhanced test suite to check these commands. (Dana Dahlstrom)
1297   - RPL_WHOREPLY messages generated by IRC_WHO didn't include flags (*,@,+).
1298     (Dana Dahlstrom)
1299   - IRC_WHO now supports search patterns and will test this against user
1300     nickname/server name/host name, etc. as required by RFC 2812, Section 3.6.1.
1301     (reported by Dana Dahlstrom)
1302   - Add test cases for "WHO" command. (Dana Dahlstrom)
1303   - Implement RFC 2812 handling of "0" argument to 'JOIN': must be treated
1304     as if the user had sent PART commands for all channels the user is a
1305     member of. (Dana Dahlstrom)
1306   - Allow NOTICEs to be sent to a channel. (Fabian Schlager)
1307
1308 ngIRCd 0.11.1 (2008-02-26)
1309
1310   - Fix sending of JOIN commands between servers when remote server appended
1311     mode flags. (Rolf Eike Beer) [from HEAD]
1312   - Send "G" instead of "H" flag in WHO replies. (reported by Dana Dahlstrom)
1313   - Under some circumstances ngIRCd issued channel MODE message with a
1314     trailing space. (Dana Dahlstrom) [from HEAD]
1315
1316 ngIRCd 0.11.0 (2008-01-15)
1317
1318   ngIRCd 0.11.0-pre2 (2008-01-07)
1319   - SECURITY: IRC_PART could reference invalid memory, causing
1320     ngircd to crash [from HEAD]. (CVE-2008-0285)
1321
1322   ngIRCd 0.11.0-pre1 (2008-01-02)
1323   - Use dotted-decimal IP address if host name is >= 64.
1324   - Add support for /STAT u (server uptime) command.
1325   - New [Server] configuration Option "Bind" allows to specify
1326     the source IP address to use when connecting to remote server.
1327   - New configuration option "MaxNickLength" to specify the allowed maximum
1328     length of user nicknames. Note: must be unique in an IRC network!
1329   - Enhanced the IRC+ protocol to support an enhanced "server handshake" and
1330     enable server to recognize numeric 005 (ISUPPORT) and 376 (ENDOFMOTD).
1331     See doc/Protocol.txt for details.
1332   - Re-added doc/SSL.txt to distribution -- got lost somewhere!?
1333   - Fixes the wrong logging output when nested servers are introduced
1334     to the network as well as the wrong output of the LINKS command.
1335   - Update Mac OS X Xcode project file for Xcode 3.
1336   - Adjust test suite to be usable on HP/UX 11.11 :-)
1337   - Fix code to compile using K&R C compiler and ansi2kr again.
1338   - New config option NoDNS: Disables DNS lookups when clients connect.
1339   - Fixed propagation of channel mode 'P' on server links.
1340   - Numeric 317: implemented "signon time" (displayed in WHOIS result).
1341   - Fixed code that prevented GCC 2.95 to compile ngIRCd.
1342   - Adjust path names in manual pages according to "./configure" settings.
1343   - Added new server configuration option "Passive" for "Server" blocks to
1344     disable automatic outgoing connections (similar to -p option to ngircd,
1345     but only for the specified server). (Tassilo Schweyer)
1346   - Don't connect to a server if a connection to another server within the
1347     same group is already in progress.
1348   - Added support for the WALLOPS command. Usage is restricted to IRC
1349     operators.
1350
1351 ngIRCd 0.10.4 (2008-01-07)
1352
1353   - SECURITY: IRC_PART could reference invalid memory, causing
1354     ngircd to crash [from HEAD]. (CVE-2008-0285)
1355
1356 ngIRCd 0.10.3 (2007-08-01)
1357
1358   - SECURITY: Fixed a severe bug in handling JOIN commands, which could
1359     cause the server to crash. Thanks to Sebastian Vesper, <net@veoson.net>.
1360     (CVE-2007-6062)
1361
1362 ngIRCd 0.10.2 (2007-06-08)
1363
1364   ngIRCd 0.10.2-pre2 (2007-05-19)
1365   - Server links are allowed to use larger write buffers now (up to 50 KB).
1366
1367   ngIRCd 0.10.2-pre1 (2007-05-05)
1368   - Fix compressed server links (broken since 0.10.0).
1369   - Predefined Channel configuration now allows specification of channel key
1370     (mode k) and maximum user count (mode l).
1371   - When using epoll() IO interface, compile in the select() interface as
1372     well and fall back to it when epoll() isn't available on runtime.
1373   - New configure option "--without-select" to disable select() IO API
1374     (even when using epoll(), see above).
1375   - Added support for IO APIs "poll()" and "/dev/poll".
1376   - Reorganized internal handling of invite and ban lists.
1377
1378 ngIRCd 0.10.1 (2006-12-17)
1379
1380   - Fixed validation of server names containing digits.
1381   - Update the "info text" of the local server after re-reading configuration.
1382   - Changed Numerics 265 and 266 to follow ircd 2.11.x "standards".
1383   - Allow PASS syntax defined in RFC 1459 for server links, too.
1384   - Enhanced ISUPPORT message (005 numeric).
1385   - New configuration option "PredefChannelsOnly": if set, clients can only
1386     join predefined channels.
1387   - Code cleanups: use "LogDebug(...)" instead of "Log(LOG_DEBUG, ...)", use
1388     "strcspn()", unsigned vs. signed, use "const", fix whitespaces, ...
1389
1390 ngIRCd 0.10.0 (2006-10-01)
1391
1392   - Fixed file handle leak when daemon is not able to send MOTD to a client.
1393
1394   ngIRCd 0.10.0-pre2 (2006-09-09)
1395   - Fixed build problems with GCC option -fstack-protector.
1396   - Minor documentation updates.
1397
1398   ngIRCd 0.10.0-pre1 (2006-08-02)
1399   - Validate "ServerName" (see RFC 2812, section 2.3.1).
1400   - Enhanced DIE to accept a single parameter ("comment text") which is sent
1401     to all locally connected clients before the server goes down.
1402   - The ngIRCd handles time shifts backwards more gracefully now (the
1403     timeout handling doesn't disconnect clients by mistake any more).
1404   - Internal: Restructured connection handling (the connection ID is equal
1405     to the file descriptor of the connection).
1406   - Internal: Simplified resolver code.
1407   - JOIN now supports more than one channel key at a time.
1408   - Implemented numeric "333": Time and user name who set a channel topic.
1409   - Enhanced the handler for PING and PONG commands: fix forwarding and enable
1410     back-passing of a client supplied additional argument of PING.
1411   - Changed handling of timeouts for unregistered connections: don't reset
1412     the counter if data is received and disconnect clients earlier.
1413   - Removed unnecessary #define of "LOCAL", now use plain C "static" instead.
1414   - Channel topics are no longer limited to 127 characters: now the only limit
1415     is the maximum length of an IRC command, i. e. 512 bytes (in practice, this
1416     limits the topic to about 490 characters due to protocol overhead).
1417   - Reverse DNS lookup code now checks the result by doing an additional
1418     lookup to prevent spoofing.
1419   - Added new IO layer which (optionally) supports epoll() and kqueue() in
1420     addition to the select() interface.
1421
1422 ngIRCd 0.9.2 (2005-10-15)
1423
1424   - Fixed a bug that could cause the daemon to crash when outgoing server
1425     connections can't be established.
1426   - Fixed a bug that caused the daemon to leak file descriptors when no
1427     resolver subprocesses could be created.
1428   - Fixed server NOTICEs to users with "s" mode ("server messages").
1429   - Fixed a format string bug in "connection statistics" messages to clients.
1430
1431 ngIRCd 0.9.1 (2005-08-03)
1432
1433   - The KILL command killed much more than desired (including server links!)
1434     when the target user is connected to a remote server. Bug introduced in
1435     ngIRCd 0.9.0 ...  Reported by <qssl@fastmail.fm>, Thanks!
1436   - Changed some constants to be "signed" (instead of unsigned) to solve
1437     problems with old (pre-ANSI) compilers.
1438
1439 ngIRCd 0.9.0 (2005-07-24)
1440
1441   ngIRCd 0.9.0-pre1 (2005-07-09)
1442   - Fixed maximum length of user names, now allow up to 9 characters.
1443   - Cut off oversized IRC messages that should be sent to the network instead
1444     of shutting down the (wrong) connection.
1445   - Don't generate error messages for unknown commands received before the
1446     client is registered with the server (like the original ircd).
1447   - Never run with root privileges but always switch the user ID.
1448   - Make "netsplit" messages RFC compliant.
1449   - Fix handling of QUIT Messages: send only one message, even if the client
1450     is member of multiple channels.
1451   - Don't exit server if closing of a socket fails; instead ignore it and
1452     pray that this will be "the right thing" ...
1453   - Implemented the IRC function "WHOWAS".
1454   - Don't enable assert() calls when not ./configure'd with --enable-debug.
1455   - Fixed ./configure test for TCP Wrappers: now it runs on Mac OS X as well.
1456   - Enhanced configure script: now you can pass an (optional) search path
1457     to all --with-XXX parameters, e. g. "--with-ident=/opt/ident".
1458   - Removed typedefs for the native C data types.
1459     Use stdbool.h / inttypes.h if available.
1460   - New configuration option "OperServerMode" to enable a workaround needed
1461     when running an network with ircd2 servers and "OperCanUseMode" enabled
1462     to prevent the ircd2 daemon to drop mode changes of IRC operators.
1463     Patch by Florian Westphal, <westphal@foo.fh-furtwangen.de>.
1464   - Implemented support for "secret channels" (channel mode "s").
1465   - New configuration option "Mask" for [Operator] sections to limit OPER
1466     commands to users with a specific IRC mask. Patch from Florian Westphal.
1467   - Write "error file" (/tmp/ngircd-XXX.err) only if compiled with debug
1468     code ("--enable-debug") and running as daemon process.
1469   - Don't create version information string each time a client connects
1470     but instead on server startup. By Florian Westphal.
1471   - New configuration variable "PidFile", section "[Global]": if defined,
1472     the server writes its process ID (PID) to this file. Default: off.
1473     Idea of Florian Westphal, <westphal@foo.fh-furtwangen.de>.
1474   - Code cleanups from Florian Westphal, <westphal@foo.fh-furtwangen.de>.
1475   - Raised the maximum length of passwords to 20 characters.
1476   - Fixed a memory leak when resizing the connection pool and realloc()
1477     failed. Now we don't fall back to malloc(), which should be sane anyway.
1478     Patch from Florian Westphal, <westphal@foo.fh-furtwangen.de>.
1479   - Added support for the Howl (http://www.porchdogsoft.com/products/howl/)
1480     Rendezvous API, in addition to the API of Apple (Mac OS X). The available
1481     API will be autodetected when you call "./configure --with-rendezvous".
1482   - Made ngIRCd compile on HP/UX 10.20 with native HP pre-ANSI C compiler and
1483     most probably other older C compilers on other systems.
1484   - When the daemon should switch to another user ID (ServerID is defined in
1485     the configuration file) and is not running in a chroot environment, it
1486     changes its working directory to the home directory of this user. This
1487     should enable the system to write proper core files when not running with
1488     root privileges ...
1489
1490 ngIRCd 0.8.3 (2005-02-03)
1491
1492   - Fixed a bug that could case a root exploit when the daemon is compiled
1493     to do IDENT lookups and is logging to syslog. Bug discovered by CoKi,
1494     <coki@nosystem.com.ar>, thanks a lot!
1495     (CVE-2005-0226; http://www.nosystem.com.ar/advisories/advisory-11.txt)
1496
1497 ngIRCd 0.8.2 (2005-01-26)
1498
1499   - Added doc/SSL.txt to distribution.
1500   - Fixed a buffer overflow that could cause the daemon to crash. Bug found
1501     by Florian Westphal, <westphal@foo.fh-furtwangen.de>. (CVE-2005-0199)
1502   - Fixed a possible buffer underrun when reading the MOTD file. Thanks
1503     to Florian Westphal, <westphal@foo.fh-furtwangen.de>.
1504   - Fixed detection of IRC lines which are too long to send. Detected by
1505     Florian Westphal, <westphal@foo.fh-furtwangen.de>.
1506   - Fixed return values of our own implementation of strlcpy(). The code has
1507     been taken from rsync and they fixed it, but we didn't until today :-/
1508     It has only been used when the system didn't implement strlcpy by itself,
1509     not on "modern" systems. Florian Westphal, <westphal@foo.fh-furtwangen.de>.
1510
1511 ngIRCd 0.8.1 (2004-12-25)
1512
1513   - Autoconf: Updated config.guess and config.sub
1514   - Added some more debug code ...
1515   - Fixed wrong variable names in output of "ngircd --configtest".
1516   - Debian: Fixed the name of the "default file" in the init script for
1517     ngircd-full packages. And do the test if the binary is executable after
1518     reading this file.
1519   - Enhanced the "test suite": please have a look at src/testsuite/README!
1520
1521 ngIRCd 0.8.0 (2004-06-26)
1522
1523   - Fixed wrong buffer size calculation for results of the resolver.
1524
1525   ngircd 0.8.0-pre2 (2004-05-16)
1526   - Enhanced logging to console when running in "no-detached mode": added
1527     PID and log messages of resolver sub-processes.
1528   - Fixed host name lookups when using IDENT user lookups.
1529   - "make clean" and "make maintainer-clean" remove more files now.
1530
1531   ngIRCd 0.8.0-pre1 (2004-05-07)
1532   - Two new configuration options: "ChrootDir" and "MotdPhrase", thanks to
1533     Benjamin Pineau <ben@zouh.org>. Now you can force the daemon to change
1534     its root and working directory to something "safe". MotdPhrase is used
1535     to define an "MOTD string" instead of a whole file, useful if the
1536     "real" MOTD file would be outside the "jail".
1537   - INVITE- and BAN-lists become synchronized between IRC+ servers when
1538     establishing new connections, if the peer supports this as well.
1539   - Reorganized autogen.sh and configure scripts.
1540   - Fixed a wrong assert() which could cause the daemon to exit spuriously
1541     when closing down connections.
1542   - Better logging of decompression errors returned by zlib.
1543   - Servers other than the destination server didn't clean up the invite
1544     list of an "invite-only" channel properly when an INVITE'd user joined.
1545   - Changed the reply of the MODE command to match the syntax of the
1546     original ircd exactly: the unnecessary but missing ":" before the last
1547     parameter has been added.
1548   - Fixed TRACE: don't output "Serv" lines for ourself; display more info.
1549   - Results of the resolver (host names and IDENT names) are discarded after
1550     the client is successfully registered with the server.
1551   - Better logging while establishing and shutting down connections.
1552   - The type of service (TOS) of all sockets is set to "interactive" now.
1553   - Added short command line option "-t" as alternative to "--configtest".
1554   - Added optional support for "IDENT" lookups on incoming connections. You
1555     have to enable this function with the ./configure switch "--with-ident".
1556     The default is not to do IDENT lookups.
1557
1558 ngIRCd 0.7.7 (2004-02-05)
1559
1560   - The info text ("real name") of users is set to "-" if none has been
1561     specified using the USER command (e. g. "USER user * * :"). Reason:
1562     the original ircd doesn't like empty ones and would KILL such users.
1563   - Fixed (optional) TCP Wrapper test which was broken and could result in
1564     false results. Thanks to Fuminori Tanizaki <tany@mcnet.ad.jp>!
1565   - Removed "USE_" prefixes of configuration #defines.
1566
1567 ngIRCd 0.7.6 (2003-12-05)
1568
1569   - Fixed abort() ("server crash") when INVITE'ing users to nonexistent
1570     channels. Bug found by <hiddenx@wp.pl>.
1571   - Extended version numbering of CVS versions (added date).
1572   - Enhanced/fixed doc/Protocol.txt;
1573
1574 ngIRCd 0.7.5 (2003-11-07)
1575
1576   - Fixed ban behavior: users which are banned from a channel can't no
1577     longer send PRIVMSG's to this channel (fixes Bug #47).
1578   - Fixed and enhanced the "penalty handling" of the server: commands that
1579     require more resources block the client for a short time.
1580   - Changed the internal time resolution to one second.
1581   - New configuration variable "MaxConnectionsIP" to limit the number of
1582     simultaneous connections from a single IP that the server will accept.
1583     This configuration options lowers the risk of denial of service attacks
1584     (DoS), the default is 5 connections per client IP.
1585   - Fixed build problems under Mac OS X 10.3.
1586   - Use "-pipe" when compiling with gcc, speeds things up a little :-)
1587   - Added new configuration variable "Listen" to bind all listening
1588     sockets of the server to a single IP address.
1589   - Suppress misleading error message of diff during make run.
1590   - Enhanced test-suite and made it work on GNU/Hurd.
1591   - Fixed minor typo in debug output :-)
1592
1593 ngIRCd 0.7.1 (2003-07-18)
1594
1595   - Included files to build Debian packages (located in "debian/").
1596   - Updated config.guess and config.sub to newer upstream versions.
1597   - NJOIN propagates user channel modes correctly again ... Upsa.
1598   - Made Makefile more compatible with "make -j<n>".
1599   - Added support for GNU/Hurd.
1600   - Fixed a compiler warning related to an unnecessary assert().
1601   - Enhanced VERSION command when using debug versions.
1602
1603 ngIRCd 0.7.0 (2003-05-01)
1604
1605   - "ServerName" is checked better now: a dot (".") is required.
1606   - The KILL command verifies and logs more parameters.
1607
1608   ngIRCd 0.7.0-pre2 (2003-04-27)
1609   - CVS build system fixes (made autogen.sh more portable).
1610   - Fixed compilation and test-suite on Solaris (tested with 2.6).
1611   - New documentation file "doc/Platforms.txt" describing the status of
1612     ngIRCd on the various tested platforms.
1613   - Test for broken GCC on Mac OS X and disable "-pedantic" in this case.
1614   - Disable "-ansi" on Cygwin: system headers are incompatible.
1615   - The server tried to connect to other servers only once when DNS or
1616     socket failures occurred.
1617   - Fixed --configtest: There is no variable "ServerPwd", it's "Password".
1618
1619   ngIRCd 0.7.0-pre1 (2003-04-22)
1620   - New signal handler (more secure, actions are executed outside).
1621   - GCC: the compiler is now called with more warning options enabled.
1622   - Replaced a lot of str[n]cpy(), str[n]cat() and sprintf() calls with the
1623     more secure functions strlcpy(), strlcat() and snprintf(). On systems
1624     that don't support strlcpy() and strlcat(), these functions are included
1625     in the libngportab now (with prototypes in portab.h).
1626   - If the server can't close a socket, it panics now. This is an error that
1627     can't occur during normal operation so there is something broken.
1628   - The order of log messages during disconnects is more "natural" now ;-)
1629   - Cleaned up handling of server configuration structures: modifying and
1630     removing servers during runtime works more reliable now.
1631   - Compression code from "conn.[ch]" is now found in new "conn-zip.[ch]"
1632   - Moved some connection functions from "conn.[ch]" to "conn-func.[ch]".
1633   - New command CONNECT to enable and add server links. The syntax is not
1634     RFC-compatible: use "CONNECT <name> <port>" to enable and connect an
1635     configured server and "CONNECT <name> <port> <host> <mypwd> <peerpwd>"
1636     to add a new server (ngIRCd tries to connect new servers only once!).
1637   - Added DISCONNECT command ("DISCONNECT <name>") to disable servers.
1638   - Restructured the documentation: Now the main language is English. The
1639     German documentation has been removed (until there is a maintainer).
1640   - Enhanced killing of users caused by a nickname collision.
1641   - Better error detection for status code ("numerics") forwarding.
1642   - Moved tool functions to own library: "libngtool".
1643   - New command TRACE (you can trace only servers at the moment).
1644   - New command HELP that lists all understood commands.
1645   - There should no longer remain "unknown connections" (see e.g. LUSERS)
1646     if an outgoing server link can't be established.
1647   - Added AC_PREREQ(2.50) to configure.in for better autoconf compatibility.
1648   - Conn_Close() now handles recursive calls for the same link correctly.
1649   - ngIRCd can register itself with Rendezvous: to enable support pass the
1650     new switch "--with-rendezvous" to configure.
1651   - Added support for TCP Wrappers library: pass "--with-tcp-wrappers" to
1652     configure to enable it.
1653   - Changed some configure options to use "--with"/"--without" as prefix
1654     instead of "--enable"/"--disable": "--without-syslog", "--without-zlib",
1655     "--with-tcp-wrappers", and "--with-rendezvous".
1656   - Better error reporting to clients on connect.
1657   - Enhanced manual pages ngircd(8) and ngircd.conf(5).
1658   - Documentation is now installed in $(datadir)/doc/ngircd.
1659   - Enhanced handling of NJOIN in case of nick collisions.
1660
1661 ngIRCd 0.6.1 (2003-01-21)
1662
1663   - Fixed KILL: you can't crash the server by killing yourself any more,
1664     ngIRCd no longer sends a QUIT to other servers after the KILL, and you
1665     can kill only valid users now.
1666   - The server no longer forwards commands to ordinary users, instead it
1667     answers with the correct error message ("no such server") now.
1668   - WHOIS commands weren't always forwarded as requested.
1669   - The server sets a correct default AWAY message now when propagating
1670     between servers (bug introduced in 0.6.0).
1671   - Fixed up and enhanced CHANINFO command: channel keys and user limits
1672     are synchronized between servers now, too.
1673   - MODE returns the key and user limit for channel members correctly now.
1674   - Non-members of a channel could crash the server when trying to change
1675     its modes or modes of its members.
1676   - The server didn't validate weather a target user is a valid channel
1677     member when changing his channel user modes which could crash ngIRCd.
1678
1679
1680 Older changes (sorry, only available in German language):
1681
1682 ngIRCd 0.6.0, 24.12.2002
1683
1684   ngIRCd 0.6.0-pre2, 23.12.2002
1685   - neuer Numeric 005 ("Features") beim Connect.
1686   - LUSERS erweitert: nun wird die maximale Anzahl der lokalen und globalen
1687     Clients, die dem Server bzw. im Netzwerk seit dem letzten (Re-)Start
1688     dem Server gleichzeitig bekannt waren, angezeigt.
1689
1690   ngIRCd 0.6.0-pre1, 18.12.2002
1691   - beim Schliessen einer Verbindung zeigt der Server nun vor dem ERROR
1692     noch eine Statistik ueber die empfangene und gesendete Datenmenge an.
1693   - der Server wartet bei einer eingehenden Verbindung nun laenger auf den
1694     Resolver (4 Sekunden), wenn das Ergebnis eintrifft setzt er aber den
1695     Login sofort fort (bisher wurde immer mind. 1 Sekunde gewartet).
1696   - Connection-Strukturen werden nun "pool-weise" verwaltet; der Pool wird
1697     bei Bedarf bis zu einem konfigurierten Limit vergroessert.
1698   - Mit der neuen Konfigurationsvariable "MaxConnections" (Sektion "Global")
1699     kann die maximale Anzahl gleichzeitiger Verbindungen begrenzt werden.
1700     Der Default ist -1, "unlimitiert".
1701   - der Server erkennt nun, ob bereits eine eingehende Verbindung von einem
1702     Peer-Server besteht und versucht dann nicht mehr, selber eine eigene
1703     ausgehende Verbindung zu diesem auufzubauen. Dadurch kann nun auf beiden
1704     Servern in der Konfiguration ein Port fuer den Connect konfiguriert
1705     werden (beide Server versuchen sich dann gegenseitig zu connectieren).
1706   - Test-Suite und Dokumentation an A/UX angepasst.
1707   - unter HP-UX definiert das configure-Script nun _XOPEN_SOURCE_EXTENDED.
1708   - Server identifizieren sich nun mit asynchronen Passwoertern, d.h. das
1709     Passwort, welches A an B schickt, kann ein anderes sein als das, welches
1710     B als Antwort an A sendet. In der Konfig.-Datei, Abschnitt "Server",
1711     wurde "Password" dazu durch "MyPassword" und "PeerPassword" ersetzt.
1712   - Der Server kann nun zur Laufzeit die Konfiguration neu einlesen: dies
1713     macht er nach dem Befehl REHASH oder wenn ein HUP-Signal empfangen wird.
1714   - Channel-Mode "P" ("persistent") kann nur noch von IRC-Operatoren gesetzt
1715     werden. Grund: User koennen den Server sonst leicht "Channel-Flooden".
1716   - MOTD kann nun an andere Server geforwarded werden.
1717   - IRC-Befehl "TIME" implementiert.
1718   - Server-Server-Links koennen nun komprimiert werden, dazu wird die zlib
1719     (www.zlib.org) benoetigt. Unterstuetzt die Gegenseite die Komprimierung
1720     nicht, wird automatisch unkomprimiert kommuniziert. Das Verfahren ist
1721     kompatibel mit dem Original-ircd 2.10.3, d.h. beide Server koennen
1722     miteinander ueber komprimiert Links kommunizieren.
1723   - Handling der Schreibpuffer umgestellt: Server sollte schneller arbeiten.
1724   - Prefix-Fehler werden besser protokolliert (mit verursachendem Befehl).
1725   - SQUIT wird nicht mehr doppelt an andere Server weitergeleitet.
1726   - Der Server versucht nun vor dem Schliessen einer Verbindung Daten, die
1727     noch im Schreibpuffer stehen, zu senden.
1728   - Source in weiteres Modul "irc-info" aufgespalten.
1729   - Konfigurationsvariablen werden besser validiert: Laengen, Zahlen, ...
1730   - neuen Befehl STATS begonnen: bisher unterstuetzt wird "l" und "m".
1731   - bei ISON und USERHOST fehlte im Ergebnis-String der korrekte Absender.
1732   - IRC Operatoren koennen nun mit KILL User toeten. Achtung: ein Grund muss
1733     zwingend als zweiter Parameter angegeben werden!
1734   - neue Konfigurations-Variable "MaxJoins": Hiermit kann die maximale Zahl
1735     der Channels, in denen ein User Mitglied sein kann, begrent werden.
1736   - neuer, deutlich flexiblerer Parser fuer den MODE Befehl.
1737   - neue Channel-Modes l (User-Limit) und k (Channel-Key) implementiert.
1738
1739 ngIRCd 0.5.4, 24.11.2002
1740
1741   - Fehler-Handling von connect() gefixed: der Server kann sich nun auch
1742     unter A/UX wieder zu anderen verbinden.
1743   - in den Konfigurationsvariablen ServerUID und ServerGID kann nun nicht
1744     nur die numerische ID, sondern auch der Name des Users bzw. der Gruppe
1745     verwendet werden. Beim Start des Daemons wird nun beides angezeigt.
1746   - Besseres Logging von Prefix-Fehlern.
1747   - angenommene Sockets werden nun korrekt auf "non-blocking" konfiguriert,
1748     beim Senden und Empfangen werden Blockierungen besser abgefangen.
1749   - RPL_UMODEIS hat Code 221, nicht 211 ... *argl*
1750   - select() in Try_Write() hat falschen (keinen!) Timeout verwendet;
1751     die "Zeit-Aufloesung" des Servers sind zudem nun 2 Sekunden (TIME_RES).
1752     Insgesamt sollte die Reaktionszeit des Server nun besser sein.
1753
1754 ngIRCd 0.5.3, 08.11.2002
1755
1756   - NOTICE liefert nun wirklich nie mehr einen Fehler, auch dann nicht,
1757     wenn der sendende Client noch gar nicht registriert ist.
1758   - ein "schneller Server-Reconnect" wird nur noch dann versucht, wenn die
1759     Verbindung zuvor ordentlich (="lange genug") in Ordnung war; somit also
1760     nicht meht, wenn der Peer-Server gleich beim Connect ein ERROR liefert.
1761     Das vermeidet "Connect-Orgien".
1762   - einige Datentypen aufgeraumt: z.B. sind viele INT32s nun LONGs. Das ist
1763     auf Platformen mit 8-Byte-Integern kompatibler.
1764   - RPL_YOURHOST_MSG ist nun ircII- und RFC-kompatibel ;-)
1765   - Segfault unter hoher Netzaktivitaet behoben: in Conn_Close() wird die
1766     Connection-Struktur nun frueher als "ungueltig" markiert.
1767
1768 ngIRCd 0.5.2, 04.10.2002
1769
1770   - Buffer Overflow in Read_Resolver_Result() behoben.
1771   - Format-String-Bugs, die zum Abbruch des Servers fuehrten, behoben.
1772   - Maximale Laenge eines IRC-Prefix wurde falsch berechnet.
1773
1774 ngIRCd 0.5.1, 03.10.2002
1775
1776   - in RPL_YOURHOST_MSG wurde ein fehlerhafter Versionsstring geliefert.
1777   - Test-Suite: start-server.sh, stop-server.sh und stress-server.sh koennen
1778     nun "manuell" von der Kommandozeile gestartet werden, stress-server.sh
1779     startet per Default nur noch 5 Sessions, eine andere Zahl kann auf der
1780     Kommandozeile uebergeben werden (Syntax: "stress-server.sh <count>").
1781   - In bestimmten Faellen hat der Server versucht auf einen bereits wieder
1782     geschlossenen Socket Daten zu schreiben; das fuehrte zu einem Abbruch des
1783     Servers durch ein assert(). Nun wird geprueft, ob der Socket noch ok ist.
1784   - im "contrib"-Verzeichnis befindet sich nun eine RPM-Spec-Datei, aus den
1785     .tar.gz's koennen nun mit "rpm -ta <archiv>" RPM's erzeugt werden. Danke
1786     an Sean Reifschneider <jafo@tummy.com>!
1787   - Syntax von RPL_MYINFO_MSG korrigiert: liefert nun vier Parameter.
1788
1789 ngIRCd 0.5.0, 20.09.2002
1790
1791   - Dokumentation aktualisiert.
1792   - Fehler bei Validierung von "AdminInfo2" behoben.
1793   - Test der Flags fuer "ps" in der Testsuite verbessert, ist nun zu mehr
1794     Plattformen kompatibler.
1795
1796   ngIRCd 0.5.0-pre2, 17.09.2002
1797   - Fix in IRC_WriteStrServersPrefix() war "badly broken" -- behoben.
1798
1799   ngIRCd 0.5.0-pre1, 16.09.2002
1800   - Manual-Pages ngircd.8 und ngircd.conf.5 begonnen.
1801   - Wird der Netzwerk-Sniffer aktiviert (--sniffer), so schaltet der
1802     ngIRCd nun automatisch in den Debug-Modus.
1803   - auf Systemen, die inet_aton() nicht kennen (wie z.B. A/UX), kann der
1804     ngIRCd nun dennoch auch aktiv Server-Links aufbauen.
1805   - h_errno wird auf Systemen, die das nicht kennen (wie z.B. HP-UX 10.20)
1806     nicht mehr verwendet. Somit compiliert der ngIRCd nun auch dort :-)
1807   - um auf dem Ziel-System nicht vorhandene Funktionen nachzubilden wird nun
1808     die "libngportab" erzeugt; genutzt wird dies bisher fuer vsnprintf().
1809     Nun compiliert der ngIRCd auch unter Solaris 2.5.1.
1810   - "persistente Channels" (Mode 'P') implementiert: diese koennen in der
1811     Konfigurationsdatei definiert werden (Sektion "Channel", vgl. Beispiel-
1812     Konfiguration "sample-ngircd.conf") und bleiben auch dann bestehen,
1813     wenn kein User mehr im Channel ist. Zu Channel-Operatoren werden bisher
1814     nur IRC-Operatoren, die den Channel betreten. Die persistenten Channels
1815     werden durch das Flag "P" gelennzeichnet, welches normal durch Channel-
1816     Op's gesetzt und geloescht werden kann.
1817   - bei "--configtest" werden keine leere Abschnitte mehr ausgegeben.
1818   - Source in weitere Module aufgespalten: lists, irc-op und resolve.
1819   - #include's aufgeraeumt: Header includieren keine anderen mehr.
1820   - KICK implementiert (bisher kann nur ein User aus einem Channel geckicked
1821     werden, Listen, wir im RFC vorgesehen, werden bisher nicht unterstuetzt).
1822   - INVITE, den Channel-Mode "i" sowie Invite-Lists ueber den MODE-Befehl
1823     (setzen, erfragen und loeschen) implementiert.
1824   - Source an ansi2knr fuer pre-ANSI-Compiler angepasst; ansi2knr in Source-
1825     Tree aufgenommen und in Build-System integriert; der ngIRCd compiliert
1826     nun z.B. unter A/UX mit dem nativen Compiler von Apple.
1827   - TOPIC lieferte bei unbekanntem Channel einen falschen Fehlercode.
1828   - LIST versteht nun Wildcards und kann an andere Server geforwarded werden.
1829   - wurde ein KILL fuer nicht-lokale Clients empfangen, so wurden die
1830     Verwaltungs-Strukturen nicht korrekt freigegeben.
1831   - empfangene NJOIN's wurden "zerhackt" an andere Server weitergegeben.
1832   - neue Konfigurationsoption "OperCanUseMode" (Sektion "Global"):
1833     ist sie aktiv, koennen IRC-Operatoren immer Channel-Modes setzen.
1834   - Dokumentation des neuen IRC+-Protokolls begonnen: doc/Protocol.txt
1835   - Protokoll- und Server-ID bei PASS-Befehlen auf neues Format umgestellt;
1836     bei empfangenen PASS-Befehlen werden diese zudem nun auch ausgewertet.
1837     Die unterstuetzten Flags sind in doc/Protocol.txt beschrieben.
1838   - mit dem neuen Befehl CHANINFO synchronisieren Server, die das IRC+-
1839     Protokoll unterstuetzen, Channel-Modes und Topics.
1840   - neue Option "--disable-ircplus" fuer das configure-Script, um das
1841     IRC+-Protokoll abzuschalten (per Default ist es aktiviert).
1842   - Ban-Lists (setzen, erfragen und loeschen) implementiert.
1843   - wird der Server mit "-n"/"--nodaemon" gestartet, so werden keine Mel-
1844     dungen mehr ueber Syslog ausgegeben, sondern nur noch auf der Konsole.
1845   - "Test-Suite" begonnen (in "make check" integriert): Dabei wird ein
1846     speziell konfigurierter Server auf Port 6789 gestartet, mit dem dann
1847     einige Tests durchgefuehrt werden (u.a. "Stress-Test" mit 50 Clients).
1848   - zu lange Operator-Namen in der Konfiguration wurden falsch gekuerzt.
1849   - kleine Anpassung an AIX 3.2.5: nun laeuft der ngIRCd auch dort :-)
1850   - ADMIN-Befehl implementiert. Die Daten hierzu werden in der Konfig-Datei
1851     im [Global]-Abschnitt mit den Variablen "AdminInfo1", "AdminInfo2" und
1852     "AdminEMail" konfiguriert.
1853
1854 ngIRCd 0.4.3, 11.06.2002
1855
1856   - Bei PRIVMSG und NOTICE hat der ngIRCd nicht ueberpruft, ob das Ziel
1857     ueberhaupt ein User ist. War es keiner, so fuehrte dies zu einem
1858     Abbruch des Servers [es wurde assert() aufgerufen].
1859
1860 ngIRCd 0.4.2, 29.04.2002
1861
1862   - LUSERS verzaehlt sich bei eigenen Server-Links nicht mehr.
1863   - QUIT wird nun auch von noch nicht registrierten Clients akzeptiert.
1864   - IRC-Funktion LIST implementiert; bisher werden allerdings noch keine
1865     Wildcards (bis auf "*") unterstuetzt.
1866
1867 ngIRCd 0.4.1, 08.04.2002
1868
1869   - Bei Server-Links wird nicht mehr an Hand der Anzahl der Parameter
1870     eines empfangenen SERVER-Befehls, sondern "intern" erkannt, ob es
1871     sich um eine ein- oder ausgehende Verbindung handelt und somit das
1872     eigene PASS-SERVER-Paar gesendet werden muss oder nicht. Da sich
1873     verschiedene Versionen des Original-ircd's anders verhalten, schlug
1874     die Anmeldung je nach Gehenseite evtl. fehl.
1875   - Bei einem NICK-Befehl eines lokalen Client konnte der Server ab-
1876     stuerzen, da ein Format-String einer Log-Meldung fehlerhaft war.
1877
1878 ngIRCd 0.4.0, 01.04.2002
1879
1880   - IRC-Befehle nochmal auf weitere Source-Dateien aufgespalten.
1881   - WHO implementiert (bisher ohne komplette Unterstuetzung von Masks).
1882   - Der AWAY-Mode wurde nicht ueber mehrere Server-Links weitergegeben.
1883   - stderr wird nun in eine Datei umgelenkt (/tmp/ngircd-<PID>.err).
1884     Laeuft der Server nicht im Debug-Modus, so wird diese bei Programm-
1885     ende geloescht. Sollte der Server abstuerzen, finden sich hier evtl.
1886     zusaetzliche Informationen.
1887   - In Nicknames wird das Zeichen "-" nun als zulaessig erkannt.
1888   - die Beispiel-Konfigurationsdatei (doc/sample-ngircd.conf) wird als
1889     ngircd.conf installiert, wenn noch keine "echte" Konfigurationsdatei
1890     vorhanden ist.
1891   - bei WHO, WHOIS und NAMES wird nun nur noch der Status "Operator" oder
1892     "voiced" geliefert -- nicht mehr beides.
1893   - Server-Gruppen implementiert: es wird immer nur zu einem Server in
1894     einer Gruppe eine Verbindung aufgebaut, klappt es beim ersten Server
1895     nicht, so wird der naechste probiert (Variable "Group" in der Kon-
1896     figurationsdatei, Sektion [Server]).
1897   - IRC_PING() ist, wenn nicht im "strict RFC"-Mode, toleranter und ak-
1898     zeptiert beliebig viele Parameter (z.B. BitchX sendet soetwas).
1899   - die "Portab-Header" werden nicht mehr benoetigt, die System-Erkennung
1900     wird nun ausschliesslich vom configure-Script durchgefuehrt. System-
1901     abhaengige Definitionen finden sich nun unter src/portrab/.
1902   - Clients und Channels werden nicht mehr ueber ihren Namen, sondern
1903     einen Hash-Wert gesucht: sollte deutlich schneller sein.
1904   - neuer Kommandozeilen-Parameter "--configtest": die Konfiguration wird
1905     gelesen und dann die verwendeten Werte angezeigt.
1906   - Client-Mode "s" (Server Notices) implementiert.
1907   - mit dem neuen Kommandozeilen-Parameter "--config"/"-f" kann eine
1908     alternative Konfigurationsdatei angegeben werden.
1909   - nach dem Start kann der ngIRCd, wenn er mit root-Rechten laeuft,
1910     zu einer anderen User-ID und Group-ID wechseln.
1911   - URL der Homepage wird u.a. bei "--version" mit angezeigt.
1912
1913 ngIRCd 0.3.0, 02.03.2002
1914
1915   - bekommt der Server ein HUP-Signal, so startet er neu -- genau so, wie
1916     er auf den IRC-Befehl RESTART reagiert.
1917   - FAQ um Hinweise auf den Bugtracker erweitert.
1918   - neuer Kommandozeilen-Schalter "--passive" (-p): wird er angegeben, so
1919     verbindet sich der ngIRCd nicht mehr automatisch zu anderen Servern.
1920     Zum Debuggen manchmal ganz praktisch :-)
1921   - direkt nach dem Start schreibt der ngIRCd nun die aktiven Kommando-
1922     zeilenschalter in's Logfile (Passive, Debug, Sniffer ...).
1923   - das Signal-Flag SA_RESTART wird nur noch gesetzt, wenn es auf dem
1924     jeweiligen System auch definiert ist.
1925   - bei ausgehenden Verbindungen wird nun der Ziel-Port protokolliert.
1926   - neue Befehle VERSION und KILL implementiert.
1927   - make-Target "check" (und "distcheck") mit Sinn erfuellt :-)
1928     (die Tests sind aber bisher nicht all zu tiefgehend ...)
1929   - Durch einen Ueberlauf konnte die Idle-Time bei WHOIS negativ werden ...
1930   - Anpassungen an A/UX: gehoert nun auch zu den unterstuetzten Platformen.
1931   - WHOIS wird nicht mehr automatisch an den "Original-Server" weiterge-
1932     leitet: war eh nicht RFC-konform und machte mit Clients Probleme.
1933   - an User wird nun immer ein "komplettes" Prefix (mit Host-Mask) ver-
1934     schickt, Server bekommen nach wie vor kurze: das "Original" hat bei
1935     bestimmten Befehlen (PRIVMSG) ansonsten evtl. Probleme ...
1936   - NAMES korrigiert und vollstaendig implementiert.
1937   - SQUIT wird auf jeden Fall geforwarded, zudem besseres Logging.
1938   - Ist ein Nick bei der User-Registrierung bereits belegt, nimmt der
1939     Server nun korrekt weitere NICK-Befehle an und verwendet diese.
1940   - PRIVMSG beachtet nun die Channel-Modes "n" und "m".
1941   - AWAY implementiert. PRIVMSG, MODE, USERHOST und WHOIS angepasst.
1942   - der ngIRCd unterstuetzt nun Channel-Topics (TOPIC-Befehl).
1943   - ausgehende Server-Verbindungen werden nun asynchron connectiert und
1944     blockieren nicht mehr den ganzen Server, wenn die Gegenseite nicht
1945     erreicht werden kann (bis zum Timeout konnten Minuten vergehen!).
1946   - Wert der Konfigurations-Variable "ConnectRetry" wird besser beachtet.
1947   - Channel- und Nicknames werden nun ordentlich validiert.
1948
1949 ngIRCd 0.2.1, 17.02.2002
1950
1951   - NICK korrigiert: es werden nun auch alle "betroffenen" User informiert.
1952   - configure-Script erweitert, u.a. bessere Anpassung an BeOS: dort wird
1953     nun die "libbe" zum ngIRCd gelinkt, somit funktioniert auch syslog.
1954   - Fehlerhafte bzw. noch nicht verstandene Modes werden nun ausfuehrlicher
1955     an den Client geliefert.
1956
1957 ngIRCd 0.2.0, 15.02.2002
1958
1959   - Nicknames und Channel-Namen werden etwas besser auf Gueltigkeit ueber-
1960     prueft; ist aber nach wie vor noch nicht ausreichend.
1961   - NJOINS von Servern wurden nicht an andere Server weitergeleitet.
1962   - Begonnen Channel-Modes und User-Channel-Modes zu implementieren: der
1963     Server versteht an User-Modes o und v, beachtet letzteres allerdings
1964     noch nirgends. Bekannte (aber nicht beachtete!) Channel-Modes sind
1965     bisher a, m, n, p, q, s und t. Diese Modes werden von Usern ange-
1966     nommen, von anderen Servern werden auch unbekannte Modes uebernommen.
1967   - Benutzer von connectierenden Servern wurden nicht in den Channels ange-
1968     kuendigt, es wurden nur die internen Strukturen angepasst.
1969   - Nach dem Connect eines Users werden LUSERS-Informationen angezeigt.
1970
1971 ngIRCd 0.1.0, 29.01.2002
1972
1973   - User-Modes bei User-Registrierungen von andere Servern (NICK-Befehl)
1974     wurden falsch uebernommen. Zudem wurden die Modes falsch gekuerzt.
1975   - Server-Verbindungen werden nun nach dem Start erst nach einer kurzen
1976     Pause aufgebaut (zur Zeit drei Sekunden).
1977   - Hilfetext korrigiert: --help und --version waren vertauscht, die
1978     Option --sniffer wurde gar nicht erwaehnt.
1979   - FAQ.txt in doc/ begonnen.
1980   - der IRC-Sniffer wird nur noch aktiviert, wenn die Option auf der
1981     Kommandozeile angegeben wurde (bei entsprechend compiliertem Server).
1982   - Channels implementiert, bisher jedoch noch ohne Channel-Modes, d.h.
1983     es gibt keine Channel-Ops, kein Topic, kein "topic lock" etc. pp.
1984     Chatten in Channels ist aber natuerlich moeglich ;-)
1985   - neue Befehle fuer Channles: JOIN, PART und NJOIN.
1986   - durch die Channels einige Aenderungen an PRIVMSG, WHOIS, MODE etc.
1987   - neu connectierenden Servern werden nun Channels mit NJOIN angekuendigt.
1988   - Signal-Hander geaendert: die Fehlermeldung "interrupted system call"
1989     sollte so nicht mehr auftreten.
1990   - "spaeter" neu connectierende Server werden nun im Netz angekuendigt.
1991   - SERVER-Meldungen an andere Server sind nun korrekt sortiert.
1992   - Clients werden nun korrekt sowohl nur ueber den Nickname als auch die
1993     komplette "Host Mask" erkannt.
1994
1995 ngIRCd 0.0.3, 16.01.2002
1996
1997   - Server-Links vollstaendig implementiert: der ngIRCd kann nun auch
1998     "Sub-Server" haben, also sowohl als Leaf-Node als auch Hub in einem
1999     IRC-Netzwerk arbeiten.
2000   - MODE und NICK melden nun die Aenderungen an andere Server, ebenso
2001     die Befehle QUIT und SQUIT.
2002   - WHOIS wird nun immer an den "Original-Server" weitergeleitet.
2003   - Parses handhabt Leerzeichen zw. Parametern nun etwas "lockerer".
2004   - Status-Codes an den Server selber werden ignorier.
2005   - Log-Meldungen und Log-Level ueberarbeitet und korrigiert.
2006   - Kommandozeilen-Parser: Debug- und No-Daemon-Modus, Hilfe.
2007   - ngIRCd wandelt sich nun in einen Daemon (Hintergrundprozess) um.
2008   - WHOIS korrigiert: Anfrage wurde u.U. an User geforwarded anstatt vom
2009     Server beantwortet zu werden.
2010   - neue Befehle: LUSERS, LINKS
2011   - Client-Modes von Remote-Servern wurden nicht korrekt uerbernommen.
2012
2013 ngIRCd 0.0.2, 06.01.2002
2014
2015   - Struktur der Konfigurationsdatei geaendert: sie ist nun "Samba like",
2016     d.h. sie besteht aus Abschnitten (siehe "doc/sample-ngircd.conf").
2017   - Es koennen mehrere IRC-Server-Opertatoren konfiguriert werden.
2018   - Zombies der Resolver-Prozesse werden nun ordentlich "getoetet".
2019   - NICK kann nun die Gross- und Kleinschreibung eines Nicks aendern.
2020   - ein Server-Passwort ist nun konfigurierbar.
2021   - neue Befehle: ERROR, SERVER, NJOIN (nur als "Fake"), SQUIT.
2022   - Asynchroner Resolver Hostname->IP implementiert.
2023   - Server-Links teilweise implementiert: bisher kann der ngIRCd jedoch
2024     nur "leafed server" sein, d.h. keine "Client-Server" haben. Einige
2025     Befehle sind auch noch nicht (optimal) angepasst: PRIVMSG funktioniert
2026     aber bereits, ebenso wie WHOIS (letzterer wird immer an den Server,
2027     auf dem der User registriert ist, weitergegeben).
2028   - "arpa/inet.h" wird nur noch includiert, wenn vorhanden.
2029   - Fehler bei select() fuerhen nun zum Abbruch von ngIRCd, bisher landete
2030     der Server zumeist in einer Endlosschleife.
2031   - Logmeldungen und Level an vielen Stellen verbessert.
2032   - lokalen Usernamen wird nun ein "~" vorangestellt, da bisher noch keine
2033     Ident-Anfragen gemacht werden.
2034
2035 ngIRCd 0.0.1, 31.12.2001
2036
2037   - erste oeffentliche Version von ngIRCd als "public preview" :-)