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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

and perhaps some others too

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

19 years agoPropagate +6 flag across network. Show correct error when outbound connections fail.
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

19 years agoRemove limit and keys when a channel is wiped out during burst.
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

19 years agoRevert to earlier version of the DNS timeout fix.
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

19 years agoFix previous DNS fix; make BURST lines shorter again.
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

19 years agoGive credit where credit is due for the timer fix.
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

19 years agoFix DNS-related timer assertion failure.
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

19 years agoAvoid spurious kqueue() engine warnings.
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

19 years agoFix typos in comments and strings to reduce future slumming for credit.
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

19 years agoFix typos in various comments.
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

19 years agoRemove unused files. Update snomask.html documentation.
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

19 years agoFix the "mode.mode & MODE_APASS" vs "mode.apass[0]" bug another place.
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

19 years agoProperly preserve empty +A channels.
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

19 years agoAdd assertions to try to catch IPcheck counting errors.
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

19 years agoAvoid syntax error when importing leaf servers from an old config.
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

19 years agoFix crash when /oper operator badpass. Fix comment explaining the
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

19 years agoFix buglet in yesterday's handling of "*" as an IP mask.
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

19 years agoAdd '6' to server options when compiled with IPv6 support (and related
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

19 years agoDefine a privilege (off by default) that allows opers to use OPMODE
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

19 years agoFix comment's descrption of "whox" privilege.
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

19 years agoMake PRIV_LIST_CHAN work as it should (affecting LIST, not WHOIS, NAMES, etc).
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

19 years agoAuthor: Perry Lorier <isomer@undernet.org>
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

19 years agoAuthor: Perry Lorier <isomer@undernet.org>
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

19 years agoFix handling of invalid IPs in Client blocks; pretty up /stats i.
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

19 years agoAuthor: Perry Lorier <isomer@undernet.org>
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

19 years agoAuthor: Perry Lorier <isomer@undernet.org>
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

19 years agoPut 0 before addresses like ::1 in "STATS c" and "STATS i".
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

19 years agoFix another SILENCE crash.
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

19 years agoMake Client blocks more forgiving and fix a bug in Kill reason parsing.
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

19 years agoFix an IPcheck registry bug for IPv4 clients and a crash bug in /silence.
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

19 years agoFix /stats U and TOS settings for outbound server connects.
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

19 years agoWarn on $YACC configure-time failure, rather than error out.
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

19 years agoFix a resolver crash and an v4-compatible address parsing crash.
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

19 years agoAlways initialize MOTD hostmask pointer.
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

19 years agoPrevent "GLINE +test", "GLINE +test" from creating duplicate G-lines.
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

19 years agoClean up redundant portions of Makefile install rules.
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

19 years agoFix error in MyCalloc definition; memdebug compile fixes.
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

19 years agoConfiguration fixes. Repair automatic outbound connects.
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

19 years agoFail earlier if no lex or yacc is found; fix resolver DNS bug.
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

19 years agoFix typos and kqueue() engine.
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

19 years agoFix ircd/test/Makefile for BSD.
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

19 years agoChanges to fix the compile for FreeBSD 5.3.
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

19 years agoAuthor: Isomer <isomer@undernet.org>
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

19 years agoAdd timestamps to S<->S INVITE messages and use them.
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

19 years agoMore RELEASE.NOTES updates and operator privilege documentation.
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

19 years agoMore RELEASE.NOTES updates; add missing feature docs; +U typo fix.
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

19 years agoUpdate RELEASE.NOTES for ircu2.10.12.
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

19 years agoImprove Doxygen documentation on zombies. Re-insert documentation of LOG feature.
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

19 years agoFix automatic outbound connections (again; hopefully for good).
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

19 years agoUpdate .cvsignore and Makefile dependencies.
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

19 years agoFix an infinite loop in ircd.c and skip clone checking for 0.0.0.0 clients.
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

19 years agoAuthor: Kev <klmitch@mit.edu>
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

19 years agoImprove support for IPv4 vs IPv6 virtual hosts (fixes SF bugs #1087699, #1087668).
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

19 years agoRemove unused macros and #include <arpa/inet.h>s.
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

19 years agoAdd ChangeLog entry for last commit (oops!)
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

19 years agoEliminate use of TRUE and FALSE and functions from <arpa/inet.h>.
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

19 years agoConvert irc_in_addr_* to macros. Add test program for that code. Fix
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

19 years agoMove unreg, privs, capab and active fields from struct Client to struct Connection.
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

19 years agoAuthor: Kev <klmitch@mit.edu>
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

19 years agoAdd missing "break;" when setting FLAG_ACCOUNT on a user.
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

19 years agoFix another typo that should have been obvious.
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

19 years agoRemove kqueue assertion that is violated whenever a local client disconnects.
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

19 years agoFix thinko that should have been obvious.
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

19 years agoFix bugs and memory leaks in ban management.
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

19 years agoMake UWorld servers work when not directly connected to them. Fix a
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

19 years agoFix typo in previous commit.
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