about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2010-04-25Don't reset counters on RESTARTAlexander Barton
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).
2010-04-23New numeric RPL_STATSCONN (250): display connection statisticsAlexander Barton
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.
2010-04-23Display total number of served connections on daemon shutdownAlexander Barton
2010-04-23Enhace connection statistics countersAlexander Barton
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
2010-04-23Conn_Init: code cleanupAlexander Barton
2010-04-23Updated doc/Platforms.txtAlexander Barton
2010-04-23Only include <netinet/in_systm.h> if it existsAlexander Barton
2010-04-23Include netinet/{in.h, in_systm.h} when checking for netinet/ip.hAlexander Barton
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?
2010-04-11Include netinet/in_systm.h alongside netinet/ip.hAlexander Barton
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"
2010-04-09Fix gcc warning "ignoring return value of ..."Alexander Barton
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!) ...
2010-04-09Only compile in Get_Error() if really neededAlexander Barton
This fixes "resolve.c:150: warning: ‘Get_Error’ defined but not used".
2010-04-02Updated some more copyright notices, it's 2010 already (part 2)Alexander Barton
Silly me forgot the most important place, the program output itself ...
2010-04-02Updated some more copyright notices, it's 2010 already :-)Alexander Barton
2010-03-25ngIRCd release 16~rc1 rel-16-rc1Alexander Barton
2010-03-25Updated NEWS and ChangeLog file for ngIRCd 16-rc1Alexander Barton
2010-03-16Don't use port 6668 as example for both "Ports" and "SSLPorts"Alexander Barton
2010-02-17configure.in: only add -lnsl when neededFlorian Westphal
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.
2010-02-11Implement WEBIRC commandAlexander Barton
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).
2010-02-10ngircd.conf.5: Document missing "Password" variableAlexander Barton
2010-02-10Re-format Init_New_Client() functionAlexander Barton
2010-02-05New README-Interix.txt for running ngIRCd on MS SFU and MS SUAAlexander Barton
2010-01-22Added "i586/pc/interix3.5" (MS Services for UNIX) to Platforms.txtAlexander Barton
2010-01-19Quote received messages of ERROR commands in log outputAlexander Barton
2010-01-17Implemented new "secure clients only" channel mode: +zAlexander Barton
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.
2010-01-16Clean up and document IRC_STATS() functionAlexander Barton
2010-01-16Clean up and document IRC_JOIN() and join_allowed() functionsAlexander Barton
2010-01-16Show our name (IRCD=ngIRCd) in ISUPPORT (005) numericAlexander Barton
Inspired by Hyperion IRC daemon.
2010-01-16Added missing modes to USERMODES #defineAlexander Barton
Now the numeric 004 correctly reports all the supported user and channel modes (user modes "r" and "w" were missing), e. g.: :a.irc.net 004 a a.irc.net ngircd-15 aiorsw biIklmnoPstv
2010-01-01Updated links to ngIRCd homepage (bug tracker, mailing list)Alexander Barton
2009-12-31setsockopt(): use IPPROTO_IP instead of SOL_IP to set IPTOS_LOWDELAYAlexander Barton
2009-12-31Really test for netinet/ip.h and set HAVE_NETINET_IP_HAlexander Barton
2009-12-30ReverseLookup(): fix documentation commentAlexander Barton
2009-12-30Move NewConnection handling from callbacks to New_Connection()Alexander Barton
2009-12-30Connection functions: add some more documentation commentsAlexander Barton
2009-12-30Clean up conn.{c|h} a little bitAlexander Barton
2009-12-27Xcode: fix "-Wuninitialized is not supported without -O"Alexander Barton
Fix Apple Xcode warning "cc1: warning: -Wuninitialized is not supported without -O" when using the "Debug" build target: Detection of uninitialized automatic variable requires data flow analsys that is only enabled during optimized compilation.
2009-12-02Added i686/unknown/kfreebsd7.2-gnuAlexander Barton
2009-11-15platformtest.sh: Only show latest commitAlexander Barton
Only show latest GIT commuit ID as version number, even when the last commit has been a merge.
2009-11-07Merge commit 'cade80dcf516f40e7d53124bc98526e6e5b3fb66'Alexander Barton
* commit 'cade80dcf516f40e7d53124bc98526e6e5b3fb66': Added missing contrib/platformtest.sh to distribution
2009-11-07Added missing contrib/platformtest.sh to distribution rel-15Alexander Barton
2009-11-07Remove limit on max number of configured irc operators.Florian Westphal
2009-11-07ngIRCd release 15Alexander Barton
2009-10-17configtest: print ssl config options even when unsetFlorian Westphal
Print "SSLOptionVar =" instead of omitting the option when running --configtest with ssl enabled. This better matches the behaviour of other options, e.g. ChrootDir.
2009-10-15ngIRCd release 15~rc1 rel-15-rc1Alexander Barton
2009-10-03Updated NEWS and ChangeLog filesAlexander Barton
2009-09-30Make sure forwarded CONNECT commands are handled correctlyAlexander Barton
2009-09-30Generate WALLOPS message on operator-generated SQUITAlexander Barton
2009-09-30Enable SQUIT command for IRC OperatorsAlexander Barton
This patch enables IRC Operators to use the SQUIT command as specified in RFC 2812, section 3.1.8 "Squit". When forwarding SQUIT commands, the server connected to the target will drop the connection (not the target server itself!). Please note: - the configuration option "AllowRemoteOper" mus be enabled on the server disconnecting the target to allow forwarding of SQUIT commands. - if the remote server is configured to establish the connection, it will just do this; so the disconnect is not permanent in this case!
2009-09-30Xcode: added new op.{c|h} to project fileAlexander Barton
2009-09-30Use functions provided by op.c "module"Alexander Barton
Local functions Check_Oper() and No_Privileges() have been replaced by global functions in op.c "module": Op_Check() and Op_NoPrivileges().