]>
jfr.im git - irc/quakenet/newserv.git/log
Chris Porter [Thu, 14 Feb 2008 17:14:48 +0000 (17:14 +0000)]
Ignore +k/+X users for chanstats purposes.
Chris Porter [Mon, 11 Feb 2008 19:26:24 +0000 (19:26 +0000)]
Merge.
Chris Porter [Mon, 11 Feb 2008 19:25:31 +0000 (19:25 +0000)]
Fix Q9's bandel command when supplied with a ban number.
Chris Porter [Sun, 10 Feb 2008 00:46:06 +0000 (00:46 +0000)]
Fix a lot of warnings on FreeBSD. P might not actually work... damn you paul.
Chris Porter [Sun, 10 Feb 2008 00:29:26 +0000 (00:29 +0000)]
Fix G ban logic.
Paul [Fri, 8 Feb 2008 22:07:40 +0000 (22:07 +0000)]
merge
Paul [Fri, 8 Feb 2008 20:16:28 +0000 (20:16 +0000)]
exts rework (mainly)
Chris Porter [Fri, 8 Feb 2008 19:16:58 +0000 (19:16 +0000)]
Fix another warning.
That's all folks!
Chris Porter [Fri, 8 Feb 2008 18:51:41 +0000 (18:51 +0000)]
Some potentially unsafe fixes.
Should be OK I think...
Cruicky has signed off too!
Chris Porter [Fri, 8 Feb 2008 18:44:11 +0000 (18:44 +0000)]
More safe warning fixes.
Chris Porter [Fri, 8 Feb 2008 18:43:21 +0000 (18:43 +0000)]
Warning fixes.
Chris Porter [Fri, 8 Feb 2008 18:43:02 +0000 (18:43 +0000)]
Warning fixes.
Chris Porter [Fri, 8 Feb 2008 18:35:33 +0000 (18:35 +0000)]
Sure I fixed this...
Chris Porter [Fri, 8 Feb 2008 18:21:34 +0000 (18:21 +0000)]
Remove unused variable.
Chris Porter [Fri, 8 Feb 2008 18:21:17 +0000 (18:21 +0000)]
Remove unsigned char warnings.
Chris Porter [Fri, 8 Feb 2008 18:20:58 +0000 (18:20 +0000)]
Fix bug in gline duration parser.
Chris Porter [Fri, 8 Feb 2008 18:04:46 +0000 (18:04 +0000)]
Add chanhistogram to clonehistogram, should probably rename the module...
Paul [Sun, 3 Feb 2008 20:12:14 +0000 (20:12 +0000)]
start of proxyscan work to use iptrie ;/
Chris Porter [Sun, 3 Feb 2008 18:30:31 +0000 (18:30 +0000)]
Refactor T's host counting code and fix a counting bug.
Paul [Sun, 3 Feb 2008 13:02:15 +0000 (13:02 +0000)]
this probably should be the correct new size ;/
Paul [Sun, 27 Jan 2008 18:06:57 +0000 (18:06 +0000)]
probably want to malloc the node first
Paul [Sun, 27 Jan 2008 14:32:06 +0000 (14:32 +0000)]
fix nicksearch (eq (<stringobject>) "") core(s)
Paul [Sat, 26 Jan 2008 18:28:36 +0000 (18:28 +0000)]
merge
Paul [Sat, 26 Jan 2008 18:27:14 +0000 (18:27 +0000)]
merge
Chris Porter [Sat, 26 Jan 2008 17:30:03 +0000 (17:30 +0000)]
Add digest functions to lua.
Chris Porter [Sat, 26 Jan 2008 17:29:36 +0000 (17:29 +0000)]
Add sethost command.
Chris Porter [Sat, 26 Jan 2008 17:29:10 +0000 (17:29 +0000)]
Fix permissions.
Chris Porter [Sat, 26 Jan 2008 15:25:54 +0000 (15:25 +0000)]
Add sethost server command.
Chris Porter [Sat, 26 Jan 2008 15:25:19 +0000 (15:25 +0000)]
Add realname support to hostname, looks like it was already half done.
Chris Porter [Fri, 25 Jan 2008 15:46:29 +0000 (15:46 +0000)]
Fix a buffer overflow in newsearch.
Add better custom kill/gline reasons, with support for the following format specifiers:
- %h: hostname
- %n: nickname
- %i: ident
- %I: ip address
- %u: %n!%i@%I
Chris Porter [Fri, 25 Jan 2008 13:29:44 +0000 (13:29 +0000)]
Merge
Chris Porter [Fri, 25 Jan 2008 13:26:21 +0000 (13:26 +0000)]
Add string support to server.
Chris Porter [Fri, 25 Jan 2008 12:06:37 +0000 (12:06 +0000)]
Merge.
Chris Porter [Fri, 25 Jan 2008 12:05:15 +0000 (12:05 +0000)]
Add server command to nicksearch.
Paul [Thu, 24 Jan 2008 00:32:10 +0000 (00:32 +0000)]
actually initialise usercount entries always
Chris Porter [Wed, 23 Jan 2008 23:03:50 +0000 (23:03 +0000)]
Second merge
Chris Porter [Wed, 23 Jan 2008 23:03:18 +0000 (23:03 +0000)]
Merge
Chris Porter [Wed, 23 Jan 2008 23:02:44 +0000 (23:02 +0000)]
Add +P handling, for no particular reason.
Paul [Sun, 13 Jan 2008 22:48:50 +0000 (22:48 +0000)]
*sigh*
Paul [Sun, 13 Jan 2008 22:45:04 +0000 (22:45 +0000)]
support P
Paul [Sun, 13 Jan 2008 20:43:12 +0000 (20:43 +0000)]
add channel timestamp
Paul [Sun, 13 Jan 2008 20:43:12 +0000 (20:43 +0000)]
add channel timestamp
Paul [Sun, 13 Jan 2008 20:38:43 +0000 (20:38 +0000)]
fix core when using (kill) to newsearch
Paul [Sun, 13 Jan 2008 20:38:43 +0000 (20:38 +0000)]
fix core when using (kill) to newsearch
Chris Porter [Sat, 12 Jan 2008 18:21:28 +0000 (18:21 +0000)]
Finish the T bug fix.
Chris Porter [Tue, 8 Jan 2008 22:44:24 +0000 (22:44 +0000)]
Fix a bug in channelhandlers.c where in some circumstances the reason argument of the part hook was not initalised.
Chris Porter [Tue, 8 Jan 2008 21:25:30 +0000 (21:25 +0000)]
Refactor a lot of T's matching code, and add part message matching support.
Chris Porter [Tue, 8 Jan 2008 20:21:17 +0000 (20:21 +0000)]
Actually try compiling the T fix.
Chris Porter [Sun, 6 Jan 2008 16:39:16 +0000 (16:39 +0000)]
ipnode values seem to be rubbish most of the time.
Chris Porter [Wed, 19 Dec 2007 02:57:29 +0000 (02:57 +0000)]
Add support for tags to sockets, fix a few bugs too.
Chris Porter [Tue, 18 Dec 2007 19:02:18 +0000 (19:02 +0000)]
Try non-blocking sockets.
Chris Porter [Tue, 18 Dec 2007 17:12:44 +0000 (17:12 +0000)]
Comments -> commands.
Chris Porter [Tue, 18 Dec 2007 16:29:58 +0000 (16:29 +0000)]
FreeBSD fixes, should be ok under Linux.
Chris Porter [Tue, 18 Dec 2007 16:12:03 +0000 (16:12 +0000)]
Add socket api for lua, currently untested.
Chris Porter [Sat, 1 Dec 2007 19:02:33 +0000 (19:02 +0000)]
Merge.
Chris Porter [Sat, 1 Dec 2007 19:00:51 +0000 (19:00 +0000)]
Control services are now invisible.
Chris Porter [Sat, 1 Dec 2007 19:00:36 +0000 (19:00 +0000)]
Disabled isaccount on command as authhash+lua == crash.
Chris Porter [Sat, 1 Dec 2007 18:54:47 +0000 (18:54 +0000)]
Merge.
Chris Porter [Sat, 1 Dec 2007 16:27:01 +0000 (16:27 +0000)]
Allow multiple U instances.
Chris Porter [Sat, 1 Dec 2007 14:38:42 +0000 (14:38 +0000)]
Fix the kicker code.
Chris Porter [Sat, 1 Dec 2007 01:49:35 +0000 (01:49 +0000)]
Don't know what happened to this function, I wrote this code before, there's a script which relies on it
Chris Porter [Fri, 30 Nov 2007 23:03:33 +0000 (23:03 +0000)]
Add psql support to lua.
Rearrange lua loading sequence so the internal data structures are actually valid when lua's pcalling.
Chris Porter [Fri, 30 Nov 2007 20:53:41 +0000 (20:53 +0000)]
T now uses patricia node usercounts.
Chris Porter [Fri, 30 Nov 2007 20:42:12 +0000 (20:42 +0000)]
Merge.
Chris Porter [Fri, 30 Nov 2007 20:39:04 +0000 (21:39 +0100)]
Make G's check for opers on channels for checkchannel a little more lax, returning BAD only if +i/+k/+p/+s are set.
Chris Porter [Fri, 30 Nov 2007 19:45:43 +0000 (19:45 +0000)]
Add country pusher to lua.
Chris Porter [Fri, 30 Nov 2007 18:35:30 +0000 (18:35 +0000)]
Add country name lookup to newsearch.
Chris Porter [Thu, 22 Nov 2007 17:00:19 +0000 (17:00 +0000)]
This might help with the rehash schedule.
Chris Porter [Thu, 22 Nov 2007 16:44:33 +0000 (16:44 +0000)]
Fix gcc3 warnings.
Chris Porter [Thu, 22 Nov 2007 16:43:12 +0000 (16:43 +0000)]
Alter default setting/value lengths for settings.
Chris Porter [Thu, 22 Nov 2007 16:33:38 +0000 (16:33 +0000)]
Alter the default values a bit for 2007.
Chris Porter [Thu, 22 Nov 2007 16:17:09 +0000 (16:17 +0000)]
bump version number
replace settings table with a more useful settings table
version reply is now stored in the settings table
sanitise the input for phrase names and version replies
Chris Porter [Thu, 22 Nov 2007 15:49:11 +0000 (15:49 +0000)]
Refactor T's glining code as it's a complete nightmare.
Chris Porter [Sun, 4 Nov 2007 02:45:53 +0000 (02:45 +0000)]
Merge.
Chris Porter [Sun, 4 Nov 2007 02:44:12 +0000 (03:44 +0100)]
Allow local.in to define MAXNICKEXTS.
Chris Porter [Sun, 4 Nov 2007 02:41:18 +0000 (03:41 +0100)]
request was not checking the return code of getnickext, which really broke Z, added error check.
Chris Porter [Sun, 4 Nov 2007 00:44:12 +0000 (00:44 +0000)]
Should be using double indirection here.
Chris Porter [Sat, 3 Nov 2007 22:53:12 +0000 (22:53 +0000)]
Cleanup.
Chris Porter [Sat, 3 Nov 2007 22:44:14 +0000 (22:44 +0000)]
Make nterfacer's config file syntax sane.
Chris Porter [Sat, 3 Nov 2007 22:23:35 +0000 (22:23 +0000)]
Cleanup dependencies.
Chris Porter [Wed, 31 Oct 2007 12:00:46 +0000 (12:00 +0000)]
Remove helix from the tree.
Chris Porter [Wed, 31 Oct 2007 11:58:08 +0000 (11:58 +0000)]
esockets now supports new protocol.
Rewritten all the parsers, now using dynamic memory allocation, it's a lot less efficient (well, if allocating 16 bytes is a problem), but it's a LOT simpler.
Need to add limits to prevent people using all the RAM.
Chris Porter [Wed, 31 Oct 2007 00:32:03 +0000 (00:32 +0000)]
Now using protocol v3.
Seems to authenticate correctly.
BROKEN BUILD: esockets modifications are not complete.
Chris Porter [Tue, 30 Oct 2007 17:21:47 +0000 (17:21 +0000)]
Add SHA2 to the library.
Chris Porter [Tue, 30 Oct 2007 14:15:40 +0000 (14:15 +0000)]
Add Rijndael code.
Update .hgignores.
Move newserv.conf to newserv.conf.example.
Tim Gordon [Fri, 31 Aug 2007 23:58:07 +0000 (00:58 +0100)]
A few (mostly cosmetic) changes to the fakeuser module - failed to find a possible bug though
splidge [Mon, 30 Jul 2007 10:53:45 +0000 (11:53 +0100)]
Merge.
splidge [Mon, 30 Jul 2007 10:52:01 +0000 (11:52 +0100)]
Avoid triggering invalid HOOK_CHANNEL_CREATE or HOOK_CHANNEL_JOINs
When a channel is created in response to a join or create, we send out the
HOOK_CHANNEL_NEWCHANNEL message. Some things (e.g. Q9) might choose to
kick the user off, thus destroying the channel, in response to this. In
such an event, sending HOOK_CHANNEL_CREATE or HOOK_CHANNEL_JOIN out with
a now invalid channel pointer can cause trouble, so don't do it.
Note there is the potential problem that the chanindex * can become
"invalid" when the channel is destroyed; in practice this should not be a
problem because (a) Usually something else will be hanging off the chanindex
if it has decided to kick the user out! and (b) chanindex's are allocated
using a recycling pool allocator, so even if the chanindex has been free'd
it will still be a valid pointer.
Chris Porter [Wed, 18 Jul 2007 02:53:47 +0000 (03:53 +0100)]
Merge
Chris Porter [Wed, 18 Jul 2007 02:47:53 +0000 (03:47 +0100)]
Add some severe flood protection to regexgline.
Add umode support to lua's pushers.
splidge [Tue, 10 Jul 2007 22:12:32 +0000 (23:12 +0100)]
Added "chanprofile" module.
splidge [Tue, 10 Jul 2007 22:11:38 +0000 (23:11 +0100)]
Merged.
splidge [Tue, 10 Jul 2007 22:11:10 +0000 (23:11 +0100)]
Added "channels" command (returns number of channels user is on for nicks)
splidge [Sat, 7 Jul 2007 16:32:36 +0000 (17:32 +0100)]
It's not necessary to scan port 559 for socks4 more than once.
splidge [Fri, 6 Jul 2007 10:32:51 +0000 (11:32 +0100)]
Tidied up some gratuitous malloc-failure code
splidge [Fri, 6 Jul 2007 10:17:04 +0000 (11:17 +0100)]
Updated proxyscan to use nsmalloc()
splidge [Thu, 5 Jul 2007 12:24:58 +0000 (13:24 +0100)]
Added capability to pqsql module to use default unix socket.
Updated pqsql so that if a host of "UNIX" is specified it will not pass
hostname/port information to the connect call, causing the postgres library
to fall back on the default unix domain socket. This avoids the need to
specify the unix socket path in the newserv config file - desireable since
it can vary depending on the postgres installation.
The comparison is case sensitive so if your DB host is really called "unix"
then specifying the name in lowercase will cause it to connect via tcp as
before.
Also made "UNIX" the default hostname.
Also included the strlfunc.h to remove a compiler warning.
splidge [Thu, 5 Jul 2007 12:10:10 +0000 (13:10 +0100)]
Merge.
Chris Porter [Thu, 5 Jul 2007 01:58:10 +0000 (03:58 +0200)]
Make P join #tlz.
Chris Porter [Thu, 5 Jul 2007 01:13:01 +0000 (02:13 +0100)]
Merge!