Commit Briefs

bdec5ac1f3 Alexander Barton

ngIRCd release 16~rc2 (tags/rel-16-rc2)


73fd26e9fa Alexander Barton

Don't reset counters on RESTART

When ngIRCd restarts, all the connection counters are preserved now, as well as the command counters for example. It's unclear if resetting or not resetting is the "correct" behaviour, but it's quite clear that the behaviour should be consistent for all the counters ngIRCd uses ... And initializing "WCounter", the global but temporary write counter, is not necessarry at all: it is initialized (reset) before its use in the command parser (see parse.c).


79e1ec2b1e Alexander Barton

New numeric RPL_STATSCONN (250): display connection statistics

The RPL_STATSCONN numeric (250) displays information about the highest simoultaneous connection count and the number of all accepted connections since the daemon started up. Used by ircd-Hybrid, Bahamut, and Unreal for example.


615d09459e Alexander Barton

Display total number of served connections on daemon shutdown


1338ade650 Alexander Barton

Enhace connection statistics counters

This patch enables ngIRCd to count the highest maximum simultaneous connections and all the connections accepted since startup. New functions: - Conn_Count(): get current connections - Conn_CountMax(): maximum simultaneous connections - Conn_CountAccepted(): number of connections accepted


21140500f1 Alexander Barton

Conn_Init: code cleanup


77ceb9f8ab Alexander Barton

Updated doc/Platforms.txt


b042363e88 Alexander Barton

Only include <netinet/in_systm.h> if it exists


6b0bb665c3 Alexander Barton

Include netinet/{in.h, in_systm.h} when checking for netinet/ip.h

This solves warning messages of autoconf on e.g. FreeBSD 8: configure: WARNING: netinet/ip.h: present but cannot be compiled configure: WARNING: netinet/ip.h: check for missing prerequisite headers?


1caa3fb94b Alexander Barton

Include netinet/in_systm.h alongside netinet/ip.h

This fixes the following error when compiling on e.g. FreeBSD 6.x: In file included from conn.c:40: /usr/include/netinet/ip.h:160: error: syntax error before "n_long" /usr/include/netinet/ip.h:163: error: syntax error before "n_long"


025342fe46 Alexander Barton

Fix gcc warning "ignoring return value of ..."

This patch fixes two warnings of gcc 4.4.3 when used with eglibc 2.11.1: ngircd.c: In function ‘NGIRCd_Init’: ngircd.c:801: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result conn.c: In function ‘Simple_Message’: conn.c:2041: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result The first by checking the return code and an appropriate error message, the second by "better" ignoring it (which is correct there!) ...


628c6c962b Alexander Barton

Only compile in Get_Error() if really needed

This fixes "resolve.c:150: warning: ‘Get_Error’ defined but not used".


1ed49de83a Alexander Barton

Updated some more copyright notices, it's 2010 already (part 2)

Silly me forgot the most important place, the program output itself ...


bb914b93e9 Alexander Barton

Updated some more copyright notices, it's 2010 already :-)


50e8a62c5c Alexander Barton

ngIRCd release 16~rc1 (tags/rel-16-rc1)


aa32fec1b6 Alexander Barton

Updated NEWS and ChangeLog file for ngIRCd 16-rc1



20276f7cc9 Florian Westphal

configure.in: only add -lnsl when needed

dpkg-shlibdeps: warning: dependency on libnsl.so.1 [..] (they use none of its symbols). As shown via commit 2b14234abc252383679bae2d23861b773dc9713e (dpkg-shlibdeps: warning: dependency on libnsl.so.1) and the following revert of that commit, we cannot simply drop the AC_CHECK_LIB(nsl). Although -lnsl is indeed unneeded when glibc is used, some platforms (e.g. Solaris) need it. Use AC_SEARCH_LIBS instead to only link when the library exports a particular symbol.


6e8cf51bb2 Alexander Barton

Implement WEBIRC command

The WEBIRC command is used by some Web-to-IRC gateways to set the correct user name and host name of users instead of their own. Syntax: WEBIRC <password> <username> <hostname> <ip-address> The <password> must be set using the new configuration variable "WebircPassword" in the [Global] section of ngircd.conf. Please note that the <ip-address> is currently not used by ngIRCd (we don't store it in the CLIENT structure, only the resolved hostname).


53fc0ebff6 Alexander Barton

ngircd.conf.5: Document missing "Password" variable


9b3e143a26 Alexander Barton

Re-format Init_New_Client() function




e1de769ab9 Alexander Barton

Quote received messages of ERROR commands in log output


9f58418765 Alexander Barton

Implemented new "secure clients only" channel mode: +z

Only clients using a SSL encrypted connection to the server are allowed to join such a channel. But please note three things: a) already joined clients are not checked when setting this mode, b) IRC operators are always allowed to join every channel, and c) remote clients using a server not supporting this mode are not checked either and therefore always allowed to join.