ircu2.10.12-pk.git
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

19 years agoAllow TOPIC from off-channel services. Preserve user's visibility in
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

19 years agoMiscellaneous bugfixes from recent commits, and a file omitted from last commit.
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

19 years agoAdd new server flag (+6) to indicate IPv6 address format support. If
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

19 years agoAllow the resolver source address to be specified in the configuration.
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

19 years agoRemove obsolete tools/crypter script. Allow Client blocks to
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

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

19 years agoAllow OPMODE to change +A and +U passwords rather than crashing.
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

19 years agoIgnore redundant CREATEs (fixes bug #1037963).
Michael Poole [Sat, 20 Nov 2004 15:00:57 +0000 (15:00 +0000)]
Ignore redundant CREATEs (fixes bug #1037963).

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

19 years agoFix resolver code when IPv6 is enabled (or at least make it capable of working).
Michael Poole [Wed, 10 Nov 2004 03:47:36 +0000 (03:47 +0000)]
Fix resolver code when IPv6 is enabled (or at least make it capable of working).

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

19 years agoAvoid making an epoll_ctl() call that will always fail with EBADF.
Michael Poole [Wed, 10 Nov 2004 03:37:36 +0000 (03:37 +0000)]
Avoid making an epoll_ctl() call that will always fail with EBADF.

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

19 years agoAssign timestamp before it might be used in exit_new_server().
Michael Poole [Sun, 7 Nov 2004 21:34:35 +0000 (21:34 +0000)]
Assign timestamp before it might be used in exit_new_server().

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

19 years agoRegenerate files built from other files.
Michael Poole [Sun, 7 Nov 2004 21:13:57 +0000 (21:13 +0000)]
Regenerate files built from other files.

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

19 years agoFix memory leaks from ircd_crypt and epoll support.
Michael Poole [Sun, 7 Nov 2004 21:04:59 +0000 (21:04 +0000)]
Fix memory leaks from ircd_crypt and epoll support.

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

19 years agoConvert connection byte counters to 64-bit integers.
Michael Poole [Sun, 7 Nov 2004 20:57:50 +0000 (20:57 +0000)]
Convert connection byte counters to 64-bit integers.

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

19 years agoImplement silence exceptions.
Michael Poole [Sun, 7 Nov 2004 19:34:15 +0000 (19:34 +0000)]
Implement silence exceptions.

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

19 years agoAdd an "exception" flag to struct Ban. (This is not to support ban
Michael Poole [Sun, 7 Nov 2004 19:29:14 +0000 (19:29 +0000)]
Add an "exception" flag to struct Ban.  (This is not to support ban
exceptions, strange as that may sound.)

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

19 years agoDepend on autoconf 2.50 since we use new macros like AC_LINK_IFELSE
Michael Poole [Fri, 29 Oct 2004 02:37:26 +0000 (02:37 +0000)]
Depend on autoconf 2.50 since we use new macros like AC_LINK_IFELSE
and AC_LANG_PROGRAM.

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

19 years agoFix minor error in FLAGSET_MASK definition (pointed out by froo).
Michael Poole [Tue, 26 Oct 2004 23:42:23 +0000 (23:42 +0000)]
Fix minor error in FLAGSET_MASK definition (pointed out by froo).

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

19 years agoFix debug level for epoll sleep delays (should be DEBUG_ENGINE).
Michael Poole [Sat, 23 Oct 2004 02:24:27 +0000 (02:24 +0000)]
Fix debug level for epoll sleep delays (should be DEBUG_ENGINE).

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

19 years agoFix forwarding of INVITE when FEAT_ANNOUNCE_INVITES is on.
Michael Poole [Sat, 23 Oct 2004 02:22:21 +0000 (02:22 +0000)]
Fix forwarding of INVITE when FEAT_ANNOUNCE_INVITES is on.

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

19 years agoAdd comments explaining why we set banstr to NULL in two places.
Michael Poole [Fri, 22 Oct 2004 17:49:51 +0000 (17:49 +0000)]
Add comments explaining why we set banstr to NULL in two places.

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

19 years agoAdd CIDR ban support.
Michael Poole [Thu, 21 Oct 2004 23:14:50 +0000 (23:14 +0000)]
Add CIDR ban support.

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