Michael Poole [Tue, 19 Apr 2005 00:55:32 +0000 (00:55 +0000)]
Avoid intepreting non-IP-based hostmasks as IP-based.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1369
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 17 Apr 2005 16:59:49 +0000 (16:59 +0000)]
Fix ability to kick and deop users on -A channels when OPLEVELS enabled.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1368
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 17 Apr 2005 14:11:04 +0000 (14:11 +0000)]
Improve screening for invalid input to linesync.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1367
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 17 Apr 2005 03:46:15 +0000 (03:46 +0000)]
Update linesync for 2.10.12 config syntax.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1366
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 17 Apr 2005 02:57:57 +0000 (02:57 +0000)]
Make realname Kill blocks more predictable, and add username="x" field.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1365
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Perry Lorier [Sun, 17 Apr 2005 02:18:55 +0000 (02:18 +0000)]
Author: Isomer <Isomer@undernet.org>
Log message:
Fix lots of conversion problems with:
* oper privielges (now they are converted),
* features (deprecated features commented out, most converted to priviliges),
* realname klines (also add host= lines)
* quarintines (generate blocks for them),
* connect blocks (don't generate empty port config lines)
and perhaps some others too
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1364
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 16 Apr 2005 15:32:43 +0000 (15:32 +0000)]
Correctly match users against new IP-based G-lines.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1363
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 16 Apr 2005 13:17:19 +0000 (13:17 +0000)]
Fix /rehash memory leaks and realname Kill blocks.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1362
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 16 Apr 2005 01:53:11 +0000 (01:53 +0000)]
Fix bugs spotted in beta testing: Quarantine blocks not working or
documented, broken compile on BSD, ident-based Deny blocks broken,
/stats v always showed 0 for local clients.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1361
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Sat, 9 Apr 2005 19:59:27 +0000 (19:59 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
ircd.c must include sys/resource.h in order to define RLIMIT_CORE. If
RLIMIT_CORE is not defined, set_core_limit() never gets defined or called.
If set_core_limit() never gets defined or called, ircd never raises the
soft limit on cores. If the soft limit on cores never gets raised, ircd
never dumps core. If ircd never dumps core, well, we can't debug ircd,
now, can we? :)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1360
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Perry Lorier [Sat, 9 Apr 2005 03:54:24 +0000 (03:54 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:
Fix bug in convert-conf where it wouldn't convert usernames for hostmasks
matches in I: correctly
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1359
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 9 Apr 2005 03:37:15 +0000 (03:37 +0000)]
Add option to debug Client block selections. Fix related buglet in
ircd_aton(). Clarify oper-specific output of /whowas.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1358
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 7 Apr 2005 02:45:05 +0000 (02:45 +0000)]
Clear channel manager bit when wiping out local chanops in a burst.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1357
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 7 Apr 2005 02:10:23 +0000 (02:10 +0000)]
Split RPL_APASSWARN and ERR_NOTMANAGER into multiple messages to avoid
embedding message strings in the logic implementation.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1356
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 7 Apr 2005 00:25:47 +0000 (00:25 +0000)]
Make Client block passwords work again (reported by Reed).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1355
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 7 Apr 2005 00:06:30 +0000 (00:06 +0000)]
Regenerate aclocal.m4 and configure to match acinclude.m4 and configure.in changes.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1354
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 7 Apr 2005 00:03:38 +0000 (00:03 +0000)]
Remove unet_PIPE_CFLAGS macro.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1353
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 5 Apr 2005 02:42:37 +0000 (02:42 +0000)]
Regenerate configure for the last commit to configure.in.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1352
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 5 Apr 2005 02:41:07 +0000 (02:41 +0000)]
Add configure-time option to set optimization level.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1351
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 5 Apr 2005 02:15:59 +0000 (02:15 +0000)]
Update Jupe block in example.conf for CFV-0255.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1350
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 5 Apr 2005 01:46:05 +0000 (01:46 +0000)]
Make CAP handling comply with draft-mitchell-irc-capabilities-02.xml.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1349
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 2 Apr 2005 03:32:38 +0000 (03:32 +0000)]
Allow flagging of pseudo-commands as "fast".
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1348
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 2 Apr 2005 02:50:15 +0000 (02:50 +0000)]
Return accurate privilege information for remote opers.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1347
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 31 Mar 2005 04:05:56 +0000 (04:05 +0000)]
Fix Doxygen comment typo; clarify username handling.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1346
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 30 Mar 2005 04:13:24 +0000 (04:13 +0000)]
Alphabetize HIS_STATS_? features, but remove HIS_STATS_h.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1345
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 30 Mar 2005 04:01:17 +0000 (04:01 +0000)]
Remove redundant check for being banned in ms_part().
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1344
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 30 Mar 2005 03:48:22 +0000 (03:48 +0000)]
Reed Loden's patch to add /stats J, listing nick jupes. (Plus documentation.)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1343
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 28 Mar 2005 02:27:24 +0000 (02:27 +0000)]
Avoid sending numeric oplevels when forwarding a -A channel's burst.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1342
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 26 Mar 2005 05:43:49 +0000 (05:43 +0000)]
Propagate +6 flag across network. Show correct error when outbound connections fail.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1341
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 24 Mar 2005 01:37:39 +0000 (01:37 +0000)]
Remove limit and keys when a channel is wiped out during burst.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1340
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 23 Mar 2005 03:40:31 +0000 (03:40 +0000)]
Revert to earlier version of the DNS timeout fix.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1339
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 23 Mar 2005 03:16:38 +0000 (03:16 +0000)]
Fix previous DNS fix; make BURST lines shorter again.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1338
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 23 Mar 2005 00:33:28 +0000 (00:33 +0000)]
Give credit where credit is due for the timer fix.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1337
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 23 Mar 2005 00:30:56 +0000 (00:30 +0000)]
Fix DNS-related timer assertion failure.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1336
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 23 Mar 2005 00:25:16 +0000 (00:25 +0000)]
Avoid spurious kqueue() engine warnings.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1335
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 Mar 2005 16:06:30 +0000 (16:06 +0000)]
Fix typos in comments and strings to reduce future slumming for credit.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1334
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 Mar 2005 13:45:28 +0000 (13:45 +0000)]
Fix typos in various comments.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1333
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 Mar 2005 13:35:10 +0000 (13:35 +0000)]
Remove unused files. Update snomask.html documentation.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1332
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 Mar 2005 04:01:14 +0000 (04:01 +0000)]
Fix the "mode.mode & MODE_APASS" vs "mode.apass[0]" bug another place.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1331
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 20 Mar 2005 01:38:01 +0000 (01:38 +0000)]
Properly preserve empty +A channels.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1330
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 19 Mar 2005 23:22:09 +0000 (23:22 +0000)]
Add assertions to try to catch IPcheck counting errors.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1329
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 19 Mar 2005 23:04:08 +0000 (23:04 +0000)]
Avoid syntax error when importing leaf servers from an old config.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1328
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 19 Mar 2005 22:52:33 +0000 (22:52 +0000)]
Fix crash when /oper operator badpass. Fix comment explaining the
crypted passwords.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1327
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 8 Mar 2005 12:56:16 +0000 (12:56 +0000)]
Fix buglet in yesterday's handling of "*" as an IP mask.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1326
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 7 Mar 2005 21:12:39 +0000 (21:12 +0000)]
Add '6' to server options when compiled with IPv6 support (and related
configury changes that seem to be necessary). Fix Port block docs.
Fix IP mask parsing (and mis-parsing) for Client blocks. Count
failure to create an ident lookup socket in the statistics.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1325
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 24 Feb 2005 03:07:03 +0000 (03:07 +0000)]
Define a privilege (off by default) that allows opers to use OPMODE
and CLEARMODE to set or remove Apass and Upass on channels.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1324
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 23 Feb 2005 22:20:11 +0000 (22:20 +0000)]
Fix comment's descrption of "whox" privilege.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1323
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 22 Feb 2005 03:10:29 +0000 (03:10 +0000)]
Make PRIV_LIST_CHAN work as it should (affecting LIST, not WHOIS, NAMES, etc).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1322
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Perry Lorier [Mon, 21 Feb 2005 08:52:03 +0000 (08:52 +0000)]
Author: Perry Lorier <isomer@undernet.org>
Log message:
Don't unintentionally reveal hub IP's.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1321
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Perry Lorier [Sat, 19 Feb 2005 22:11:39 +0000 (22:11 +0000)]
Author: Perry Lorier <isomer@undernet.org>
Log message:
Moved the config to use parse_error() instead of log_write() so that ircd -k
shows the error. Also clarified the error message for missing classes in
oper blocks.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1320
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 19 Feb 2005 21:55:37 +0000 (21:55 +0000)]
Fix handling of invalid IPs in Client blocks; pretty up /stats i.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1319
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Perry Lorier [Sat, 19 Feb 2005 21:50:48 +0000 (21:50 +0000)]
Author: Perry Lorier <isomer@undernet.org>
Log message:
Lots of fixes to the convert-conf program. It no longer generates Server
blocks (which have been removed from the latest copy of the config), it's
smarter about how it generates it's I:line configs, the line parser now
is much closer to ircu's parser avoiding a lot of bugs. And a multitude
of other minor problems fixed up.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1318
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Perry Lorier [Sat, 19 Feb 2005 21:47:32 +0000 (21:47 +0000)]
Author: Perry Lorier <isomer@undernet.org>
Log message:
The prototype of getsockopt() has a socklen_t not size_t, this patch fixes
a warning generated on amd64 machines.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1317
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 19 Feb 2005 17:15:38 +0000 (17:15 +0000)]
Put 0 before addresses like ::1 in "STATS c" and "STATS i".
Change "STATS o" to look more like in .11.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1316
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 19 Feb 2005 05:30:44 +0000 (05:30 +0000)]
Fix another SILENCE crash.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1315
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 19 Feb 2005 04:45:53 +0000 (04:45 +0000)]
Make Client blocks more forgiving and fix a bug in Kill reason parsing.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1314
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 19 Feb 2005 03:09:44 +0000 (03:09 +0000)]
Fix an IPcheck registry bug for IPv4 clients and a crash bug in /silence.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1313
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 19 Feb 2005 02:36:02 +0000 (02:36 +0000)]
Fix /stats U and TOS settings for outbound server connects.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1312
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 10 Feb 2005 03:51:31 +0000 (03:51 +0000)]
Warn on $YACC configure-time failure, rather than error out.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1311
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 10 Feb 2005 03:25:40 +0000 (03:25 +0000)]
Fix a resolver crash and an v4-compatible address parsing crash.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1310
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 2 Feb 2005 22:29:08 +0000 (22:29 +0000)]
Always initialize MOTD hostmask pointer.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1309
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 2 Feb 2005 22:28:15 +0000 (22:28 +0000)]
Prevent "GLINE +test", "GLINE +test" from creating duplicate G-lines.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1308
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 2 Feb 2005 22:27:27 +0000 (22:27 +0000)]
Clean up redundant portions of Makefile install rules.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1307
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 27 Jan 2005 04:07:46 +0000 (04:07 +0000)]
Fix error in MyCalloc definition; memdebug compile fixes.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1306
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 25 Jan 2005 16:42:03 +0000 (16:42 +0000)]
Configuration fixes. Repair automatic outbound connects.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1305
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 25 Jan 2005 01:37:01 +0000 (01:37 +0000)]
Fail earlier if no lex or yacc is found; fix resolver DNS bug.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1304
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 23 Jan 2005 16:03:15 +0000 (16:03 +0000)]
Fix typos and kqueue() engine.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1303
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 23 Jan 2005 14:28:55 +0000 (14:28 +0000)]
Fix ircd/test/Makefile for BSD.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1302
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Fri, 21 Jan 2005 22:52:22 +0000 (22:52 +0000)]
Changes to fix the compile for FreeBSD 5.3.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1301
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Perry Lorier [Fri, 21 Jan 2005 22:44:16 +0000 (22:44 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:
Fixed missing ;'s in the bison grammer that caused bison 1.76 to barf.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1300
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 20 Jan 2005 04:00:29 +0000 (04:00 +0000)]
Add timestamps to S<->S INVITE messages and use them.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1299
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 15 Jan 2005 15:23:03 +0000 (15:23 +0000)]
More RELEASE.NOTES updates and operator privilege documentation.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1298
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Fri, 14 Jan 2005 20:11:54 +0000 (20:11 +0000)]
More RELEASE.NOTES updates; add missing feature docs; +U typo fix.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1297
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Fri, 14 Jan 2005 02:29:24 +0000 (02:29 +0000)]
Update RELEASE.NOTES for ircu2.10.12.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1296
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 8 Jan 2005 13:48:33 +0000 (13:48 +0000)]
Improve Doxygen documentation on zombies. Re-insert documentation of LOG feature.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1295
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 4 Jan 2005 00:44:08 +0000 (00:44 +0000)]
Fix automatic outbound connections (again; hopefully for good).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1294
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 4 Jan 2005 00:17:12 +0000 (00:17 +0000)]
Update .cvsignore and Makefile dependencies.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1293
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Mon, 3 Jan 2005 23:49:32 +0000 (23:49 +0000)]
Fix an infinite loop in ircd.c and skip clone checking for 0.0.0.0 clients.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1292
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Mon, 3 Jan 2005 13:24:36 +0000 (13:24 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
Fix a core bug in is_silenced() when sptr is a server.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1291
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Wed, 29 Dec 2004 03:08:09 +0000 (03:08 +0000)]
Improve support for IPv4 vs IPv6 virtual hosts (fixes SF bugs #
1087699, #
1087668).
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1290
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 28 Dec 2004 22:35:38 +0000 (22:35 +0000)]
Remove unused macros and #include <arpa/inet.h>s.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1289
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 28 Dec 2004 22:34:26 +0000 (22:34 +0000)]
Add ChangeLog entry for last commit (oops!)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1288
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 28 Dec 2004 22:31:58 +0000 (22:31 +0000)]
Eliminate use of TRUE and FALSE and functions from <arpa/inet.h>.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1287
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 28 Dec 2004 21:12:06 +0000 (21:12 +0000)]
Convert irc_in_addr_* to macros. Add test program for that code. Fix
several bugs uncovered by the test program.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1286
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 18 Dec 2004 18:07:16 +0000 (18:07 +0000)]
Move unreg, privs, capab and active fields from struct Client to struct Connection.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1285
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Sat, 18 Dec 2004 16:26:27 +0000 (16:26 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
* Simplify logic for determining when to run register_user(); before, we
explicitly checked to see if the username, hostname, and cookie were all
set, and now we can just test to see if a bit flag is 0.
* Fix a minor bug in ircd_strn?cmp() that we've never noticed before,
because we've never needed lexicographic ordering for strings differing
in case.
* Implement capabilities system. There are 604 capabilities implemented
for testing purposes, but they don't do anything. (This is just the
negotiation mechanism. The 604 were needed to test LS & LSL semantics.)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1284
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 18 Dec 2004 15:09:13 +0000 (15:09 +0000)]
Add missing "break;" when setting FLAG_ACCOUNT on a user.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1283
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 18 Dec 2004 14:48:42 +0000 (14:48 +0000)]
Fix another typo that should have been obvious.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1282
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 18 Dec 2004 05:29:49 +0000 (05:29 +0000)]
Remove kqueue assertion that is violated whenever a local client disconnects.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1281
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 18 Dec 2004 04:45:49 +0000 (04:45 +0000)]
Fix thinko that should have been obvious.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1280
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sat, 18 Dec 2004 04:41:07 +0000 (04:41 +0000)]
Fix bugs and memory leaks in ban management.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1279
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Fri, 17 Dec 2004 22:41:03 +0000 (22:41 +0000)]
Make UWorld servers work when not directly connected to them. Fix a
channel destruction error that would lead to opless channels. Fix an
attempted free() of an uninitialized pointer.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1278
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Fri, 17 Dec 2004 03:30:33 +0000 (03:30 +0000)]
Fix typo in previous commit.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1277
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 16 Dec 2004 04:37:14 +0000 (04:37 +0000)]
Allow TOPIC from off-channel services. Preserve user's visibility in
a +D channel when logging in. Canonicalize IP addresses in IPcheck so
6to4 users are counted the same as IPv4 users from the same IPs. Do
the same trick for 6to4 users when sending their NICKs to a non-IPv6
server.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1276
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 16 Dec 2004 03:33:57 +0000 (03:33 +0000)]
Miscellaneous bugfixes from recent commits, and a file omitted from last commit.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1275
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Thu, 16 Dec 2004 03:28:52 +0000 (03:28 +0000)]
Add new server flag (+6) to indicate IPv6 address format support. If
a peer server does not advertise that flag, send 0.0.0.0 as the IP for
IPv6 users.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1274
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 14 Dec 2004 03:00:57 +0000 (03:00 +0000)]
Allow the resolver source address to be specified in the configuration.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1273
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Tue, 14 Dec 2004 00:21:54 +0000 (00:21 +0000)]
Remove obsolete tools/crypter script. Allow Client blocks to
independently match username, hostname and IP. Fix DNS resolution so
hostname matching can work.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1272
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Kevin L. Mitchell [Sat, 11 Dec 2004 05:14:07 +0000 (05:14 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:
Implement a custom assert() macro (in ircd_log.h). This variant of
assert() is similar to the system assert(), in that it ends with a call to
abort() if the assertion fails; however, logging is done through the
logging subsystem. (A sentinel is added to (hopefully) prevent an
assertion failure somewhere in the logging subsystem from entering into an
infinite loop; if this happens, there will be no output at all, but abort()
will still be called.)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1271
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
Michael Poole [Sun, 21 Nov 2004 15:00:23 +0000 (15:00 +0000)]
Allow OPMODE to change +A and +U passwords rather than crashing.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1270
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c