Commit Briefs

62b668a7b1 Alexander Barton

ngIRCd 0.12.1 (tags/rel-0-12-1)


ecddfb7010 Alexander Barton

Updated ChangeLog for 0.12.1.


fb46757c48 Alexander Barton

Allow mixed line terminations (CR+LF/CR/LF) in non-RFC-compliant mode

Up to now ngIRCd accepted CR+LF as well as a single CR or LF in "non RFC compliant" mode (the default). But ngIRCd became confused when it received data containing mixed line endings (e. g. "111\r222\n333\r\n"). This patch enables ngIRCd (in "non RFC compliant" mode) to detect CR+LF, CR, and LF as equally good line termination sequences and to always end the command after the first one detected. Some clients (for exmaple Trilian) are that ... broken to send such mixed line terminations ... First patch proposed by Scott Perry <scperry@ucsd.edu>, Thanks to Ali Shemiran <ashemira@ucsd.edu> for testing! (manually cherry picked from commit a84f7dcee5a1b32c74188aa5374d30eddd24852b)


b6b019dddc Alexander Barton

Updated NEWS and ChangeLog in preparation for ngIRCd 0.12.1.


ce3215acaf Alexander Barton

Don't allow stray \r or \n in command parameters

If ngircd receives an input line like "COMMAND arg\nIRRELEVANT\r\n", "arg\nIRRELEVANT" is passed as an argument to COMMAND. This can lead to output like: :ngircd.test.server 322 nick #chan 1 : topicwithprecedingnewline :ngircd.test.server 322 nick #nxtchan 1 : [..] Worse, this allows clients to piggyback irc commands, e.g. "TOPIC #a :test\n:fake!~a@nonexistant JOIN :#a\r\n", which causes the client to receive a JOIN command during /LIST output. Bug reported by Scott Perry, first patch by Florian Westphal. (cherry picked from commit 8644cbf197807909e4caea184278872cdeca1963)


edb59b8317 Alexander Barton

--configtest: return non-zero exit code if there are errors

(cherry picked from commit 6f7b669becb0ebf2058fa2bbe834de48c01de933)


42207d160b Alexander Barton

Update ngIRCd manual pages

- Update timestamp, - enhance some phrasing, - and fix "Passive" ([Server]) formatting. (cherry picked from commit aad49bd260494878aed6795c7a897ad1d28c3082)


a3dc42534b Alexander Barton

Add option aliases -V (for --version) and -h (for --help).

This patch adds -h and -V short options (to complement the usage). It is based on a patch attached to Debian bug #466063, see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466063>. Idea by Jari Aalto <jari.aalto@cante.net>, patch adapted by Alexander Barton <alex@barton.de>. (cherry picked from commit 818a206a4261f3d4153b0ab5c2025d77002290f5)


bb81927ce4 Florian Westphal

Fix 'no-ipv6' compile error.


b2c0a89f45 Florian Westphal

make Listen parameter a comma-seperated list of addresses.

this also obsoletes ListenIPv4 and ListenIPv6 options. If Listen is unset, it is treated as Listen="::,0.0.0.0". Note: ListenIPv4 and ListenIPv6 options are still recognized, but ngircd will print a warning if they are used in the config file. Also, some plattforms require that ai_socktype is set in the getaddrinfo() hints structure.


f44007f42f Alexander Barton

ngIRCd 0.12.0 (tags/rel-0-12-0)


1a56c77751 Alexander Barton

Updated NEWS and ChangeLog for ngIRCd 0.12.0.



fc93044909 Florian Westphal

Fix complie on FreeBSD 5.4 and AIX.

This is picked from commits d9c26f3aeb35e979b72f7b0ac4220dbd07d7bc15 "ng_ipaddr.h must include netinet/in.h." and 4e507881f30c8b4296d87de519658e45f8cb417f "On AIX (for example) socklen_t is defined in sys/socket.h"


2e0c62df91 Florian Westphal

Fix secret channel information leak

/who on a secret channel that the user is not a member of now returns proper RPL_ENDOFWHO_MSG instead of nothing. [picked from 12cd554af1709c44f35024d7d2fc368fb22f133d; without testcase]


c5ba599140 Alexander Barton

ngIRCd 0.12.0-pre2 (tags/rel-0-12-0-pre2)


afc67ff323 Alexander Barton

Merge branch 'master' into branch-0-12-x


6cfc56064e Alexander Barton

Updated NEWS and ChangeLog for ngIRCd 0.12.0-pre2.


6052d04c60 Alexander Barton

Merge branch 'master' into branch-0-12-x


4a81367dac Alexander Barton

--configtest: fix missing whitespace at "ConnectIPv4" option.


9194319399 Alexander Barton

Testsuite: remove erroneous ConfUID setting in config file.

The config file for ngircds test suite contained obsolete ConfUID/ConfGID settings, causing ngircd to needlesly complain when started as non-root (which is hopefully the _normal_ case...)


32bf6d4de0 Alexander Barton

Merge branch 'master' into branch-0-12-x

Fixed bug 81: When trying to part a channel ("PART #channel") the client is not member of the daemon now correctly reports the numeric ERR_NOTONCHANNEL (442) insted of ERR_NOSUCHCHANNEL (403).


8c425945a2 Alexander Barton

--enable-ipv6: fix indentation in ./configure --help output.


33b1204349 Alexander Barton

Get rid of cvs-version.* and CVSDATE definition.

(cherry picked from commit b187fac244f4e14705f882ba7c43eef0238e2830)


b187fac244 Alexander Barton

Get rid of cvs-version.* and CVSDATE definition.