ircu2.10.12-pk.git
18 years agoDocument the branching scheme for 2.10.12.
Michael Poole [Thu, 15 Sep 2005 01:17:02 +0000 (01:17 +0000)]
Document the branching scheme for 2.10.12.

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

18 years agoIncrement patchlevel to reflect the pre-release code freeze.
Michael Poole [Thu, 15 Sep 2005 00:42:32 +0000 (00:42 +0000)]
Increment patchlevel to reflect the pre-release code freeze.

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

18 years agoFix another miscomparison in find_ban().
Michael Poole [Wed, 14 Sep 2005 18:55:27 +0000 (18:55 +0000)]
Fix another miscomparison in find_ban().

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

18 years agoRip out clean_channelname() and reject invalid names where appropriate.
Michael Poole [Tue, 13 Sep 2005 15:17:46 +0000 (15:17 +0000)]
Rip out clean_channelname() and reject invalid names where appropriate.

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

18 years agoFix bug in last commit to find_ban().
Michael Poole [Tue, 13 Sep 2005 12:06:30 +0000 (12:06 +0000)]
Fix bug in last commit to find_ban().

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

18 years agoAuthor: Alex Badea <vamposdecampos@gmail.com>
Alex Badea [Mon, 12 Sep 2005 22:52:01 +0000 (22:52 +0000)]
Author: Alex Badea <vamposdecampos@gmail.com>
Log message:

Fixed autoreconnect not working with certain combinations of
FEAT_CONNECTFREQUENCY and Class connectfreq. This may require
further testing.

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

18 years agoAuthor: Alex Badea <vamposdecampos@gmail.com>
Alex Badea [Mon, 12 Sep 2005 21:22:44 +0000 (21:22 +0000)]
Author: Alex Badea <vamposdecampos@gmail.com>
Log message:

Fixed minor bug causing a segfault after REHASH if using Pseudo blocks.

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

18 years agoCheck client hostnames against ban masks more rigorously.
Michael Poole [Mon, 12 Sep 2005 20:36:24 +0000 (20:36 +0000)]
Check client hostnames against ban masks more rigorously.

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

18 years agoFix previous commit and parsing of ipmasks like 127/8.
Michael Poole [Mon, 12 Sep 2005 16:11:58 +0000 (16:11 +0000)]
Fix previous commit and parsing of ipmasks like 127/8.

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

18 years agoBe more conservative when handling empty keys.
Michael Poole [Mon, 12 Sep 2005 15:47:31 +0000 (15:47 +0000)]
Be more conservative when handling empty keys.

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

18 years agoFix IP mask parsing some more (hopefully for good).
Michael Poole [Mon, 12 Sep 2005 03:40:17 +0000 (03:40 +0000)]
Fix IP mask parsing some more (hopefully for good).

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

18 years agoAuthor: Alex Badea <vamposdecampos@gmail.com>
Alex Badea [Sun, 11 Sep 2005 17:40:21 +0000 (17:40 +0000)]
Author: Alex Badea <vamposdecampos@gmail.com>
Log message:

Fixed AsLL code misplacement in m_ping.c, now it works again.

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

18 years agoRemove bits of old and dead code from gline handling.
Michael Poole [Fri, 2 Sep 2005 03:34:34 +0000 (03:34 +0000)]
Remove bits of old and dead code from gline handling.

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

18 years agoFurther reorganize and streamline join handling.
Michael Poole [Fri, 2 Sep 2005 03:27:27 +0000 (03:27 +0000)]
Further reorganize and streamline join handling.

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

18 years agoWhoops, missed a case here. Fix.
Michael Poole [Fri, 2 Sep 2005 02:10:08 +0000 (02:10 +0000)]
Whoops, missed a case here.  Fix.

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

18 years agoRework JOIN handler to make keys, apass, and upass consistent.
Michael Poole [Fri, 2 Sep 2005 01:46:28 +0000 (01:46 +0000)]
Rework JOIN handler to make keys, apass, and upass consistent.

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

18 years agoMake references to channel password lengths consistent.
Michael Poole [Wed, 31 Aug 2005 00:12:55 +0000 (00:12 +0000)]
Make references to channel password lengths consistent.

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

18 years agoDocument +D and +d channel modes in release notes.
Michael Poole [Tue, 30 Aug 2005 11:45:32 +0000 (11:45 +0000)]
Document +D and +d channel modes in release notes.

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

18 years agoMake keys and passwords behave more uniformly.
Michael Poole [Mon, 29 Aug 2005 21:39:26 +0000 (21:39 +0000)]
Make keys and passwords behave more uniformly.

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

18 years agoUse SetOpLevel() to set oplevels; give oplevel 1 when op are hacked.
Michael Poole [Sat, 27 Aug 2005 14:20:41 +0000 (14:20 +0000)]
Use SetOpLevel() to set oplevels; give oplevel 1 when op are hacked.

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

18 years agoThe last class link-count tweaks for the night. I promise.
Michael Poole [Fri, 26 Aug 2005 03:23:23 +0000 (03:23 +0000)]
The last class link-count tweaks for the night.  I promise.

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

18 years agoFix previous commit (off-by-one in wrong direction).
Michael Poole [Fri, 26 Aug 2005 02:58:06 +0000 (02:58 +0000)]
Fix previous commit (off-by-one in wrong direction).

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

18 years agoSilence channel manager once Apass set; fix /stats y links count.
Michael Poole [Fri, 26 Aug 2005 02:36:33 +0000 (02:36 +0000)]
Silence channel manager once Apass set; fix /stats y links count.

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

18 years agoAccept +A/+U from servers regardless of FEAT_OPLEVELS.
Michael Poole [Thu, 25 Aug 2005 18:09:04 +0000 (18:09 +0000)]
Accept +A/+U from servers regardless of FEAT_OPLEVELS.

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

18 years agoMention epoll event engine in "ircd -v" output.
Michael Poole [Thu, 25 Aug 2005 01:39:15 +0000 (01:39 +0000)]
Mention epoll event engine in "ircd -v" output.

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

18 years agoBump patchlevel; add more epoll support; assertion check in
Michael Poole [Thu, 25 Aug 2005 01:26:46 +0000 (01:26 +0000)]
Bump patchlevel; add more epoll support; assertion check in
joinbuf_join(); cleanup when opening a log file.

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

18 years agoFix bugs in rehashing pseudo commands and in kill handling.
Michael Poole [Sun, 21 Aug 2005 13:46:08 +0000 (13:46 +0000)]
Fix bugs in rehashing pseudo commands and in kill handling.

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

18 years agoSubstitute HIS_SERVERNAME in KILLs; fix SF bug #1263777.
Michael Poole [Fri, 19 Aug 2005 11:46:52 +0000 (11:46 +0000)]
Substitute HIS_SERVERNAME in KILLs; fix SF bug #1263777.

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

18 years agoConvert a &me to &his in do_settopic().
Michael Poole [Wed, 17 Aug 2005 02:35:36 +0000 (02:35 +0000)]
Convert a &me to &his in do_settopic().

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

18 years agoConvert a &me to &his in ms_kick().
Michael Poole [Wed, 17 Aug 2005 02:14:45 +0000 (02:14 +0000)]
Convert a &me to &his in ms_kick().

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

18 years agoAvoid overwriting part of a server-set ban's banstr field.
Michael Poole [Wed, 17 Aug 2005 02:07:10 +0000 (02:07 +0000)]
Avoid overwriting part of a server-set ban's banstr field.

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

18 years agoSwitch more uses of &me to &his for channel localcasts.
Michael Poole [Wed, 17 Aug 2005 01:57:03 +0000 (01:57 +0000)]
Switch more uses of &me to &his for channel localcasts.

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

18 years agoMinor code and output cleanups for the week of 2005-08-15.
Michael Poole [Mon, 15 Aug 2005 23:22:50 +0000 (23:22 +0000)]
Minor code and output cleanups for the week of 2005-08-15.

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

18 years agoCosmetic changes to banning bare IPv6 addresses and kicking +D-hidden users.
Michael Poole [Fri, 12 Aug 2005 23:54:37 +0000 (23:54 +0000)]
Cosmetic changes to banning bare IPv6 addresses and kicking +D-hidden users.

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

18 years agoFix the irregular IP ban bug harder.
Michael Poole [Tue, 9 Aug 2005 03:35:15 +0000 (03:35 +0000)]
Fix the irregular IP ban bug harder.

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

18 years agoRegenerate configure from previous commit.
Michael Poole [Sun, 17 Jul 2005 00:21:29 +0000 (00:21 +0000)]
Regenerate configure from previous commit.

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

18 years agoCheck a few possibilities for socklen_t (fixes SF#1236456).
Michael Poole [Sun, 17 Jul 2005 00:18:58 +0000 (00:18 +0000)]
Check a few possibilities for socklen_t (fixes SF#1236456).

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

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