]> jfr.im git - irc/quakenet/newserv.git/log
irc/quakenet/newserv.git
11 years agoImplement policy enforcement.
Gunnar Beutner [Tue, 18 Jun 2013 10:09:00 +0000 (12:09 +0200)] 
Implement policy enforcement.

--HG--
branch : shroudtrusts

11 years agotrusts_policy: Fix per-node user count.
Gunnar Beutner [Tue, 18 Jun 2013 10:08:53 +0000 (12:08 +0200)] 
trusts_policy: Fix per-node user count.

--HG--
branch : shroudtrusts

11 years agoProperly mask off bits in trusts_cidr2str().
Gunnar Beutner [Tue, 18 Jun 2013 10:08:13 +0000 (12:08 +0200)] 
Properly mask off bits in trusts_cidr2str().

--HG--
branch : shroudtrusts

11 years agoth_updatechildren: Fix bug when iterating over empty TGs.
Gunnar Beutner [Tue, 18 Jun 2013 08:19:48 +0000 (10:19 +0200)] 
th_updatechildren: Fix bug when iterating over empty TGs.

--HG--
branch : shroudtrusts

11 years agoUse getnettime() where appropriate.
Gunnar Beutner [Tue, 18 Jun 2013 07:18:51 +0000 (09:18 +0200)] 
Use getnettime() where appropriate.

--HG--
branch : shroudtrusts

11 years agoImplement trustspew.
Gunnar Beutner [Tue, 18 Jun 2013 07:10:34 +0000 (09:10 +0200)] 
Implement trustspew.

--HG--
branch : shroudtrusts

11 years agoAllow developers to override limits for trustgroupadd.
Gunnar Beutner [Tue, 18 Jun 2013 06:31:44 +0000 (08:31 +0200)] 
Allow developers to override limits for trustgroupadd.

--HG--
branch : shroudtrusts

11 years agoRemove ipnode moving functionality.
Gunnar Beutner [Tue, 18 Jun 2013 06:24:11 +0000 (08:24 +0200)] 
Remove ipnode moving functionality.

--HG--
branch : shroudtrusts

11 years agoMake cleanup message more friendly.
Gunnar Beutner [Tue, 18 Jun 2013 06:19:01 +0000 (08:19 +0200)] 
Make cleanup message more friendly.

--HG--
branch : shroudtrusts

11 years agoglines: Only gline ident@host for TGs which have enforceidents enabled.
Gunnar Beutner [Mon, 17 Jun 2013 20:30:44 +0000 (22:30 +0200)] 
glines: Only gline ident@host for TGs which have enforceidents enabled.

--HG--
branch : shroudtrusts

11 years agoAllow developers to override some of the TG/TH limits.
Gunnar Beutner [Mon, 17 Jun 2013 17:01:12 +0000 (19:01 +0200)] 
Allow developers to override some of the TG/TH limits.

--HG--
branch : shroudtrusts

11 years agoRename trustlogspew to trustlog.
Gunnar Beutner [Mon, 17 Jun 2013 16:21:08 +0000 (18:21 +0200)] 
Rename trustlogspew to trustlog.

--HG--
branch : shroudtrusts

11 years agoDon't allow nodebits to be smaller than TH's mask.
Gunnar Beutner [Mon, 17 Jun 2013 16:17:20 +0000 (18:17 +0200)] 
Don't allow nodebits to be smaller than TH's mask.

--HG--
branch : shroudtrusts

11 years agoFixed indentation for trustlist.
Gunnar Beutner [Mon, 17 Jun 2013 16:14:48 +0000 (18:14 +0200)] 
Fixed indentation for trustlist.

--HG--
branch : shroudtrusts

11 years agoFix validation for maxpernode in trusthostmodify.
Gunnar Beutner [Mon, 17 Jun 2013 16:05:32 +0000 (18:05 +0200)] 
Fix validation for maxpernode in trusthostmodify.

--HG--
branch : shroudtrusts

11 years agoImplement replication for trusthost updates.
Gunnar Beutner [Mon, 17 Jun 2013 15:57:12 +0000 (17:57 +0200)] 
Implement replication for trusthost updates.

--HG--
branch : shroudtrusts

11 years agoMove ipnode when nodeperbits changes for a TH.
Gunnar Beutner [Mon, 17 Jun 2013 15:57:00 +0000 (17:57 +0200)] 
Move ipnode when nodeperbits changes for a TH.

--HG--
branch : shroudtrusts

11 years agoFix log message for trusthostmodify.
Gunnar Beutner [Mon, 17 Jun 2013 15:34:32 +0000 (17:34 +0200)] 
Fix log message for trusthostmodify.

--HG--
branch : shroudtrusts

11 years agoMap Teredo addresses to IPv4 addresses.
Gunnar Beutner [Mon, 17 Jun 2013 14:07:34 +0000 (16:07 +0200)] 
Map Teredo addresses to IPv4 addresses.

--HG--
branch : shroudtrusts

11 years agoFix incorrect user count when removing THs.
Gunnar Beutner [Mon, 17 Jun 2013 13:50:48 +0000 (15:50 +0200)] 
Fix incorrect user count when removing THs.

--HG--
branch : shroudtrusts

11 years agoFixed maxpernode policy enforcement.
Gunnar Beutner [Mon, 17 Jun 2013 13:40:44 +0000 (15:40 +0200)] 
Fixed maxpernode policy enforcement.

--HG--
branch : shroudtrusts

11 years agoImplement trusthostmodify command.
Gunnar Beutner [Mon, 17 Jun 2013 13:35:51 +0000 (15:35 +0200)] 
Implement trusthostmodify command.

--HG--
branch : shroudtrusts

11 years agoMake sure we only print a TH once in trustlist.
Gunnar Beutner [Mon, 17 Jun 2013 12:26:35 +0000 (14:26 +0200)] 
Make sure we only print a TH once in trustlist.

--HG--
branch : shroudtrusts

11 years agoFix crash in th_delete().
Gunnar Beutner [Mon, 17 Jun 2013 12:20:51 +0000 (14:20 +0200)] 
Fix crash in th_delete().

--HG--
branch : shroudtrusts

11 years agoFix TH replication.
Gunnar Beutner [Mon, 17 Jun 2013 11:54:33 +0000 (13:54 +0200)] 
Fix TH replication.

--HG--
branch : shroudtrusts

11 years agoFix IP address for local clients.
Gunnar Beutner [Mon, 17 Jun 2013 11:51:43 +0000 (13:51 +0200)] 
Fix IP address for local clients.

--HG--
branch : shroudtrusts

11 years agoIPv6 support for trusts.
Gunnar Beutner [Mon, 17 Jun 2013 11:40:25 +0000 (13:40 +0200)] 
IPv6 support for trusts.

--HG--
branch : shroudtrusts

11 years agoImplement pernodemax/nodebits for THs.
Gunnar Beutner [Mon, 17 Jun 2013 10:22:55 +0000 (12:22 +0200)] 
Implement pernodemax/nodebits for THs.

--HG--
branch : shroudtrusts

11 years agoFix incorrect parameters for th_adjusthosts().
Gunnar Beutner [Mon, 17 Jun 2013 10:03:34 +0000 (12:03 +0200)] 
Fix incorrect parameters for th_adjusthosts().

--HG--
branch : shroudtrusts

11 years agoFix crash with empty TGs.
Gunnar Beutner [Mon, 17 Jun 2013 09:27:55 +0000 (11:27 +0200)] 
Fix crash with empty TGs.

--HG--
branch : shroudtrusts

11 years agoUndo 2044:0116b2bbbb39.
Gunnar Beutner [Mon, 17 Jun 2013 08:07:43 +0000 (10:07 +0200)] 
Undo 2044:0116b2bbbb39.

--HG--
branch : shroudtrusts

11 years agoTreat 6to4 clients as if they're connecting via IPv4.
Gunnar Beutner [Mon, 17 Jun 2013 07:47:42 +0000 (09:47 +0200)] 
Treat 6to4 clients as if they're connecting via IPv4.

--HG--
branch : shroudtrusts

11 years agoTrustlog bugfixes.
Gunnar Beutner [Mon, 17 Jun 2013 06:42:45 +0000 (08:42 +0200)] 
Trustlog bugfixes.

--HG--
branch : shroudtrusts

11 years agoAnother query fix.
Gunnar Beutner [Sun, 16 Jun 2013 13:19:48 +0000 (15:19 +0200)] 
Another query fix.

--HG--
branch : shroudtrusts

11 years agoAdd missing field when inserting new THs.
Gunnar Beutner [Sun, 16 Jun 2013 13:18:16 +0000 (15:18 +0200)] 
Add missing field when inserting new THs.

--HG--
branch : shroudtrusts

11 years agoAnother replication fix for THs.
Gunnar Beutner [Sun, 16 Jun 2013 13:12:36 +0000 (15:12 +0200)] 
Another replication fix for THs.

--HG--
branch : shroudtrusts

11 years agoRemove code that deals with nested THs.
Gunnar Beutner [Sun, 16 Jun 2013 12:09:36 +0000 (14:09 +0200)] 
Remove code that deals with nested THs.

--HG--
branch : shroudtrusts

11 years agoImplement trustcleanup command.
Gunnar Beutner [Sun, 16 Jun 2013 04:02:10 +0000 (06:02 +0200)] 
Implement trustcleanup command.

--HG--
branch : shroudtrusts

11 years agoAdd TG name in the trust log.
Gunnar Beutner [Sun, 16 Jun 2013 02:55:06 +0000 (04:55 +0200)] 
Add TG name in the trust log.

--HG--
branch : shroudtrusts

11 years agoFix replication for TH removals.
Gunnar Beutner [Sun, 16 Jun 2013 02:28:46 +0000 (04:28 +0200)] 
Fix replication for TH removals.

--HG--
branch : shroudtrusts

11 years agoRefactor trustgline code and implement glinebyhost/unglinebyhost.
Gunnar Beutner [Sun, 16 Jun 2013 02:13:07 +0000 (04:13 +0200)] 
Refactor trustgline code and implement glinebyhost/unglinebyhost.

--HG--
branch : shroudtrusts

11 years agoImplement non-expiring trustgroups.
Gunnar Beutner [Sat, 15 Jun 2013 22:20:10 +0000 (00:20 +0200)] 
Implement non-expiring trustgroups.

--HG--
branch : shroudtrusts

11 years agoImplement trustgline/trustungline.
Gunnar Beutner [Sat, 15 Jun 2013 11:37:31 +0000 (13:37 +0200)] 
Implement trustgline/trustungline.

--HG--
branch : shroudtrusts

11 years agoFix help texts.
Gunnar Beutner [Fri, 14 Jun 2013 17:57:49 +0000 (19:57 +0200)] 
Fix help texts.

--HG--
branch : shroudtrusts

11 years agoAdd missing controlwall() call for trustcomment.
Gunnar Beutner [Fri, 14 Jun 2013 17:17:44 +0000 (19:17 +0200)] 
Add missing controlwall() call for trustcomment.

--HG--
branch : shroudtrusts

11 years agoImplement the trust log.
Gunnar Beutner [Fri, 14 Jun 2013 17:12:03 +0000 (19:12 +0200)] 
Implement the trust log.

--HG--
branch : shroudtrusts

11 years agoFix argument count for trustgroupadd.
Gunnar Beutner [Fri, 14 Jun 2013 16:52:06 +0000 (18:52 +0200)] 
Fix argument count for trustgroupadd.

--HG--
branch : shroudtrusts

11 years agoImplement looking up trusts by IP address.
Gunnar Beutner [Fri, 14 Jun 2013 10:49:16 +0000 (12:49 +0200)] 
Implement looking up trusts by IP address.

--HG--
branch : shroudtrusts

11 years agoImplement removing TGs and THs.
Gunnar Beutner [Fri, 14 Jun 2013 08:28:46 +0000 (10:28 +0200)] 
Implement removing TGs and THs.

--HG--
branch : shroudtrusts

11 years agoFix timing attacks in HMAC functions.
Chris Porter [Tue, 11 Jun 2013 22:02:42 +0000 (23:02 +0100)] 
Fix timing attacks in HMAC functions.

12 years agoLUA: add irc_localwallops andirc_localwallusers commands.
Chris Porter [Fri, 22 Jun 2012 12:23:39 +0000 (13:23 +0100)] 
LUA: add irc_localwallops andirc_localwallusers commands.

12 years agoLUALIB: various socket fixes.
Chris Porter [Fri, 22 Jun 2012 12:23:15 +0000 (13:23 +0100)] 
LUALIB: various socket fixes.

12 years agoMerge.
Chris Porter [Thu, 7 Jun 2012 23:38:53 +0000 (00:38 +0100)] 
Merge.

12 years agofixes for clang
Chris Porter [Thu, 7 Jun 2012 23:38:12 +0000 (00:38 +0100)] 
fixes for clang

12 years agoMerge.
Chris Porter [Thu, 7 Jun 2012 23:29:50 +0000 (00:29 +0100)] 
Merge.

12 years agoLUA: Add servername and servernumeric nickpushers.
Chris Porter [Thu, 7 Jun 2012 23:17:36 +0000 (00:17 +0100)] 
LUA: Add servername and servernumeric nickpushers.

12 years agoCORE: Don't close the same file twice.
Cruicky [Sun, 4 Mar 2012 17:50:29 +0000 (17:50 +0000)] 
CORE: Don't close the same file twice.

12 years agoDBAPI2: add support for stored procedures
Chris Porter [Thu, 23 Feb 2012 14:39:26 +0000 (15:39 +0100)] 
DBAPI2: add support for stored procedures

12 years agoPQSQL: show the error message on query error.
Chris Porter [Thu, 23 Feb 2012 14:37:50 +0000 (15:37 +0100)] 
PQSQL: show the error message on query error.

12 years agoDBAPI2: add support for NULL values to string format.
Chris Porter [Thu, 23 Feb 2012 14:37:26 +0000 (15:37 +0100)] 
DBAPI2: add support for NULL values to string format.

12 years agoSIGNONTRACKER: RENAME hook uses an array.
Chris Porter [Thu, 23 Feb 2012 03:34:23 +0000 (03:34 +0000)] 
SIGNONTRACKER: RENAME hook uses an array.

12 years agoSIGNONTRACKER: forgot about IRC's 512byte limit, also add a command to see users...
Chris Porter [Wed, 22 Feb 2012 03:12:29 +0000 (03:12 +0000)] 
SIGNONTRACKER: forgot about IRC's 512byte limit, also add a command to see users without a signon timestamp.

12 years agoLUA: add kill queue
Chris Porter [Wed, 22 Feb 2012 02:48:59 +0000 (02:48 +0000)] 
LUA: add kill queue

12 years agoSIGNONTRACKER: initial import.
Chris Porter [Wed, 22 Feb 2012 02:28:37 +0000 (02:28 +0000)] 
SIGNONTRACKER: initial import.

12 years agoMerge.
Chris Porter [Tue, 21 Feb 2012 23:31:10 +0000 (23:31 +0000)] 
Merge.

12 years agoMake format security warnings errors.
Cruicky [Tue, 21 Feb 2012 21:42:42 +0000 (21:42 +0000)] 
Make format security warnings errors.

12 years agoMerge
Cruicky [Tue, 21 Feb 2012 21:33:01 +0000 (21:33 +0000)] 
Merge

12 years agoFix string format issue
Cruicky [Tue, 21 Feb 2012 21:30:32 +0000 (21:30 +0000)] 
Fix string format issue

12 years agoLUA: N2 now chanfix bot
Chris Porter [Tue, 21 Feb 2012 03:31:15 +0000 (03:31 +0000)] 
LUA: N2 now chanfix bot

12 years agoLUA: add reason to part event
Chris Porter [Tue, 21 Feb 2012 03:31:03 +0000 (03:31 +0000)] 
LUA: add reason to part event

12 years agoNUMERICTRACKER: initial import.
Chris Porter [Mon, 20 Feb 2012 00:51:09 +0000 (00:51 +0000)] 
NUMERICTRACKER: initial import.

12 years agoCHANNEL/LUA: Add ability to see old modes to HOOK_CHANNEL_MODECHANGE.
Chris Porter [Sun, 19 Feb 2012 22:55:17 +0000 (22:55 +0000)] 
CHANNEL/LUA: Add ability to see old modes to HOOK_CHANNEL_MODECHANGE.

12 years agoUpdate .hgignore.
Chris Porter [Sun, 19 Feb 2012 04:05:39 +0000 (04:05 +0000)] 
Update .hgignore.

12 years agoRemove trusts2 from paulbranch.
Chris Porter [Sun, 19 Feb 2012 03:59:50 +0000 (03:59 +0000)] 
Remove trusts2 from paulbranch.

--HG--
branch : paul

12 years agoMerge.
Chris Porter [Sun, 19 Feb 2012 03:53:20 +0000 (03:53 +0000)] 
Merge.

--HG--
branch : paul

12 years agogline->glines2, trusts_search->trusts2_search, trusts_newsearch->trusts2_newsearch
Chris Porter [Sun, 19 Feb 2012 03:36:55 +0000 (03:36 +0000)] 
gline->glines2, trusts_search->trusts2_search, trusts_newsearch->trusts2_newsearch

--HG--
branch : paul

12 years agoMerge.
Chris Porter [Sun, 19 Feb 2012 03:21:16 +0000 (03:21 +0000)] 
Merge.

--HG--
branch : paul

12 years agoMerge.
Chris Porter [Sun, 19 Feb 2012 03:03:49 +0000 (03:03 +0000)] 
Merge.

12 years agoMerge.
Chris Porter [Sun, 19 Feb 2012 02:51:39 +0000 (02:51 +0000)] 
Merge.

--HG--
branch : paul

12 years agoCHANSERV: cleanup now runs automatically at 1am.
Chris Porter [Thu, 16 Feb 2012 03:31:20 +0000 (03:31 +0000)] 
CHANSERV: cleanup now runs automatically at 1am.

12 years agoMerge.
Chris Porter [Thu, 16 Feb 2012 03:15:53 +0000 (03:15 +0000)] 
Merge.

12 years agoCHANSERV: refactor for autocleanup
Chris Porter [Thu, 16 Feb 2012 03:08:34 +0000 (03:08 +0000)] 
CHANSERV: refactor for autocleanup

12 years agoCHANSERV: run ->lastactive updater once every hour.
Chris Porter [Fri, 10 Feb 2012 15:56:28 +0000 (15:56 +0000)] 
CHANSERV: run ->lastactive updater once every hour.
write framework to allow daily cleanup.

12 years agoCHANSERV: only update channels as active if they have at least one known op, and...
Chris Porter [Fri, 10 Feb 2012 14:59:33 +0000 (14:59 +0000)] 
CHANSERV: only update channels as active if they have at least one known op, and at least 2 real users (i.e. not snailbot).
cleanup now checks to see if a channel is still active, and if so updates lastactive.
TODO: perform this scan at least once/day

12 years agoMerge.
Chris Porter [Thu, 9 Feb 2012 00:39:46 +0000 (00:39 +0000)] 
Merge.

12 years agoLOCALUSER: add stats z support.
Chris Porter [Thu, 9 Feb 2012 00:39:02 +0000 (00:39 +0000)] 
LOCALUSER: add stats z support.

12 years agoCHANSERV: reduce unused account cleanup to 3d
Chris Porter [Tue, 7 Feb 2012 14:50:58 +0000 (14:50 +0000)] 
CHANSERV: reduce unused account cleanup to 3d

12 years agoCHANDUMP: add timestamp
Chris Porter [Tue, 7 Feb 2012 01:33:00 +0000 (01:33 +0000)] 
CHANDUMP: add timestamp

12 years agoCHANDUMP: dump nicknames too.
Chris Porter [Tue, 7 Feb 2012 01:21:17 +0000 (01:21 +0000)] 
CHANDUMP: dump nicknames too.

12 years agoCHANSERV: lastactive is now only updated for +o and above joins (changes how often...
Chris Porter [Sun, 5 Feb 2012 03:13:09 +0000 (03:13 +0000)] 
CHANSERV: lastactive is now only updated for +o and above joins (changes how often channels are CLEANUP'ed)

12 years agoCHANSERV: add encryption to createaccount (thanks Cruicky for spotting my bug).
Chris Porter [Mon, 30 Jan 2012 02:02:38 +0000 (02:02 +0000)] 
CHANSERV: add encryption to createaccount (thanks Cruicky for spotting my bug).

12 years agoLIB: move cbc support into lib
Chris Porter [Sun, 29 Jan 2012 21:29:59 +0000 (21:29 +0000)] 
LIB: move cbc support into lib

12 years agoMerge.
Chris Porter [Tue, 24 Jan 2012 02:53:46 +0000 (02:53 +0000)] 
Merge.

12 years agoTROJANSCAN: Fix db keepalive that never worked...
Chris Porter [Mon, 23 Jan 2012 16:51:28 +0000 (16:51 +0000)] 
TROJANSCAN: Fix db keepalive that never worked...

12 years agoMerge.
Chris Porter [Mon, 23 Jan 2012 04:31:52 +0000 (04:31 +0000)] 
Merge.

12 years agoPROXYSCAN: Add more proxy ports and fix SIGPIPE issue.
Chris Porter [Mon, 23 Jan 2012 05:23:19 +0000 (06:23 +0100)] 
PROXYSCAN: Add more proxy ports and fix SIGPIPE issue.

12 years agoPROXYSCAN: add scanfile command
Chris Porter [Mon, 23 Jan 2012 05:00:06 +0000 (06:00 +0100)] 
PROXYSCAN: add scanfile command

12 years agoPROXYSCAN: reenable ports.txt
Chris Porter [Mon, 23 Jan 2012 04:59:55 +0000 (05:59 +0100)] 
PROXYSCAN: reenable ports.txt

12 years agoPROXYSCAN: detect new type of HTTP proxies that make you wait 1s after a connect.
Chris Porter [Mon, 23 Jan 2012 04:12:53 +0000 (05:12 +0100)] 
PROXYSCAN: detect new type of HTTP proxies that make you wait 1s after a connect.

12 years agoCHANSERV: activate url now contains username+password.
Chris Porter [Mon, 23 Jan 2012 00:11:36 +0000 (00:11 +0000)] 
CHANSERV: activate url now contains username+password.