ircu2.10.12-pk.git
19 years agoFix bugs exposed by hikari's update to configure.in.
Michael Poole [Sun, 19 Sep 2004 14:25:26 +0000 (14:25 +0000)]
Fix bugs exposed by hikari's update to configure.in.

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

19 years agoAuthor: hikari <hikari@undernet.org>
hikari [Sun, 19 Sep 2004 14:22:52 +0000 (14:22 +0000)]
Author: hikari <hikari@undernet.org>
Log message:

Small correction to an offset value.

bb
hikari

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

19 years agoAuthor: hikari <hikari@undernet.org>
hikari [Sun, 19 Sep 2004 13:10:52 +0000 (13:10 +0000)]
Author: hikari <hikari@undernet.org>
Log message:

Always remember to write a ChangeLog entry *wry*.

bb
hikari

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

19 years agoAuthor: hikari <hikari@undernet.org>
hikari [Sun, 19 Sep 2004 12:19:30 +0000 (12:19 +0000)]
Author: hikari <hikari@undernet.org>
Log message:

Generate a configure error if we can't find lex/flex or yacc/bison, as they're essential for compiling.  Also
check to make sure we can find a LEXLIB; I've noticed that on Debian SPARC, at least, the installed lib won't work if
you use gcc3 - now generate a failure notice with a note about checking which compiler version you're using.  Much
better that getting half way through the compile to find that something we need is missing.

bb
hikari

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

19 years agoReport configuration file name for "ircd -k".
Michael Poole [Sat, 18 Sep 2004 14:44:21 +0000 (14:44 +0000)]
Report configuration file name for "ircd -k".

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

19 years agoMake "counting" fields of ConnectionClass unsigned.
Michael Poole [Sat, 18 Sep 2004 14:42:40 +0000 (14:42 +0000)]
Make "counting" fields of ConnectionClass unsigned.

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

19 years agoFix typos in example.conf feature entries.
Michael Poole [Sat, 18 Sep 2004 14:38:33 +0000 (14:38 +0000)]
Fix typos in example.conf feature entries.

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

19 years agoAuthor: hikari <hikari@undernet.org>
hikari [Sat, 18 Sep 2004 10:12:51 +0000 (10:12 +0000)]
Author: hikari <hikari@undernet.org>
Log message:

  Fixed a missing build dependency: version.c requires patchlist.h to have been generated, in order to be compiled.

bb
hikari

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

19 years agoMake IAuth protocol work again and add a bit of debugging to it.
Michael Poole [Fri, 17 Sep 2004 03:42:59 +0000 (03:42 +0000)]
Make IAuth protocol work again and add a bit of debugging to it.

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

19 years agoMissed one instance of +u -- convert to +U.
Michael Poole [Mon, 13 Sep 2004 23:10:37 +0000 (23:10 +0000)]
Missed one instance of +u -- convert to +U.

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

19 years agoUse +U instead of +u for user passwords (avoiding collisions with a
Michael Poole [Mon, 13 Sep 2004 23:08:16 +0000 (23:08 +0000)]
Use +U instead of +u for user passwords (avoiding collisions with a
QuakeNet mode and for symmetry with +A).

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

19 years agoMake default virtual host work for .12, and make IPv4-only
Michael Poole [Mon, 13 Sep 2004 22:33:31 +0000 (22:33 +0000)]
Make default virtual host work for .12, and make IPv4-only
configurations work like users probably expect.

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

19 years agoConsolidate duplicated code in add_listener(), and make sure
Michael Poole [Mon, 13 Sep 2004 18:38:32 +0000 (18:38 +0000)]
Consolidate duplicated code in add_listener(), and make sure
listener->server is set before calling inetport() on it.

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

19 years agoOnly let services (not normal opers) force a change of +A or +u.
Michael Poole [Sun, 12 Sep 2004 12:57:32 +0000 (12:57 +0000)]
Only let services (not normal opers) force a change of +A or +u.

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

19 years agoAllow /stats to accept long names for the displayed statistics.
Michael Poole [Sun, 12 Sep 2004 03:53:44 +0000 (03:53 +0000)]
Allow /stats to accept long names for the displayed statistics.

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

19 years agoSend RPL_TRACEEND at end of trace output.
Michael Poole [Sun, 12 Sep 2004 01:42:17 +0000 (01:42 +0000)]
Send RPL_TRACEEND at end of trace output.

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

19 years agoDo not allowed banned users to change a (-t) channel's topic.
Michael Poole [Sat, 11 Sep 2004 23:43:00 +0000 (23:43 +0000)]
Do not allowed banned users to change a (-t) channel's topic.

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

19 years agoClean up comments and channel prefix list in a test file.
Michael Poole [Sat, 11 Sep 2004 23:32:06 +0000 (23:32 +0000)]
Clean up comments and channel prefix list in a test file.

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

19 years agoAdd new feature FEAT_HIS_WHOIS_LOCALCHAN.
Michael Poole [Sat, 11 Sep 2004 18:07:06 +0000 (18:07 +0000)]
Add new feature FEAT_HIS_WHOIS_LOCALCHAN.
Document it and other head-in-sand features.

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

19 years agoDon't allow remote servers to send messages to our &channels (Bug #721494)
Michael Poole [Sat, 11 Sep 2004 17:00:50 +0000 (17:00 +0000)]
Don't allow remote servers to send messages to our &channels (Bug #721494)
Rework of Kev's patch to do the same fix.

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

19 years agoFix GLINE logging (Bug #750927).
Michael Poole [Sat, 11 Sep 2004 15:58:02 +0000 (15:58 +0000)]
Fix GLINE logging (Bug #750927).

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

19 years agoFix bug #916138 so -l doesn't gobble an argument.
Michael Poole [Sat, 11 Sep 2004 15:51:41 +0000 (15:51 +0000)]
Fix bug #916138 so -l doesn't gobble an argument.

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

19 years agoFix CHANMODES and add CHANNELLEN, STATUSMSG to 005 message.
Michael Poole [Sat, 11 Sep 2004 13:22:49 +0000 (13:22 +0000)]
Fix CHANMODES and add CHANNELLEN, STATUSMSG to 005 message.

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

19 years agoAnnounce oplevels in CHANMODES.
Michael Poole [Sat, 11 Sep 2004 03:46:29 +0000 (03:46 +0000)]
Announce oplevels in CHANMODES.

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

19 years agoFix oplevel, chkconf and ipv6 bugs.
Michael Poole [Sat, 11 Sep 2004 02:06:04 +0000 (02:06 +0000)]
Fix oplevel, chkconf and ipv6 bugs.

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

19 years agoImplement chkconf-like option for ircd.
Michael Poole [Fri, 10 Sep 2004 23:02:56 +0000 (23:02 +0000)]
Implement chkconf-like option for ircd.

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

19 years agoRemove unused features and their documentation.
Michael Poole [Fri, 10 Sep 2004 22:31:15 +0000 (22:31 +0000)]
Remove unused features and their documentation.

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

19 years agoFix support for IPv4-only hosts.
Michael Poole [Fri, 10 Sep 2004 20:36:37 +0000 (20:36 +0000)]
Fix support for IPv4-only hosts.

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

19 years agoSimilar to Kev's patch dated 2004-08-26, allow specification of local
Michael Poole [Fri, 10 Sep 2004 16:40:06 +0000 (16:40 +0000)]
Similar to Kev's patch dated 2004-08-26, allow specification of local
IPs for each Connect block in the config file.

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

19 years agoDon't rate limit /gline messages
Michael Poole [Fri, 10 Sep 2004 16:07:35 +0000 (16:07 +0000)]
Don't rate limit /gline messages

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

19 years agoFix buggy references to sub-expressions in grammar.
Michael Poole [Fri, 10 Sep 2004 15:48:45 +0000 (15:48 +0000)]
Fix buggy references to sub-expressions in grammar.

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

19 years agoSet default SOCKSENDBUF and SOCKRECVBUF to SERVER_TCP_WINDOW.
Michael Poole [Fri, 10 Sep 2004 15:44:46 +0000 (15:44 +0000)]
Set default SOCKSENDBUF and SOCKRECVBUF to SERVER_TCP_WINDOW.

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

19 years agoMake server blocks default to leaf.
Michael Poole [Fri, 10 Sep 2004 15:08:13 +0000 (15:08 +0000)]
Make server blocks default to leaf.

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

19 years agoFix msg_tree_parse() to not confuse 0 (the digit) with P (the letter).
Michael Poole [Fri, 10 Sep 2004 14:50:39 +0000 (14:50 +0000)]
Fix msg_tree_parse() to not confuse 0 (the digit) with P (the letter).

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

19 years agoRemove redundant and unused definitions from config.h.in.
Michael Poole [Thu, 9 Sep 2004 19:43:01 +0000 (19:43 +0000)]
Remove redundant and unused definitions from config.h.in.

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

19 years agoFix bug in flag checking discovered by ratty
Michael Poole [Wed, 25 Aug 2004 00:35:58 +0000 (00:35 +0000)]
Fix bug in flag checking discovered by ratty

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

19 years agoSend "XXYYY:o" instead of "XXYYY:0" for ops when oplevels are disabled.
Michael Poole [Sun, 22 Aug 2004 23:54:22 +0000 (23:54 +0000)]
Send "XXYYY:o" instead of "XXYYY:0" for ops when oplevels are disabled.

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

19 years agoFix an IPv6 support bug that prevents an IPv6 server from properly
Michael Poole [Sun, 22 Aug 2004 23:45:52 +0000 (23:45 +0000)]
Fix an IPv6 support bug that prevents an IPv6 server from properly
recognizing an IPv4 server.

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

19 years agoAuthor: Alex Badea <decampos@users.sourceforge.net>
Alex Badea [Sun, 22 Aug 2004 12:54:50 +0000 (12:54 +0000)]
Author: Alex Badea <decampos@users.sourceforge.net>
Log message:

Increasd SOCKIPLEN for ipv6

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

19 years agoNew resolver code cleanups
Michael Poole [Thu, 19 Aug 2004 04:30:15 +0000 (04:30 +0000)]
New resolver code cleanups

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

19 years agoIPv6 support (hopefully with fewer future transition pains)
Michael Poole [Thu, 19 Aug 2004 04:00:54 +0000 (04:00 +0000)]
IPv6 support (hopefully with fewer future transition pains)

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

19 years agoChange tokenizer to reduce number of lexer states and be
Michael Poole [Tue, 17 Aug 2004 20:09:47 +0000 (20:09 +0000)]
Change tokenizer to reduce number of lexer states and be
case-insensitive again.

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

19 years agoFix "make depend" output, since a build tool erroneously set $(srcdir)
Michael Poole [Tue, 17 Aug 2004 18:39:43 +0000 (18:39 +0000)]
Fix "make depend" output, since a build tool erroneously set $(srcdir)
  to a fully qualified path

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

19 years agoFixes to improve portability (especially to OS X, Solaris, OpenBSD).
Michael Poole [Mon, 16 Aug 2004 16:32:08 +0000 (16:32 +0000)]
Fixes to improve portability (especially to OS X, Solaris, OpenBSD).

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

19 years agoclarify code and comment for previous net rider kick change
Michael Poole [Tue, 27 Jul 2004 21:37:42 +0000 (21:37 +0000)]
clarify code and comment for previous net rider kick change

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

19 years agodo not kick net riders if channel keys match; do kick them if they try
Michael Poole [Tue, 27 Jul 2004 15:06:09 +0000 (15:06 +0000)]
do not kick net riders if channel keys match; do kick them if they try
to ride past +r; fix a yacc syntax error

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

19 years agoFix warnings from gcc -pedantic.
Michael Poole [Thu, 22 Jul 2004 01:04:02 +0000 (01:04 +0000)]
Fix warnings from gcc -pedantic.

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

19 years agoImport new (much simpler) resolver code from Hybrid.
Michael Poole [Thu, 22 Jul 2004 00:06:23 +0000 (00:06 +0000)]
Import new (much simpler) resolver code from Hybrid.

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

19 years agoUpdate doc/readme.features to describe new-style conf blocks rather
Michael Poole [Wed, 21 Jul 2004 04:27:51 +0000 (04:27 +0000)]
Update doc/readme.features to describe new-style conf blocks rather
than old-style conf lines.

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

19 years agoRemove unused file iauth.h and elaborate on why fileio.h is needed.
Michael Poole [Thu, 1 Jul 2004 23:46:45 +0000 (23:46 +0000)]
Remove unused file iauth.h and elaborate on why fileio.h is needed.

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

19 years agoApply minor fixes from patches@, SF tracker, and others.
Michael Poole [Thu, 1 Jul 2004 12:38:31 +0000 (12:38 +0000)]
Apply minor fixes from patches@, SF tracker, and others.

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

19 years agoimplement IAUTH client code to query a separate server before allowing
Michael Poole [Wed, 30 Jun 2004 22:59:10 +0000 (22:59 +0000)]
implement IAUTH client code to query a separate server before allowing
a user onto IRC.

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

19 years agoGet rid of warnings about undefined crypt() and assignment in if().
Michael Poole [Fri, 25 Jun 2004 12:01:36 +0000 (12:01 +0000)]
Get rid of warnings about undefined crypt() and assignment in if().

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

19 years agoForward port missing fixes from Kev, beware and someone else.
Michael Poole [Thu, 24 Jun 2004 01:44:01 +0000 (01:44 +0000)]
Forward port missing fixes from Kev, beware and someone else.
Add myself to doc/Authors and fix a bug I introduced in my last commit.

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

19 years agoforward port Alex Badea's gline patch from 2.10.11
Michael Poole [Wed, 23 Jun 2004 03:13:38 +0000 (03:13 +0000)]
forward port Alex Badea's gline patch from 2.10.11

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

19 years agoApply hikari's pluggable crypt mechanism patch
Michael Poole [Tue, 15 Jun 2004 01:20:36 +0000 (01:20 +0000)]
Apply hikari's pluggable crypt mechanism patch

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

19 years agoApply landonf@sf.net's patch for ircu to configure itself on OS X.
Michael Poole [Tue, 25 May 2004 19:58:30 +0000 (19:58 +0000)]
Apply landonf@sf.net's patch for ircu to configure itself on OS X.

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

19 years agoInclude channel name in the status message sent to channel operators.
Michael Poole [Tue, 25 May 2004 03:10:01 +0000 (03:10 +0000)]
Include channel name in the status message sent to channel operators.
Assign to chptr before trying to dereference it.

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

19 years agoImplement invitation announcements (RPL_ISSUEDINVITE).
Michael Poole [Wed, 19 May 2004 03:46:05 +0000 (03:46 +0000)]
Implement invitation announcements (RPL_ISSUEDINVITE).

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

19 years agoRemove two unused functions from res_adns.c, so that CFLAGS=-Wall
Michael Poole [Wed, 19 May 2004 01:33:04 +0000 (01:33 +0000)]
Remove two unused functions from res_adns.c, so that CFLAGS=-Wall
generates no errors.

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

19 years agoReplace privilege-controlling Feature settings with
Michael Poole [Mon, 17 May 2004 23:13:44 +0000 (23:13 +0000)]
Replace privilege-controlling Feature settings with
privilege-controlling Class and Operator settings,
giving server admins more flexibility to delegate
privileges.

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

19 years agoChange default NICKLEN per CFV-0243.
Michael Poole [Sun, 16 May 2004 18:16:56 +0000 (18:16 +0000)]
Change default NICKLEN per CFV-0243.

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

19 years agoForward port account timestamp feature from 2.10.11.
Michael Poole [Sun, 16 May 2004 17:59:40 +0000 (17:59 +0000)]
Forward port account timestamp feature from 2.10.11.

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

19 years agoDocument operator privilege settings.
Michael Poole [Sun, 16 May 2004 14:27:37 +0000 (14:27 +0000)]
Document operator privilege settings.

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

19 years agoGet rid of CONF_LOCOP; use PRIV_PROPAGATE instead.
Michael Poole [Sun, 16 May 2004 13:56:06 +0000 (13:56 +0000)]
Get rid of CONF_LOCOP; use PRIV_PROPAGATE instead.

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

19 years agoRemove entirely obsolete patch files.
Michael Poole [Sun, 16 May 2004 03:22:38 +0000 (03:22 +0000)]
Remove entirely obsolete patch files.

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

19 years agoInclude part of Isomer's realname gline fixes that I left out of a
Michael Poole [Sun, 16 May 2004 03:15:43 +0000 (03:15 +0000)]
Include part of Isomer's realname gline fixes that I left out of a
previous commit.

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

19 years agoOn remote whois, show +s local channels with a * prefix to opers.
Michael Poole [Sun, 16 May 2004 02:42:36 +0000 (02:42 +0000)]
On remote whois, show +s local channels with a * prefix to opers.

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

19 years agoForward port gline fixes from 2.10.11.
Michael Poole [Sun, 16 May 2004 02:33:46 +0000 (02:33 +0000)]
Forward port gline fixes from 2.10.11.

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

19 years agoFinish forward porting s_user.c changes.
Michael Poole [Sat, 15 May 2004 22:11:45 +0000 (22:11 +0000)]
Finish forward porting s_user.c changes.

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

19 years agoForward port 2.10.11 fixes for registration failures.
Michael Poole [Sat, 15 May 2004 21:39:16 +0000 (21:39 +0000)]
Forward port 2.10.11 fixes for registration failures.

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

19 years agoForward port 2.10.11 /whois CPU limiter.
Michael Poole [Sat, 15 May 2004 18:39:34 +0000 (18:39 +0000)]
Forward port 2.10.11 /whois CPU limiter.
Fix typos in previous commits.

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

19 years agoForward port 2.10.11 rehash fixes.
Michael Poole [Sat, 15 May 2004 17:37:22 +0000 (17:37 +0000)]
Forward port 2.10.11 rehash fixes.

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

19 years agoForward port 2.10.11 fixes for pre-registration client timeouts
Michael Poole [Sat, 15 May 2004 17:17:20 +0000 (17:17 +0000)]
Forward port 2.10.11 fixes for pre-registration client timeouts

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

19 years agoForward port various channel and /list updates
Michael Poole [Sat, 15 May 2004 16:58:11 +0000 (16:58 +0000)]
Forward port various channel and /list updates

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

19 years agoForward port change to clear invites when wiping a channel during burst
Michael Poole [Sat, 15 May 2004 16:31:27 +0000 (16:31 +0000)]
Forward port change to clear invites when wiping a channel during burst

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

19 years agoBurst glines/jupes early
Michael Poole [Sat, 15 May 2004 16:24:32 +0000 (16:24 +0000)]
Burst glines/jupes early

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

19 years agoForward port USERHOST and USERIP self-visibility fixes from 2.10.11.
Michael Poole [Sat, 15 May 2004 16:21:48 +0000 (16:21 +0000)]
Forward port USERHOST and USERIP self-visibility fixes from 2.10.11.
Give splidge ChangeLog credit for the socket buffer patch.

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

19 years agoForward port format string fix for m_settime.c
Michael Poole [Sat, 15 May 2004 16:18:08 +0000 (16:18 +0000)]
Forward port format string fix for m_settime.c

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

19 years agoForward port /invite changes from 2.10.11.
Michael Poole [Sat, 15 May 2004 15:36:11 +0000 (15:36 +0000)]
Forward port /invite changes from 2.10.11.

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

20 years agoForward port IPcheck bug fixes and asserts from 2.10.11.
Michael Poole [Sat, 15 May 2004 15:19:09 +0000 (15:19 +0000)]
Forward port IPcheck bug fixes and asserts from 2.10.11.

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

20 years agoFix uid bug in chroot wrapper.
Michael Poole [Sat, 15 May 2004 14:50:09 +0000 (14:50 +0000)]
Fix uid bug in chroot wrapper.
Fix calculation of "generation" in version.c.SH.

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

20 years agoForward port SOCKSENDBUF, SOCKRECVBUF features from 2.10.11.
Michael Poole [Sat, 15 May 2004 14:44:58 +0000 (14:44 +0000)]
Forward port SOCKSENDBUF, SOCKRECVBUF features from 2.10.11.

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

20 years agoForward port IPCHECK_CLONE_LIMIT, IPCHECK_CLONE_PERIOD,
Michael Poole [Sat, 15 May 2004 14:01:50 +0000 (14:01 +0000)]
Forward port IPCHECK_CLONE_LIMIT, IPCHECK_CLONE_PERIOD,
IPCHECK_CLONE_DELAY, IRCD_RES_RETRIES, IRCD_RES_TIMEOUT, and
AUTH_TIMEOUT features from 2.10.11.

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

20 years agoForward port NICKLEN feature from 2.10.11.
Michael Poole [Fri, 14 May 2004 13:17:08 +0000 (13:17 +0000)]
Forward port NICKLEN feature from 2.10.11.

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

20 years agoFix memory counting bugs for jupes and glines.
Michael Poole [Fri, 14 May 2004 12:50:32 +0000 (12:50 +0000)]
Fix memory counting bugs for jupes and glines.

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

20 years agoDo not treat all MODEs from servers as user mode changes.
Michael Poole [Fri, 14 May 2004 12:26:53 +0000 (12:26 +0000)]
Do not treat all MODEs from servers as user mode changes.

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

20 years agoImplement a per-connection-class default usermode option.
Michael Poole [Tue, 11 May 2004 02:51:09 +0000 (02:51 +0000)]
Implement a per-connection-class default usermode option.

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

20 years agoForward port of asuka-topicburst.patch from Quakenet's "Asuka" patch
Michael Poole [Tue, 11 May 2004 02:28:12 +0000 (02:28 +0000)]
Forward port of asuka-topicburst.patch from Quakenet's "Asuka" patch
set.

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

20 years agoForward port of delayed-join.patch from Quakenet's "Asuka" patch set
Michael Poole [Tue, 11 May 2004 02:10:30 +0000 (02:10 +0000)]
Forward port of delayed-join.patch from Quakenet's "Asuka" patch set
(which was a port of code I wrote for the other ircu).

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

20 years ago2004-05-10 Michael Poole <mdpoole@troilus.org>
Michael Poole [Mon, 10 May 2004 21:36:58 +0000 (21:36 +0000)]
2004-05-10  Michael Poole <mdpoole@troilus.org>

* ircd/ircd_events.c: Actually reference and try to use the epoll
event engine.  Omitted from yesterday's commit.

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

20 years ago2004-05-09 Michael Poole <mdpoole@troilus.org>
Michael Poole [Mon, 10 May 2004 03:10:29 +0000 (03:10 +0000)]
2004-05-09  Michael Poole <mdpoole@troilus.org>

        * ircd/m_pseudo.c: Include file omitted from previous commit.

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

20 years ago2004-05-09 Michael Poole <mdpoole@troilus.org>
Michael Poole [Mon, 10 May 2004 03:08:16 +0000 (03:08 +0000)]
2004-05-09  Michael Poole <mdpoole@troilus.org>

Forward port of Paul "Zoot" Chang's pseudo-command.patch and
pseudo-support.patch.

* doc/example.conf: Illustrate how to use the feature.

* include/handlers.h (m_pseudo): Declare new handler function.

* include/ircd_features.h (HIS_STATS_R): Add a feature to control
user visibility of the pseudo-commands.

* include/msg.h: Add flag and field for the extra information used
to select a pseudo-command's target.

* include/numeric.h (RPL_STATSRLINE, ERR_SERVICESDOWN): Add
definitions.

* include/parse.h (register_mapping, unregister_mapping): Declare.

* include/s_conf.h (struct nick_host, struct s_map,
GlobalServiceMapList): Define.

* ircd/Makefile.in: Add m_pseudo.c to IRCD_SRC.  Add generated
files to "make depend" dependency list.  Update dependencies.

* ircd/ircd_features.c (HIS_STATS_R): Define feature type and
default value.

* ircd/ircd_lexer.l (pseudo, prepend): Recognize new tokens.

* ircd/ircd_parser.y: Support "Pseudo" configuration blocks.

* ircd/parse.c (msgtab): Add initializer for field "extra" to all
commands.
(msg_tree_insert, msg_tree_remove, register_mapping,
unregister_mapping): New functions.
(parse_client): Implement MFLG_EXTRA extra argument passing.

* ircd/s_conf.c (GlobalServiceMapList): New variable.

* ircd/s_err.c (RPL_STATRLINE, ERR_SERVICESDOWN): Add format
strings for new numeric responses.

* ircd/s_stats.c (stats_mapping): New function.
(statsinfo): Add entry for /stats R and make old /stats r entry
case-sensitive.

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

20 years ago2004-05-09 Michael Poole <mdpoole@troilus.org>
Michael Poole [Mon, 10 May 2004 01:32:54 +0000 (01:32 +0000)]
2004-05-09  Michael Poole <mdpoole@troilus.org>

* ircd/ircd_parser.y (parse_error): Convert to being a wrapper for
yyerror() so that configuration errors all go to the same place.

* ircd/s_conf.c: New variables conf_error and conf_already_read.
conf_error is cleared by read_configuration_file() and set by
yyerror(); conf_already_read is set by read_configuration_file()
and never cleared.  Make yyerror() display error to stderr before
conf_already_read is set.  Make configuration errors a fatal
condition in init_conf().

2004-05-09  Michael Poole <mdpoole@troilus.org>

* ircd/Makefile.in: Pass the source directory as an argument to
version.c.SH so it knows where to find the source files for an
out-of-srcdir build.

* ircd/version.c.SH: Use that information.

2004-05-09  Michael Poole <mdpoole@troilus.org>

* Makefile.in: Ensure ${prefix}/include exists, since the adns
install puts files in that directory.  (The adns Makefile does
not use configure's ${includedir}.)

2004-05-09  Michael Poole <mdpoole@troilus.org>

* doc/readme.features: The logic for F:AUTOHIDE was removed, but
not its documentation.  Fix that omission.

* include/ircd_features.h, ircd/ircd_features.c: Remove the unused
definitions for FEATURE_AUTOHIDE.

2004-05-09  Michael Poole <mdpoole@troilus.org>

* doc/readme.who: Document the support for account matching and
display in the WHO command.

2004-05-09  Michael Poole <mdpoole@troilus.org>

* ircd/ircd.c (main): Move check_pid() call until after we read
the configuration file so that F:PPATH works correctly.

2004-05-09  Michael Poole <mdpoole@troilus.org>

* ircd/match.c (match): Use ToLower() instead of tolower() for
character comparisons.

2004-05-09  Michael Poole <mdpoole@troilus.org>

* ircd/s_user.c (register_user): Initialize "flag" (user's old
modes) passed to send_umode() so that the real set of modes are
sent to the user.

2004-05-09  Michael Poole <mdpoole@troilus.org>

* ircd/m_server.c (ms_server): Apply +h/+s flags only to the new
server, not to a hub between us and the new server.

* ircd/ircd_relay.c (relay_directed_message): Check FLAG_SERVICE
on target server rather than FLAG_CHSERV (so that directed
messages work at all).

2004-05-09  Michael Poole <mdpoole@troilus.org>

* configure.in: Add checks for epoll_* system call family.

* configure: Regenerate.

* ircd/engine_epoll.c: New file; forward ported from 2.10.11
branch.

2004-05-09  Michael Poole <mdpoole@troilus.org>

* include/ircd_alloc.h: Add definitions for MyRealloc, since they
are needed by kqueue and epoll event engines; kill #if 0'd block.

* include/memdebug.h: Declare dbg_realloc() helper function.

* ircd/ircd_alloc.c: Implement DoRealloc() helper function.

* ircd/memdebug.c: Implement dbg_realloc() helper function.

2004-05-09  Michael Poole <mdpoole@troilus.org>

* ircd/channel.c (find_no_nickchange_channel): Disallow nick
changes on a moderated channel with neither ops nor voice.

* ircd/s_err.c: Update ERR_BANNICKCHANGE message to match.

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

20 years agoAuthor: beware (by Spike)
Jochen Meesters [Thu, 29 Jan 2004 13:03:18 +0000 (13:03 +0000)]
Author: beware (by Spike)
Log message: Update the sline.diff patch, making it work with the latest ircu releases.

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

20 years agoAuthor: Isomer <isomer@undernet.org>
Perry Lorier [Sun, 25 Jan 2004 01:41:21 +0000 (01:41 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:

Add some debugging support to the parser
Update the parser to work on the newer bison

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

20 years agoAuthor: Gavin Grieve <hektik@dimebox.net> (by way of Kev <klmitch@mit.edu>)
Kevin L. Mitchell [Wed, 21 Jan 2004 02:56:57 +0000 (02:56 +0000)]
Author: Gavin Grieve <hektik@dimebox.net> (by way of Kev <klmitch@mit.edu>)
Log message:

This code was originally written by Entrope for u2.10.11.05, a minor change was needed for u2.10.12.  Compiles cleanly and initial testing showed a single part message as it should be.

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

20 years agoAuthor: netski (By Spike)
Jochen Meesters [Wed, 13 Aug 2003 15:01:44 +0000 (15:01 +0000)]
Author: netski (By Spike)
Log message: Rewrite of ircd/match.c

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

20 years agoAuthor: beware (by Spike)
Jochen Meesters [Tue, 12 Aug 2003 09:41:17 +0000 (09:41 +0000)]
Author: beware (by Spike)
Log message: A bunch of patches done by beware, check ChangeLog for more info.

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

20 years agoAuthor: Spike
Jochen Meesters [Tue, 5 Aug 2003 01:30:23 +0000 (01:30 +0000)]
Author: Spike
Log message: Typo fix on the typo fix.

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