ChangeLog 85 KB

  1. ngIRCd - Next Generation IRC Server
  3. (c)2001-2013 Alexander Barton and Contributors.
  4. ngIRCd is free software and published under the
  5. terms of the GNU General Public License.
  6. -- ChangeLog --
  7. ngIRCd 20.3 (2013-08-23)
  8. - Security: Fix a denial of service bug (server crash) which could happen
  9. when the configuration option "NoticeAuth" is enabled (which is NOT the
  10. default) and ngIRCd failed to send the "notice auth" messages to new
  11. clients connecting to the server (CVE-2013-5580).
  12. ngIRCd 20.2 (2013-02-15)
  13. - Security: Fix a denial of service bug in the function handling KICK
  14. commands that could be used by arbitrary users to to crash the daemon
  15. (CVE-2013-1747).
  16. - WHO command: Use the currently "displayed hostname" (which can be cloaked!)
  17. for hostname matching, not the real one. In other words: don't display all
  18. the cloaked users on a specific real hostname!
  19. - configure: The header file "netinet/in_systm.h" already is optional in
  20. ngIRCd, so don't require it in the configure script. Now ngIRCd can be
  21. built on Minix 3 again :-)
  22. - Return better "Connection not registered as server link" errors: Now ngIRCd
  23. returns a more specific error message for numeric ERR_NOTREGISTERED(451)
  24. when a regular user tries to use a command that isn't allowed for users but
  25. for servers.
  26. - Don't report ERR_NEEDMOREPARAMS(461) when a MDOE command with more modes
  27. than nicknames is handled, as well as for channel limit and key changes
  28. without specifying the limit or key parameters.
  29. This is how a lot (all?) other IRC servers behave, including ircd2.11,
  30. InspIRCd, and ircd-seven. And because of clients (tested with Textual and
  31. mIRC) sending bogus MODE commands like "MODE -ooo nick", end-users got the
  32. expected result as well as correct but misleading error messages ...
  33. - Correctly detect when SSL subsystem must be initialized and take
  34. outgoing connections (server links!) into account, too.
  35. - Enforce serial test harness on GNU automake >=1.13. The
  36. new parallel test harness which is enabled by default starting with
  37. automake 1.13 isn't compatible with our test suite.
  38. And don't use "egrep -o", insetead use "sed", because it isn't portable
  39. and not available on OpenBSD, for example.
  40. ngIRCd 20.1 (2013-01-02)
  41. - Allow ERROR command on server and service links only, ignore them and
  42. add a penalty time on all other link types.
  43. - Enforced mode setting by IRC Operators: Only check the channel user
  44. modes of the initiator if he is joined to the channel and not an IRC
  45. operator enforcing modes (which requires the configuration option
  46. "OperCanUseMode" to be enabled), because trying to check channel user
  47. modes of a non-member results in an assertion when running with debug
  48. code or could crash the daemon otherwise. This closes bug #147, thanks
  49. to James Kirwill <> for tracking this down!
  50. - Fix build system to cope with spaces in path names.
  51. - Code cleanups, mostly to fix build warnings on Cygwin.
  52. ngIRCd 20 (2012-12-17)
  53. - Allow user names ("INDENT") up to 20 characters when ngIRCd has not
  54. been configured for "strict RFC mode". This is useful if you are using
  55. external (PAM) authenticaion mechanisms that require longer user names.
  56. Patch suggested by Brett Smith <>, see
  57. <>.
  58. ngIRCd 20~rc2 (2012-12-02)
  59. - Rework cloaked hostname handling and implement the "METADATA cloakhost"
  60. subcommand: Now ngIRCd uses two fields internally, one to store the
  61. "real" hostname and one to save the "cloaked" hostname. This allows
  62. "foreign servers" (aka "IRC services") to alter the real and cloaked
  63. hostnames of clients without problems, even when the user itself issues
  64. additional "MODE +x" and "MODE -x" commands.
  65. - RPL_UMODEIS: send correct target name, even on server links.
  66. - Update to follow autoconf changes and only generate
  67. the "configure" script when it is missing.
  68. - Fix the test suite to correctly execute test scripts even when stdout
  69. is redirected.
  70. - Fix some compiler warnings on NetBSD and OpenBSD.
  71. ngIRCd 20~rc1 (2012-11-11)
  72. - Update doc/Services.txt: describe the upcoming version of Anope 1.9.8,
  73. then including a protocol module for ngIRCd. And remove our own patches
  74. in ./contrib/Anope because they aren't supported any more ...
  75. - Implement new "METADATA" command which can be used by remote servers
  76. and IRC services to update client metadata like the client info text
  77. ("real name"), user name, and hostname, and use this command to
  78. configure an cloaked hostname (user mode "+x") on remote servers:
  79. This prevents "double cloaking" of hostnames and even cloaked
  80. hostnames are in sync on all servers supporting "METADATA" now.
  81. - Fix error message when trying to join non-predefined channels and the
  82. "PredefChannelsOnly" configuration option is set.
  83. - Implement new IRC "SVSNICK" command to allow remote servers (and IRC
  84. services) to change nicknames of already registered users. The SVSNICK
  85. command itself doesn't change the nickname, but it becomes forwarded
  86. to the server to which the user is connected to. And then this server
  87. initiates the real nickname changing using regular NICK commands.
  88. This allows to run mixed networks with old servers not supporting the
  89. SVSNICK command, because SVSNICK commands for nicknames on such servers
  90. are silently ignored and don't cause a desynchronization of the network.
  91. - Make server reconnect time a little bit more random, so that two
  92. servers trying to connect to each other asynchronously don't try this
  93. in exactly the same time periods and kick each other off ...
  94. - Don't accept connections for servers already being linked: there was a
  95. time frame that could result in one connection overwriting the other,
  96. e. g. the incoming connection overwriting the status of the outgoing
  97. one. And this could lead to all kind of weirdness (even crashes!) later
  98. on: now such incoming connections are dropped.
  99. - New configuration option "MaxListSize" to configure the maximum number
  100. of channels returned by a LIST command. The default is 100, as before.
  101. - Implement user mode "b", "block messages": when a user has set mode "b",
  102. all private messages and notices to this user are blocked if they don't
  103. originate from a registered user, an IRC Op, server or service. The
  104. originator gets an error numeric sent back in this case,
  105. ERR_NONONREG_MSG (486), which is used by UnrealIRCd, too. (Closes #144)
  106. - WHOIS: Not only show RPL_WHOISHOST_MSG to local IRC operators, but show
  107. it to all IRC operators in the network. And don't show it to anybody if
  108. the "more privacy" configuration option is enabled. (Closes #134)
  109. - Test suite: make expect scripts more verbose displaying dots for each
  110. reply of the server that it is waiting for.
  111. - WHOIS: Implement numeric RPL_WHOISMODES_MSG (379) and show user modes in
  112. the reply of the WHOIS command for the user himself or, if MorePrivacy
  113. isn't set, for request initiated by an IRC operator. (Closes #129)
  114. - Implement channel mode "V" (invite disallow): If the new channel mode
  115. "V" is set, the INVITE command becomes invalid and all clients get the
  116. new ERR_NOINVITE_MSG (518) reply. (Closes #143)
  117. - KICK-protect IRC services.
  118. - Implement channel mode "Q" and user mode "q": Both modes protect users
  119. from channel kicks: only IRC operators and servers can kick users having
  120. mode "q" or in channels with mode "Q". (Closes #141)
  121. - Debian: require "telnet" or "telnet-ssl" for building and enable
  122. CHARCONV in ngircd-full[-dbg] variants.
  123. - Send RPL_REHASHING (382) numeric if a REHASH command was accepted.
  124. - Fix spelling and variable names in some log messages.
  125. - Allow users to "cloak" their hostname only when the configuration
  126. variable "CloakHostModeX" (introduced in 19.2) is set. Otherwise, only
  127. IRC operators, other servers, and services are allowed to set the user
  128. mode "+x": this prevents regular users from changing their hostmask to
  129. the name of the IRC server itself, which confused quite a few people ;-)
  130. (Closes #133)
  131. - New configuration option "OperChanPAutoOp": If disabled, IRC operators
  132. don't become channel operators in persistent channels when joining.
  133. Enabled by default, which has been the behavior of ngIRCd up to this
  134. patch. (Closes #135)
  135. - Allow IRC operators to see secret (+s) channels in LIST command as long
  136. as the "MorePrivacy" configuration option isn't enabled in the
  137. configuration file. (Closes #136)
  138. - Enhance build system: Support new (>=1.12) and old (<=1.11) GNU automake
  139. versions, update checks for required and optional features, enable
  140. colored test output of automake (if available), rename to
  141. more modern, include .mailmap and all build-system files in
  142. distribution archives and no longer require a GIT tree to detect the
  143. correct version string.
  144. - Update documentation: add doc/Contributing.txt and include version
  145. numbers in doc/Modes.txt.
  146. - Free all listen ports on initialization: now listen ports can be
  147. reconfigured on runtime using a configuration reload.
  148. - Initialize SSL when needed only, and disable SSL on errors.
  149. - Implement new (optional) IRC+ "CHARCONV" command to set a client
  150. character set that the server translates all messages to/from UTF-8.
  151. This feature requires the "libiconv" library and must be enabled using
  152. the new "--with-iconv" option of the ./configure script. See
  153. doc/Protocol.txt for details. (Closes #109)
  154. - Allow limited punctuation in usernames, for better PAM integration.
  155. - Correctly re-initialize signal handlers on RESTART commands.
  156. - Show a warning on startup if the configuration file is not a full path:
  157. ngIRCd is a long-running process and changes its working directory to
  158. "/" to not block mounted filesystems and the like when running as daemon
  159. ("not in the foreground"); therefore the path to the configuration file
  160. must be relative to "/" (or the chroot() directory), which basically is
  161. "not relative", to ensure that "kill -HUP" and the "REHASH" command work
  162. as expected later on. (Closes #127)
  163. - Make the "&SERVER" channel definable in a [Channel] configuration block,
  164. which enables server operators to overwrite the built-in topic and
  165. channel modes. (Closes #131)
  166. - Don't limit list size of "WHO #channel" commands, because it makes no
  167. sense to not return all the users in that channel, so I removed the
  168. check. But if there are more than MAX_RPL_WHO(25) replies, the client
  169. requesting the list will be "penalized" one second more, then 2 in
  170. total. (Closes #125)
  171. - Make ngIRCd buildable using the kqueue() IO interface on FreeBSD 4.x.
  172. - Fix the "NoticeAuth" configuration option when using SSL connections and
  173. enhance the message to show the hostname and IDENT reply of the client.
  174. - Introduce numeric RPL_HOSTHIDDEN_MSG (396): This numeric is sent to the
  175. client each time it changes its displayed hostname using "MODE +/-x",
  176. and if "CloakHost" is set right after the MOTD has been sent.
  177. - Fix USERHOST not displaying the correctly cloaked hostname.
  178. - Implement user mode "B" ("Bot flag"): it is settable and unsettable by
  179. every (non-restricted) client. This is how Unreal and InspIRCd do
  180. behave, and so do we :-)
  181. - Dynamically allocate memory for connection passwords: This a) saves
  182. memory for clients not using passwords at all and b) allows for
  183. "arbitrarily" long passwords.
  184. - Implement channel mode "M": Only the server, identified users and IRC
  185. operators are able to talk in such a channel.
  186. - Block nicknames that are reserved for services and are defined using the
  187. configuration variable "ServiceMask" in "Server" blocks; And this
  188. variable now can handle more than one mask separated by commas.
  189. - Now "make uninstall" removes the installed "ngircd.conf" file, if it is
  190. still equal to our "sample-ngircd.conf" file and therefore hasn't been
  191. modified by the user. If it has been modified, it isn't removed and a
  192. notice is displayed to the user. And "make install" now displays a
  193. message when no ngircd.conf file exists and the "sample-ngircd.conf"
  194. file will be installed as a starting point.
  195. - Add contrib/ngircd.service, a systemd service file for ngircd.
  196. - Implemented XOP channel user modes: "Half Op" ("+h", prefix "%") can set
  197. the channel modes +imntvIbek and kick all +v and normal users; "Admin"
  198. ("+a", prefix "&") can set channel modes +imntvIbekoRsz and kick all +o,
  199. +h, +v and normal users; and "Owner" ("+q", prefix "~") can set channel
  200. modes +imntvIbekoRsz and kick all +a, +o, +h, +v and normal users.
  201. - Implement hashed cloaked hostnames for both the "CloakHost" and
  202. "CloakHostModeX" configuration options: now the admin can use the new
  203. '%x' placeholder to insert a hashed version of the clients hostname,
  204. and the new configuration option "CloakHostSalt" defines the salt for
  205. the hash function. When "CloakHostSalt" is not set (the default), a
  206. random salt will be generated after each server restart. (Closes #133)
  207. ngIRCd Release 19.2 (2012-06-19)
  208. - doc/Capabilities.txt: document "multi-prefix" capability
  209. ngIRCd 19.2~rc1 (2012-06-13)
  210. - New configuration option "CloakHostModeX" to configure the hostname
  211. that gets used for IRC clients which have user mode "+x" enabled.
  212. Up to now, the name of the IRC server itself has been used for this,
  213. which still is the default when "CloakHostModeX" isn't set.
  214. - Correctly handle asynchronously re-established server links: a race
  215. condition could let the daemon loose track of an already re-established
  216. incoming server link while preparing its own outgoing connection.
  217. Peers that both try to connect each other could have been affected.
  218. - Log a debug message when SIGUSR2 is handled in debug mode.
  219. - Only allow alphanumeric characters in user-supplied user names of
  220. USER command and IDENT replies.
  221. - Change wording of "TLS initialized" message to make it more consistent.
  222. - Don't leak file descriptors on error path when creating "PID files".
  223. - Add missing mode "r" to CHANMODES in 005 "ISUPPORT" numeric.
  224. - Update doc/Modes.txt and doc/Platforms.txt documents.
  225. - contrib/ correctly detect Open64 C compiler and handle
  226. "CC=xxx MAKE=yyy ./" calling convention.
  227. - Add instructions for setting up Atheme IRC services.
  228. - Implement support for IRC capability handling, the new "CAP" command,
  229. and capablity "multi-prefix" which allows both the NAME and WHO command
  230. handlers to return more than one "class prefix" to the client.
  231. - Update Xcode project files: reference missing documentation files.
  232. - Fix: Don't ignore "permission denied" errors when enabling chroot.
  233. - FAQ: enhance description of chroot setup.
  234. ngIRCd Release 19.1 (2012-03-19)
  235. - Fix gcc warning (v4.6.3), initialize "list" variable to NULL.
  236. - Fix typos: "recieved" -> "received", "Please not" -> "Please note",
  237. and fix lintian(1) warning ""hyphen-used-as-minus-sign", too.
  238. - Really include _all_ patches to build the Anope module into the
  239. distribution archive ... ooops!
  240. - Fix test case error for Debian using sbuild(1).
  241. - Don't log "ngIRCd hello message" two times when starting up.
  242. ngIRCd Release 19 (2012-02-29)
  243. - Update build system: bump config.guess and config.sub files used by
  244. GNU autoconf/automake to recent versions.
  245. - Fix configuration file parser: don't accept "[SSL]" blocks in the
  246. configuration file when no SSL support is built in ngIRCd.
  247. - Fix building ngIRCd with old gcc versions (e. g. 2.7.2).
  248. - Correctly re-open syslog logging after reading of configuration
  249. file: Syslog logging has been initialized before reading the
  250. configuration, so ngIRCd always used the default facility and ignored
  251. the "SyslogFacility" configuration option ...
  252. Thanks to Patrik Schindler for reporting this issue!
  253. ngIRCd 19~rc1 (2012-02-12)
  254. - Enhance command limits for server links: the limit now is dependent
  255. on the number of users connected in the network and higher while
  256. servers are joining the network to make the login of servers faster.
  257. - Log more information about server synchronization.
  258. - Update preliminary ngIRCd protocol module for Anope 1.9.6, which now
  259. is the only supported version.
  260. - New numeric RPL_WHOISHOST_MSG(378), which returns the DNS host name
  261. (if available) and the IP address of a client in the WHOIS reply.
  262. Only the user itself and local IRC operators get this numeric.
  263. - Implement channel exception list (mode 'e'). This allows a channel
  264. operator to define exception masks that allow users to join the
  265. channel even when a "ban" would match and prevent them from joining:
  266. the exception list (e) overrides the ban list (b).
  267. - PRIVMSG and NOTICE: Handle nick!user@host masks case-insensitive.
  268. - Implement user mode 'C': If the target user of a PRIVMSG or NOTICE
  269. command has the user mode 'C' set, it is required that both sender
  270. and receiver are on the same channel. This prevents private flooding
  271. by completely unknown clients.
  272. - New RPL_WHOISREGNICK_MSG(307) numeric in WHOIS command replies: it
  273. indicates if a nickname is registered (if user mode 'R' set).
  274. - Limit channel invite, ban, and exception lists to 50 entries and fix
  275. duplicate check and error messages when adding already listed entries
  276. or deleting no (longer) existing ones.
  277. - Fix both ERR_SUMMONDISABLED(445) and ERR_USERSDISABLED(446) replies.
  278. - MODE command: correctly return ERR_UNKNOWNMODE(472) numeric for
  279. unknown channel modes, instead of ERR_UMODEUNKNOWNFLAG(501).
  280. - ISUPPORT(005) numeric: add "O", "R", and "z" modes to "CHANMODES",
  281. add "EXCEPTS=e" and "INVEX=I", add "MAXLIST=beI:50".
  282. - Limit the number of list items in the reply of LIST (100), WHO (25),
  283. WHOIS (10), and WHOWAS (25) commands.
  284. - LIST command: compare pattern case insensitive.
  285. - Limit the MODE command to handle a maximum number of 5 channel modes
  286. that require an argument (+Ibkl) per call and report this number
  287. in the ISUPPORT(005) numeric: "MODES=5".
  288. - Fix handling of channel mode sequence with/without arguments.
  289. For example, don't generate wrong error messages when handling
  290. "MODE #chan +IIIIItn *!aa@b *!bb@c *!cc@d *!dd@e *!ee@f".
  291. - When sending data on a connection, only try to get the type of
  292. the client if there still is one assigned. This could trigger an
  293. assertion and end the daemon in some error paths.
  294. - Don't try to close already closed/invalid sockets to forked child
  295. processes. This could potentially crash the daemon in some cases
  296. with IDENT lookups enabled.
  297. - WHOIS command: make sure that the reply ends with RPL_ENDOFWHOIS,
  298. don't answer queries for IRC servers, make sure mask matching is
  299. case-insensitive, and that RPL_ENDOFWHOIS numeric is sent with the
  300. unmodified mask (like it has been received from the client).
  301. - LINKS command: support <mask> parameter to limit the reply.
  302. - Add 1 second penalty for every further target on PRIVMSG/NOTICE
  303. commands: this reduces the possibility of flooding channels with
  304. commands like "PRIVMSG/NOTICE #a,#n,#c,... :message" a little bit.
  305. Problem noticed by Cahata, thanks!
  306. - Display correct error message when "Server{UID|GID}" variable in the
  307. configuration file is invalid (not a number and no existing user).
  308. - Update Copyright notices for 2012 :-)
  309. - JOIN command: don't stop handling of channel lists when a single
  310. channel cannot be joined (because of bad name, wrong key or channel
  311. limit reached), but report an error and continue. And don't check
  312. the channel limit and don't report with "too many channels" when
  313. trying to join a channel that the client already is a member of.
  314. - ISON command: reply with the correct upper-/lowercase nicknames.
  315. - New configuration option "PAMIsOptional": when set, clients not
  316. sending a password are still allowed to connect: they won't become
  317. "identified" and keep the "~" character prepended to their supplied
  318. user name. See "man 5 ngircd.conf" for details.
  319. - Fixed handling of WHO commands. This fixes two bugs: "WHO <nick>"
  320. returned nothing at all if the user was "+i" (reported by Cahata,
  321. thanks) and "WHO <nick|nickmask>" returned channel names instead
  322. of "*" when the user was member of a (visible) channel.
  323. - Fixed some spelling errors in documentation and code comments
  324. (Thanks to Christoph Biedl).
  325. - contrib/Debian/control: Update and complete "Build-Depends" and
  326. update our Debian package descriptions with "official" ones.
  327. - Fixed typo in two error messages.
  328. - LUSERS reply: only count channels that are visible to the requesting
  329. client, so the existence of secret channels is no longer revealed by
  330. using LUSERS. Reported by Cahata, thanks!
  331. - Unknown user and channel modes no longer stop the mode parser, but
  332. are simply ignored. Therefore modes after the unknown one are now
  333. handled. This is how ircd2.10/ircd2.11/ircd-seven behave, at least.
  334. Reported by Cahata, thanks!
  335. - README: Update list of implemented commands.
  336. - Log better error messages when rejecting clients.
  337. - Implement IRC commands "GLINE" and "KLINE" to ban users. G-Lines are
  338. synchronized between server on peering, K-Lines are local only.
  339. If you use "*!<user>@<host>" or "*!*@<host>" masks, these connections
  340. are blocked even before the user is fully logged in (before PASS,
  341. NICK, and USER commands have been processed) and before the child
  342. processes for authentication are forked, so resource usage is smaller.
  343. - Xcode: update project file for Xcode 4.2 and define HAVE_GAI_STRERROR
  344. for Mac OS X Xcode builds.
  345. - ./configure: Fix logic and quoting of poll() detection code: only use
  346. poll() when poll.h exists as well.
  347. - Suppress 'Can't create pre-defined channel: invalid name: ""' message.
  348. - whois-test: handle local host name = "localhost.localdomain" using the
  349. pattern "localhost*" for valid local host names.
  350. - sample-ngircd.conf: show correct default for "PAM" variable: The
  351. default of "PAM" is "yes" when ngIRCd has been configured to use it,
  352. so show the correct default value in the sample configuration file.
  353. (Closes #119)
  354. - Update GPL 2 license text to current version.
  355. - Only close "unrelated" sockets in forked child processes: This fixes
  356. the problem that ngIRCd can't do any IDENT lookups because of the
  357. socket has already been closed in the child process.
  358. The bug has been introduced starting with ngIRCd 17 ... :-(
  359. (commit ID 6ebb31ab35e)
  360. - Added doc/Modes.txt: document modes supported by ngIRCd.
  361. - Implement user mode "R": indicates that the nickname of this user
  362. is "registered". This mode isn't handled by ngIRCd itself, but must
  363. be set and unset by IRC services like Anope.
  364. - Implement channel mode "R": only registered users (having the user
  365. mode "R" set) are allowed to join this channel.
  366. - Test suite: bind to loopback ( interface only.
  367. - New 2nd message "Nickname too long" for error code 432.
  368. - Xcode: Mac OS X config.h: support 10.5 as well as 10.6/10.7 SDK.
  369. - Xcode: exclude more Xcode 4 specific directories in ".gitignore".
  370. - Disconnect directly linked servers sending QUIT. Without this,
  371. the server becomes removed from the network and the client list,
  372. but the connection isn't shut down at all ...
  373. - contrib/ngindent: detect "gindent" as GNU indent.
  374. - Handle unknown user and channel modes: these modes are saved and
  375. forwarded to other servers, but ignored otherwise.
  376. - Handle channel user modes 'a', 'h', and 'q' from remote servers.
  377. These channel user modes aren't used for anything at the moment,
  378. but ngIRCd knows that these three modes are "channel user modes"
  379. and not "channel modes", that is that these modes take an "nickname"
  380. argument. Like unknown user and channel modes, these modes are saved
  381. and forwarded to other servers, but ignored otherwise.
  382. - Correctly inform clients when other servers change their user modes.
  383. This is required for some services to work correctly.
  384. - Test suite: make work even when run as root.
  385. - Spoofed prefixes: close connection on non-server links only.
  386. On server-links, spoofed prefixes can happen because of the
  387. asynchronous nature of the IRC protocol. So don't break server-
  388. links, only log a message and ignore the command. (Closes #113)
  389. ngIRCd Release 18 (2011-07-10)
  390. - Update timestamp of ngircd(8) manual page.
  391. - Add preliminary ngIRCd protocol module for Anope 1.9 to contrib/Anope/.
  392. - Don't register WHOWAS information when "MorePrivacy" option is in effect.
  393. ngIRCd 18~rc2 (2011-06-29)
  394. - Update documentation, fix some wording, and use a spellchecker :-)
  395. - ngircd.conf.5: strip "SSL" prefix from variables in [SSL] section.
  396. - ngircd.8: document debugging options.
  397. - GnuTLS: use 1024 bits as minimum size of the DH prime. This enables
  398. ngIRCd to accept incoming connections from other servers and clients
  399. that "only" use at least 1024 bits again, like ngIRCd 17 did (and no
  400. longer requires 2048 bits for incoming connections).
  401. ngIRCd 18~rc1 (2011-06-27)
  402. - PAM warning message: make clear which "Password" config option is ignored.
  403. - New configuration option "MorePrivacy" to "censor" some user information.
  404. When enabled, signon time and idle time is left out. Part and quit
  405. messages are made to look the same. WHOWAS requests are silently dropped.
  406. All of this is useful if one wish to conceal users that access the ngircd
  407. servers from TOR or I2P.
  408. - New configuration option "ScrubCTCP" to scrub incoming CTCP commands. If
  409. activated, the server silently drops incoming CTCP requests from both
  410. other servers and from users. The server that scrubs CTCP will not forward
  411. the CTCP requests to other servers in the network either, which can spell
  412. trouble if not every oper knows about the CTCP-scrubbing. Scrubbing CTCP
  413. commands also means that it is not possible to send files between users.
  414. There is one exception to the CTCP scrubbing performed: ACTION ("/me
  415. commands") requests are not scrubbed.
  416. - Display configuration errors more prominent on "--configtest".
  417. - Restructure ngIRCd configuration file: introduce new [Limits], [Options],
  418. and [SSL] sections. The intention of this restructuring is to make the
  419. [Global] section much cleaner, so that it only contains variables that
  420. most installations must adjust to the local requirements. All the optional
  421. variables are moved to [Limits], for configurable limits and timers of
  422. ngIRCd, and [Options], for optional features. All SSL-related variables
  423. are moved to [SSL] and the "SSL"-prefix is stripped. The old variables in
  424. the [Global] section are deprecated now, but are still recognized.
  425. => Don't forget to check your configuration, use "ngircd --configtest"!
  426. - New documentation "how to contribute": doc/Contributing.txt.
  427. - Slightly fix error handling when connecting to remote servers.
  428. - GnuTLS: bump DH-bitsize to 2048: this solves the problem that some clients
  429. refuse to connect to severs that only offer 1024. For interoperability it
  430. would be best to just use 4096 bits, but that takes minutes, even on
  431. current hardware ...
  432. - contrib/ fix gcc version detection.
  433. - Avoid needlessly scary 'buffer overflow' messages: When the write buffer
  434. space grows too large, ngIRCd has to disconnect the client to avoid
  435. wasting too much memory, which is logged with a scary 'write buffer
  436. overflow' message. Change this to a more descriptive wording.
  437. - Require server prefixes for most commands on RFC2812 links. RFC1459 links
  438. (often used by services, for example) are not affected.
  439. - Mac OS X: update installer functionality, texts, and add our logo :-)
  440. - New configuration option "RequireAuthPing": PING-PONG on login. When
  441. enabled, this configuration option lets ngIRCd send a PING with an numeric
  442. "token" to clients logging in; and it will not become registered in the
  443. network until the client responds with the correct PONG.
  444. - New configuration option "NoticeAuth": send NOTICE AUTH on connect. When
  445. active, ngircd will send "NOTICE AUTH" messages on client connect time
  446. like e.g. snircd (QuakeNet) does.
  447. - Generate WALLOPS message on SQUIT from IRC operators; so SQUIT now behaves
  448. like CONNECT and DISCONNECT commands, when called by an IRC operator.
  449. - Allow servers to send more commands in the first 10 seconds ("burst"). This
  450. helps to speed up server login and network synchronization.
  451. - Add support for up to 3 targets in WHOIS queries, also allow up to one
  452. wildcard query from local hosts. Follows ircd 2.10 implementation rather
  453. than RFC 2812. At most 10 entries are returned per wildcard expansion.
  454. - ngircd.conf(5) manual page: describe types of configuration variables
  455. (booleans, text strings, integer numbers) and add type information to each
  456. variable description.
  457. - Don't use "" in sample-ngircd.conf, use "".
  458. - Terminate incoming connections on HTTP commands "GET" and "POST".
  459. - New configuration option "CloakHost": when set, this host name is used for
  460. every client instead of the real DNS host name (or IP address).
  461. - New configuration option "CloakUserToNick": when enabled, ngIRCd sets
  462. every clients' user name to their nickname and hides the user name
  463. supplied by the IRC client.
  464. - doc/Protocol.txt: Update description of the CHANINFO and WEBIRC commands.
  465. - Doxygen'ify (document) much more source files; code cleanup ...
  466. - Make write buffers bigger, but flush early. Before this change, a client
  467. got disconnected if the buffer flushing at 4k failed, now regular clients
  468. can store up to 32k and servers up 64k even if flushing is not possible at
  469. the moment. This enhances reliability on slow links.
  470. - Don't access possibly free'd CLIENT structure. Ooops.
  471. - Allow "Port = 0" in [Server] blocks. Port number 0 marks remote servers
  472. that try to connect to this daemon, but where this daemon never tries to
  473. establish a connection on its own: only incoming connections are allowed.
  474. - Configuration: fix 'Value of "..." is not a number!' for negative values.
  475. - Enable WHOIS command to return information about services.
  476. - Implement channel mode 'O': "IRC operators only". This channel mode is
  477. used on DALnet (bahamut), for example.
  478. - Remove support for ZeroConf/Bonjour/Rendezvous service registration
  479. including the "[No]ZeroConf" configuration option.
  480. - TOPIC command: test for channel admin rights correctly: this enables other
  481. servers, services and IRC operators to change channel topics, even when
  482. the client is not joined to this channel.
  483. - Deprecate NoXX-Options in ngircd.conf and move new variants into our new
  484. [Options] section: 'NoDNS=no' => 'DNS=yes', 'NoIdent=no' => 'Ident=yes',
  485. 'NoPAM=no' => 'PAM=yes', and 'NoZeroConf=no' => 'ZeroConf=yes' (and
  486. vice-versa). The defaults are adjusted accordingly and the old variables
  487. in [Global] are still accepted, so there is no functional change.
  488. - Fix confusing "adding to invite list" debug messages: adding entries to
  489. ban list produced 'invite list' debug output ...
  490. - Don't throttle services and servers being registered.
  491. - Xcode: correctly sort files :-)
  492. - Don't assert() when searching a client for an invalid server token (this is
  493. only relevant when a trusted server on a server-server link sends invalid
  494. commands).
  495. ngIRCd Release 17.1 (2010-12-19)
  496. - --configtest: remember if MOTD is configured by file or phrase
  497. - Enhance log messages when establishing server links a little bit
  498. - Reset ID of outgoing server link on DNS error correctly
  499. - Don't log critical (or worse) messages to stderr
  500. - Manual page ngircd(8): add SIGNALS section
  501. - Manual pages: update and simplify AUTHORS section
  502. - Remove "error file" when compiled with debug code enabled
  503. - README: Updated list of implemented commands
  504. - add doc/README-Interix.txt and doc/Bopm.txt to distribution tarball
  505. - Merge branch 'numeric-329'
  506. - add doc/PAM.txt to distribution tarball
  507. - New numeric 329: get channel creation time on "MODE #chan" commands
  508. - Save channel creation time; new function Channel_CreationTime()
  509. ngIRCd Release 17 (2010-11-07)
  510. - doc: change path names in sample-ngircd.conf depending on sysconfdir
  511. - Fix up generation and distribution of sample-ngircd.conf
  512. - contrib/ngircd-redhat.init: updated email address of Naoya Nakazawa
  513. - contrib/ make command name quoting consistent
  514. ngIRCd 17~rc3 (2010-10-27)
  515. - Xcode builds: detect version number correctly, updateed project file
  516. to use the Mac OS X 10.5.x SDK, disable pam_fail_delay() because it
  517. is only available starting with Mac OS X 10.6, and generate a default
  518. PAM configuration for the Mac OS X package of ngIRCd.
  519. - Debian: updated standards version to 3.9.1, added libpam0g-dev to the
  520. dependencies, and install a default /etc/pam.d/ngircd allowing all logins.
  521. - Make contrib/ more portable.
  522. - Fix connect attempts to further IP addresses of outgoing server links.
  523. ngIRCd 17~rc2 (2010-10-25)
  524. - ZeroConf: include header files missing since commit a988bbc86a.
  525. - Generate ngIRCd version number from GIT tag.
  526. - Make sourcecode compatible with ansi2knr again. This allows to compile
  527. ngIRCd using a pre-ANSI K&R C compiler again.
  528. - ./configure: check if C compiler can compile ISO Standard C.
  529. - ./configure: check support for C prototypes again.
  530. - Don't use PARAMS() macro for function implementations.
  531. - Added m68k/apple/aux3.0.1 (gcc 2.7.2) to doc/Platforms.txt.
  532. - Only try to set FD_CLOEXEC if this flag is defined.
  533. - Only use "__attribute__ ((unused))" if GCC >=2.8 is used.
  534. - doc/ don't set docdir, automake handles it already.
  535. ngIRCd 17~rc1 (2010-10-11)
  536. - New configuration option "NoZeroConf" to disable service registration at
  537. runtime even if ngIRCd is compiled with support for ZeroConf (e.g. using
  538. Howl, Avahi or on Mac OS X).
  539. - New configuration option "SyslogFacility" to define the syslog "facility"
  540. (the "target"), to which ngIRCd should send its log messages.
  541. Possible values are system dependant, but most probably "auth", "daemon",
  542. "user" and "local1" through "local7" are possible values; see syslog(3).
  543. Default is "local5" for historical reasons.
  544. - Dump the "internal server state" (configured servers, established
  545. connections and known clients) to the console or syslog when receiving
  546. the SIGUSR2 signal and debug mode is enabled.
  547. - Enable the daemon to disable and enable "debug mode" on runtime using
  548. signal SIGUSR1, when debug code is compiled in, not only on startup
  549. using the command line parameters.
  550. - Signal handler: added new 'delayed' signal handlers, including fallback
  551. to deprecated sysv API. And removed global NGIRCd_SignalRehash variable.
  552. - IO: add io_cloexec() to set close-on-exec flag.
  553. - ng_ipaddr.h: include required assert.h header.
  554. - Conn_SyncServerStruct(): test all connections; and work case insensitive
  555. - configure script: correctly indent IPv6 yes/no summary output.
  556. - Don't reset My_Connections[Idx].lastping when reading data, so the
  557. client lag debug-output is working again.
  558. - Implement user mode "x": host name cloaking (closes: #102).
  559. - Make configure switch "--docdir" work (closes: #108).
  560. - Reformat and update FAQ.txt a little bit.
  561. - INSTALL: mention SSL, IPv6, and changed handling of MotdFile.
  562. - Change MOTD file handling: ngIRCd now caches the contens of the MOTD
  563. file, so the daemon now requires a HUP signal or REHASH command to
  564. re-read the MOTD file when its content changed.
  565. - Startup: open /dev/null before chroot'ing the daemon.
  566. - Allow IRC ops to change channel modes even without OperServerMode set.
  567. - Allow IRC operators to use MODE command on any channel (closes: #100).
  568. - Added mailmap file for git-[short]log and git-blame.
  569. - Authenticated users should be registered without the "~" mark.
  570. - Set NoPAM=yes in configuration files used for the testsuite.
  571. - New configuration option "NoPAM" to disable PAM.
  572. - Implement asynchronous user authentication using PAM, please see the
  573. file doc/PAM.txt for details.
  574. - Resolver: Implement signal handler and catch TERM signals.
  575. - Don't set a penalty time when doing DNS lookups.
  576. - Add some documentation for using BOPM with ngIRCd, see doc/Bopm.txt.
  577. - Implement user mode "c": receive connect/disconnect NOTICEs. Note that
  578. this new mode requires the user to be an IRC operator.
  579. - ngircd.init: require "$network" and "$remote_fs" when stopping ngircd.
  580. - Show SSL status in WHOIS output, numeric 275.
  581. - Include correct header files when testing for arpa/inet.h (Closes: #105).
  582. - Don't access already freed memory in IRC_KILL().
  583. - Fix "beeing" typo ...
  584. - SSL/TLS: fix bogus "socket closed" error message.
  585. ngIRCd Release 16 (2010-05-02)
  586. - doc/SSL: remove line continuation marker
  587. ngIRCd 16~rc2 (2010-04-25)
  588. - Updated some more copyright notices, it's 2010 already :-)
  589. - Only compile in Get_Error() if really needed
  590. - Fix gcc warning "ignoring return value of ..."
  591. - Include netinet/in_systm.h alongside netinet/ip.h
  592. - Include netinet/{in.h, in_systm.h} when checking for netinet/ip.h
  593. - Only include <netinet/in_systm.h> if it exists
  594. - Updated doc/Platforms.txt
  595. - Enhace connection statistics counters: display total number of served
  596. connections on daemon shutdown and when a new client connects using
  597. the new numeric RPL_STATSCONN (250).
  598. ngIRCd 16~rc1 (2010-03-25)
  599. - Various fixes to the build system and code cleanups.
  600. - contrib/ Only show latest commit.
  601. - Updatet doc/Platforms.txt, added new README-Interix.txt documenting
  602. how to tun ngIRCd on Microsoft Services for UNIX (MS SFU, MS SUA).
  603. - Updated links to the ngIRCd homepage (bug tracker, mailing list).
  604. - Added missing modes to USERMODES #define
  605. - Show our name (IRCD=ngIRCd) in ISUPPORT (005) numeric
  606. - Quote received messages of ERROR commands in log output.
  607. - ngircd.conf manual page: document missing "Password" variable.
  608. - Implement WEBIRC command used by some Web-IRC frontends. The password
  609. required to secure this command must be configured using the new
  610. "WebircPassword" variable in the ngircd.conf file.
  611. - Don't use port 6668 as example for both "Ports" and "SSLPorts".
  612. - Remove limit on max number of configured irc operators.
  613. - Only link "nsl" library when really needed.
  614. - A new channel mode "secure connections only" (+z) has been implemented:
  615. Only clients using a SSL encrypted connection to the server are allowed
  616. to join such a channel.
  617. But please note three things: a) already joined clients are not checked
  618. when setting this mode, b) IRC operators are always allowed to join
  619. every channel, and c) remote clients using a server not supporting this
  620. mode are not checked either and therefore always allowed to join.
  621. ngIRCd Release 15 (2009-11-07)
  622. - "ngircd --configtest": print SSL configuration options even when unset.
  623. ngIRCd 15~rc1 (2009-10-15)
  624. - Do not add default listening port (6667) if SSL ports were specified, so
  625. ngIRCd can be configured to only accept SSL-encrypted connections now.
  626. - Enable IRC operators to use the IRC command SQUIT (insted of the already
  627. implemented but non-standard DISCONNECT command).
  628. - New configuration option "AllowRemoteOper" (disabled by default) that
  629. enables remote IRC operators to use the IRC commands SQUIT and CONNECT
  630. on the local server.
  631. - Mac OS X: fix test for packagemaker(1) tool in Makefile and use gcc 4.0
  632. for Mac OS X 10.4 compatibility in the Xcode project file.
  633. - Fix --with-{openssl|gnutls} to accept path names.
  634. - Fix LSB header of Debian init script.
  635. - Updated doc/Platforms.txt and include new script contrib/
  636. to ease generating platform reports.
  637. - Fix connection information for already registered connections.
  638. - Enforce upper limit on maximum number of handled commands. This implements
  639. a throttling scheme: an IRC client can send up to 3 commands or 256 bytes
  640. per second before a one second pause is enforced.
  641. - Fix connection counter.
  642. - Fix a few error handling glitches for SSL/TLS connections.
  643. - Minor fixes to manual pages and documentation.
  644. ngIRCd Release 14.1 (2009-05-05)
  645. - Security: fix remotely triggerable crash in SSL/TLS code.
  646. - BSD start script contrib/ has been renamed to
  647. - New start/stop script for RedHat-based distributions:
  648. contrib/ngircd-redhat.init, thanks to Naoya Nakazawa <>.
  649. - Doxygen: update source code repository link to GIT.
  650. - Debian: build ngircd-full-dbg package.
  651. - Allow ping timeout quit messages to show the timeout value.
  652. - Fix error handling on compressed links.
  653. - Fix server list announcement.
  654. - Do not remove host names from info text.
  655. ngIRCd Release 14 (2009-04-20)
  656. - Display IPv6 addresses as "[<addr>]" when accepting connections.
  657. ngIRCd 14~rc1 (2009-03-29)
  658. - Updated Debian/Linux init script (see contrib/Debian/ngircd.init).
  659. - Allow creation of persistent modeless channels.
  660. - The INFO command reports the compile time now (if available).
  661. - Spell check and enhance ngIRCd manual pages.
  662. - Channel mode changes: break on syntax errors in MODE command.
  663. - Support individual channel keys for pre-defined channels: introduce
  664. new configuration variable "KeyFile" in [Channel] sections in ngircd.conf,
  665. here a file can be configured for each pre-defined channel which contains
  666. individual channel keys for different users.
  667. - Remove limit on maximum number of predefined channels in ngircd.conf.
  668. - Updated ngircd.spec file for building RPM packages.
  669. - Add new and missing files to Mac OS X Xcode project, and update project.
  670. - Reject masks with wildcard after last dot.
  671. - TLS/SSL: remove useless error message when ssl connection is closed.
  672. - Fix memory leak when a encrypted and compressed server link goes down.
  673. (closes bug #95, reported by Christoph,
  674. - Fix handling of channels containing dots.
  675. (closes ug #93, reported by Gonosz Csiga)
  676. ngIRCd Release 13 (2008-12-25)
  677. - Updated documentation, especially doc/Services.txt and doc/SSL.txt.
  678. - Make the test suite work on OpenSolaris.
  679. ngIRCd 13~rc1 (2008-11-21):
  680. - New version number scheme :-)
  681. - Initial support for IRC services, using a RFC1459 style interface,
  682. tested with IRCServices ( version 5.1.13.
  683. For this to work, ngIRCd now supports server-server links conforming
  684. to RFC 1459. New ngircd.conf(5) option: ServiceMask.
  685. - Support for SSL-encrypted server-server and client-server links using
  686. OpenSSL (configure: --with-openssl) or GNUTLS (configure: --with-gnutls).
  687. New ngircd.conf(5) options: SSLPorts, SSLKeyFile, SSLKeyFilePassword,
  688. SSLCertFile, SSLDHFile, and SSLConnect.
  689. - Server local channels have been implemented, prefix "&", that are only
  690. visible to users of the same server and are not visible in the network.
  691. In addition ngIRCd creates a "special" channel &SERVER on startup and logs
  692. all the messages to it that a user with mode +s receives.
  693. - New make target "osxpkg" to build a Mac OS X installer package.
  694. - Debug mode: enable support for GNU libc memory tracing (see mtrace(3)).
  695. - SysV init script: use LSB logging functions, if available.
  696. - Added some more FAQ entries (regarding logging and IRC operators).
  697. - Allow IRC operators to overwrite channel limits.
  698. - Support for enhanced PRIVMSG and NOTICE message targets.
  699. - More tests have been added to the test-suite ("make check"), and two
  700. servers are started for testing server-server linking.
  701. - Added a timestamp to log messages to the console.
  702. - New configuration option "NoIdent" to disable IDENT lookups even if the
  703. daemon is compiled with IDENT support.
  704. ngIRCd 0.12.1 (2008-07-09)
  705. - Allow mixed line terminations (CR+LF/CR/LF) in non-RFC-compliant mode
  706. - Don't allow stray \r or \n in command parameters
  707. - --configtest: return non-zero exit code if there are errors
  708. - Update ngIRCd manual pages
  709. - Add option aliases -V (for --version) and -h (for --help).
  710. - Fix 'no-ipv6' compile error.
  711. - Make Listen parameter a comma-separated list of addresses. This also
  712. obsoletes ListenIPv4 and ListenIPv6 options. If Listen is unset, it
  713. is treated as Listen="::,".
  714. Note: ListenIPv4 and ListenIPv6 options are still recognized,
  715. but ngircd will print a warning if they are used in the config file.
  716. ngIRCd 0.12.0 (2008-05-13)
  717. - Fix Bug: 85: "WHO #SecretChannel" that user is not a member of now returns
  718. proper RPL_ENDOFWHO_MSG instead of nothing. (Ali Shemiran)
  719. - Fix compile on FreeBSD 5.4 and AIX.
  720. - If bind() fails, also print IP address and not just the port number.
  721. ngIRCd 0.12.0-pre2 (2008-04-29)
  722. - IPv6: Add config options to disable ipv4/ipv6 support.
  723. - Don't include doc/CVS.txt in distribution archive, use doc/GIT.txt now!
  724. - Documentation: get rid of some more references to CVS, switch to GIT.
  725. - Get rid of cvs-version.* and CVSDATE definition.
  726. - Report ERR_NOTONCHANNEL when trying to part a channel one is not member of.
  727. - Testsuite: remove erroneous ConfUID setting in config file.
  728. ngIRCd 0.12.0-pre1 (2008-04-20)
  729. - Include Mac OS X Xcode project in distribution archives.
  730. - Do not exit on SIGHUP or /REHASH if the config file cannot opened.
  731. - Add IPv6 support.
  732. - Install a LaunchDaemon script to start/stop ngIRCd on Mac OS X.
  733. - Implemented IRC commands INFO, SUMMON (dummy), and USERS (dummy) and
  734. enhanced test suite to check these commands. (Dana Dahlstrom)
  735. - RPL_WHOREPLY messages generated by IRC_WHO didn't include flags (*,@,+).
  736. (Dana Dahlstrom)
  737. - IRC_WHO now supports search patterns and will test this against user
  738. nickname/server name/host name, etc. as required by RFC 2812, Section 3.6.1.
  739. (reported by Dana Dahlstrom)
  740. - Add test cases for "WHO" command. (Dana Dahlstrom)
  741. - Implement RFC 2812 handling of "0" argument to 'JOIN': must be treated
  742. as if the user had sent PART commands for all channels the user is a
  743. member of. (Dana Dahlstrom)
  744. - Allow NOTICEs to be sent to a channel. (Fabian Schlager)
  745. ngIRCd 0.11.1 (2008-02-26)
  746. - Fix sending of JOIN commands between servers when remote server appended
  747. mode flags. (Rolf Eike Beer) [from HEAD]
  748. - Send "G" instead of "H" flag in WHO replies. (reported by Dana Dahlstrom)
  749. - Under some circumstances ngIRCd issued channel MODE message with a
  750. trailing space. (Dana Dahlstrom) [from HEAD]
  751. ngIRCd 0.11.0 (2008-01-15)
  752. ngIRCd 0.11.0-pre2 (2008-01-07)
  753. - SECURITY: IRC_PART could reference invalid memory, causing
  754. ngircd to crash [from HEAD]. (CVE-2008-0285)
  755. ngIRCd 0.11.0-pre1 (2008-01-02)
  756. - Use dotted-decimal IP address if host name is >= 64.
  757. - Add support for /STAT u (server uptime) command.
  758. - New [Server] configuration Option "Bind" allows to specify
  759. the source IP address to use when connecting to remote server.
  760. - New configuration option "MaxNickLength" to specify the allowed maximum
  761. length of user nicknames. Note: must be unique in an IRC network!
  762. - Enhanced the IRC+ protocol to support an enhanced "server handshake" and
  763. enable server to recognize numeric 005 (ISUPPORT) and 376 (ENDOFMOTD).
  764. See doc/Protocol.txt for details.
  765. - Re-added doc/SSL.txt to distribution -- got lost somewhere!?
  766. - Fixes the wrong logging output when nested servers are introduced
  767. to the network as well as the wrong output of the LINKS command.
  768. - Update Mac OS X Xcode project file for Xcode 3.
  769. - Adjust test suite to be usable on HP/UX 11.11 :-)
  770. - Fix code to compile using K&R C compiler and ansi2kr again.
  771. - New config option NoDNS: Disables DNS lookups when clients connect.
  772. - Fixed propagation of channel mode 'P' on server links.
  773. - Numeric 317: implemented "signon time" (displayed in WHOIS result).
  774. - Fixed code that prevented GCC 2.95 to compile ngIRCd.
  775. - Adjust path names in manual pages according to "./configure" settings.
  776. - Added new server configuration option "Passive" for "Server" blocks to
  777. disable automatic outgoing connections (similar to -p option to ngircd,
  778. but only for the specified server). (Tassilo Schweyer)
  779. - Don't connect to a server if a connection to another server within the
  780. same group is already in progress.
  781. - Added support for the WALLOPS command. Usage is restricted to IRC
  782. operators.
  783. ngIRCd 0.10.4 (2008-01-07)
  784. - SECURITY: IRC_PART could reference invalid memory, causing
  785. ngircd to crash [from HEAD]. (CVE-2008-0285)
  786. ngIRCd 0.10.3 (2007-08-01)
  787. - SECURITY: Fixed a severe bug in handling JOIN commands, which could
  788. cause the server to crash. Thanks to Sebastian Vesper, <>.
  789. (CVE-2007-6062)
  790. ngIRCd 0.10.2 (2007-06-08)
  791. ngIRCd 0.10.2-pre2 (2007-05-19)
  792. - Server links are allowed to use larger write buffers now (up to 50 KB).
  793. ngIRCd 0.10.2-pre1 (2007-05-05)
  794. - Fix compressed server links (broken since 0.10.0).
  795. - Predefined Channel configuration now allows specification of channel key
  796. (mode k) and maximum user count (mode l).
  797. - When using epoll() IO interface, compile in the select() interface as
  798. well and fall back to it when epoll() isn't available on runtime.
  799. - New configure option "--without-select" to disable select() IO API
  800. (even when using epoll(), see above).
  801. - Added support for IO APIs "poll()" and "/dev/poll".
  802. - Reorganized internal handling of invite and ban lists.
  803. ngIRCd 0.10.1 (2006-12-17)
  804. - Fixed validation of server names containing digits.
  805. - Update the "info text" of the local server after re-reading configuration.
  806. - Changed Numerics 265 and 266 to follow ircd 2.11.x "standards".
  807. - Allow PASS syntax defined in RFC 1459 for server links, too.
  808. - Enhanced ISUPPORT message (005 numeric).
  809. - New configuration option "PredefChannelsOnly": if set, clients can only
  810. join predefined channels.
  811. - Code cleanups: use "LogDebug(...)" instead of "Log(LOG_DEBUG, ...)", use
  812. "strcspn()", unsigned vs. signed, use "const", fix whitespaces, ...
  813. ngIRCd 0.10.0 (2006-10-01)
  814. - Fixed file handle leak when daemon is not able to send MOTD to a client.
  815. ngIRCd 0.10.0-pre2 (2006-09-09)
  816. - Fixed build problems with GCC option -fstack-protector.
  817. - Minor documentation updates.
  818. ngIRCd 0.10.0-pre1 (2006-08-02)
  819. - Validate "ServerName" (see RFC 2812, section 2.3.1).
  820. - Enhanced DIE to accept a single parameter ("comment text") which is sent
  821. to all locally connected clients before the server goes down.
  822. - The ngIRCd handles time shifts backwards more gracefully now (the
  823. timeout handling doesn't disconnect clients by mistake any more).
  824. - Internal: Restructured connection handling (the connection ID is equal
  825. to the file descriptor of the connection).
  826. - Internal: Simplified resolver code.
  827. - JOIN now supports more than one channel key at a time.
  828. - Implemented numeric "333": Time and user name who set a channel topic.
  829. - Enhanced the handler for PING and PONG commands: fix forwarding and enable
  830. back-passing of a client supplied additional argument of PING.
  831. - Changed handling of timeouts for unregistered connections: don't reset
  832. the counter if data is received and disconnect clients earlier.
  833. - Removed unnecessary #define of "LOCAL", now use plain C "static" instead.
  834. - Channel topics are no longer limited to 127 characters: now the only limit
  835. is the maximum length of an IRC command, i. e. 512 bytes (in practice, this
  836. limits the topic to about 490 characters due to protocol overhead).
  837. - Reverse DNS lookup code now checks the result by doing an additional
  838. lookup to prevent spoofing.
  839. - Added new IO layer which (optionally) supports epoll() and kqueue() in
  840. addition to the select() interface.
  841. ngIRCd 0.9.2 (2005-10-15)
  842. - Fixed a bug that could cause the daemon to crash when outgoing server
  843. connections can't be established.
  844. - Fixed a bug that caused the daemon to leak file descriptors when no
  845. resolver subprocesses could be created.
  846. - Fixed server NOTICEs to users with "s" mode ("server messages").
  847. - Fixed a format string bug in "connection statistics" messages to clients.
  848. ngIRCd 0.9.1 (2005-08-03)
  849. - The KILL command killed much more than desired (including server links!)
  850. when the target user is connected to a remote server. Bug introduced in
  851. ngIRCd 0.9.0 ... Reported by <>, Thanks!
  852. - Changed some constants to be "signed" (instead of unsigned) to solve
  853. problems with old (pre-ANSI) compilers.
  854. ngIRCd 0.9.0 (2005-07-24)
  855. ngIRCd 0.9.0-pre1 (2005-07-09)
  856. - Fixed maximum length of user names, now allow up to 9 characters.
  857. - Cut off oversized IRC messages that should be sent to the network instead
  858. of shutting down the (wrong) connection.
  859. - Don't generate error messages for unknown commands received before the
  860. client is registered with the server (like the original ircd).
  861. - Never run with root privileges but always switch the user ID.
  862. - Make "netsplit" messages RFC compliant.
  863. - Fix handling of QUIT Messages: send only one message, even if the client
  864. is member of multiple channels.
  865. - Don't exit server if closing of a socket fails; instead ignore it and
  866. pray that this will be "the right thing" ...
  867. - Implemented the IRC function "WHOWAS".
  868. - Don't enable assert() calls when not ./configure'd with --enable-debug.
  869. - Fixed ./configure test for TCP Wrappers: now it runs on Mac OS X as well.
  870. - Enhanced configure script: now you can pass an (optional) search path
  871. to all --with-XXX parameters, e. g. "--with-ident=/opt/ident".
  872. - Removed typedefs for the native C datatypes.
  873. Use stdbool.h / inttypes.h if available.
  874. - New configuration option "OperServerMode" to enable a workaround needed
  875. when running an network with ircd2 servers and "OperCanUseMode" enabled
  876. to prevent the ircd2 daemon to drop mode changes of IRC operators.
  877. Patch by Florian Westphal, <>.
  878. - Implemented support for "secret channels" (channel mode "s").
  879. - New configuration option "Mask" for [Operator] sections to limit OPER
  880. commands to users with a specific IRC mask. Patch from Florian Westphal.
  881. - Write "error file" (/tmp/ngircd-XXX.err) only if compiled with debug
  882. code ("--enable-debug") and running as daemon process.
  883. - Don't create version information string each time a client connects
  884. but instead on server startup. By Florian Westphal.
  885. - New configuration variable "PidFile", section "[Global]": if defined,
  886. the server writes its process ID (PID) to this file. Default: off.
  887. Idea of Florian Westphal, <>.
  888. - Code cleanups from Florian Westphal, <>.
  889. - Raised the maximum length of passwords to 20 characters.
  890. - Fixed a memory leak when resizing the connection pool and realloc()
  891. failed. Now we don't fall back to malloc(), which should be sane anyway.
  892. Patch from Florian Westphal, <>.
  893. - Added support for the Howl (
  894. Rendezvous API, in addition to the API of Apple (Mac OS X). The available
  895. API will be autodetected when you call "./configure --with-rendezvous".
  896. - Made ngIRCd compile on HP/UX 10.20 with native HP pre-ANSI C compiler and
  897. most probably other older C compilers on other systems.
  898. - When the daemon should switch to another user ID (ServerID is defined in
  899. the configuration file) and is not running in a chroot environment, it
  900. changes its working directory to the home directory of this user. This
  901. should enable the system to write proper core files when not running with
  902. root privileges ...
  903. ngIRCd 0.8.3 (2005-02-03)
  904. - Fixed a bug that could case a root exploit when the daemon is compiled
  905. to do IDENT lookups and is logging to syslog. Bug discovered by CoKi,
  906. <>, thanks a lot!
  907. (CVE-2005-0226;
  908. ngIRCd 0.8.2 (2005-01-26)
  909. - Added doc/SSL.txt to distribution.
  910. - Fixed a buffer overflow that could cause the daemon to crash. Bug found
  911. by Florian Westphal, <>. (CVE-2005-0199)
  912. - Fixed a possible buffer underrun when reading the MOTD file. Thanks
  913. to Florian Westphal, <>.
  914. - Fixed detection of IRC lines which are too long to send. Detected by
  915. Florian Westphal, <>.
  916. - Fixed return values of our own implementation of strlcpy(). The code has
  917. been taken from rsync and they fixed it, but we didn't until today :-/
  918. It has only been used when the system didn't implement strlcpy by itself,
  919. not on "modern" systems. Florian Westphal, <>.
  920. ngIRCd 0.8.1 (2004-12-25)
  921. - Autoconf: Updated config.guess and config.sub
  922. - Added some more debug code ...
  923. - Fixed wrong variable names in output of "ngircd --configtest".
  924. - Debian: Fixed the name of the "default file" in the init script for
  925. ngircd-full packages. And do the test if the binary is executable after
  926. reading this file.
  927. - Enhanced the "test suite": please have a look at src/testsuite/README!
  928. ngIRCd 0.8.0 (2004-06-26)
  929. - Fixed wrong buffer size calculation for results of the resolver.
  930. ngircd 0.8.0-pre2 (2004-05-16)
  931. - Enhanced logging to console when running in "no-detached mode": added
  932. PID and log messages of resolver sub-processes.
  933. - Fixed host name lookups when using IDENT user lookups.
  934. - "make clean" and "make maintainer-clean" remove more files now.
  935. ngIRCd 0.8.0-pre1 (2004-05-07)
  936. - Two new configuration options: "ChrootDir" and "MotdPhrase", thanks to
  937. Benjamin Pineau <>. Now you can force the daemon to change
  938. its root and working directory to something "safe". MotdPhrase is used
  939. to define an "MOTD string" instead of a whole file, useful if the
  940. "real" MOTD file would be outside the "jail".
  941. - INVITE- and BAN-lists become synchronized between IRC+ servers when
  942. establishing new connections, if the peer supports this as well.
  943. - Reorganized and configure scripts.
  944. - Fixed a wrong assert() which could cause the daemon to exit spuriously
  945. when closing down connections.
  946. - Better logging of decompression errors returned by zlib.
  947. - Servers other than the destination server didn't clean up the invite
  948. list of an "invite-only" channel properly when an INVITE'd user joined.
  949. - Changed the reply of the MODE command to match the syntax of the
  950. original ircd exactly: the unnecessary but missing ":" before the last
  951. parameter has been added.
  952. - Fixed TRACE: don't output "Serv" lines for ourself; display more info.
  953. - Results of the resolver (host names and IDENT names) are discarded after
  954. the client is successfully registered with the server.
  955. - Better logging while establishing and shutting down connections.
  956. - The type of service (TOS) of all sockets is set to "interactive" now.
  957. - Added short command line option "-t" as alternative to "--configtest".
  958. - Added optional support for "IDENT" lookups on incoming connections. You
  959. have to enable this function with the ./configure switch "--with-ident".
  960. The default is not to do IDENT lookups.
  961. ngIRCd 0.7.7 (2004-02-05)
  962. - The info text ("real name") of users is set to "-" if none has been
  963. specified using the USER command (e. g. "USER user * * :"). Reason:
  964. the original ircd doesn't like empty ones and would KILL such users.
  965. - Fixed (optional) TCP Wrapper test which was broken and could result in
  966. false results. Thanks to Fuminori Tanizaki <>!
  967. - Removed "USE_" prefixes of configuration #defines.
  968. ngIRCd 0.7.6 (2003-12-05)
  969. - Fixed abort() ("server crash") when INVITE'ing users to nonexistent
  970. channels. Bug found by <>.
  971. - Extended version numbering of CVS versions (added date).
  972. - Enhanced/fixed doc/Protocol.txt;
  973. ngIRCd 0.7.5 (2003-11-07)
  974. - Fixed ban behavior: users which are banned from a channel can't no
  975. longer send PRIVMSG's to this channel (fixes Bug #47).
  976. - Fixed and enhanced the "penalty handling" of the server: commands that
  977. require more resources block the client for a short time.
  978. - Changed the internal time resolution to one second.
  979. - New configuration variable "MaxConnectionsIP" to limit the number of
  980. simultaneous connections from a single IP that the server will accept.
  981. This configuration options lowers the risk of denial of service attacks
  982. (DoS), the default is 5 connections per client IP.
  983. - Fixed build problems under Mac OS X 10.3.
  984. - Use "-pipe" when compiling with gcc, speeds things up a little :-)
  985. - Added new configuration variable "Listen" to bind all listening
  986. sockets of the server to a single IP address.
  987. - Suppress misleading error message of diff during make run.
  988. - Enhanced test-suite and made it work on GNU/Hurd.
  989. - Fixed minor typo in debug output :-)
  990. ngIRCd 0.7.1 (2003-07-18)
  991. - Included files to build Debian packages (located in "debian/").
  992. - Updated config.guess and config.sub to newer upstream versions.
  993. - NJOIN propagates user channel modes correctly again ... Upsa.
  994. - Made Makefile more compatible with "make -j<n>".
  995. - Added support for GNU/Hurd.
  996. - Fixed a compiler warning related to an unnecessary assert().
  997. - Enhanced VERSION command when using debug versions.
  998. ngIRCd 0.7.0 (2003-05-01)
  999. - "ServerName" is checked better now: a dot (".") is required.
  1000. - The KILL command verifies and logs more parameters.
  1001. ngIRCd 0.7.0-pre2 (2003-04-27)
  1002. - CVS build system fixes (made more portable).
  1003. - Fixed compilation and test-suite on Solaris (tested with 2.6).
  1004. - New documentation file "doc/Platforms.txt" describing the status of
  1005. ngIRCd on the various tested platforms.
  1006. - Test for broken GCC on Mac OS X and disable "-pedantic" in this case.
  1007. - Disable "-ansi" on Cygwin: system headers are incompatible.
  1008. - The server tried to connect to other servers only once when DNS or
  1009. socket failures occurred.
  1010. - Fixed --configtest: There is no variable "ServerPwd", it's "Password".
  1011. ngIRCd 0.7.0-pre1 (2003-04-22)
  1012. - New signal handler (more secure, actions are executed outside).
  1013. - GCC: the compiler is now called with more warning options enabled.
  1014. - Replaced a lot of str[n]cpy(), str[n]cat() and sprintf() calls with the
  1015. more secure functions strlcpy(), strlcat() and snprintf(). On systems
  1016. that don't support strlcpy() and strlcat(), these functions are included
  1017. in the libngportab now (with prototypes in portab.h).
  1018. - If the server can't close a socket, it panics now. This is an error that
  1019. can't occur during normal operation so there is something broken.
  1020. - The order of log messages during disconnects is more "natural" now ;-)
  1021. - Cleaned up handling of server configuration structures: modifying and
  1022. removing servers during runtime works more reliable now.
  1023. - Compression code from "conn.[ch]" is now found in new "conn-zip.[ch]"
  1024. - Moved some connection functions from "conn.[ch]" to "conn-func.[ch]".
  1025. - New command CONNECT to enable and add server links. The syntax is not
  1026. RFC-compatible: use "CONNECT <name> <port>" to enable and connect an
  1027. configured server and "CONNECT <name> <port> <host> <mypwd> <peerpwd>"
  1028. to add a new server (ngIRCd tries to connect new servers only once!).
  1029. - Added DISCONNECT command ("DISCONNECT <name>") to disable servers.
  1030. - Restructured the documentation: Now the main language is English. The
  1031. german documentation has been removed (until there is a maintainer).
  1032. - Enhanced killing of users caused by a nickname collision.
  1033. - Better error detection for status code ("numerics") forwarding.
  1034. - Moved tool functions to own library: "libngtool".
  1035. - New command TRACE (you can trace only servers at the moment).
  1036. - New command HELP that lists all understood commands.
  1037. - There should no longer remain "unknown connections" (see e.g. LUSERS)
  1038. if an outgoing server link can't be established.
  1039. - Added AC_PREREQ(2.50) to for better autoconf compatibility.
  1040. - Conn_Close() now handles recursive calls for the same link correctly.
  1041. - ngIRCd can register itself with Rendezvous: to enable support pass the
  1042. new switch "--with-rendezvous" to configure.
  1043. - Added support for TCP Wrappers library: pass "--with-tcp-wrappers" to
  1044. configure to enable it.
  1045. - Changed some configure options to use "--with"/"--without" as prefix
  1046. instead of "--enable"/"--disable": "--without-syslog", "--without-zlib",
  1047. "--with-tcp-wrappers", and "--with-rendezvous".
  1048. - Better error reporting to clients on connect.
  1049. - Enhanced manual pages ngircd(8) and ngircd.conf(5).
  1050. - Documentation is now installed in $(datadir)/doc/ngircd.
  1051. - Enhanced handling of NJOIN in case of nick collisions.
  1052. ngIRCd 0.6.1, 2003-01-21
  1053. - Fixed KILL: you can't crash the server by killing yourself any more,
  1054. ngIRCd no longer sends a QUIT to other servers after the KILL, and you
  1055. can kill only valid users now.
  1056. - The server no longer forwards commands to ordinary users, instead it
  1057. answers with the correct error message ("no such server") now.
  1058. - WHOIS commands weren't always forwarded as requested.
  1059. - The server sets a correct default AWAY message now when propagating
  1060. between servers (bug introduced in 0.6.0).
  1061. - Fixed up and enhanced CHANINFO command: channel keys and user limits
  1062. are synchronized between servers now, too.
  1063. - MODE returns the key and user limit for channel members correctly now.
  1064. - Non-members of a channel could crash the server when trying to change
  1065. its modes or modes of its members.
  1066. - The server didn't validate weather a target user is a valid channel
  1067. member when changing his channel user modes which could crash ngIRCd.
  1068. Older changes (sorry, only available in german language):
  1069. ngIRCd 0.6.0, 2002-12-24
  1070. ngIRCd 0.6.0-pre2, 2002-12-23
  1071. - neuer Numeric 005 ("Features") beim Connect.
  1072. - LUSERS erweitert: nun wird die maximale Anzahl der lokalen und globalen
  1073. Clients, die dem Server bzw. im Netzwerk seit dem letzten (Re-)Start
  1074. dem Server gleichzeitig bekannt waren, angezeigt.
  1075. ngIRCd 0.6.0-pre1, 2002-12-18
  1076. - beim Schliessen einer Verbindung zeigt der Server nun vor dem ERROR
  1077. noch eine Statistik ueber die empfangene und gesendete Datenmenge an.
  1078. - der Server wartet bei einer eingehenden Verbindung nun laenger auf den
  1079. Resolver (4 Sekunden), wenn das Ergebnis eintrifft setzt er aber den
  1080. Login sofort fort (bisher wurde immer mind. 1 Sekunde gewartet).
  1081. - Connection-Strukturen werden nun "pool-weise" verwaltet; der Pool wird
  1082. bei Bedarf bis zu einem konfigurierten Limit vergroessert.
  1083. - Mit der neuen Konfigurationsvariable "MaxConnections" (Sektion "Global")
  1084. kann die maximale Anzahl gleichzeitiger Verbindungen begrenzt werden.
  1085. Der Default ist -1, "unlimitiert".
  1086. - der Server erkennt nun, ob bereits eine eingehende Verbindung von einem
  1087. Peer-Server besteht und versucht dann nicht mehr, selber eine eigene
  1088. ausgehende Verbindung zu diesem auufzubauen. Dadurch kann nun auf beiden
  1089. Servern in der Konfiguration ein Port fuer den Connect konfiguriert
  1090. werden (beide Server versuchen sich dann gegenseitig zu connectieren).
  1091. - Test-Suite und Dokumentation an A/UX angepasst.
  1092. - unter HP-UX definiert das configure-Script nun _XOPEN_SOURCE_EXTENDED.
  1093. - Server identifizieren sich nun mit asynchronen Passwoertern, d.h. das
  1094. Passwort, welches A an B schickt, kann ein anderes sein als das, welches
  1095. B als Antwort an A sendet. In der Konfig.-Datei, Abschnitt "Server",
  1096. wurde "Password" dazu durch "MyPassword" und "PeerPassword" ersetzt.
  1097. - Der Server kann nun zur Laufzeit die Konfiguration neu einlesen: dies
  1098. macht er nach dem Befehl REHASH oder wenn ein HUP-Signal empfangen wird.
  1099. - Channel-Mode "P" ("persistent") kann nur noch von IRC-Operatoren gesetzt
  1100. werden. Grund: User koennen den Server sonst leicht "Channel-Flooden".
  1101. - MOTD kann nun an andere Server geforwarded werden.
  1102. - IRC-Befehl "TIME" implementiert.
  1103. - Server-Server-Links koennen nun komprimiert werden, dazu wird die zlib
  1104. ( benoetigt. Unterstuetzt die Gegenseite die Komprimierung
  1105. nicht, wird automatisch unkomprimiert kommuniziert. Das Verfahren ist
  1106. kompatibel mit dem Original-ircd 2.10.3, d.h. beide Server koennen
  1107. miteinander ueber komprimiert Links kommunizieren.
  1108. - Handling der Schreibpuffer umgestellt: Server sollte schneller arbeiten.
  1109. - Prefix-Fehler werden besser protokolliert (mit verursachendem Befehl).
  1110. - SQUIT wird nicht mehr doppelt an andere Server weitergeleitet.
  1111. - Der Server versucht nun vor dem Schliessen einer Verbindung Daten, die
  1112. noch im Schreibpuffer stehen, zu senden.
  1113. - Source in weiteres Modul "irc-info" aufgespalten.
  1114. - Konfigurationsvariablen werden besser validiert: Laengen, Zahlen, ...
  1115. - neuen Befehl STATS begonnen: bisher unterstuetzt wird "l" und "m".
  1116. - bei ISON und USERHOST fehlte im Ergebnis-String der korrekte Absender.
  1117. - IRC Operatoren koennen nun mit KILL User toeten. Achtung: ein Grund muss
  1118. zwingend als zweiter Parameter angegeben werden!
  1119. - neue Konfigurations-Variable "MaxJoins": Hiermit kann die maximale Zahl
  1120. der Channels, in denen ein User Mitglied sein kann, begrent werden.
  1121. - neuer, deutlich flexiblerer Parser fuer den MODE Befehl.
  1122. - neue Channel-Modes l (User-Limit) und k (Channel-Key) implementiert.
  1123. ngIRCd 0.5.4, 24.11.2002
  1124. - Fehler-Handling von connect() gefixed: der Server kann sich nun auch
  1125. unter A/UX wieder zu anderen verbinden.
  1126. - in den Konfigurationsvariablen ServerUID und ServerGID kann nun nicht
  1127. nur die numerische ID, sondern auch der Name des Users bzw. der Gruppe
  1128. verwendet werden. Beim Start des Daemons wird nun beides angezeigt.
  1129. - Besseres Logging von Prefix-Fehlern.
  1130. - angenommene Sockets werden nun korrekt auf "non-blocking" konfiguriert,
  1131. beim Senden und Empfangen werden Blockierungen besser abgefangen.
  1132. - RPL_UMODEIS hat Code 221, nicht 211 ... *argl*
  1133. - select() in Try_Write() hat falschen (keinen!) Timeout verwendet;
  1134. die "Zeit-Aufloesung" des Servers sind zudem nun 2 Sekunden (TIME_RES).
  1135. Insgesamt sollte die Reaktionszeit des Server nun besser sein.
  1136. ngIRCd 0.5.3, 08.11.2002
  1137. - NOTICE liefert nun wirklich nie mehr einen Fehler, auch dann nicht,
  1138. wenn der sendende Client noch gar nicht registriert ist.
  1139. - ein "schneller Server-Reconnect" wird nur noch dann versucht, wenn die
  1140. Verbindung zuvor ordentlich (="lange genug") in Ordnung war; somit also
  1141. nicht meht, wenn der Peer-Server gleich beim Connect ein ERROR liefert.
  1142. Das vermeidet "Connect-Orgien".
  1143. - einige Datentypen aufgeraumt: z.B. sind viele INT32s nun LONGs. Das ist
  1144. auf Platformen mit 8-Byte-Integern kompatibler.
  1145. - RPL_YOURHOST_MSG ist nun ircII- und RFC-kompatibel ;-)
  1146. - Segfault unter hoher Netzaktivitaet behoben: in Conn_Close() wird die
  1147. Connection-Struktur nun frueher als "ungueltig" markiert.
  1148. ngIRCd 0.5.2, 04.10.2002
  1149. - Buffer Overflow in Read_Resolver_Result() behoben.
  1150. - Format-String-Bugs, die zum Abbruch des Servers fuehrten, behoben.
  1151. - Maximale Laenge eines IRC-Prefix wurde falsch berechnet.
  1152. ngIRCd 0.5.1, 03.10.2002
  1153. - in RPL_YOURHOST_MSG wurde ein fehlerhafter Versionsstring geliefert.
  1154. - Test-Suite:, und koennen
  1155. nun "manuell" von der Kommandozeile gestartet werden,
  1156. startet per Default nur noch 5 Sessions, eine andere Zahl kann auf der
  1157. Kommandozeile uebergeben werden (Syntax: " <count>").
  1158. - In bestimmten Faellen hat der Server versucht auf einen bereits wieder
  1159. geschlossenen Socket Daten zu schreiben; das fuehrte zu einem Abbruch des
  1160. Servers durch ein assert(). Nun wird geprueft, ob der Socket noch ok ist.
  1161. - im "contrib"-Verzeichnis befindet sich nun eine RPM-Spec-Datei, aus den
  1162. .tar.gz's koennen nun mit "rpm -ta <archiv>" RPM's erzeugt werden. Danke
  1163. an Sean Reifschneider <>!
  1164. - Syntax von RPL_MYINFO_MSG korrigiert: liefert nun vier Parameter.
  1165. ngIRCd 0.5.0, 20.09.2002
  1166. - Dokumentation aktualisiert.
  1167. - Fehler bei Validierung von "AdminInfo2" behoben.
  1168. - Test der Flags fuer "ps" in der Testsuite verbessert, ist nun zu mehr
  1169. Plattformen kompatibler.
  1170. ngIRCd 0.5.0-pre2, 17.09.2002
  1171. - Fix in IRC_WriteStrServersPrefix() war "badly broken" -- behoben.
  1172. ngIRCd 0.5.0-pre1, 16.09.2002
  1173. - Manual-Pages ngircd.8 und ngircd.conf.5 begonnen.
  1174. - Wird der Netzwerk-Sniffer aktiviert (--sniffer), so schaltet der
  1175. ngIRCd nun automatisch in den Debug-Modus.
  1176. - auf Systemen, die inet_aton() nicht kennen (wie z.B. A/UX), kann der
  1177. ngIRCd nun dennoch auch aktiv Server-Links aufbauen.
  1178. - h_errno wird auf Systemen, die das nicht kennen (wie z.B. HP-UX 10.20)
  1179. nicht mehr verwendet. Somit compiliert der ngIRCd nun auch dort :-)
  1180. - um auf dem Ziel-System nicht vorhandene Funktionen nachzubilden wird nun
  1181. die "libngportab" erzeugt; genutzt wird dies bisher fuer vsnprintf().
  1182. Nun compiliert der ngIRCd auch unter Solaris 2.5.1.
  1183. - "persistente Channels" (Mode 'P') implementiert: diese koennen in der
  1184. Konfigurationsdatei definiert werden (Sektion "Channel", vgl. Beispiel-
  1185. Konfiguration "sample-ngircd.conf") und bleiben auch dann bestehen,
  1186. wenn kein User mehr im Channel ist. Zu Channel-Operatoren werden bisher
  1187. nur IRC-Operatoren, die den Channel betreten. Die persistenten Channels
  1188. werden durch das Flag "P" gelennzeichnet, welches normal durch Channel-
  1189. Op's gesetzt und geloescht werden kann.
  1190. - bei "--configtest" werden keine leere Abschnitte mehr ausgegeben.
  1191. - Source in weitere Module aufgespalten: lists, irc-op und resolve.
  1192. - #include's aufgeraeumt: Header includieren keine anderen mehr.
  1193. - KICK implementiert (bisher kann nur ein User aus einem Channel geckicked
  1194. werden, Listen, wir im RFC vorgesehen, werden bisher nicht unterstuetzt).
  1195. - INVITE, den Channel-Mode "i" sowie Invite-Lists ueber den MODE-Befehl
  1196. (setzen, erfragen und loeschen) implementiert.
  1197. - Source an ansi2knr fuer pre-ANSI-Compiler angepasst; ansi2knr in Source-
  1198. Tree aufgenommen und in Build-System integriert; der ngIRCd compiliert
  1199. nun z.B. unter A/UX mit dem nativen Compiler von Apple.
  1200. - TOPIC lieferte bei unbekanntem Channel einen falschen Fehlercode.
  1201. - LIST versteht nun Wildcards und kann an andere Server geforwarded werden.
  1202. - wurde ein KILL fuer nicht-lokale Clients empfangen, so wurden die
  1203. Verwaltungs-Strukturen nicht korrekt freigegeben.
  1204. - empfangene NJOIN's wurden "zerhackt" an andere Server weitergegeben.
  1205. - neue Konfigurationsoption "OperCanUseMode" (Sektion "Global"):
  1206. ist sie aktiv, koennen IRC-Operatoren immer Channel-Modes setzen.
  1207. - Dokumentation des neuen IRC+-Protokolls begonnen: doc/Protocol.txt
  1208. - Protokoll- und Server-ID bei PASS-Befehlen auf neues Format umgestellt;
  1209. bei empfangenen PASS-Befehlen werden diese zudem nun auch ausgewertet.
  1210. Die unterstuetzten Flags sind in doc/Protocol.txt beschrieben.
  1211. - mit dem neuen Befehl CHANINFO synchronisieren Server, die das IRC+-
  1212. Protokoll unterstuetzen, Channel-Modes und Topics.
  1213. - neue Option "--disable-ircplus" fuer das configure-Script, um das
  1214. IRC+-Protokoll abzuschalten (per Default ist es aktiviert).
  1215. - Ban-Lists (setzen, erfragen und loeschen) implementiert.
  1216. - wird der Server mit "-n"/"--nodaemon" gestartet, so werden keine Mel-
  1217. dungen mehr ueber Syslog ausgegeben, sondern nur noch auf der Konsole.
  1218. - "Test-Suite" begonnen (in "make check" integriert): Dabei wird ein
  1219. speziell konfigurierter Server auf Port 6789 gestartet, mit dem dann
  1220. einige Tests durchgefuehrt werden (u.a. "Stress-Test" mit 50 Clients).
  1221. - zu lange Operator-Namen in der Konfiguration wurden falsch gekuerzt.
  1222. - kleine Anpassung an AIX 3.2.5: nun laeuft der ngIRCd auch dort :-)
  1223. - ADMIN-Befehl implementiert. Die Daten hierzu werden in der Konfig-Datei
  1224. im [Global]-Abschnitt mit den Variablen "AdminInfo1", "AdminInfo2" und
  1225. "AdminEMail" konfiguriert.
  1226. ngIRCd 0.4.3, 11.06.2002
  1227. - Bei PRIVMSG und NOTICE hat der ngIRCd nicht ueberpruft, ob das Ziel
  1228. ueberhaupt ein User ist. War es keiner, so fuehrte dies zu einem
  1229. Abbruch des Servers [es wurde assert() aufgerufen].
  1230. ngIRCd 0.4.2, 29.04.2002
  1231. - LUSERS verzaehlt sich bei eigenen Server-Links nicht mehr.
  1232. - QUIT wird nun auch von noch nicht registrierten Clients akzeptiert.
  1233. - IRC-Funktion LIST implementiert; bisher werden allerdings noch keine
  1234. Wildcards (bis auf "*") unterstuetzt.
  1235. ngIRCd 0.4.1, 08.04.2002
  1236. - Bei Server-Links wird nicht mehr an Hand der Anzahl der Parameter
  1237. eines empfangenen SERVER-Befehls, sondern "intern" erkannt, ob es
  1238. sich um eine ein- oder ausgehende Verbindung handelt und somit das
  1239. eigene PASS-SERVER-Paar gesendet werden muss oder nicht. Da sich
  1240. verschiedene Versionen des Original-ircd's anders verhalten, schlug
  1241. die Anmeldung je nach Gehenseite evtl. fehl.
  1242. - Bei einem NICK-Befehl eines lokalen Client konnte der Server ab-
  1243. stuerzen, da ein Format-String einer Log-Meldung fehlerhaft war.
  1244. ngIRCd 0.4.0, 01.04.2002
  1245. - IRC-Befehle nochmal auf weitere Source-Dateien aufgespalten.
  1246. - WHO implementiert (bisher ohne komplette Unterstuetzung von Masks).
  1247. - Der AWAY-Mode wurde nicht ueber mehrere Server-Links weitergegeben.
  1248. - stderr wird nun in eine Datei umgelenkt (/tmp/ngircd-<PID>.err).
  1249. Laeuft der Server nicht im Debug-Modus, so wird diese bei Programm-
  1250. ende geloescht. Sollte der Server abstuerzen, finden sich hier evtl.
  1251. zusaetzliche Informationen.
  1252. - In Nicknames wird das Zeichen "-" nun als zulaessig erkannt.
  1253. - die Beispiel-Konfigurationsdatei (doc/sample-ngircd.conf) wird als
  1254. ngircd.conf installiert, wenn noch keine "echte" Konfigurationsdatei
  1255. vorhanden ist.
  1256. - bei WHO, WHOIS und NAMES wird nun nur noch der Status "Operator" oder
  1257. "voiced" geliefert -- nicht mehr beides.
  1258. - Server-Gruppen implementiert: es wird immer nur zu einem Server in
  1259. einer Gruppe eine Verbindung aufgebaut, klappt es beim ersten Server
  1260. nicht, so wird der naechste probiert (Variable "Group" in der Kon-
  1261. figurationsdatei, Sektion [Server]).
  1262. - IRC_PING() ist, wenn nicht im "strict RFC"-Mode, toleranter und ak-
  1263. zeptiert beliebig viele Parameter (z.B. BitchX sendet soetwas).
  1264. - die "Portab-Header" werden nicht mehr benoetigt, die System-Erkennung
  1265. wird nun ausschliesslich vom configure-Script durchgefuehrt. System-
  1266. abhaengige Definitionen finden sich nun unter src/portrab/.
  1267. - Clients und Channels werden nicht mehr ueber ihren Namen, sondern
  1268. einen Hash-Wert gesucht: sollte deutlich schneller sein.
  1269. - neuer Kommandozeilen-Parameter "--configtest": die Konfiguration wird
  1270. gelesen und dann die verwendeten Werte angezeigt.
  1271. - Client-Mode "s" (Server Notices) implementiert.
  1272. - mit dem neuen Kommandozeilen-Parameter "--config"/"-f" kann eine
  1273. alternative Konfigurationsdatei angegeben werden.
  1274. - nach dem Start kann der ngIRCd, wenn er mit root-Rechten laeuft,
  1275. zu einer anderen User-ID und Group-ID wechseln.
  1276. - URL der Homepage wird u.a. bei "--version" mit angezeigt.
  1277. ngIRCd 0.3.0, 02.03.2002
  1278. - bekommt der Server ein HUP-Signal, so startet er neu -- genau so, wie
  1279. er auf den IRC-Befehl RESTART reagiert.
  1280. - FAQ um Hinweise auf den Bugtracker erweitert.
  1281. - neuer Kommandozeilen-Schalter "--passive" (-p): wird er angegeben, so
  1282. verbindet sich der ngIRCd nicht mehr automatisch zu anderen Servern.
  1283. Zum Debuggen manchmal ganz praktisch :-)
  1284. - direkt nach dem Start schreibt der ngIRCd nun die aktiven Kommando-
  1285. zeilenschalter in's Logfile (Passive, Debug, Sniffer ...).
  1286. - das Signal-Flag SA_RESTART wird nur noch gesetzt, wenn es auf dem
  1287. jeweiligen System auch definiert ist.
  1288. - bei ausgehenden Verbindungen wird nun der Ziel-Port protokolliert.
  1289. - neue Befehle VERSION und KILL implementiert.
  1290. - make-Target "check" (und "distcheck") mit Sinn erfuellt :-)
  1291. (die Tests sind aber bisher nicht all zu tiefgehend ...)
  1292. - Durch einen Ueberlauf konnte die Idle-Time bei WHOIS negativ werden ...
  1293. - Anpassungen an A/UX: gehoert nun auch zu den unterstuetzten Platformen.
  1294. - WHOIS wird nicht mehr automatisch an den "Original-Server" weiterge-
  1295. leitet: war eh nicht RFC-konform und machte mit Clients Probleme.
  1296. - an User wird nun immer ein "komplettes" Prefix (mit Host-Mask) ver-
  1297. schickt, Server bekommen nach wie vor kurze: das "Original" hat bei
  1298. bestimmten Befehlen (PRIVMSG) ansonsten evtl. Probleme ...
  1299. - NAMES korrigiert und vollstaendig implementiert.
  1300. - SQUIT wird auf jeden Fall geforwarded, zudem besseres Logging.
  1301. - Ist ein Nick bei der User-Registrierung bereits belegt, nimmt der
  1302. Server nun korrekt weitere NICK-Befehle an und verwendet diese.
  1303. - PRIVMSG beachtet nun die Channel-Modes "n" und "m".
  1304. - AWAY implementiert. PRIVMSG, MODE, USERHOST und WHOIS angepasst.
  1305. - der ngIRCd unterstuetzt nun Channel-Topics (TOPIC-Befehl).
  1306. - ausgehende Server-Verbindungen werden nun asynchron connectiert und
  1307. blockieren nicht mehr den ganzen Server, wenn die Gegenseite nicht
  1308. erreicht werden kann (bis zum Timeout konnten Minuten vergehen!).
  1309. - Wert der Konfigurations-Variable "ConnectRetry" wird besser beachtet.
  1310. - Channel- und Nicknames werden nun ordentlich validiert.
  1311. ngIRCd 0.2.1, 17.02.2002
  1312. - NICK korrigiert: es werden nun auch alle "betroffenen" User informiert.
  1313. - configure-Script erweitert, u.a. bessere Anpassung an BeOS: dort wird
  1314. nun die "libbe" zum ngIRCd gelinkt, somit funktioniert auch syslog.
  1315. - Fehlerhafte bzw. noch nicht verstandene Modes werden nun ausfuehrlicher
  1316. an den Client geliefert.
  1317. ngIRCd 0.2.0, 15.02.2002
  1318. - Nicknames und Channel-Namen werden etwas besser auf Gueltigkeit ueber-
  1319. prueft; ist aber nach wie vor noch nicht ausreichend.
  1320. - NJOINS von Servern wurden nicht an andere Server weitergeleitet.
  1321. - Begonnen Channel-Modes und User-Channel-Modes zu implementieren: der
  1322. Server versteht an User-Modes o und v, beachtet letzteres allerdings
  1323. noch nirgends. Bekannte (aber nicht beachtete!) Channel-Modes sind
  1324. bisher a, m, n, p, q, s und t. Diese Modes werden von Usern ange-
  1325. nommen, von anderen Servern werden auch unbekannte Modes uebernommen.
  1326. - Benutzer von connectierenden Servern wurden nicht in den Channels ange-
  1327. kuendigt, es wurden nur die internen Strukturen angepasst.
  1328. - Nach dem Connect eines Users werden LUSERS-Informationen angezeigt.
  1329. ngIRCd 0.1.0, 29.01.2002
  1330. - User-Modes bei User-Registrierungen von andere Servern (NICK-Befehl)
  1331. wurden falsch uebernommen. Zudem wurden die Modes falsch gekuerzt.
  1332. - Server-Verbindungen werden nun nach dem Start erst nach einer kurzen
  1333. Pause aufgebaut (zur Zeit drei Sekunden).
  1334. - Hilfetext korrigiert: --help und --version waren vertauscht, die
  1335. Option --sniffer wurde gar nicht erwaehnt.
  1336. - FAQ.txt in doc/ begonnen.
  1337. - der IRC-Sniffer wird nur noch aktiviert, wenn die Option auf der
  1338. Kommandozeile angegeben wurde (bei entsprechend compiliertem Server).
  1339. - Channels implementiert, bisher jedoch noch ohne Channel-Modes, d.h.
  1340. es gibt keine Channel-Ops, kein Topic, kein "topic lock" etc. pp.
  1341. Chatten in Channels ist aber natuerlich moeglich ;-)
  1342. - neue Befehle fuer Channles: JOIN, PART und NJOIN.
  1343. - durch die Channels einige Aenderungen an PRIVMSG, WHOIS, MODE etc.
  1344. - neu connectierenden Servern werden nun Channels mit NJOIN angekuendigt.
  1345. - Signal-Hander geaendert: die Fehlermeldung "interrupted system call"
  1346. sollte so nicht mehr auftreten.
  1347. - "spaeter" neu connectierende Server werden nun im Netz angekuendigt.
  1348. - SERVER-Meldungen an andere Server sind nun korrekt sortiert.
  1349. - Clients werden nun korrekt sowohl nur ueber den Nickname als auch die
  1350. komplette "Host Mask" erkannt.
  1351. ngIRCd 0.0.3, 16.01.2002
  1352. - Server-Links vollstaendig implementiert: der ngIRCd kann nun auch
  1353. "Sub-Server" haben, also sowohl als Leaf-Node als auch Hub in einem
  1354. IRC-Netzwerk arbeiten.
  1355. - MODE und NICK melden nun die Aenderungen an andere Server, ebenso
  1356. die Befehle QUIT und SQUIT.
  1357. - WHOIS wird nun immer an den "Original-Server" weitergeleitet.
  1358. - Parses handhabt Leerzeichen zw. Parametern nun etwas "lockerer".
  1359. - Status-Codes an den Server selber werden ignorier.
  1360. - Log-Meldungen und Log-Level ueberarbeitet und korrigiert.
  1361. - Kommandozeilen-Parser: Debug- und No-Daemon-Modus, Hilfe.
  1362. - ngIRCd wandelt sich nun in einen Daemon (Hintergrundprozess) um.
  1363. - WHOIS korrigiert: Anfrage wurde u.U. an User geforwarded anstatt vom
  1364. Server beantwortet zu werden.
  1365. - neue Befehle: LUSERS, LINKS
  1366. - Client-Modes von Remote-Servern wurden nicht korrekt uerbernommen.
  1367. ngIRCd 0.0.2, 06.01.2002
  1368. - Struktur der Konfigurationsdatei geaendert: sie ist nun "Samba like",
  1369. d.h. sie besteht aus Abschnitten (siehe "doc/sample-ngircd.conf").
  1370. - Es koennen mehrere IRC-Server-Opertatoren konfiguriert werden.
  1371. - Zombies der Resolver-Prozesse werden nun ordentlich "getoetet".
  1372. - NICK kann nun die Gross- und Kleinschreibung eines Nicks aendern.
  1373. - ein Server-Passwort ist nun konfigurierbar.
  1374. - neue Befehle: ERROR, SERVER, NJOIN (nur als "Fake"), SQUIT.
  1375. - Asynchroner Resolver Hostname->IP implementiert.
  1376. - Server-Links teilweise implementiert: bisher kann der ngIRCd jedoch
  1377. nur "leafed server" sein, d.h. keine "Client-Server" haben. Einige
  1378. Befehle sind auch noch nicht (optimal) angepasst: PRIVMSG funktioniert
  1379. aber bereits, ebenso wie WHOIS (letzterer wird immer an den Server,
  1380. auf dem der User registriert ist, weitergegeben).
  1381. - "arpa/inet.h" wird nur noch includiert, wenn vorhanden.
  1382. - Fehler bei select() fuerhen nun zum Abbruch von ngIRCd, bisher landete
  1383. der Server zumeist in einer Endlosschleife.
  1384. - Logmeldungen und Level an vielen Stellen verbessert.
  1385. - lokalen Usernamen wird nun ein "~" vorangestellt, da bisher noch keine
  1386. Ident-Anfragen gemacht werden.
  1387. ngIRCd 0.0.1, 31.12.2001
  1388. - erste oeffentliche Version von ngIRCd als "public preview" :-)