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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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