Commit Briefs

c6a7de869c Alexander Barton

Doxygen'ify and update comments in match.c


4ef23df813 Alexander Barton

Update and translate comments in hash.c


5555b6cc86 Alexander Barton

Doxygen'ify conf.h


72a982ae7e Alexander Barton

Add missong Doxygen @file tags to ngircd.h and irc-op.h


2a7dd06ebd Alexander Barton

Code cleanup: mostly removing empty lines


ebfcdb088b Alexander Barton

Doxygen: define ZLIB, PAM, and ZEROCONF



408cefd15d Alexander Barton

Updated Doxygen configuration file

Removed unnecessary variables DETAILS_AT_TOP, EXTRACT_PRIVATE, EXTRACT_LOCAL_CLASSES, added SHOW_DIRECTORIES=YES, STRIP_CODE_COMMENTS=NO, REFERENCED_BY_RELATION=YES, REFERENCES_RELATION=YES, HTML_DYNAMIC_SECTIONS=YES and GENERATE_DOCSET=NO; updated PREDEFINED.


f59f773cfe Alexander Barton

Doxygen: remove own header and CSS file

Use the ones of Doxygen instead, this has the advantage that we benefit of new functionality of Doxygen without having to make changes.


f732c7117e Alexander Barton

Make write buffers bigger, but flush early

This patch - makes the server write buffer bigger: 64k, - makes the regular write buffer bigger: 32k, - tries to flush the write buffer starting at 4K. Before this patch, a client got disconnected if the buffer flushing at 4k failed, now regular clients can store up to 32k and servers up 64k even if flushing is not possible at the moment (e.g. on slow links).


477224be5c Alexander Barton

Enhance logging on "write buffer overflow"



8700f4d93c Alexander Barton

Better check for invalid IRC+ PASS command

Don't do a NULL-pointer dereference when a remote server using the IRC+ protocol sends an invalid PASS command without the required <serverversion> parameter ...


765dc320f1 Alexander Barton

Read_Request(): don't access possibly free'd CLIENT structure

Handle_Buffer() can shut down connections and remove clients, so after calling it, we have to make sure that our CLIENT pointer is still valid.


9fff9f6a2b Alexander Barton

ngircd-test2.conf: really disable Ident and PAM ...


b856a58051 Alexander Barton

Log "Can't read MOTD file" as "configuration error"

Now this error message is displayed in the console without debug prefix when running the configuration test (--configtest).


8927700b22 Alexander Barton

Allow "Port = 0" in [Server] blocks

Port number 0 marks remote servers that try to connect to this daemon, but where this daemon never tries to establis a connection on its own: only incoming connections are allowed.


58a4dae56d Alexander Barton

conf: fix 'Value of "..." is not a number!' for negative values

Don't use isdigit() function any more, because it only checks the first character of the variable value and because it doesn't know about the minus sign which is required e.g. for "Group = -1".


914d6a26d8 Alexander Barton

Don't read MOTD file twice

The MOTD file is read in Read_Config(), so don't read it when handling the "MotdFile" configuration variable. Instead make sure that it is initialized properly when (re-)reading the configuration.


c98e794b38 Alexander Barton

Add [Features] section to ngircd-test{1|2}.conf

Fix commit 5a34bb203a: It is not enough to strip the "No" prefix from "Ident" and "PAM", but we have to introduce the new [Features] section to fix all warning messages of ngIRCd. Variables "Ident" and "PAM" in [Global] are completely wrong :-(


a990bd72ec Alexander Barton

Enable WHOIS command to return information about services


5a34bb203a Alexander Barton

Update testsuite configuration: strip No... prefixes


d3ef2239e1 Alexander Barton

Add connection/socket information to some log messages


a57748e1a1 Alexander Barton

Implement channel mode 'O': "IRC operators only"

This channel mode is used on DALnet (bahamut), for example.


6600ce3445 Alexander Barton

Remove ZeroConf variable from sample-ngircd.conf