]> jfr.im git - irc/quakenet/newserv.git/log
irc/quakenet/newserv.git
15 years agoMove TS code around a bit.
Chris Porter [Wed, 6 Aug 2008 23:11:46 +0000 (00:11 +0100)] 
Move TS code around a bit.

15 years agoNewserv now required userid in the AC/N messages to auth, services with no userid...
Chris Porter [Wed, 6 Aug 2008 22:58:43 +0000 (23:58 +0100)] 
Newserv now required userid in the AC/N messages to auth, services with no userid can however send out 0, also reorganised the huge withuseridflags functions and added some new flags.

15 years agoFix more warnings.
Chris Porter [Wed, 6 Aug 2008 22:19:41 +0000 (23:19 +0100)] 
Fix more warnings.

15 years agoFix inline errors.
Chris Porter [Wed, 6 Aug 2008 22:19:09 +0000 (23:19 +0100)] 
Fix inline errors.

15 years agoFix various warnings.
Chris Porter [Wed, 6 Aug 2008 18:29:23 +0000 (19:29 +0100)] 
Fix various warnings.

15 years agoMerge.
Cruicky [Tue, 5 Aug 2008 11:38:40 +0000 (12:38 +0100)] 
Merge.

15 years agoMove the schedule outside of the if
Cruicky [Tue, 5 Aug 2008 11:37:15 +0000 (12:37 +0100)] 
Move the schedule outside of the if
If newserv attempts to connect, and instantly gets a socket error, then no further attempts are made to reconnect due to connected=0

15 years agoMerge
splidge [Sun, 3 Aug 2008 23:23:06 +0000 (00:23 +0100)] 
Merge

15 years agoMerge.
splidge [Sun, 3 Aug 2008 22:56:26 +0000 (23:56 +0100)] 
Merge.

15 years agoDon't log kill paths when a user is killed.
splidge [Sun, 3 Aug 2008 22:54:33 +0000 (23:54 +0100)] 
Don't log kill paths when a user is killed.

15 years agoFix burst race-condition bug with opernames
Cruicky [Tue, 29 Jul 2008 23:07:33 +0000 (00:07 +0100)] 
Fix burst race-condition bug with opernames
There is a race condition between the irc module and the server module
The IRC module is responsible for triggering nick bursts from newserv
However, this trigger occurs when the server module has not yet set the opernames flag for the hub
This results in the following corruption: -
Umode(s):: +oidkr C:1217362558 B]AAEE
As we can see the params have been shifted one place to the left due to the lack of the opername
After this patch is applied: -
Umode(s):: +oidkr - C:1217371917
Please note, if the nickname is created before the the irc module connects to the hub, the bug is not triggered

15 years agoConvert S to nsmalloc and sstrings
Cruicky [Sun, 27 Jul 2008 12:10:23 +0000 (13:10 +0100)] 
Convert S to nsmalloc and sstrings

15 years agoFix bug in IP reading
Cruicky [Sun, 27 Jul 2008 00:08:38 +0000 (01:08 +0100)] 
Fix bug in IP reading
Remove unused variable

15 years agoFix buffer overflow
Cruicky [Sun, 27 Jul 2008 00:05:34 +0000 (01:05 +0100)] 
Fix buffer overflow

16 years agoMerge.
Chris Porter [Sat, 12 Jul 2008 12:15:25 +0000 (13:15 +0100)] 
Merge.

16 years agoWhoops, forgot to set opername to NULL after freeing on kill.
Chris Porter [Sat, 12 Jul 2008 01:19:11 +0000 (02:19 +0100)] 
Whoops, forgot to set opername to NULL after freeing on kill.

16 years agomissing file
Paul [Sun, 6 Jul 2008 22:12:33 +0000 (23:12 +0100)] 
missing file

16 years agorefnode should always(normally) be MAXBITS
Paul [Sat, 5 Jul 2008 19:42:14 +0000 (20:42 +0100)] 
refnode should always(normally) be MAXBITS

16 years agoAdd opername to noperserv oper alerts.
Chris Porter [Fri, 4 Jul 2008 04:40:06 +0000 (05:40 +0100)] 
Add opername to noperserv oper alerts.

16 years agoAdd iterators to newsearch, along with an example channel iterator function.
Chris Porter [Fri, 4 Jul 2008 04:32:46 +0000 (05:32 +0100)] 
Add iterators to newsearch, along with an example channel iterator function.
Yey! First class functions!!

Example:
  (any (channeliter x) (match (var x) #twilight*))

Roughly equivalent to:
  example = lambda nick: any(lambda x: fnmatch.fnmatch(x, "#twilight*"), nick.channels)
  for nick in networknicks:
    if example(nick):
      print nick

16 years agoWhoops, I forgot to init opername in registerlocaluser, thanks valgrind
Chris Porter [Fri, 4 Jul 2008 03:33:15 +0000 (04:33 +0100)] 
Whoops, I forgot to init opername in registerlocaluser, thanks valgrind

16 years agoAdd opername support to newserv, also add displaying of oper names in noperserv warni...
Chris Porter [Fri, 4 Jul 2008 01:10:45 +0000 (02:10 +0100)] 
Add opername support to newserv, also add displaying of oper names in noperserv warning messages.

16 years agoMerge.
Chris Porter [Mon, 30 Jun 2008 16:19:42 +0000 (17:19 +0100)] 
Merge.

16 years agoAdd eXtended service broadcast module (allows sending of authflags without ircd support).
Chris Porter [Mon, 30 Jun 2008 16:09:33 +0000 (17:09 +0100)] 
Add eXtended service broadcast module (allows sending of authflags without ircd support).

16 years agoAdd server mask (/msg $*.quakenet.org) support.
Chris Porter [Mon, 30 Jun 2008 14:57:13 +0000 (15:57 +0100)] 
Add server mask (/msg $*.quakenet.org) support.

16 years agoAdd server flag support.
Chris Porter [Mon, 30 Jun 2008 14:56:43 +0000 (15:56 +0100)] 
Add server flag support.

16 years agoMove account flags into authext.
Chris Porter [Mon, 30 Jun 2008 14:14:47 +0000 (15:14 +0100)] 
Move account flags into authext.

16 years agoderefnode
Paul [Sun, 29 Jun 2008 15:02:59 +0000 (16:02 +0100)] 
derefnode

16 years agoAdd proper help
Cruicky [Sun, 29 Jun 2008 14:31:52 +0000 (15:31 +0100)] 
Add proper help

16 years agomerge
Paul [Sun, 29 Jun 2008 14:11:40 +0000 (15:11 +0100)] 
merge

16 years agorename function, drop user level, drop unused int from struct
Paul [Sun, 29 Jun 2008 14:11:05 +0000 (15:11 +0100)] 
rename function, drop user level, drop unused int from struct

16 years agoMerge.
Chris Porter [Sun, 29 Jun 2008 14:01:02 +0000 (15:01 +0100)] 
Merge.

16 years agoRemove chanserv_chansearch from makefile.
Chris Porter [Sun, 29 Jun 2008 14:00:28 +0000 (15:00 +0100)] 
Remove chanserv_chansearch from makefile.

16 years agoAdd patricianick to build list
Cruicky [Sun, 29 Jun 2008 13:30:23 +0000 (14:30 +0100)] 
Add patricianick to build list
Change patricianick to use a hash table instead of a link list
Little bit of code tidyup

16 years agomerge
Paul [Sun, 29 Jun 2008 10:30:22 +0000 (11:30 +0100)] 
merge

16 years agoinitial commit - patricia nick index
Paul [Sun, 29 Jun 2008 10:28:02 +0000 (11:28 +0100)] 
initial commit - patricia nick index

16 years agoRemove old redundant modules
Chris Porter [Mon, 23 Jun 2008 23:50:12 +0000 (00:50 +0100)] 
Remove old redundant modules

16 years agoAdd shadowserver module.
Chris Porter [Thu, 12 Jun 2008 21:42:22 +0000 (22:42 +0100)] 
Add shadowserver module.
Add shadowserver support to regexgline.

16 years agoAdd the concept of classes to regexgline.
Chris Porter [Thu, 12 Jun 2008 21:28:31 +0000 (22:28 +0100)] 
Add the concept of classes to regexgline.

16 years agoUse names for values in regexgline rather than magic numbers.
Chris Porter [Thu, 12 Jun 2008 20:47:22 +0000 (21:47 +0100)] 
Use names for values in regexgline rather than magic numbers.

16 years agoMerge.
Chris Porter [Thu, 12 Jun 2008 19:44:55 +0000 (20:44 +0100)] 
Merge.

16 years agoFew fixes with logging.
Chris Porter [Thu, 12 Jun 2008 19:43:13 +0000 (20:43 +0100)] 
Few fixes with logging.

16 years agoMerge.
Chris Porter [Thu, 12 Jun 2008 19:18:25 +0000 (20:18 +0100)] 
Merge.

16 years agoPort regexgline to dbapi, not yet tested.
Chris Porter [Thu, 12 Jun 2008 19:18:03 +0000 (20:18 +0100)] 
Port regexgline to dbapi, not yet tested.

16 years agoAdd sensible usage text
Cruicky [Fri, 6 Jun 2008 17:24:30 +0000 (18:24 +0100)] 
Add sensible usage text

16 years agoShow IDs in cleanupdb messages.
Chris Porter [Mon, 2 Jun 2008 19:10:00 +0000 (20:10 +0100)] 
Show IDs in cleanupdb messages.

16 years agoadd patricia_commands to Makefile.in
Paul [Sat, 31 May 2008 00:22:06 +0000 (01:22 +0100)] 
add patricia_commands to Makefile.in

16 years agonodecount is replaced by patricia_commands
Paul [Sat, 31 May 2008 00:19:35 +0000 (01:19 +0100)] 
nodecount is replaced by patricia_commands

16 years agoadd proxyext into makefile
Paul [Fri, 30 May 2008 23:35:36 +0000 (00:35 +0100)] 
add proxyext into makefile

16 years agoMerge.
Chris Porter [Fri, 30 May 2008 23:31:21 +0000 (00:31 +0100)] 
Merge.

16 years agoFound the bug in authext.
Chris Porter [Fri, 30 May 2008 23:22:38 +0000 (23:22 +0000)] 
Found the bug in authext.

16 years agoFix paul's divergent branch so newserv builds\!
Chris Porter [Fri, 30 May 2008 23:04:56 +0000 (23:04 +0000)] 
Fix paul's divergent branch so newserv builds\!

16 years agounused variables
Paul [Fri, 30 May 2008 22:58:02 +0000 (23:58 +0100)] 
unused variables

16 years agoMerge.
Chris Porter [Fri, 30 May 2008 22:53:44 +0000 (23:53 +0100)] 
Merge.

16 years agoThere's a bug in authext. Add some stats, also fix a bug in findblahblah.
Chris Porter [Fri, 30 May 2008 22:52:07 +0000 (23:52 +0100)] 
There's a bug in authext. Add some stats, also fix a bug in findblahblah.

16 years agoMerge.
Chris Porter [Fri, 30 May 2008 20:43:36 +0000 (21:43 +0100)] 
Merge.

16 years agoRemove qrequest (functionality present in request).
Chris Porter [Fri, 30 May 2008 20:42:17 +0000 (21:42 +0100)] 
Remove qrequest (functionality present in request).
Update configure.ac.

16 years agoPermissive compiler is permissive.
Chris Porter [Fri, 30 May 2008 19:58:14 +0000 (20:58 +0100)] 
Permissive compiler is permissive.

16 years agonoperserv/nterfacer_control now use getauthbyname instead of linear search.
Chris Porter [Fri, 30 May 2008 19:56:01 +0000 (19:56 +0000)] 
noperserv/nterfacer_control now use getauthbyname instead of linear search.

16 years agoAdd getauthbyname to authext, also set nicks to NULL in case something breaks (though...
Chris Porter [Fri, 30 May 2008 19:55:18 +0000 (19:55 +0000)] 
Add getauthbyname to authext, also set nicks to NULL in case something breaks (though this may be implicit and can probably be removed).

16 years agoRe-enable nterfacer's isaccounton RPC call.
Chris Porter [Fri, 30 May 2008 19:45:35 +0000 (19:45 +0000)] 
Re-enable nterfacer's isaccounton RPC call.

16 years agoMake authext actually work.
Chris Porter [Fri, 30 May 2008 19:45:10 +0000 (19:45 +0000)] 
Make authext actually work.

16 years agoMerge.
Chris Porter [Fri, 30 May 2008 19:20:13 +0000 (20:20 +0100)] 
Merge.

16 years agoMerge.
Chris Porter [Fri, 30 May 2008 19:19:44 +0000 (20:19 +0100)] 
Merge.

16 years agoAdd listening support to lua sockets.
Chris Porter [Fri, 30 May 2008 19:19:19 +0000 (20:19 +0100)] 
Add listening support to lua sockets.

16 years agoAdd support for looking up by authname, uhm, name to authext.
Chris Porter [Fri, 30 May 2008 19:16:05 +0000 (20:16 +0100)] 
Add support for looking up by authname, uhm, name to authext.

16 years agoUse a more sensible default status level for control.
Chris Porter [Fri, 30 May 2008 19:15:39 +0000 (20:15 +0100)] 
Use a more sensible default status level for control.

16 years agomerge
Paul [Fri, 30 May 2008 19:03:11 +0000 (20:03 +0100)] 
merge

16 years agosync R from D back into this branch
Paul [Fri, 30 May 2008 18:35:58 +0000 (19:35 +0100)] 
sync R from D back into this branch

16 years agoUse new gline format in play CHECKLAMECHANNEL and ns-gline.
Chris Porter [Thu, 29 May 2008 20:21:16 +0000 (20:21 +0000)] 
Use new gline format in play CHECKLAMECHANNEL and ns-gline.

16 years agopatricia trie changes
Paul [Thu, 29 May 2008 17:48:08 +0000 (18:48 +0100)] 
patricia trie changes

16 years agoMerge.
Chris Porter [Wed, 28 May 2008 23:07:27 +0000 (00:07 +0100)] 
Merge.

16 years agoFix corruption bug on DB load - if strlen exceeds network CHANNELLEN, newserv inserts...
Paul [Mon, 26 May 2008 00:21:52 +0000 (01:21 +0100)] 
Fix corruption bug on DB load - if strlen exceeds network CHANNELLEN, newserv inserts a duplicate channel name into
the database (which iirc, then aborts the load)

16 years agoreview - ops first
Paul [Mon, 26 May 2008 00:20:16 +0000 (01:20 +0100)] 
review - ops first

16 years agomerge
Paul [Mon, 26 May 2008 00:08:37 +0000 (01:08 +0100)] 
merge

16 years agouse correct stats level
Paul [Mon, 26 May 2008 00:08:16 +0000 (01:08 +0100)] 
use correct stats level

16 years agoReplace QM_DOMAINBANNED with QM_MAILLOCKED as it was leaking information.
Chris Porter [Mon, 26 May 2008 00:05:29 +0000 (01:05 +0100)] 
Replace QM_DOMAINBANNED with QM_MAILLOCKED as it was leaking information.

16 years agoq9snprintf not using Q9_FORMAT_TIME, well spotted paul!
Chris Porter [Sun, 25 May 2008 23:15:24 +0000 (00:15 +0100)] 
q9snprintf not using Q9_FORMAT_TIME, well spotted paul!

16 years agomerge
Paul [Sun, 25 May 2008 23:02:04 +0000 (00:02 +0100)] 
merge

16 years agoREQUESTPASSWORD in batcher templates has incorrect syntax (thanks deletio).
Chris Porter [Sun, 25 May 2008 21:50:09 +0000 (22:50 +0100)] 
REQUESTPASSWORD in batcher templates has incorrect syntax (thanks deletio).
Clarify that URL in batcher email won't work forever.

16 years agoFix ban bug in maildomains.
Chris Porter [Sat, 24 May 2008 11:58:48 +0000 (12:58 +0100)] 
Fix ban bug in maildomains.

16 years agoWhoops, that flood protection doesn't stop anything...
Chris Porter [Thu, 22 May 2008 11:36:52 +0000 (11:36 +0000)] 
Whoops, that flood protection doesn't stop anything...

16 years agoUse mysql_real_escape_string.
Chris Porter [Thu, 22 May 2008 10:47:31 +0000 (10:47 +0000)] 
Use mysql_real_escape_string.
Tune max glines/second value.
Don't spam warning every second if value exceeded.
Also show values in warning.

16 years agoUse LAST_INSERT_ID for gline insertions in regexgline.
Chris Porter [Wed, 21 May 2008 14:51:24 +0000 (14:51 +0000)] 
Use LAST_INSERT_ID for gline insertions in regexgline.

16 years agoregexgline now sets new style glines.
Chris Porter [Tue, 20 May 2008 17:44:25 +0000 (17:44 +0000)] 
regexgline now sets new style glines.

16 years agoDon't wall +T changes in userflags.
Chris Porter [Sun, 18 May 2008 23:21:33 +0000 (00:21 +0100)] 
Don't wall +T changes in userflags.

16 years agomerge
Paul [Sun, 18 May 2008 14:03:22 +0000 (15:03 +0100)] 
merge

16 years agoCorrect typo in log in sendpassword.
Chris Porter [Sun, 18 May 2008 01:33:44 +0000 (02:33 +0100)] 
Correct typo in log in sendpassword.
Log nicksearch/chansearch/usersearch/spewemail/spewdb/spewpass (Q9).
Wall on spewpass.

16 years agoAdd init function to stringbuf.
Chris Porter [Sun, 18 May 2008 01:30:28 +0000 (02:30 +0100)] 
Add init function to stringbuf.

16 years agoDon't allow anyone to set the email of a privileged user, also show warnings...
Chris Porter [Sun, 18 May 2008 01:11:23 +0000 (02:11 +0100)] 
Don't allow anyone to set the email of a privileged user, also show warnings...

16 years agoFix authgate warnings in userflags.
Chris Porter [Sun, 18 May 2008 01:10:59 +0000 (02:10 +0100)] 
Fix authgate warnings in userflags.

16 years agomerge
Paul [Sat, 17 May 2008 23:05:55 +0000 (00:05 +0100)] 
merge

16 years agoUnify whois/suspenduserlist handling of staff wrt. delayed glines and instant glines.
Chris Porter [Sat, 17 May 2008 19:49:29 +0000 (20:49 +0100)] 
Unify whois/suspenduserlist handling of staff wrt. delayed glines and instant glines.

16 years agoPurge all references to localtime.
Chris Porter [Sat, 17 May 2008 19:46:15 +0000 (20:46 +0100)] 
Purge all references to localtime.
Use sizeof() in all strfcalls rather than fixed sizes.
Instead of using a fixed string in each and every strftime call it's now a define.
Add time support 'T' to q9snprintf.
Refactor a lot of the strftime stuff into q9snprintf.
Use sizeof() in sprintf in log.

16 years agoRefactor suspension visible logic.
Chris Porter [Sat, 17 May 2008 19:13:13 +0000 (20:13 +0100)] 
Refactor suspension visible logic.

16 years agoShow suspensions in chanlev.
Chris Porter [Sat, 17 May 2008 19:02:28 +0000 (20:02 +0100)] 
Show suspensions in chanlev.

16 years agomerge
Paul [Fri, 16 May 2008 17:29:55 +0000 (18:29 +0100)] 
merge

16 years agoirc stats hook
Paul [Fri, 16 May 2008 17:29:29 +0000 (18:29 +0100)] 
irc stats hook

16 years agosync: display ops/voice count in channel command
Paul [Fri, 16 May 2008 17:28:57 +0000 (18:28 +0100)] 
sync: display ops/voice count in channel command

16 years agoallow forcing of settime commands (for devs only)
Paul [Fri, 16 May 2008 17:21:16 +0000 (18:21 +0100)] 
allow forcing of settime commands (for devs only)