]> jfr.im git - irc/quakenet/newserv.git/log
irc/quakenet/newserv.git
16 years agoIgnore +k/+X users for chanstats purposes.
Chris Porter [Thu, 14 Feb 2008 17:14:48 +0000 (17:14 +0000)] 
Ignore +k/+X users for chanstats purposes.

16 years agoMerge.
Chris Porter [Mon, 11 Feb 2008 19:26:24 +0000 (19:26 +0000)] 
Merge.

16 years agoFix Q9's bandel command when supplied with a ban number.
Chris Porter [Mon, 11 Feb 2008 19:25:31 +0000 (19:25 +0000)] 
Fix Q9's bandel command when supplied with a ban number.

16 years agoFix a lot of warnings on FreeBSD. P might not actually work... damn you paul.
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.

16 years agoFix G ban logic.
Chris Porter [Sun, 10 Feb 2008 00:29:26 +0000 (00:29 +0000)] 
Fix G ban logic.

16 years agomerge
Paul [Fri, 8 Feb 2008 22:07:40 +0000 (22:07 +0000)] 
merge

16 years agoexts rework (mainly)
Paul [Fri, 8 Feb 2008 20:16:28 +0000 (20:16 +0000)] 
exts rework (mainly)

16 years agoFix another warning.
Chris Porter [Fri, 8 Feb 2008 19:16:58 +0000 (19:16 +0000)] 
Fix another warning.
That's all folks!

16 years agoSome potentially unsafe fixes.
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!

16 years agoMore safe warning fixes.
Chris Porter [Fri, 8 Feb 2008 18:44:11 +0000 (18:44 +0000)] 
More safe warning fixes.

16 years agoWarning fixes.
Chris Porter [Fri, 8 Feb 2008 18:43:21 +0000 (18:43 +0000)] 
Warning fixes.

16 years agoWarning fixes.
Chris Porter [Fri, 8 Feb 2008 18:43:02 +0000 (18:43 +0000)] 
Warning fixes.

16 years agoSure I fixed this...
Chris Porter [Fri, 8 Feb 2008 18:35:33 +0000 (18:35 +0000)] 
Sure I fixed this...

16 years agoRemove unused variable.
Chris Porter [Fri, 8 Feb 2008 18:21:34 +0000 (18:21 +0000)] 
Remove unused variable.

16 years agoRemove unsigned char warnings.
Chris Porter [Fri, 8 Feb 2008 18:21:17 +0000 (18:21 +0000)] 
Remove unsigned char warnings.

16 years agoFix bug in gline duration parser.
Chris Porter [Fri, 8 Feb 2008 18:20:58 +0000 (18:20 +0000)] 
Fix bug in gline duration parser.

16 years agoAdd chanhistogram to clonehistogram, should probably rename the module...
Chris Porter [Fri, 8 Feb 2008 18:04:46 +0000 (18:04 +0000)] 
Add chanhistogram to clonehistogram, should probably rename the module...

16 years agostart of proxyscan work to use iptrie ;/
Paul [Sun, 3 Feb 2008 20:12:14 +0000 (20:12 +0000)] 
start of proxyscan work to use iptrie ;/

16 years agoRefactor T's host counting code and fix a counting bug.
Chris Porter [Sun, 3 Feb 2008 18:30:31 +0000 (18:30 +0000)] 
Refactor T's host counting code and fix a counting bug.

16 years agothis probably should be the correct new size ;/
Paul [Sun, 3 Feb 2008 13:02:15 +0000 (13:02 +0000)] 
this probably should be the correct new size ;/

16 years agoprobably want to malloc the node first
Paul [Sun, 27 Jan 2008 18:06:57 +0000 (18:06 +0000)] 
probably want to malloc the node first

16 years agofix nicksearch (eq (<stringobject>) "") core(s)
Paul [Sun, 27 Jan 2008 14:32:06 +0000 (14:32 +0000)] 
fix nicksearch (eq (<stringobject>) "") core(s)

16 years agomerge
Paul [Sat, 26 Jan 2008 18:28:36 +0000 (18:28 +0000)] 
merge

16 years agomerge
Paul [Sat, 26 Jan 2008 18:27:14 +0000 (18:27 +0000)] 
merge

16 years agoAdd digest functions to lua.
Chris Porter [Sat, 26 Jan 2008 17:30:03 +0000 (17:30 +0000)] 
Add digest functions to lua.

16 years agoAdd sethost command.
Chris Porter [Sat, 26 Jan 2008 17:29:36 +0000 (17:29 +0000)] 
Add sethost command.

16 years agoFix permissions.
Chris Porter [Sat, 26 Jan 2008 17:29:10 +0000 (17:29 +0000)] 
Fix permissions.

16 years agoAdd sethost server command.
Chris Porter [Sat, 26 Jan 2008 15:25:54 +0000 (15:25 +0000)] 
Add sethost server command.

16 years agoAdd realname support to hostname, looks like it was already half done.
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.

16 years agoFix a buffer overflow in newsearch.
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

16 years agoMerge
Chris Porter [Fri, 25 Jan 2008 13:29:44 +0000 (13:29 +0000)] 
Merge

16 years agoAdd string support to server.
Chris Porter [Fri, 25 Jan 2008 13:26:21 +0000 (13:26 +0000)] 
Add string support to server.

16 years agoMerge.
Chris Porter [Fri, 25 Jan 2008 12:06:37 +0000 (12:06 +0000)] 
Merge.

16 years agoAdd server command to nicksearch.
Chris Porter [Fri, 25 Jan 2008 12:05:15 +0000 (12:05 +0000)] 
Add server command to nicksearch.

16 years agoactually initialise usercount entries always
Paul [Thu, 24 Jan 2008 00:32:10 +0000 (00:32 +0000)] 
actually initialise usercount entries always

16 years agoSecond merge
Chris Porter [Wed, 23 Jan 2008 23:03:50 +0000 (23:03 +0000)] 
Second merge

16 years agoMerge
Chris Porter [Wed, 23 Jan 2008 23:03:18 +0000 (23:03 +0000)] 
Merge

16 years agoAdd +P handling, for no particular reason.
Chris Porter [Wed, 23 Jan 2008 23:02:44 +0000 (23:02 +0000)] 
Add +P handling, for no particular reason.

16 years ago*sigh*
Paul [Sun, 13 Jan 2008 22:48:50 +0000 (22:48 +0000)] 
*sigh*

16 years agosupport P
Paul [Sun, 13 Jan 2008 22:45:04 +0000 (22:45 +0000)] 
support P

16 years agoadd channel timestamp
Paul [Sun, 13 Jan 2008 20:43:12 +0000 (20:43 +0000)] 
add channel timestamp

16 years agoadd channel timestamp
Paul [Sun, 13 Jan 2008 20:43:12 +0000 (20:43 +0000)] 
add channel timestamp

16 years agofix 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

16 years agofix 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

16 years agoFinish the T bug fix.
Chris Porter [Sat, 12 Jan 2008 18:21:28 +0000 (18:21 +0000)] 
Finish the T bug fix.

16 years agoFix a bug in channelhandlers.c where in some circumstances the reason argument of...
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.

16 years agoRefactor a lot of T's matching code, and add part message matching support.
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.

16 years agoActually try compiling the T fix.
Chris Porter [Tue, 8 Jan 2008 20:21:17 +0000 (20:21 +0000)] 
Actually try compiling the T fix.

16 years agoipnode values seem to be rubbish most of the time.
Chris Porter [Sun, 6 Jan 2008 16:39:16 +0000 (16:39 +0000)] 
ipnode values seem to be rubbish most of the time.

16 years agoAdd support for tags to sockets, fix a few bugs too.
Chris Porter [Wed, 19 Dec 2007 02:57:29 +0000 (02:57 +0000)] 
Add support for tags to sockets, fix a few bugs too.

16 years agoTry non-blocking sockets.
Chris Porter [Tue, 18 Dec 2007 19:02:18 +0000 (19:02 +0000)] 
Try non-blocking sockets.

16 years agoComments -> commands.
Chris Porter [Tue, 18 Dec 2007 17:12:44 +0000 (17:12 +0000)] 
Comments -> commands.

16 years agoFreeBSD fixes, should be ok under Linux.
Chris Porter [Tue, 18 Dec 2007 16:29:58 +0000 (16:29 +0000)] 
FreeBSD fixes, should be ok under Linux.

16 years agoAdd socket api for lua, currently untested.
Chris Porter [Tue, 18 Dec 2007 16:12:03 +0000 (16:12 +0000)] 
Add socket api for lua, currently untested.

16 years agoMerge.
Chris Porter [Sat, 1 Dec 2007 19:02:33 +0000 (19:02 +0000)] 
Merge.

16 years agoControl services are now invisible.
Chris Porter [Sat, 1 Dec 2007 19:00:51 +0000 (19:00 +0000)] 
Control services are now invisible.

16 years agoDisabled isaccount on command as authhash+lua == crash.
Chris Porter [Sat, 1 Dec 2007 19:00:36 +0000 (19:00 +0000)] 
Disabled isaccount on command as authhash+lua == crash.

16 years agoMerge.
Chris Porter [Sat, 1 Dec 2007 18:54:47 +0000 (18:54 +0000)] 
Merge.

16 years agoAllow multiple U instances.
Chris Porter [Sat, 1 Dec 2007 16:27:01 +0000 (16:27 +0000)] 
Allow multiple U instances.

16 years agoFix the kicker code.
Chris Porter [Sat, 1 Dec 2007 14:38:42 +0000 (14:38 +0000)] 
Fix the kicker code.

16 years agoDon't know what happened to this function, I wrote this code before, there's a script...
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

16 years agoAdd psql support to lua.
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.

16 years agoT now uses patricia node usercounts.
Chris Porter [Fri, 30 Nov 2007 20:53:41 +0000 (20:53 +0000)] 
T now uses patricia node usercounts.

16 years agoMerge.
Chris Porter [Fri, 30 Nov 2007 20:42:12 +0000 (20:42 +0000)] 
Merge.

16 years agoMake G's check for opers on channels for checkchannel a little more lax, returning...
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.

16 years agoAdd country pusher to lua.
Chris Porter [Fri, 30 Nov 2007 19:45:43 +0000 (19:45 +0000)] 
Add country pusher to lua.

16 years agoAdd country name lookup to newsearch.
Chris Porter [Fri, 30 Nov 2007 18:35:30 +0000 (18:35 +0000)] 
Add country name lookup to newsearch.

16 years agoThis might help with the rehash schedule.
Chris Porter [Thu, 22 Nov 2007 17:00:19 +0000 (17:00 +0000)] 
This might help with the rehash schedule.

16 years agoFix gcc3 warnings.
Chris Porter [Thu, 22 Nov 2007 16:44:33 +0000 (16:44 +0000)] 
Fix gcc3 warnings.

16 years agoAlter default setting/value lengths for settings.
Chris Porter [Thu, 22 Nov 2007 16:43:12 +0000 (16:43 +0000)] 
Alter default setting/value lengths for settings.

16 years agoAlter the default values a bit for 2007.
Chris Porter [Thu, 22 Nov 2007 16:33:38 +0000 (16:33 +0000)] 
Alter the default values a bit for 2007.

16 years agobump version number
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

16 years agoRefactor T's glining code as it's a complete nightmare.
Chris Porter [Thu, 22 Nov 2007 15:49:11 +0000 (15:49 +0000)] 
Refactor T's glining code as it's a complete nightmare.

16 years agoMerge.
Chris Porter [Sun, 4 Nov 2007 02:45:53 +0000 (02:45 +0000)] 
Merge.

16 years agoAllow local.in to define MAXNICKEXTS.
Chris Porter [Sun, 4 Nov 2007 02:44:12 +0000 (03:44 +0100)] 
Allow local.in to define MAXNICKEXTS.

16 years agorequest was not checking the return code of getnickext, which really broke Z, added...
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.

16 years agoShould be using double indirection here.
Chris Porter [Sun, 4 Nov 2007 00:44:12 +0000 (00:44 +0000)] 
Should be using double indirection here.

16 years agoCleanup.
Chris Porter [Sat, 3 Nov 2007 22:53:12 +0000 (22:53 +0000)] 
Cleanup.

16 years agoMake nterfacer's config file syntax sane.
Chris Porter [Sat, 3 Nov 2007 22:44:14 +0000 (22:44 +0000)] 
Make nterfacer's config file syntax sane.

16 years agoCleanup dependencies.
Chris Porter [Sat, 3 Nov 2007 22:23:35 +0000 (22:23 +0000)] 
Cleanup dependencies.

16 years agoRemove helix from the tree.
Chris Porter [Wed, 31 Oct 2007 12:00:46 +0000 (12:00 +0000)] 
Remove helix from the tree.

16 years agoesockets now supports new protocol.
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.

16 years agoNow using protocol v3.
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.

16 years agoAdd SHA2 to the library.
Chris Porter [Tue, 30 Oct 2007 17:21:47 +0000 (17:21 +0000)] 
Add SHA2 to the library.

16 years agoAdd Rijndael code.
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.

17 years agoA few (mostly cosmetic) changes to the fakeuser module - failed to find a possible...
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

17 years agoMerge.
splidge [Mon, 30 Jul 2007 10:53:45 +0000 (11:53 +0100)] 
Merge.

17 years agoAvoid triggering invalid HOOK_CHANNEL_CREATE or HOOK_CHANNEL_JOINs
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.

17 years agoMerge
Chris Porter [Wed, 18 Jul 2007 02:53:47 +0000 (03:53 +0100)] 
Merge

17 years agoAdd some severe flood protection to regexgline.
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.

17 years agoAdded "chanprofile" module.
splidge [Tue, 10 Jul 2007 22:12:32 +0000 (23:12 +0100)] 
Added "chanprofile" module.

17 years agoMerged.
splidge [Tue, 10 Jul 2007 22:11:38 +0000 (23:11 +0100)] 
Merged.

17 years agoAdded "channels" command (returns number of channels user is on for nicks)
splidge [Tue, 10 Jul 2007 22:11:10 +0000 (23:11 +0100)] 
Added "channels" command (returns number of channels user is on for nicks)

17 years agoIt's not necessary to scan port 559 for socks4 more than once.
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.

17 years agoTidied up some gratuitous malloc-failure code
splidge [Fri, 6 Jul 2007 10:32:51 +0000 (11:32 +0100)] 
Tidied up some gratuitous malloc-failure code

17 years agoUpdated proxyscan to use nsmalloc()
splidge [Fri, 6 Jul 2007 10:17:04 +0000 (11:17 +0100)] 
Updated proxyscan to use nsmalloc()

17 years agoAdded capability to pqsql module to use default unix socket.
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.

17 years agoMerge.
splidge [Thu, 5 Jul 2007 12:10:10 +0000 (13:10 +0100)] 
Merge.

17 years agoMake P join #tlz.
Chris Porter [Thu, 5 Jul 2007 01:58:10 +0000 (03:58 +0200)] 
Make P join #tlz.

17 years agoMerge!
Chris Porter [Thu, 5 Jul 2007 01:13:01 +0000 (02:13 +0100)] 
Merge!