Commits
- Commit:
bdec5ac1f37110a8456631e0155b5c9efeee35ee
- From:
- Alexander Barton <alex@barton.de>
- Date:
ngIRCd release 16~rc2
- Commit:
73fd26e9fa708727e3f870052df0cc32e295bfc0
- From:
- Alexander Barton <alex@barton.de>
- Date:
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).
- Commit:
79e1ec2b1e852e16fbf72c0a1af982d866f215b6
- From:
- Alexander Barton <alex@barton.de>
- Date:
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.
- Commit:
615d09459ee7c485be38c6957447d73838249054
- From:
- Alexander Barton <alex@barton.de>
- Date:
Display total number of served connections on daemon shutdown
- Commit:
1338ade65032e5aea4891694a61d8ee3d1c795e1
- From:
- Alexander Barton <alex@barton.de>
- Date:
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
- Commit:
21140500f1d77bdb0912c67a5402ab7280f2ba42
- From:
- Alexander Barton <alex@barton.de>
- Date:
Conn_Init: code cleanup
- Commit:
77ceb9f8ab8080a5b9188d137554e981f1d973a7
- From:
- Alexander Barton <alex@barton.de>
- Date:
Updated doc/Platforms.txt
- Commit:
b042363e88a6d89790a9cc5061bdff78108c6909
- From:
- Alexander Barton <alex@barton.de>
- Date:
Only include <netinet/in_systm.h> if it exists
- Commit:
6b0bb665c3cb31ba93fb5ac8197f033532614fd4
- From:
- Alexander Barton <alex@barton.de>
- Date:
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?
- Commit:
1caa3fb94b6e23d7b63183f6cb6c97ed1821350c
- From:
- Alexander Barton <alex@barton.de>
- Date:
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"
- Commit:
025342fe46ae504a08be8c642901ec7eb7c4fccb
- From:
- Alexander Barton <alex@barton.de>
- Date:
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!) ...
- Commit:
628c6c962b1054de4c27304f53c4ac7c50c79a11
- From:
- Alexander Barton <alex@barton.de>
- Date:
Only compile in Get_Error() if really needed
This fixes "resolve.c:150: warning: ‘Get_Error’ defined but not used".
- Commit:
1ed49de83a335713ee437171335c93725dd19ee6
- From:
- Alexander Barton <alex@barton.de>
- Date:
Updated some more copyright notices, it's 2010 already (part 2)
Silly me forgot the most important place, the program output itself ...
- Commit:
bb914b93e9cd2a2e92d75e1d611f1541365e2e76
- From:
- Alexander Barton <alex@barton.de>
- Date:
Updated some more copyright notices, it's 2010 already :-)
- Commit:
50e8a62c5cfe8eaaeeaaccc5ff577cedf72e848d
- From:
- Alexander Barton <alex@barton.de>
- Date:
ngIRCd release 16~rc1
- Commit:
aa32fec1b6d5d1679ede9e5109c7f6ebe95c0983
- From:
- Alexander Barton <alex@barton.de>
- Date:
Updated NEWS and ChangeLog file for ngIRCd 16-rc1
- Commit:
cbe41ec87506003e484a85301b3c0a6e05bf0ad7
- From:
- Alexander Barton <alex@barton.de>
- Date:
Don't use port 6668 as example for both "Ports" and "SSLPorts"
- Commit:
20276f7cc967ec1a472715574adc6792b1598314
- From:
- Florian Westphal <fw@strlen.de>
- Date:
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.
- Commit:
6e8cf51bb216f956e7a6fdb5c61b0f2799bf8d2d
- From:
- Alexander Barton <alex@barton.de>
- Date:
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).
- Commit:
53fc0ebff6fe09bb6a3ae3b134647b3499fc6618
- From:
- Alexander Barton <alex@barton.de>
- Date:
ngircd.conf.5: Document missing "Password" variable
- Commit:
9b3e143a26f1079d185c41611cd2475f8fbdae39
- From:
- Alexander Barton <alex@barton.de>
- Date:
Re-format Init_New_Client() function
- Commit:
f1bbc92b391f2dabd8c07234689f4f36207f81c6
- From:
- Alexander Barton <alex@barton.de>
- Date:
New README-Interix.txt for running ngIRCd on MS SFU and MS SUA
- Commit:
1da3e25e65c7bcc3e47d18f114f7c4e76e274250
- From:
- Alexander Barton <alex@barton.de>
- Date:
Added "i586/pc/interix3.5" (MS Services for UNIX) to Platforms.txt
- Commit:
e1de769ab9958f6debbd884a1555de09d1191d32
- From:
- Alexander Barton <alex@barton.de>
- Date:
Quote received messages of ERROR commands in log output
- Commit:
9f58418765576950983b4a95c4f5f71f068f424f
- From:
- Alexander Barton <alex@barton.de>
- Date:
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.