ircu2.10.12-pk.git
18 years agoUpdate documentation to reflect impending release.
Michael Poole [Sun, 17 Jul 2005 00:03:44 +0000 (00:03 +0000)]
Update documentation to reflect impending release.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1451 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoFix HIS_SERVER* handling when they are defaulted.
Michael Poole [Fri, 15 Jul 2005 21:28:34 +0000 (21:28 +0000)]
Fix HIS_SERVER* handling when they are defaulted.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1450 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoFix bug introduced to /whois yesterday.
Michael Poole [Fri, 15 Jul 2005 21:12:02 +0000 (21:12 +0000)]
Fix bug introduced to /whois yesterday.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1449 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoUpdate oplevels appropriately on +A/-A.
Michael Poole [Fri, 15 Jul 2005 03:15:27 +0000 (03:15 +0000)]
Update oplevels appropriately on +A/-A.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1448 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoUse HIS_SERVERNAME instead of cli_name(&me) for a variety of
Michael Poole [Fri, 15 Jul 2005 03:02:50 +0000 (03:02 +0000)]
Use HIS_SERVERNAME instead of cli_name(&me) for a variety of
user-visible messages where the real source is hidden.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1447 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoMake ircd.conf accept "*" as vhost like .11 did. Fix comment in channel.c.
Michael Poole [Fri, 15 Jul 2005 01:53:13 +0000 (01:53 +0000)]
Make ircd.conf accept "*" as vhost like .11 did.  Fix comment in channel.c.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1446 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoDisable/undocument CAP, remove USE_POLL comment in select() engine.
Michael Poole [Tue, 12 Jul 2005 03:10:59 +0000 (03:10 +0000)]
Disable/undocument CAP, remove USE_POLL comment in select() engine.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1445 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoDon't spam the network with local-interest protocol violations.
Michael Poole [Tue, 12 Jul 2005 02:58:49 +0000 (02:58 +0000)]
Don't spam the network with local-interest protocol violations.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1444 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoAdd CHANNELLEN feature, analogous to NICKLEN feature.
Michael Poole [Tue, 12 Jul 2005 02:47:09 +0000 (02:47 +0000)]
Add CHANNELLEN feature, analogous to NICKLEN feature.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1443 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoLocalize FD_SETSIZE manipulation to engine_select.c.
Michael Poole [Tue, 12 Jul 2005 02:13:10 +0000 (02:13 +0000)]
Localize FD_SETSIZE manipulation to engine_select.c.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1442 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoAdd a C version of the configuration file converter.
Michael Poole [Mon, 4 Jul 2005 02:27:16 +0000 (02:27 +0000)]
Add a C version of the configuration file converter.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1440 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoNever count servers in IPcheck.
Michael Poole [Tue, 28 Jun 2005 00:42:06 +0000 (00:42 +0000)]
Never count servers in IPcheck.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1438 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoRewrite DNS lookup API to remove a memory leak and keep it from coming back.
Michael Poole [Mon, 27 Jun 2005 13:25:52 +0000 (13:25 +0000)]
Rewrite DNS lookup API to remove a memory leak and keep it from coming back.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1437 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoRemove the unused (and deceptively named) get_sockhost().
Michael Poole [Mon, 27 Jun 2005 13:11:52 +0000 (13:11 +0000)]
Remove the unused (and deceptively named) get_sockhost().

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1436 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years ago1) strdup => DupString
Andrew Miller [Fri, 24 Jun 2005 13:57:21 +0000 (13:57 +0000)]
1) strdup => DupString
2) Update debug_memleak_gc.patch to gc6.5(the latest).

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1435 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoAdd a changelog for the last change.
Andrew Miller [Fri, 24 Jun 2005 11:41:51 +0000 (11:41 +0000)]
Add a changelog for the last change.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1434 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoDon't propagate local invites remotely.
Andrew Miller [Fri, 24 Jun 2005 11:31:26 +0000 (11:31 +0000)]
Don't propagate local invites remotely.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1433 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoImplement tracker item #1031606(relating to wildcards in /list).
Andrew Miller [Mon, 20 Jun 2005 13:22:46 +0000 (13:22 +0000)]
Implement tracker item #1031606(relating to wildcards in /list).

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1432 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoFix a wrong error message.
Andrew Miller [Sun, 19 Jun 2005 12:06:45 +0000 (12:06 +0000)]
Fix a wrong error message.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1431 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoMake the resolver better able to handle unexpected record types. Also check for
Andrew Miller [Sun, 19 Jun 2005 11:33:32 +0000 (11:33 +0000)]
Make the resolver better able to handle unexpected record types. Also check for
wrong response IPs before searching the pending list instead of after.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1430 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years ago"/stats z" formatting tweaks.
Michael Poole [Sun, 19 Jun 2005 02:31:27 +0000 (02:31 +0000)]
"/stats z" formatting tweaks.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1429 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoRemove "debug only" since meminfo is no longer debug only.
Andrew Miller [Sun, 19 Jun 2005 01:37:59 +0000 (01:37 +0000)]
Remove "debug only" since meminfo is no longer debug only.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1428 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoMake struct Ban monolithic and improve memory statistics counting.
Michael Poole [Fri, 17 Jun 2005 03:55:13 +0000 (03:55 +0000)]
Make struct Ban monolithic and improve memory statistics counting.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1427 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoAdd missing header to ircd_string.h; add debug logging to test scripts.
Michael Poole [Fri, 17 Jun 2005 02:51:55 +0000 (02:51 +0000)]
Add missing header to ircd_string.h; add debug logging to test scripts.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1426 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoFix some memory counting buglets.
Michael Poole [Tue, 14 Jun 2005 04:47:00 +0000 (04:47 +0000)]
Fix some memory counting buglets.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1422 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoReject strings containing '?' as not being IP masks.
Michael Poole [Mon, 13 Jun 2005 02:30:36 +0000 (02:30 +0000)]
Reject strings containing '?' as not being IP masks.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1421 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoAdd new test scripts and generally improve code coverage of tests.
Michael Poole [Tue, 31 May 2005 00:26:19 +0000 (00:26 +0000)]
Add new test scripts and generally improve code coverage of tests.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1419 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoReport memory used by listener structures.
Michael Poole [Mon, 30 May 2005 21:11:38 +0000 (21:11 +0000)]
Report memory used by listener structures.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1418 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoRemove unused code and variables.
Michael Poole [Mon, 30 May 2005 21:07:33 +0000 (21:07 +0000)]
Remove unused code and variables.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1417 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoNumeric reply bug fixes and cleanup.
Michael Poole [Mon, 30 May 2005 18:46:20 +0000 (18:46 +0000)]
Numeric reply bug fixes and cleanup.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1416 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoShow LIST_CHAN privilege, count User structs better, text: line->block.
Michael Poole [Mon, 30 May 2005 16:51:05 +0000 (16:51 +0000)]
Show LIST_CHAN privilege, count User structs better, text: line->block.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1415 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoCorrectly match globs that end in escaped wildcards.
Michael Poole [Mon, 30 May 2005 15:11:39 +0000 (15:11 +0000)]
Correctly match globs that end in escaped wildcards.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1414 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoReflect local vs global status in output of "/stats o".
Michael Poole [Mon, 30 May 2005 13:23:24 +0000 (13:23 +0000)]
Reflect local vs global status in output of "/stats o".

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1413 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoReduce number of branches in register_user().
Michael Poole [Mon, 30 May 2005 13:16:57 +0000 (13:16 +0000)]
Reduce number of branches in register_user().

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1412 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoFix the dereference of a free()'d struct in m_endburst.c.
Michael Poole [Mon, 30 May 2005 13:14:54 +0000 (13:14 +0000)]
Fix the dereference of a free()'d struct in m_endburst.c.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1411 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

18 years agoAdd debugging statements to IPcheck.
Michael Poole [Mon, 30 May 2005 13:11:58 +0000 (13:11 +0000)]
Add debugging statements to IPcheck.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1410 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoRegenerate configure script
Michael Poole [Fri, 13 May 2005 02:08:59 +0000 (02:08 +0000)]
Regenerate configure script

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1406 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoSimplify CFLAGS handling in configure and expose crypt() on NetBSD
Michael Poole [Fri, 13 May 2005 02:03:33 +0000 (02:03 +0000)]
Simplify CFLAGS handling in configure and expose crypt() on NetBSD

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1405 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 11 May 2005 04:29:41 +0000 (04:29 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Fix server restart loop problem when debugging is enabled.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1404 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAvoid sending MODE +o to local channel creator, and more code coverage.
Michael Poole [Wed, 11 May 2005 04:15:04 +0000 (04:15 +0000)]
Avoid sending MODE +o to local channel creator, and more code coverage.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1403 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAdd some automated test scripts and fix bugs exposed by them.
Michael Poole [Tue, 10 May 2005 03:43:09 +0000 (03:43 +0000)]
Add some automated test scripts and fix bugs exposed by them.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1402 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoUse v4compat addresses when !defined(IPV6).
Michael Poole [Mon, 9 May 2005 01:55:26 +0000 (01:55 +0000)]
Use v4compat addresses when !defined(IPV6).

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1401 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoRevert mode source when opping a user on channel creation (bug #1197510).
Michael Poole [Sun, 8 May 2005 02:42:04 +0000 (02:42 +0000)]
Revert mode source when opping a user on channel creation (bug #1197510).

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1400 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoApply patches #1197032, #1194116.
Michael Poole [Sun, 8 May 2005 02:22:57 +0000 (02:22 +0000)]
Apply patches #1197032, #1194116.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1399 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix base64toip() bugs (PR#1197043).
Michael Poole [Sun, 8 May 2005 00:56:05 +0000 (00:56 +0000)]
Fix base64toip() bugs (PR#1197043).

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1398 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoDo not spuriously promote remote users to global operator status.
Michael Poole [Fri, 6 May 2005 03:42:25 +0000 (03:42 +0000)]
Do not spuriously promote remote users to global operator status.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1397 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoGive users who join a +AU channel using the user pass level 1 ops.
Michael Poole [Thu, 5 May 2005 02:14:54 +0000 (02:14 +0000)]
Give users who join a +AU channel using the user pass level 1 ops.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1396 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoRemap oplevel numeric range.
Michael Poole [Thu, 5 May 2005 01:36:14 +0000 (01:36 +0000)]
Remap oplevel numeric range.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1395 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix a crash in /stats i <server> <mask>.
Michael Poole [Wed, 4 May 2005 02:55:38 +0000 (02:55 +0000)]
Fix a crash in /stats i <server> <mask>.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1394 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoProhibit same +A and +U pass; fix IAuth crash (#1193808), invite
Michael Poole [Tue, 3 May 2005 03:47:42 +0000 (03:47 +0000)]
Prohibit same +A and +U pass; fix IAuth crash (#1193808), invite
forwarding bug (also reported by jast), and IP numnick parsing bug.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1393 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix more IAuth bugs and add IAUTH log target.
Michael Poole [Sun, 1 May 2005 16:11:01 +0000 (16:11 +0000)]
Fix more IAuth bugs and add IAUTH log target.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1392 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix several bugs in iauth code.
Michael Poole [Sun, 1 May 2005 01:48:12 +0000 (01:48 +0000)]
Fix several bugs in iauth code.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1391 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoReport non-existent class names as configuration errors earlier.
Michael Poole [Thu, 28 Apr 2005 02:00:09 +0000 (02:00 +0000)]
Report non-existent class names as configuration errors earlier.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1390 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoProperly handle classes with no "usermodes" option; count always-invisible users.
Michael Poole [Wed, 27 Apr 2005 12:42:25 +0000 (12:42 +0000)]
Properly handle classes with no "usermodes" option; count always-invisible users.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1389 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoQuash lexer warning.
Michael Poole [Tue, 26 Apr 2005 03:56:50 +0000 (03:56 +0000)]
Quash lexer warning.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1388 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoIgnore invalid or nonsensical bits in default usermodes.
Michael Poole [Tue, 26 Apr 2005 03:49:33 +0000 (03:49 +0000)]
Ignore invalid or nonsensical bits in default usermodes.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1387 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix core when oper /whowas's non-+x user.
Michael Poole [Mon, 25 Apr 2005 21:25:20 +0000 (21:25 +0000)]
Fix core when oper /whowas's non-+x user.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1386 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAuthor: Isomer <isomer@undernet.org>
Perry Lorier [Mon, 25 Apr 2005 04:04:17 +0000 (04:04 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:

Place a message in the config suggesting adding port lines to
Connect blocks too.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1385 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAuthor: Isomer <isomer@undernet.org>
Perry Lorier [Mon, 25 Apr 2005 04:00:50 +0000 (04:00 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:

Added more diagnostics for unknown F:eatures
Added support for "autoconnect" and product a NOTE asking people to add ports
to Connect{} blocks and set autoconnect to no instead of not listing a port.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1384 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAdd autoconnect option for Connect block.
Michael Poole [Mon, 25 Apr 2005 03:35:54 +0000 (03:35 +0000)]
Add autoconnect option for Connect block.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1383 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAuthor: Isomer <isomer@undernet.org>
Perry Lorier [Mon, 25 Apr 2005 02:51:18 +0000 (02:51 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:

Fix for missing ports

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1382 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoMake certain parse error messages more useful.
Michael Poole [Sun, 24 Apr 2005 17:27:04 +0000 (17:27 +0000)]
Make certain parse error messages more useful.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1381 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix memory leaks when removing bans or applying overlapped bans.
Michael Poole [Sun, 24 Apr 2005 01:41:01 +0000 (01:41 +0000)]
Fix memory leaks when removing bans or applying overlapped bans.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1380 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix sporadic spurious (and mysterious) config file parsing failures.
Michael Poole [Sun, 24 Apr 2005 00:17:39 +0000 (00:17 +0000)]
Fix sporadic spurious (and mysterious) config file parsing failures.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1379 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAllow more than one _functioning_ name= in a UWorld block.
Michael Poole [Sat, 23 Apr 2005 13:49:41 +0000 (13:49 +0000)]
Allow more than one _functioning_ name= in a UWorld block.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1378 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAdd missing }; in example Kill block (spotted by `Beee).
Michael Poole [Sat, 23 Apr 2005 00:10:17 +0000 (00:10 +0000)]
Add missing }; in example Kill block (spotted by `Beee).

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1377 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix silence bugs found by coekie and ban application bug found by xplora.
Michael Poole [Fri, 22 Apr 2005 23:36:31 +0000 (23:36 +0000)]
Fix silence bugs found by coekie and ban application bug found by xplora.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1376 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 22 Apr 2005 01:39:08 +0000 (01:39 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Fix /userhost to not give out the user's real host when the requester
happens to be an oper; too many ways for oper scripts to give out a user's
real host by accident...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1375 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix IPv4-based /who and update "ircd -?" usage text.
Michael Poole [Thu, 21 Apr 2005 02:35:17 +0000 (02:35 +0000)]
Fix IPv4-based /who and update "ircd -?" usage text.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1374 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoRegenerate configure because of last commit.
Michael Poole [Wed, 20 Apr 2005 01:26:05 +0000 (01:26 +0000)]
Regenerate configure because of last commit.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1373 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoMake --enable-profile work (subject to the compiler's limits).
Michael Poole [Wed, 20 Apr 2005 01:24:38 +0000 (01:24 +0000)]
Make --enable-profile work (subject to the compiler's limits).

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1372 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix typos in match.c and m_whowas.c; add Kill checking for "ircd -k -c ..."
Michael Poole [Wed, 20 Apr 2005 00:59:24 +0000 (00:59 +0000)]
Fix typos in match.c and m_whowas.c; add Kill checking for "ircd -k -c ..."

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1371 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAvoid intepreting non-IP-based hostmasks as IP-based.
Michael Poole [Tue, 19 Apr 2005 00:55:32 +0000 (00:55 +0000)]
Avoid intepreting non-IP-based hostmasks as IP-based.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1369 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix ability to kick and deop users on -A channels when OPLEVELS enabled.
Michael Poole [Sun, 17 Apr 2005 16:59:49 +0000 (16:59 +0000)]
Fix ability to kick and deop users on -A channels when OPLEVELS enabled.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1368 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoImprove screening for invalid input to linesync.
Michael Poole [Sun, 17 Apr 2005 14:11:04 +0000 (14:11 +0000)]
Improve screening for invalid input to linesync.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1367 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoUpdate linesync for 2.10.12 config syntax.
Michael Poole [Sun, 17 Apr 2005 03:46:15 +0000 (03:46 +0000)]
Update linesync for 2.10.12 config syntax.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1366 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoMake realname Kill blocks more predictable, and add username="x" field.
Michael Poole [Sun, 17 Apr 2005 02:57:57 +0000 (02:57 +0000)]
Make realname Kill blocks more predictable, and add username="x" field.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1365 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAuthor: Isomer <Isomer@undernet.org>
Perry Lorier [Sun, 17 Apr 2005 02:18:55 +0000 (02:18 +0000)]
Author: Isomer <Isomer@undernet.org>
Log message:

Fix lots of conversion problems with:
 * oper privielges (now they are converted),
 * features (deprecated features commented out, most converted to priviliges),
 * realname klines (also add host= lines)
 * quarintines (generate blocks for them),
 * connect blocks (don't generate empty port config lines)

and perhaps some others too

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1364 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoCorrectly match users against new IP-based G-lines.
Michael Poole [Sat, 16 Apr 2005 15:32:43 +0000 (15:32 +0000)]
Correctly match users against new IP-based G-lines.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1363 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix /rehash memory leaks and realname Kill blocks.
Michael Poole [Sat, 16 Apr 2005 13:17:19 +0000 (13:17 +0000)]
Fix /rehash memory leaks and realname Kill blocks.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1362 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix bugs spotted in beta testing: Quarantine blocks not working or
Michael Poole [Sat, 16 Apr 2005 01:53:11 +0000 (01:53 +0000)]
Fix bugs spotted in beta testing: Quarantine blocks not working or
documented, broken compile on BSD, ident-based Deny blocks broken,
/stats v always showed 0 for local clients.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1361 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sat, 9 Apr 2005 19:59:27 +0000 (19:59 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

ircd.c must include sys/resource.h in order to define RLIMIT_CORE.  If
RLIMIT_CORE is not defined, set_core_limit() never gets defined or called.
If set_core_limit() never gets defined or called, ircd never raises the
soft limit on cores.  If the soft limit on cores never gets raised, ircd
never dumps core.  If ircd never dumps core, well, we can't debug ircd,
now, can we?  :)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1360 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAuthor: Isomer <isomer@undernet.org>
Perry Lorier [Sat, 9 Apr 2005 03:54:24 +0000 (03:54 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:

Fix bug in convert-conf where it wouldn't convert usernames for hostmasks
matches in I: correctly

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1359 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAdd option to debug Client block selections. Fix related buglet in
Michael Poole [Sat, 9 Apr 2005 03:37:15 +0000 (03:37 +0000)]
Add option to debug Client block selections.  Fix related buglet in
ircd_aton().  Clarify oper-specific output of /whowas.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1358 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoClear channel manager bit when wiping out local chanops in a burst.
Michael Poole [Thu, 7 Apr 2005 02:45:05 +0000 (02:45 +0000)]
Clear channel manager bit when wiping out local chanops in a burst.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1357 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoSplit RPL_APASSWARN and ERR_NOTMANAGER into multiple messages to avoid
Michael Poole [Thu, 7 Apr 2005 02:10:23 +0000 (02:10 +0000)]
Split RPL_APASSWARN and ERR_NOTMANAGER into multiple messages to avoid
embedding message strings in the logic implementation.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1356 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoMake Client block passwords work again (reported by Reed).
Michael Poole [Thu, 7 Apr 2005 00:25:47 +0000 (00:25 +0000)]
Make Client block passwords work again (reported by Reed).

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1355 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoRegenerate aclocal.m4 and configure to match acinclude.m4 and configure.in changes.
Michael Poole [Thu, 7 Apr 2005 00:06:30 +0000 (00:06 +0000)]
Regenerate aclocal.m4 and configure to match acinclude.m4 and configure.in changes.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1354 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoRemove unet_PIPE_CFLAGS macro.
Michael Poole [Thu, 7 Apr 2005 00:03:38 +0000 (00:03 +0000)]
Remove unet_PIPE_CFLAGS macro.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1353 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoRegenerate configure for the last commit to configure.in.
Michael Poole [Tue, 5 Apr 2005 02:42:37 +0000 (02:42 +0000)]
Regenerate configure for the last commit to configure.in.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1352 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAdd configure-time option to set optimization level.
Michael Poole [Tue, 5 Apr 2005 02:41:07 +0000 (02:41 +0000)]
Add configure-time option to set optimization level.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1351 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoUpdate Jupe block in example.conf for CFV-0255.
Michael Poole [Tue, 5 Apr 2005 02:15:59 +0000 (02:15 +0000)]
Update Jupe block in example.conf for CFV-0255.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1350 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoMake CAP handling comply with draft-mitchell-irc-capabilities-02.xml.
Michael Poole [Tue, 5 Apr 2005 01:46:05 +0000 (01:46 +0000)]
Make CAP handling comply with draft-mitchell-irc-capabilities-02.xml.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1349 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAllow flagging of pseudo-commands as "fast".
Michael Poole [Sat, 2 Apr 2005 03:32:38 +0000 (03:32 +0000)]
Allow flagging of pseudo-commands as "fast".

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1348 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoReturn accurate privilege information for remote opers.
Michael Poole [Sat, 2 Apr 2005 02:50:15 +0000 (02:50 +0000)]
Return accurate privilege information for remote opers.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1347 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoFix Doxygen comment typo; clarify username handling.
Michael Poole [Thu, 31 Mar 2005 04:05:56 +0000 (04:05 +0000)]
Fix Doxygen comment typo; clarify username handling.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1346 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAlphabetize HIS_STATS_? features, but remove HIS_STATS_h.
Michael Poole [Wed, 30 Mar 2005 04:13:24 +0000 (04:13 +0000)]
Alphabetize HIS_STATS_? features, but remove HIS_STATS_h.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1345 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoRemove redundant check for being banned in ms_part().
Michael Poole [Wed, 30 Mar 2005 04:01:17 +0000 (04:01 +0000)]
Remove redundant check for being banned in ms_part().

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1344 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoReed Loden's patch to add /stats J, listing nick jupes. (Plus documentation.)
Michael Poole [Wed, 30 Mar 2005 03:48:22 +0000 (03:48 +0000)]
Reed Loden's patch to add /stats J, listing nick jupes.  (Plus documentation.)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1343 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

19 years agoAvoid sending numeric oplevels when forwarding a -A channel's burst.
Michael Poole [Mon, 28 Mar 2005 02:27:24 +0000 (02:27 +0000)]
Avoid sending numeric oplevels when forwarding a -A channel's burst.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1342 c9e4aea6-c8fd-4c43-8297-357d70d61c8c